/* ===== RESPONSIVE DESIGN ===== */

/* ===== DESKTOP FIRST APPROACH ===== */

/* ===== LARGE DESKTOP (1200px and up) ===== */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
}

/* ===== MEDIUM DESKTOP (992px - 1199px) ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .feature-card-large {
        grid-column: span 2;
    }
}

/* ===== TABLET LANDSCAPE (768px - 991px) ===== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Header adjustments */
    .nav-list {
        gap: 1.5rem;
    }
    
    /* Grid adjustments */
    .why-content,
    .mission-content,
    .how-to-content,
    .contact-content,
    .faq-content,
    .testimonials-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card-large {
        grid-column: span 1;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .leadership-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .footer-bottom-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-top-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Games section */
    .games-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .games-carousel {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    /* Features bar */
    .features-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    /* Partners section */
    .partners-content {
        flex-direction: column;
        gap: 2rem;
    }
}

/* ===== TABLET PORTRAIT (576px - 767px) ===== */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    /* Header mobile menu */
    .nav {
        display: none;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        padding: 0.8rem 0;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    /* Hero section */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    /* Sections */
    section {
        padding: 60px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Grid adjustments */
    .games-carousel {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leadership-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px 10px 40px;
        font-size: 0.95rem;
    }
    
    .input-icon {
        left: 12px;
        font-size: 1rem;
    }
    
    /* Game iframe */
    .game-frame-container {
        height: 400px;
    }
    
    /* Privacy page */
    .privacy-content {
        padding: 0 1rem;
    }
    
    .privacy-section ul {
        margin-left: 1.5rem;
    }
}

/* ===== MOBILE LARGE (480px - 575px) ===== */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    h1 {
        font-size: 2.4rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    /* Header */
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
    }
    
    .logo-icon span {
        font-size: 1.2rem;
    }
    
    /* Hero section */
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* Grid adjustments */
    .why-content,
    .mission-content,
    .how-to-content,
    .contact-content,
    .faq-content,
    .testimonials-content {
        gap: 2rem;
    }
    
    .games-carousel {
        gap: 1rem;
    }
    
    .game-card {
        margin: 0 0.5rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px 8px 35px;
        font-size: 0.9rem;
    }
    
    .input-icon {
        left: 10px;
        font-size: 0.9rem;
    }
    
    /* Game iframe */
    .game-frame-container {
        height: 350px;
        margin: 0 0.5rem 1.5rem;
    }
    
    /* Footer */
    .footer-top,
    .footer-bottom {
        padding: 40px 0 20px;
    }
    
    .footer-top-content {
        gap: 1.5rem;
    }
    
    .footer-top-item {
        gap: 0.8rem;
    }
    
    .footer-icon {
        width: 50px;
        height: 50px;
    }
    
    .footer-icon span {
        font-size: 1.2rem;
    }
    
    .footer-text h4 {
        font-size: 1.1rem;
    }
    
    .footer-text p {
        font-size: 0.9rem;
    }
}

/* ===== MOBILE SMALL (320px - 479px) ===== */
@media (max-width: 479px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    /* Header */
    .header-content {
        padding: 0.6rem 0;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        margin-right: 8px;
    }
    
    .logo-icon span {
        font-size: 1.1rem;
    }
    
    /* Hero section */
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-content {
        padding: 0 0.3rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-breadcrumb {
        font-size: 0.9rem;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Buttons */
    .btn {
        padding: 8px 14px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .btn-large {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Grid adjustments */
    .why-content,
    .mission-content,
    .how-to-content,
    .contact-content,
    .faq-content,
    .testimonials-content {
        gap: 1.5rem;
    }
    
    .games-carousel {
        gap: 0.8rem;
    }
    
    .game-card {
        margin: 0 0.3rem;
    }
    
    .game-content {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 1.2rem;
    }
    
    .game-description {
        font-size: 0.9rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 7px 8px 7px 30px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .input-icon {
        left: 8px;
        font-size: 0.8rem;
    }
    
    /* Game iframe */
    .game-frame-container {
        height: 300px;
        margin: 0 0.3rem 1rem;
    }
    
    /* Footer */
    .footer-top,
    .footer-bottom {
        padding: 30px 0 15px;
    }
    
    .footer-top-content {
        gap: 1rem;
    }
    
    .footer-top-item {
        gap: 0.6rem;
    }
    
    .footer-icon {
        width: 45px;
        height: 45px;
    }
    
    .footer-icon span {
        font-size: 1.1rem;
    }
    
    .footer-text h4 {
        font-size: 1rem;
    }
    
    .footer-text p {
        font-size: 0.85rem;
    }
    
    .footer-bottom-content {
        gap: 1.5rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-description,
    .footer-contact,
    .footer-contact-details p {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    /* Mobile menu */
    .mobile-menu {
        top: 70px;
    }
    
    .mobile-menu-content {
        padding: 1.5rem;
    }
    
    .mobile-nav-link {
        font-size: 1.1rem;
        padding: 0.4rem 0;
    }
    
    /* Features bar */
    .features-content {
        gap: 1.5rem;
    }
    
    .feature-text {
        font-size: 0.8rem;
    }
    
    .feature-icon {
        font-size: 1.3rem;
    }
    
    /* Partners section */
    .partners-content {
        gap: 1.5rem;
    }
    
    .partner-logo {
        font-size: 1.3rem;
    }
    
    /* Testimonials */
    .testimonial {
        padding: 1.5rem;
    }
    
    .testimonial-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .testimonial-author {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    /* FAQ */
    .faq-question h4 {
        font-size: 1.1rem;
    }
    
    .faq-toggle {
        font-size: 1.3rem;
    }
    
    /* Privacy page */
    .privacy-content {
        padding: 0 0.5rem;
    }
    
    .privacy-section h3 {
        font-size: 1.2rem;
    }
    
    .privacy-section p,
    .privacy-section li {
        font-size: 0.9rem;
    }
    
    .privacy-section ul {
        margin-left: 1.2rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
    }
    
    /* Thank you page */
    .thankyou-icon span {
        font-size: 3rem;
    }
    
    .thankyou-title {
        font-size: 1.6rem;
    }
    
    .thankyou-description {
        font-size: 1rem;
    }
    
    .thankyou-details {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .thankyou-details p {
        font-size: 1rem;
    }
    
    .thankyou-details li {
        font-size: 0.9rem;
    }
    
    .thankyou-contact {
        padding: 1.5rem;
    }
    
    .thankyou-contact h3 {
        font-size: 1.3rem;
    }
    
    .contact-method {
        font-size: 0.9rem;
    }
    
    .contact-text {
        font-size: 0.9rem;
    }
}

/* ===== EXTRA SMALL MOBILE (below 320px) ===== */
@media (max-width: 319px) {
    .container {
        padding: 0 8px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    h4 {
        font-size: 1.1rem;
    }
    
    /* Header */
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-icon {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }
    
    .logo-icon span {
        font-size: 1rem;
    }
    
    /* Hero section */
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero-content {
        padding: 0 0.2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-breadcrumb {
        font-size: 0.85rem;
    }
    
    /* Sections */
    section {
        padding: 30px 0;
    }
    
    .section-description {
        font-size: 0.95rem;
        padding: 0 0.3rem;
        color: #333;
    }
    
    /* Buttons */
    .btn {
        padding: 7px 12px;
        font-size: 0.8rem;
        border-radius: 5px;
    }
    
    .btn-large {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    /* Game iframe */
    .game-frame-container {
        height: 250px;
        margin: 0 0.2rem 0.8rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 0.6rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 6px 6px 6px 25px;
        font-size: 0.8rem;
        border-radius: 6px;
    }
    
    .input-icon {
        left: 6px;
        font-size: 0.75rem;
    }
    
    /* Footer */
    .footer-top,
    .footer-bottom {
        padding: 25px 0 10px;
    }
    
    .footer-icon {
        width: 40px;
        height: 40px;
    }
    
    .footer-icon span {
        font-size: 1rem;
    }
    
    .footer-text h4 {
        font-size: 0.95rem;
    }
    
    .footer-text p {
        font-size: 0.8rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-description,
    .footer-contact,
    .footer-contact-details p {
        font-size: 0.8rem;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .header,
    .footer,
    .mobile-menu,
    .btn,
    .nav-arrow,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
        padding: 20px 0 !important;
    }
    
    .hero-title {
        color: black !important;
    }
    
    .hero-description {
        color: black !important;
    }
    
    section {
        padding: 20px 0 !important;
        break-inside: avoid;
    }
    
    .game-frame-container {
        height: 300px !important;
        border: 1px solid #ccc !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    body {
        font-size: 12pt !important;
        line-height: 1.4 !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid;
    }
    
    .btn {
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
    }
}
