/* Responsive Design for SkinsRbx */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .showcase-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        height: auto;
    }
    
    .featured-main { grid-row: auto; grid-column: auto; }
}

/* Tablet */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: var(--spacing-xl);
        transition: var(--transition-normal);
        border-top: 2px solid var(--primary-color);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: var(--spacing-sm) var(--spacing-lg);
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .battle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .powerup-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-arena {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .battle-pass-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --spacing-xs: 0.25rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1rem;
        --spacing-lg: 1.5rem;
        --spacing-xl: 2rem;
        --spacing-xxl: 2.5rem;
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-actions {
        gap: var(--spacing-xs);
    }
    
    .cart-btn, .login-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .featured-main {
        grid-column: auto;
    }
    
    .battle-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .battle-card {
        padding: var(--spacing-lg);
        min-height: 150px;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .powerup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    
    .stats-arena {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .stat-block {
        padding: var(--spacing-lg);
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .newsletter-form input,
    .newsletter-btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-logo .logo-text {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.3rem; }
    
    .battle-card,
    .stat-block,
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .powerup-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    .stat-divider {
        display: none;
    }
    
    .cta-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
    
    .battle-pass-info h2 {
        font-size: 2rem;
    }
    
    .pass-card {
        padding: var(--spacing-lg);
    }
    
    .pass-header {
        font-size: 1.3rem;
    }
    
    .pass-price {
        font-size: 1.8rem;
    }
    
    .newsletter-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-content p {
        font-size: 1rem;
    }
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .nav-link,
    .cta-btn,
    .add-to-cart-btn,
    .quick-add-btn,
    .battle-pass-btn,
    .newsletter-btn,
    .cart-btn,
    .login-btn,
    .logout-btn {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .social-link {
        min-height: 44px;
        min-width: 44px;
    }
}

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

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .roblox-hero {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        height: calc(100vh - 60px);
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-btn {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: 0.9rem;
    }
    
    .battle-card {
        padding: var(--spacing-sm);
        min-height: 120px;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}
/* ==== Page-specific responsive (migrated from main.css) ==== */
