/* GLOBAL SIZING - Applies to everything */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f0f4f8;
    margin: 0;
    font-size: 18px; /* Base size increase for mobile */
}

/* Increased spacing for the whole page */
.container {
    padding: 20px; /* Reduced from 40px to give more room for text on narrow phones */
    padding-top: 50px; /* This pushes everything down to clear the Donate button */
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* 1. Fluid Heading - Automatically shrinks on mobile, grows on desktop */
h1 {
    font-size: clamp(1.8rem, 5vw, 3.2rem); 
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Container for the buttons */
.section-grid {
    display: block;  /* Simplifies the stacking */
    margin-top: 30px;
    width: 100%;
}

/* Larger Description text */
.container p {
    font-size: 1.3rem;
    line-height: 1.6;
}

/* Standardize all buttons/cards to the larger Activity size */
.section-card, .zone-card {
    display: block;
    width: 95%;
    max-width: 500px;
    margin: 20px auto;
    padding: 25px 15px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: black;
    font-size: 22px; /* Large readable text */
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-align: center;
    border: none;
}

/* Global Hover behavior */
.section-card:hover, .zone-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    background-color: #e3f2fd;
}

.back-button {
  display: inline-block;
  margin-bottom: 10px;
  padding: 12px 20px;
  background-color: #1976d2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: 0.2s ease;
}

.back-button:hover {
  background-color: #1565c0;
}


.explanation-box {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
    border-left: 5px solid #2196f3;
}

.game-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

input[type="text"] {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Position the donation container in the top right */
.donate-container {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 100; /* Keeps it above other elements */
}
