/* Vortex Shop - Responsive CSS */
/* Mobile-first responsive design */

/* Extra Small Devices (phones, 320px and up) */
@media (max-width: 479px) {
    /* Typography */
    html { font-size: 14px; }
    
    .hero-title h1 { font-size: 2.5rem; }
    .title-subtitle { font-size: 1rem; }
    .hero-description { font-size: 1rem; }
    
    .section-header h2 { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; }
    
    /* Navigation */
    .nav-container { padding: 0 1rem; }
    .nav-logo { font-size: 1.2rem; }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-link {
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        text-align: center;
    }
    
    /* Hero Section */
    .hero-section { padding: 1rem; min-height: 90vh; }
    .hero-content { padding: 1rem 0; }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item { padding: 0.75rem; }
    .stat-number { font-size: 1.8rem; }
    
    /* Crypto Ticker */
    .crypto-ticker { padding: 1rem; }
    .ticker-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ticker-item { min-width: auto; width: 100%; }
    
    /* CTA Buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        min-width: auto;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Content Sections */
    .content-section { padding: 3rem 1rem; }
    
    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-item { padding: 1rem; }
    .dashboard-value { font-size: 1.8rem; }
    
    .stats-mini {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card { padding: 1rem; }
    
    /* Crypto Currencies */
    .crypto-currencies {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .currency-card { padding: 1rem; }
    .currency-header { flex-direction: column; gap: 1rem; }
    .currency-icon { font-size: 2rem; }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tool-card { padding: 1rem; }
    
    /* Converter */
    .converter {
        flex-direction: column;
        gap: 1rem;
    }
    
    .converter-input,
    .converter-output {
        width: 100%;
    }
    
    .converter-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    /* Fee Calculator */
    .fee-input {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Vendor Process */
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Vendor Stats */
    .vendor-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Registration Steps */
    .registration-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .reg-step { padding: 1rem; }
    
    /* Mirror Container */
    .mirror-item { padding: 1rem; }
    
    .mirror-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .mirror-link-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .mirror-link { word-break: break-all; }
    
    /* FAQ */
    .faq-question { padding: 1rem; font-size: 1rem; }
    .faq-answer { padding: 0 1rem 1rem; }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem 1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-security {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Modals and Overlays */
    .modal-content {
        width: 95%;
        margin: 1rem;
        padding: 1rem;
    }
    
    /* Notifications */
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Small Devices (phones, 480px and up) */
@media (min-width: 480px) and (max-width: 767px) {
    /* Typography */
    html { font-size: 15px; }
    
    .hero-title h1 { font-size: 3rem; }
    .title-subtitle { font-size: 1.1rem; }
    
    /* Navigation */
    .nav-container { padding: 0 1.5rem; }
    
    /* Hero Section */
    .hero-section { padding: 1.5rem; }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Content Sections */
    .content-section { padding: 4rem 1.5rem; }
    
    /* Vendor Metrics */
    .vendor-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        padding: 3rem 1.5rem 1.5rem;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1023px) {
    /* Typography */
    html { font-size: 15px; }
    
    .hero-title h1 { font-size: 4rem; }
    .title-subtitle { font-size: 1.3rem; }
    
    /* Navigation */
    .nav-container { padding: 0 2rem; }
    
    .nav-menu {
        display: flex;
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        padding: 0;
        transform: none;
    }
    
    .nav-toggle { display: none; }
    
    /* Hero Section */
    .hero-section { padding: 2rem; }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Crypto Currencies */
    .crypto-currencies {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Converter */
    .converter {
        flex-direction: row;
        gap: 1rem;
    }
    
    .converter-arrow { transform: none; }
    
    /* Fee Calculator */
    .fee-input {
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Vendor Process */
    .process-step {
        flex-direction: row;
        text-align: left;
        gap: 2rem;
    }
    
    /* Vendor Metrics */
    .vendor-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Registration Steps */
    .registration-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Mirror Container */
    .mirror-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .mirror-link-container {
        flex-direction: row;
        gap: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
    
    .footer-bottom {
        flex-direction: row;
        text-align: left;
    }
}

/* Large Devices (desktops, 1024px and up) */
@media (min-width: 1024px) and (max-width: 1199px) {
    /* Typography */
    html { font-size: 16px; }
    
    .hero-title h1 { font-size: 5rem; }
    .title-subtitle { font-size: 1.5rem; }
    
    /* Hero Section */
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Crypto Currencies */
    .crypto-currencies {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Vendor Metrics */
    .vendor-metrics {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Registration Steps */
    .registration-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Typography */
    html { font-size: 16px; }
    
    .hero-title h1 { font-size: 6rem; }
    .title-subtitle { font-size: 1.8rem; }
    
    /* Hero Section */
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Dashboard */
    .dashboard-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Crypto Currencies */
    .crypto-currencies {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    /* Registration Steps */
    .registration-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    /* Container Max Width */
    .main-container,
    .nav-container,
    .content-section,
    .footer-content {
        max-width: 1400px;
    }
    
    /* Feature Grid */
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Crypto Currencies */
    .crypto-currencies {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
    
    /* Tools Grid */
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high DPI displays */
    .hero-title h1,
    .section-header h2 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Sharper borders and shadows */
    .dashboard-item,
    .feature-card,
    .currency-card,
    .tool-card,
    .reg-step,
    .mirror-item {
        border-width: 0.5px;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .nav-link,
    .cta-primary,
    .cta-secondary,
    .copy-btn,
    .demo-btn,
    .faq-question {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Remove hover effects */
    .hover-scale:hover,
    .hover-lift:hover,
    .hover-glow:hover,
    .hover-float:hover,
    .hover-pulse:hover,
    .hover-shake:hover,
    .hover-wobble:hover,
    .hover-bounce:hover {
        transform: none;
        text-shadow: none;
        box-shadow: var(--box-shadow);
    }
    
    /* Disable complex animations on touch devices */
    .tilt-effect,
    .magnetic-effect {
        transform: none !important;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem;
    }
    
    .hero-title h1 { font-size: 3rem; }
    .title-subtitle { font-size: 1.2rem; }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item { padding: 0.5rem; }
    .stat-number { font-size: 1.5rem; }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements */
    .nav-toggle,
    .loading-screen,
    .background-effects,
    .scroll-indicator,
    .cta-buttons,
    .demo-btn,
    .copy-btn,
    .crypto-tools,
    .footer-social {
        display: none !important;
    }
    
    /* Optimize for print */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .main-container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .content-section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .section-header h2 {
        color: black !important;
        text-shadow: none !important;
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .feature-card,
    .currency-card,
    .mirror-item {
        border: 1px solid #ccc !important;
        background: white !important;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    /* Show URLs for links */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    /* Disable animations and transitions */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    /* Remove parallax effects */
    .parallax {
        transform: none !important;
    }
    
    /* Simplify hover effects */
    .hover-scale:hover,
    .hover-lift:hover {
        transform: scale(1.02) !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #ffffff;
        --secondary-color: #00ff00;
        --accent-color: #ffff00;
        --background-color: #000000;
        --surface-color: #000000;
        --text-primary: #ffffff;
        --text-secondary: #ffffff;
        --text-muted: #cccccc;
        --border-color: #ffffff;
    }
    
    .dashboard-item,
    .feature-card,
    .currency-card,
    .tool-card,
    .reg-step,
    .mirror-item {
        border: 2px solid #ffffff !important;
        background: #000000 !important;
    }
    
    .cta-primary,
    .cta-secondary,
    .demo-btn,
    .copy-btn {
        border: 2px solid #ffffff !important;
        background: #000000 !important;
        color: #ffffff !important;
    }
}

/* Dark Mode Preferences */
@media (prefers-color-scheme: dark) {
    /* Already using dark theme by default */
}

/* Light Mode Override (if needed) */
@media (prefers-color-scheme: light) {
    /* Uncomment if light mode support is needed */
    /*
    :root {
        --primary-color: #6b46c1;
        --secondary-color: #059669;
        --accent-color: #0891b2;
        --background-color: #ffffff;
        --surface-color: #f8fafc;
        --text-primary: #1f2937;
        --text-secondary: #4b5563;
        --text-muted: #9ca3af;
        --border-color: rgba(107, 70, 193, 0.3);
    }
    */
}

/* Container Queries (Future-proofing) */
@supports (container-type: inline-size) {
    .responsive-container {
        container-type: inline-size;
    }
    
    @container (max-width: 400px) {
        .container-responsive {
            grid-template-columns: 1fr;
        }
    }
    
    @container (min-width: 401px) and (max-width: 800px) {
        .container-responsive {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    
    @container (min-width: 801px) {
        .container-responsive {
            grid-template-columns: repeat(3, 1fr);
        }
    }
}

