:root {
    --bg-color: #588453;
    --text-color: #ffffff;
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-blur: 10px;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.date-time-corner {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Kavoon', cursive;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
    pointer-events: none; /* Let clicks pass through */
}

/* --- Hero Section (100vh) --- */
.full-screen-hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    position: relative;
    text-align: center;
}

/* Badge at the bottom of Hero */
.hero-store-badge {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    transition: transform 0.2s ease;
}

.hero-store-badge img {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

.hero-store-badge:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Typography & Image */
header {
    text-align: center;
    margin-bottom: 1rem;
    margin-top: -3rem; 
}

h1 {
    font-family: 'Kavoon', cursive;
    font-size: 5rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0;
    line-height: 1.1;
    text-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header p {
    font-size: 1.4rem;
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-weight: 500;
}

.hero-image {
    max-height: 30vh; 
    max-width: 80vw;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    margin: 1.5rem 0;
}

.timer-display {
    font-family: 'Kavoon', cursive;
    font-size: 4rem;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    opacity: 0.9;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Indicators */
.pomo-indicators {
    display: flex;
    gap: 16px;
    margin-bottom: 2rem;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.dot.active {
    background-color: white;
    border-color: white;
    box-shadow: 0 0 12px rgba(255,255,255,0.6);
}

/* Controls */
.timer-controls {
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn img {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 6px 8px rgba(0,0,0,0.2));
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn:active {
    transform: scale(0.95);
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0 1rem;
    transition: transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.control-btn img {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.control-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.control-btn:active {
    transform: scale(0.95);
}

/* --- App CTA Section (Below Fold) --- */
.app-cta-section {
    padding: 4rem 1rem;
    display: flex;
    justify-content: center;
}

.app-badge-container {
    background-color: transparent;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 90%;
    width: auto;
}

.app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: block;
    animation: megaJump 2.5s ease-in-out 1s 1, froggyHop 3s ease-in-out 3.5s infinite;
    transform-origin: bottom center;
}

@keyframes megaJump {
    0% { transform: translateY(0) scale(1); }
    10% { transform: translateY(0) scale(1.2, 0.8); }
    35% { transform: translateY(-50vh) scale(0.9, 1.1) rotate(-10deg); }
    45% { transform: translateY(-50vh) scale(0.9, 1.1) rotate(10deg); }
    70% { transform: translateY(0) scale(1); }
    80% { transform: translateY(0) scale(1.1, 0.9); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes froggyHop {
    0%, 100% { transform: translateY(0) scale(1); }
    10% { transform: translateY(0) scale(1.05, 0.95); }
    30% { transform: translateY(-15px) scale(0.95, 1.05); }
    50% { transform: translateY(0) scale(1); }
    55% { transform: translateY(0) scale(1.02, 0.98); }
    65% { transform: translateY(0) scale(1); }
}

.app-badge-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.get-app-text {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1;
}

/* Store Badge Styles */
.store-badge-link {
    display: inline-block;
    transition: transform 0.2s ease;
    text-decoration: none;
    line-height: 0;
}

.store-badge-link:hover {
    transform: scale(1.05);
}

.store-badge {
    height: 60px;
    width: auto;
    display: block;
}

/* --- Content Wrapper --- */
.content-wrapper {
    width: 100%;
    background-color: var(--bg-color);
    position: relative;
    z-index: 20;
}

.container {
    max-width: 800px;
    padding: 0 2rem; /* Removed vertical padding here to let sections handle it */
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Full Height Sections */
.full-height-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.section-content {
    max-width: 600px; /* Constrain width for readability */
}

h2 {
    font-family: 'Kavoon', cursive;
    font-size: 3rem; /* Larger headers for full screens */
    font-weight: 400;
    margin-bottom: 2rem;
}

.art-credit {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 2rem;
}

.container p {
    font-size: 1.3rem; /* Slightly larger text */
    line-height: 1.8;
    opacity: 0.9;
    margin: 0 auto 1.5rem auto;
}

/* Features List Refined - Clean List */
.how-it-works-list {
    list-style: none;
    padding: 0;
    margin: 2rem auto 0 auto;
    max-width: 600px;
    text-align: center; /* Center aligned for clean look */
}

.how-it-works-list li {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    /* Removed padding-left and ::before for clean look */
}

footer {
    padding: 2rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    
    .hero-store-badge {
        bottom: 1rem;
    }
    
    .hero-store-badge img {
        height: 36px;
    }

    .full-screen-hero {
        height: auto;
        min-height: 100vh;
        padding: 4rem 1rem;
    }
    
    .hero-image { max-height: 30vh; }
    
    .timer-display { font-size: 3rem; }

    .app-badge-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .app-badge-content {
        align-items: center;
        text-align: center;
    }
    
    .full-height-section {
        min-height: auto; /* Allow flexible height on mobile to prevent excessive scrolling gaps */
        padding: 4rem 0;
    }
}
