/* Responsive Design */

/* Navigation Responsive */
@media (max-width: 992px) {
    .main-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .language-switcher {
        margin: 0 0.5rem;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        min-width: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(29, 185, 84, 0.2);
    }

    .language-switcher {
        order: 2;
        margin: 0;
        align-self: center;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1.5rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .registration-steps {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    .registration-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .registration-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .step {
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .responsible-gaming-logos {
        gap: 1rem;
    }

    .legal-links {
        gap: 1rem;
    }
}

/* Mobile Large */
@media (max-width: 767px) and (min-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .registration-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2rem 0;
    }

    .step {
        padding: 1.5rem 1rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.3rem;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .logo-img {
        height: 35px;
    }

    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
        min-width: 120px;
    }

    .btn-cta {
        font-size: 1.1rem;
        padding: 14px 28px;
    }

.modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .responsible-gaming {
        padding: 1.5rem;
    }

    .responsible-gaming-logos {
        flex-direction: column;
        gap: 1rem;
    }

    .rg-logo {
        padding: 0.8rem;
        min-width: auto;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile Small */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 90px 0 50px 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .registration-steps {
        margin: 1.5rem 0;
    }

    .step {
        padding: 1.2rem 0.8rem;
    }

    .step-number {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.2rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    .features {
        padding: 50px 0;
    }

    .features-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .feature {
        padding: 1.2rem;
    }

    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 0.8rem;
    }

    .feature h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .feature p {
        font-size: 0.85rem;
    }

    .header {
        padding: 0.8rem 0;
    }

    .header-content {
        align-items: center;
    }

    .logo-img {
        height: 30px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        min-width: 100px;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 12px 24px;
    }

.modal-content {
        margin: 5% auto;
        padding: 1rem;
        width: 98%;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .checkbox-group label {
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 0 1.5rem 0;
    }

    .responsible-gaming {
        padding: 1rem;
    }

.responsible-gaming-logos {
        gap: 0.5rem;
    }

    .rg-logo {
        padding: 0.6rem;
    }

    .rg-text {
        font-size: 0.8rem;
    }

    .license-info {
        padding: 1rem;
    }

    .license-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .license-info p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .copyright {
        font-size: 0.8rem;
    }
}

/* Mobile Extra Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 280px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .features-title {
        font-size: 1.6rem;
    }

    .feature h3 {
        font-size: 1.1rem;
    }

    .header-content {
        gap: 1rem;
    }

    .modal-content {
        width: 100%;
        margin: 0;
        height: 100vh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Landscape Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px 0;
    }

    .registration-steps {
        margin: 1rem 0;
    }

    .step {
        padding: 1rem;
    }

    .features {
        padding: 40px 0;
    }
}

/* Gallery Responsive */
@media (max-width: 1199px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 991px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item-large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item-wide {
        grid-column: span 2;
    }
    
    .gallery-content h3 {
        font-size: 1.5rem;
    }
    
    .gallery-content p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .gallery-section {
        padding: 50px 0;
    }
    
    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .gallery-content h3 {
        font-size: 1.3rem;
    }
    
    .gallery-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .gallery-section {
        padding: 40px 0;
    }
    
    .gallery-title {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-content p {
        font-size: 0.9rem;
    }
}

/* Hero Background Responsive */
@media (max-width: 768px) {
    .hero-with-bg {
        background-attachment: scroll;
    }
}

/* Print Styles */
@media print {
    .header,
    .modal,
    .btn,
    .gallery-overlay {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .hero,
    .features,
    .footer,
    .gallery-section {
        background: transparent !important;
    }
}
