* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: white;
    position: relative;
    overflow-x: hidden;
}

/* BJK Stripes Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.3) 0px,
        rgba(0, 0, 0, 0.3) 40px,
        rgba(255, 255, 255, 0.05) 40px,
        rgba(255, 255, 255, 0.05) 80px
    );
    pointer-events: none;
    z-index: 0;
}

/* Elegant diagonal stripes */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.stripe {
    position: absolute;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 100%);
    transform: rotate(-35deg);
}

.stripe-1 {
    width: 200px;
    height: 200%;
    top: -50%;
    left: 10%;
    animation: shimmer 8s ease-in-out infinite;
}

.stripe-2 {
    width: 150px;
    height: 200%;
    top: -50%;
    left: 50%;
    animation: shimmer 8s ease-in-out infinite 2s;
}

.stripe-3 {
    width: 100px;
    height: 200%;
    top: -50%;
    right: 15%;
    animation: shimmer 8s ease-in-out infinite 4s;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Language Toggle */
.lang-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: #fff;
    border: 2px solid #555;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.lang-toggle:hover {
    background: linear-gradient(145deg, #444, #2a2a2a);
    border-color: #fff;
    transform: scale(1.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.2);
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin: 0;
    background: linear-gradient(90deg, #ff6b6b, #ffd93d, #6bcb77);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease infinite;
    background-size: 200% auto;
}

@keyframes rainbow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-journey-section {
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.age-question-container {
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.age-question {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: pulse 2s infinite;
}

.age-description {
    font-size: 1.5rem;
    color: #ffd93d;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.age-joke {
    font-size: 1.1rem;
    color: #aaa;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 10px;
    min-height: 1.5rem;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

#current-age {
    color: #fff;
    font-size: 4rem;
    display: inline-block;
    animation: bounce 1s infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 2px 2px 4px rgba(0,0,0,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.photo-showcase {
    margin: 30px 0;
}

.carousel-container {
    position: relative;
}

.carousel {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    display: block;
    background: rgba(0,0,0,0.2);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    font-size: 2rem;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

.prev-photo-btn {
    left: 10px;
}

.next-photo-btn {
    right: 10px;
}

.age-navigation {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.age-nav-btn {
    background: linear-gradient(145deg, #333, #1a1a1a);
    color: white;
    border: 2px solid #555;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 180px;
}

.age-nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: #fff;
    background: linear-gradient(145deg, #444, #2a2a2a);
}

.age-nav-btn:disabled {
    background: #333;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.5;
    border-color: #444;
}

.next-age-btn {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-color: #ffd93d;
    color: #ffd93d;
}

.next-age-btn:hover:not(:disabled) {
    background: linear-gradient(145deg, #3d3d3d, #2a2a2a);
    border-color: #fff;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 217, 61, 0.2);
}

.age-progress {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.age-indicator {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    height: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fff, #ccc);
    border-radius: 10px;
    transition: width 1s ease-in-out;
    width: 0%;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
    color: #888;
}

.no-photos {
    padding: 60px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .lang-toggle {
        top: 10px;
        right: 10px;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .age-question {
        font-size: 1.8rem;
    }

    .age-description {
        font-size: 1.2rem;
    }

    .age-joke {
        font-size: 1rem;
    }

    #current-age {
        font-size: 2.5rem;
    }

    .carousel {
        max-width: 100%;
    }

    .carousel-slide img {
        height: 300px;
        object-fit: contain;
    }

    .age-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .age-nav-btn {
        min-width: 200px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .age-progress {
        order: -1;
        margin-bottom: 10px;
    }

    .carousel-btn {
        font-size: 1.5rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .age-question {
        font-size: 1.5rem;
    }

    #current-age {
        font-size: 2.5rem;
    }

    .carousel-slide img {
        height: 250px;
        object-fit: contain;
    }

    .age-question-container {
        padding: 15px;
    }
}
