/* Spin 777 - Responsive Stylesheet */
/* Additional responsive styles for better mobile experience */

/* Mobile First Approach */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-menu {
        display: none;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .breadcrumb {
        display: none;
    }
    
    /* Mobile Menu Responsive Adjustments */
    .mobile-menu-content {
        width: 100%;
        max-width: 400px;
    }
    
    .mobile-menu-content::-webkit-scrollbar {
        width: 4px;
    }
    
    .mobile-menu-content::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        min-height: auto;
        padding: 1rem 0 2rem 0;
    }
    
    .hero-content {
        align-items: center;
        text-align: center;
        padding: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .error-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 4rem 0 6rem 0;
        min-height: 70vh;
    }
    
    .hero-container {
        gap: 3rem;
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-image {
        min-height: 300px;
        order: -1;
    }
    
    .hero-image img {
        max-height: 350px;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .features-grid,
    .advantages-grid,
    .team-grid,
    .support-methods,
    .contact-info,
    .links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card,
    .advantage-item,
    .team-member,
    .support-method,
    .contact-item,
    .link-card {
        padding: 1.5rem;
    }
    
    .cta-buttons,
    .error-actions,
    .search-actions,
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 5px;
    }
    
    .hero {
        padding: 3rem 0 4rem 0;
        min-height: 60vh;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 1rem 0;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        max-width: 100%;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .hero-actions {
        gap: 1rem;
        margin-top: 0.5rem;
        justify-content: center;
    }
    
    .hero-image {
        min-height: 250px;
        order: -1;
    }
    
    .hero-image img {
        max-height: 300px;
    }
    
    /* Mobile Menu for Small Screens */
    .mobile-menu-content {
        width: 100%;
        max-width: 100%;
    }
    
    .mobile-menu-header {
        padding: 0 1.5rem 1.5rem;
    }
    
    .mobile-menu-nav {
        padding: 0 1.5rem;
    }
    
    .mobile-menu-actions {
        padding: 0 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .about-section h2,
    .features-section h2,
    .advantages-section h2,
    .faq-section h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .content-main h2 {
        font-size: 1.8rem;
    }
    
    .content-main h3 {
        font-size: 1.3rem;
    }
    
    .feature-card h3,
    .advantage-item h3,
    .team-member h4,
    .support-method h3,
    .contact-item h4,
    .link-card h3 {
        font-size: 1.3rem;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .faq-item p {
        padding: 1rem;
    }
    
    .error-text h1 {
        font-size: 2.5rem;
    }
    
    .error-message {
        font-size: 1.1rem;
    }
    
    .error-suggestion {
        font-size: 1rem;
    }
    
    .helpful-links h2 {
        font-size: 1.8rem;
    }
    
    .search-section h2 {
        font-size: 1.8rem;
    }
    
    .breadcrumb-list {
        font-size: 0.8rem;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-small {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .about-section h2,
    .features-section h2,
    .advantages-section h2,
    .faq-section h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .content-main h2 {
        font-size: 1.6rem;
    }
    
    .content-main h3 {
        font-size: 1.2rem;
    }
    
    .error-text h1 {
        font-size: 2rem;
    }
    
    .helpful-links h2 {
        font-size: 1.6rem;
    }
    
    .search-section h2 {
        font-size: 1.6rem;
    }
    
    .feature-card,
    .advantage-item,
    .team-member,
    .support-method,
    .contact-item,
    .link-card,
    .sidebar-card {
        padding: 1rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .faq-item p {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo img,
    .hero-image img,
    .feature-card img,
    .team-member img,
    .support-method img,
    .link-card img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .auth-buttons,
    .btn {
        display: none;
    }
    
    .main-content {
        margin: 0;
        padding: 0;
    }
    
    .hero {
        background: none;
        color: black;
        padding: 1rem 0;
    }
    
    .hero h1 {
        color: black;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    .breadcrumb {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode support - maintaining ColorHunt palette */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1E93AB;
        color: #FFFFFF;
    }
    
    .about-section,
    .policy-content,
    .terms-content,
    .disclaimer-content,
    .support-content {
        background-color: #F3F2EC;
        color: #000000;
    }
    
    .features-section,
    .advantages-section,
    .team-section {
        background-color: #DCDCDC;
        color: #000000;
    }
    
    .feature-card,
    .advantage-item,
    .team-member,
    .support-method,
    .contact-item,
    .link-card,
    .sidebar-card {
        background-color: #F3F2EC;
        color: #000000;
    }
    
    .step {
        background-color: #DCDCDC;
        color: #000000;
    }
    
    .faq-item {
        background-color: #DCDCDC;
        color: #000000;
    }
    
    .faq-item h3 {
        background-color: #1E93AB;
        color: #FFFFFF;
    }
    
    .search-section {
        background-color: #DCDCDC;
        color: #000000;
    }
    
    .content-main h2,
    .content-main h3,
    .feature-card h3,
    .advantage-item h3,
    .team-member h4,
    .support-method h3,
    .contact-item h4,
    .link-card h3 {
        color: #000000;
    }
    
    .content-main p,
    .feature-card p,
    .advantage-item p,
    .team-member p,
    .support-method p,
    .contact-item p,
    .link-card p {
        color: #000000;
    }
}
