* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ===== Header Navigation ===== */
.header {
    background-color: #000;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    max-width: 1440px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    flex: 1;
    margin-left: 3rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.icon-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.icon-btn svg {
    width: 28px;
    height: 28px;
}

/* ===== Account Popup ===== */
.account-popup {
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    border-radius: 8px;
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.account-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.popup-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: #333;
}

.popup-divider {
    height: 1px;
    background-color: #e0e0e0;
}

.popup-profile {
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #f0f0f0;
}

.popup-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem 1.5rem;
}

.popup-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid #333;
    background: white;
    color: #333;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    background: #333;
    color: white;
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    height: 600px;
    background: url('img/coverpage.jpg') center/cover no-repeat, linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    padding: 0 2rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.cta-button {
    background: #000;
    color: white;
    border: 2px solid white;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    animation: slideInUp 0.8s ease-out 0.4s both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: transparent;
    color: #000;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-image {
    position: absolute;
    width: 300px;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    top: 38%;
    transform: translateY(-50%);
}

.hero-image-left {
    left: 3%;
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.hero-image-right {
    right: 3%;
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 0.8s ease-out 0.3s both;
}

/* ===== Featured Gallery Section ===== */
.featured-gallery {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 3rem 0;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22, 22, 22, 0.2);
    z-index: 1;
}

.gallery-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
    padding: 0 2rem;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.gallery-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.gallery-content p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.5s both;
}

.gallery-image-left {
    left: 2%;
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.gallery-image-right {
    right: 2%;
    animation: slideInFromRight 0.8s ease-out 0.4s both;
}

/* ===== Photography Collage Section ===== */
.collage-section {
    position: relative;
    width: 100%;
    background: #f8f8f4;
    padding: 3rem 0;
    overflow: hidden;
}

.collage-container {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    height: 650px;
}

.collage-item {
    position: absolute;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.camera-collection {
    animation: slideInFromLeft 0.8s ease-out 0.2s both;
}

.landscape-photo {
    animation: slideInFromTop 0.8s ease-out 0.4s both;
}

.street-photo {
    animation: slideInFromRight 0.8s ease-out 0.6s both;
}

/* ===== Learning Paths ===== */
.learning-paths {
    padding: 4rem 2rem;
    text-align: center;
    background: white;
}

.learning-paths h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.paths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.learning-path-card {
    background: white;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.learning-path-card:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
}

.card-icon {
    font-size: 2.5rem;
}

/* ===== Courses Section ===== */
.courses-section {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.courses-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
    text-align: center;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.course-link {
    cursor: pointer;
}

.course-link:hover {
    text-decoration: none;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.course-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #ddd;
}

.course-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.play-icon {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.6);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-info {
    padding: 1.5rem;
}

.course-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.course-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.course-level {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: #f0f0f0;
    color: #333;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Art Gallery Section ===== */
.art-gallery-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.gallery-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.05rem;
    color: #666;
}

.horizontal-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.gallery-scroll-wrapper {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
}

.gallery-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.gallery-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

.gallery-item {
    flex: 0 0 280px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-info {
    padding: 1.25rem;
    background: white;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.35rem;
}

.gallery-info p {
    font-size: 0.85rem;
    color: #999;
}

.scroll-indicator {
    text-align: center;
    padding: 1rem;
}

.indicator-text {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ===== About Section ===== */
.about-section {
    padding: 8rem 2rem;
    background: white;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.about-section > div > p {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #000;
}

.feature h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.95rem;
    color: #666;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: 2rem 2rem;
    background: #f5f5f5;
}

.contact-section h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.submit-btn {
    width: 100%;
    padding: 0.85rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px) translateY(-50%);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    .hero-section {
        height: auto;
        min-height: 500px;
        padding: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        min-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-image-left,
    .hero-image-right {
        position: relative;
        transform: none;
        top: auto;
        left: auto !important;
        right: auto !important;
        width: 100%;
        height: 250px;
        margin-bottom: 1.5rem;
    }

    .collage-section {
        padding: 1rem 0;
    }

    .collage-container {
        height: auto;
        padding: 0 1rem;
    }

    .collage-item {
        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 250px;
        margin-bottom: 1rem;
    }

    .featured-gallery {
        height: auto;
        margin: 1rem 0;
        padding: 1rem;
        flex-direction: column;
    }

    .gallery-content {
        padding: 0 1rem;
        order: 2;
    }

    .gallery-content h2 {
        font-size: 1.5rem;
    }

    .gallery-image-left,
    .gallery-image-right {
        position: relative !important;
        transform: none;
        left: auto !important;
        right: auto !important;
        width: 100%;
        height: 250px;
        margin-bottom: 1rem;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .art-gallery-section {
        padding: 2rem 1rem;
    }

    .gallery-header h2 {
        font-size: 1.5rem;
    }

    .gallery-header p {
        font-size: 0.95rem;
    }

    .gallery-item {
        flex: 0 0 220px;
        height: 350px;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-info {
        height: 130px;
        padding: 1rem;
    }

    .gallery-info h3 {
        font-size: 0.9rem;
    }

    .gallery-info p {
        font-size: 0.75rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .account-popup {
        min-width: 280px;
        right: -1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-wrap: wrap;
    }

    .header-icons {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .hero-content h1 {
        font-size: 1.35rem;
    }

    .learning-paths h2,
    .courses-section h2,
    .about-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }

    .paths-grid {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Game Sections ===== */
.quiz-game-section,
.photo-game-section {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.game-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px 8px 0 0;
}

.game-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.game-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.game-close-btn:hover {
    opacity: 0.7;
}

/* ===== Quiz Game ===== */
.quiz-content {
    padding: 3rem 2rem;
    min-height: 400px;
}

.quiz-question {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.question-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    min-width: 50px;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-item {
    border: 2px solid #000;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.option-item:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

.option-item.selected {
    background: #000;
    color: white;
    border-color: #000;
}

.option-label {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 20px;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
}

.quiz-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.quiz-btn {
    padding: 0.85rem 2rem;
    border: none;
    background: #000;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.quiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Photo Game ===== */
.photo-game-content {
    padding: 2rem;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

.photo-game-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.challenge-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.challenge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 1rem;
}

.challenge-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #000;
}





.scenario-box {
    background: #f5f5f5;
    border-left: 4px solid #000;
    padding: 1.5rem;
    border-radius: 4px;
}

.scenario-box h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.scenario-box p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.learning-tip {
    background: #fff8e1;
    border-left: 4px solid #fbc02d;
    padding: 1.5rem;
    border-radius: 4px;
}

.learning-tip h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
}

.learning-tip p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

.settings-adjustment {
    border: 2px solid #000;
    padding: 1.5rem;
    border-radius: 4px;
}

.settings-adjustment h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.setting-control {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.setting-control:last-child {
    margin-bottom: 0;
}

.setting-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.setting-name {
    color: #000;
}

.setting-value {
    background: #000;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
}

.setting-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    cursor: pointer;
}

.setting-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.setting-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.setting-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease;
}

.setting-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.5rem;
}

.preview-area {
    border: 2px solid #000;
    border-radius: 4px;
    background: #f9f9f9;
    min-height: 500px;
    overflow: hidden;
}

.photo-result {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    height: auto;
    justify-content: center;
}

.photo-result img {
    width: 100%;
    height: auto;
    max-height: 450px;
    border-radius: 8px;
    background: #ddd;
    object-fit: cover;
    transition: filter 0.3s ease-out;
    cursor: default;
}

.quality-indicator {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-align: center;
    background: #eee;
    color: #333;
    width: 100%;
}

.challenge-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.action-btn {
    padding: 0.85rem 2rem;
    border: 2px solid #000;
    background: white;
    color: #000;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #000;
    color: white;
    transform: translateY(-2px);
}

.submit-btn {
    background: #000;
    color: white;
    flex: 1;
    max-width: 150px;
}

.submit-btn:hover {
    background: #333;
}

.reset-btn {
    flex: 1;
    max-width: 150px;
}

.feedback-section {
    background: #f0f0f0;
    border: 2px solid #000;
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 1rem;
    overflow: visible;
}

#feedback-content {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feedback-section .next-btn {
    width: 100%;
    max-width: 200px;
    background: #000;
    color: white;
    margin: 1rem auto 0;
    display: block;
}

.results-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.results-content {
    text-align: center;
    max-width: 500px;
}

.results-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #000;
}

.final-score {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.final-score span {
    font-size: 1.5rem;
    color: #000;
    font-weight: 700;
}

.results-summary {
    background: #f5f5f5;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    text-align: left;
}

.results-summary h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.results-summary ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-summary li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
    color: #333;
}

.results-summary li:last-child {
    border-bottom: none;
}

.restart-btn,
.close-final-btn {
    margin: 0.5rem;
}

.restart-btn {
    background: #000;
    color: white;
}
.slider-value {
    font-weight: 600;
    min-width: 30px;
}

.slider-max {
    font-weight: 600;
    min-width: 30px;
}

/* ===== Responsive Game Styles ===== */
@media (max-width: 768px) {
    .game-container {
        max-width: 95vw;
        max-height: 95vh;
    }

    .game-header {
        padding: 1rem 1.5rem;
    }

    .game-header h2 {
        font-size: 1.25rem;
    }

    .photo-game-content {
        padding: 1rem;
    }

    .photo-game-main {
        gap: 1rem;
    }

    .challenge-section {
        gap: 1rem;
    }

    .challenge-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .challenge-header h3 {
        font-size: 1.1rem;
    }

    .settings-adjustment {
        padding: 1rem;
    }

    .setting-control {
        margin-bottom: 1.5rem;
    }

    .preview-area {
        padding: 1rem;
    }

    .photo-result img {
        max-width: 100%;
    }

    .challenge-actions {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
        max-width: unset;
    }

    .results-content {
        padding: 1rem;
    }

    .results-content h3 {
        font-size: 1.5rem;
    }

    .question-number {
        font-size: 1.5rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .option-item {
        padding: 0.75rem 1rem;
    }
}
