/* ===================================
   Gambling House Armenia - Premium Slot/Gaming Design
   Ամբողջովին նոր դիզայն slot և gaming թեմայի համար
   =================================== */

/* === CSS Variables === */
:root {
    /* Primary Colors - Slot/Gaming Theme */
    --color-primary: #ff6b6b;
    --color-primary-dark: #ee5a6f;
    --color-primary-light: #ff8787;
    --color-secondary: #4ecdc4;
    --color-secondary-dark: #3ab5ad;
    --color-accent: #ffe66d;
    --color-accent-dark: #ffd93d;
    
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-slot: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 50%, #c44569 100%);
    --gradient-gaming: linear-gradient(135deg, #4ecdc4 0%, #44a08d 50%, #093637 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2a 50%, #2a2a3a 100%);
    --gradient-card: linear-gradient(145deg, #1e1e2e 0%, #2a2a3e 100%);
    --gradient-glow: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    
    /* Background Colors */
    --bg-main: #0a0a0f;
    --bg-secondary: #141420;
    --bg-tertiary: #1e1e2e;
    --bg-card: #252538;
    --bg-card-hover: #2d2d45;
    --bg-overlay: rgba(10, 10, 15, 0.95);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #6b6b7a;
    --text-accent: #ffe66d;
    
    /* Rating Colors */
    --rating-elite: #ffd700;
    --rating-excellent: #4ecdc4;
    --rating-good: #95e1d3;
    --rating-average: #ffe66d;
    --rating-low: #ff6b6b;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
    --shadow-glow-accent: 0 0 40px rgba(255, 107, 107, 0.5);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Container */
    --container-max: 1400px;
    --header-height: 90px;
}

/* === Reset & Base === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-main);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    min-height: 100vh;
}

/* === Container === */
.footer-container-new {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.header-container-new {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer-container-new,
    .header-container-new {
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    /* Fix for all hero section h1 titles on mobile */
    section h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        letter-spacing: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        padding: 0 0.5rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    section h1 span {
        font-size: 2.5rem !important;
        display: block !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Fix for h2 titles on mobile */
    section h2 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        letter-spacing: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        padding: 0 0.5rem !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for hero section paragraphs */
    section p {
        font-size: 1rem !important;
        padding: 0 0.5rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Ensure all text containers don't overflow */
    section > div,
    section > div > div {
        max-width: 100% !important;
        overflow-x: hidden !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    /* Fix for hero section containers */
    section[style*="padding"] {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        overflow-x: hidden !important;
    }
    
    section[style*="padding"] > div {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
    
    section[style*="padding"] > div > div {
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 0 0.5rem !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for text with uppercase and large letter-spacing */
    section h1[style*="text-transform: uppercase"],
    section h1[style*="TEXT-TRANSFORM: UPPERCASE"] {
        font-size: 2rem !important;
        letter-spacing: 0 !important;
        word-break: break-word !important;
    }
    
    /* Fix for specific large font sizes */
    section h1[style*="font-size: 6rem"],
    section h1[style*="font-size: 5.5rem"],
    section h1[style*="font-size: 5rem"],
    section h1[style*="font-size: 4.5rem"],
    section h1[style*="font-size: 4rem"] {
        font-size: 2.5rem !important;
        letter-spacing: 0 !important;
    }
    
    /* Additional fix for text overflow in hero sections */
    section {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Specific fix for bonuses.php hero section */
    .bonuses-hero-content {
        padding: 0 1rem !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
    }
    
    .bonuses-hero-title {
        font-size: 2.5rem !important;
        line-height: 1.3 !important;
        padding: 0 0.5rem !important;
        word-break: break-word !important;
    }
    
    .bonuses-hero-title span {
        font-size: 2.5rem !important;
        display: block !important;
    }
    
    /* Fix for inline-flex badges and labels */
    section div[style*="display: inline-flex"],
    section div[style*="DISPLAY: INLINE-FLEX"] {
        max-width: 100% !important;
        flex-wrap: wrap !important;
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Fix for text with negative letter-spacing */
    section h1[style*="letter-spacing: -"],
    section h1[style*="LETTER-SPACING: -"] {
        letter-spacing: 0 !important;
    }
    
    /* Ensure all spans inside h1 don't overflow */
    section h1 br {
        display: block !important;
    }
    
    section h1 span {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        word-break: break-word !important;
    }
    
    /* Fix for grid layouts in hero sections */
    section div[style*="grid-template-columns"],
    section div[style*="GRID-TEMPLATE-COLUMNS"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Fix for text-align center containers */
    section div[style*="text-align: center"],
    section div[style*="TEXT-ALIGN: CENTER"] {
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Fix for max-width containers */
    section div[style*="max-width"] {
        max-width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* Additional safety for all text elements */
    h1, h2, h3, p, span, div {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* Fix for uppercase text that might overflow */
    [style*="text-transform: uppercase"],
    [style*="TEXT-TRANSFORM: UPPERCASE"] {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* Additional fix for very small screens */
@media (max-width: 480px) {
    section h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
    }
    
    section h1 span {
        font-size: 2rem !important;
    }
    
    section h2 {
        font-size: 1.75rem !important;
    }
    
    section p {
        font-size: 0.9375rem !important;
    }
    
    /* Reduce padding on very small screens */
    section[style*="padding"] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    section[style*="padding"] > div > div {
        padding: 0 0.25rem !important;
    }
    
    /* Sports platform cards responsive */
    .sports-platform-card {
        padding: 1.5rem !important;
    }
    
    .sports-platform-card > div:first-child {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .sports-platform-card > div:first-child > div:first-child {
        width: 80px !important;
        height: 50px !important;
    }
    
    .sports-platform-card > div:first-child > div:nth-child(2) {
        width: 100% !important;
        min-width: 100% !important;
    }
    
    .sports-platform-card > div:first-child > div:nth-child(2) > div {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .sports-platform-card > div:last-child {
        width: 100% !important;
        flex-direction: column !important;
    }
    
    .sports-platform-card > div:last-child > a {
        width: 100% !important;
        flex: 1 !important;
        min-width: 100% !important;
    }
}

/* === Header === */
.main-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container-fluid {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

.header-top {
    background: var(--bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.top-left {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-secondary);
}

.top-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-info i {
    color: var(--color-primary);
}

.top-divider {
    opacity: 0.3;
}

.header-main {
    padding: 16px 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 48px;
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.logo-brand:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-brand:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.2px;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    display: block;
    white-space: nowrap;
}

.logo-tagline {
    font-size: 9.5px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.35;
    font-weight: 500;
    margin: 0;
    padding: 0;
    opacity: 0.8;
    display: block;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

/* Кнопка закрытия меню - скрыта на ПК */
.mobile-menu-close {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.nav-link i {
    font-size: 16px;
    opacity: 0.7;
}

.nav-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.nav-link:hover i {
    opacity: 1;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown .nav-link {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-arrow {
    font-size: 0.7rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-primary-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-main);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
}

.btn-primary-header:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1100;
    display: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* === Categories Section === */
.categories-minimal {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-secondary);
    overflow-x: visible !important;
    overflow-y: visible;
    width: 100%;
    position: relative;
}

.categories-minimal .container-fluid {
    overflow-x: visible !important;
    overflow-y: visible;
    width: 100%;
    position: relative;
}

.categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: scroll !important;
    overflow-y: hidden;
    padding: 8px 0 20px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 126, 234, 0.6) rgba(255, 255, 255, 0.1);
    -ms-overflow-style: scrollbar;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    will-change: scroll-position;
    width: 100%;
    max-width: 100%;
    position: relative;
    /* Принудительно показываем скроллбар */
    scrollbar-gutter: stable;
}

/* Стилизованный скроллбар для WebKit браузеров */
.categories-scroll::-webkit-scrollbar {
    height: 10px !important;
    display: block !important;
    -webkit-appearance: none;
}

.categories-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px;
    margin: 0 20px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.6) !important;
    border-radius: 10px;
    transition: background 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.categories-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.8) !important;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: var(--transition-fast);
    flex-shrink: 0 !important;
    flex-grow: 0;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    min-width: fit-content;
}

.category-pill:hover,
.category-pill.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.category-pill i {
    font-size: 16px;
}

/* Mobile Menu Styles */
@media (max-width: 1200px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1200;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Кнопка закрытия меню - только на мобильных */
    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        color: var(--text-primary);
        font-size: 1.25rem;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1300;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.4);
        transform: rotate(90deg) scale(1.1);
    }
    
    .mobile-menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }
    
    .mobile-menu-close i {
        color: var(--text-primary);
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .burger-menu {
        display: flex;
        z-index: 1300;
    }
    
    .burger-menu.active {
        opacity: 0;
        pointer-events: none;
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 0;
        width: 100%;
        color: var(--text-primary);
        margin-bottom: 0;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
    }
    
    .nav-link:hover {
        background: rgba(102, 126, 234, 0.1);
        border-left-color: rgba(102, 126, 234, 1);
    }
    
    .nav-link i {
        font-size: 18px;
        width: 20px;
        text-align: center;
        opacity: 0.7;
    }
    
    .nav-link:hover i {
        opacity: 1;
    }
    
    .btn-primary-header {
        display: none !important;
    }
    
    .nav-dropdown {
        width: 100%;
        position: relative;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
    }
    
    /* Когда sidebar открыт, dropdown открывается вниз внутри sidebar */
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        width: 100% !important;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        padding: 0;
        transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
        z-index: auto;
        display: block;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        margin-top: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-dropdown.active .nav-arrow {
        transform: rotate(180deg);
    }
    
    .nav-dropdown-item {
        padding: 0.75rem 1rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--text-secondary);
        text-decoration: none;
        border-radius: var(--radius-sm);
        transition: var(--transition-fast);
        font-weight: 500;
        font-size: 14px;
        white-space: nowrap;
        width: 100%;
    }
    
    .nav-dropdown-item:hover {
        background: rgba(102, 126, 234, 0.15);
        color: var(--text-primary);
    }
    
    .nav-dropdown-item i {
        font-size: 16px;
        width: 20px;
        text-align: center;
        color: var(--color-primary);
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 20px;
    }
    
    .nav-menu {
        width: 280px;
    }
    
    .nav-link {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .categories-minimal {
        padding: 30px 0;
        overflow-x: visible !important;
        overflow-y: visible;
        width: 100%;
    }
    
    .categories-minimal .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: visible !important;
        overflow-y: visible;
        width: 100%;
    }
    
    .categories-scroll {
        gap: 8px;
        padding: 4px 0 18px 0;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y pinch-zoom;
        overflow-x: scroll !important;
        overflow-y: hidden;
        width: calc(100% + 40px);
        max-width: none;
        scrollbar-width: thin;
        scrollbar-color: rgba(102, 126, 234, 0.6) rgba(255, 255, 255, 0.1);
    }
    
    .categories-scroll::-webkit-scrollbar {
        height: 8px !important;
        display: block !important;
        -webkit-appearance: none;
    }
    
    .categories-scroll::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px;
    }
    
    .categories-scroll::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.6) !important;
        border-radius: 10px;
        border: 2px solid rgba(255, 255, 255, 0.05);
    }
    
    .categories-scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.8) !important;
    }
    
    .category-pill {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .logo-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .logo-name {
        font-size: 18px;
    }
    
    .logo-tagline {
        font-size: 9px;
    }
    
    .logo-brand {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        width: 260px;
    }
    
    
    .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .nav-link i {
        font-size: 16px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .logo-name {
        font-size: 16px;
    }
    
    .logo-tagline {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .logo-brand {
        gap: 8px;
    }
    
    .nav-dropdown-menu {
        min-width: 200px;
        max-width: calc(100vw - 20px);
        left: auto;
        right: 0;
    }
    
    .categories-minimal {
        padding: 20px 0;
        overflow-x: visible !important;
        overflow-y: visible;
        width: 100%;
    }
    
    .categories-minimal .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
        overflow-x: visible !important;
        overflow-y: visible;
        width: 100%;
    }
    
    .categories-scroll {
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x pan-y pinch-zoom;
        overflow-x: scroll !important;
        overflow-y: hidden;
        width: calc(100% + 40px);
        max-width: none;
        scrollbar-width: thin;
        scrollbar-color: rgba(102, 126, 234, 0.6) rgba(255, 255, 255, 0.1);
    }
    
    .categories-scroll::-webkit-scrollbar {
        height: 6px !important;
        display: block !important;
        -webkit-appearance: none;
    }
    
    .categories-scroll::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 10px;
    }
    
    .categories-scroll::-webkit-scrollbar-thumb {
        background: rgba(102, 126, 234, 0.6) !important;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .categories-scroll::-webkit-scrollbar-thumb:hover {
        background: rgba(102, 126, 234, 0.8) !important;
    }
    
    .category-pill {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .category-pill i {
        font-size: 14px;
    }
}

.header-top-bar {
    width: 100%;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.875rem 0;
}

.header-info-items {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition-base);
}

.info-item i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

.info-item:hover {
    color: var(--text-primary);
}

.header-main-nav {
    width: 100%;
    padding: 0.5rem 0;
    background: transparent;
    position: relative;
    z-index: 1001;
    overflow-x: hidden;
    overflow-y: visible;
}

.header-nav-wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

.logo-container-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition-base);
    justify-self: start;
}

.logo-container-new:hover {
    transform: scale(1.05);
}

.logo-icon-new {
    width: 55px;
    height: 55px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.logo-container-new:hover .logo-icon-new {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 30px rgba(102, 126, 234, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.logo-text-new {
    display: flex;
    flex-direction: column;
}

.logo-name-new {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-subtitle-new {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.header-security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(78, 205, 196, 0.15);
    border: 1px solid rgba(78, 205, 196, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition-base);
    margin-left: 1rem;
}

.header-security-badge i {
    font-size: 1rem;
    color: var(--color-secondary);
    animation: pulse 2s ease-in-out infinite;
}

.header-security-badge:hover {
    background: rgba(78, 205, 196, 0.25);
    border-color: rgba(78, 205, 196, 0.5);
    transform: scale(1.05);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@media (max-width: 1024px) {
    .header-security-badge {
        display: none;
    }
}

.main-navigation-new {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 1001;
    background: rgba(15, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow-x: hidden;
    overflow-y: visible;
    max-width: 100%;
    flex-wrap: nowrap;
}

.nav-item-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.8125rem;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    background: transparent;
    flex-shrink: 0;
}

.nav-item-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-item-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--color-primary);
}

.nav-item-new i {
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.nav-item-new:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-item-new:hover::before {
    opacity: 1;
}

.nav-item-new:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item-new:hover i {
    color: var(--color-primary);
    transform: scale(1.1);
}

.nav-item-new.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.25) 0%, rgba(118, 75, 162, 0.25) 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-item-new.active::before {
    opacity: 1;
}

.nav-item-new.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-item-new.active i {
    color: var(--color-primary);
}

/* === Dropdown Menu === */
.nav-dropdown {
    position: relative;
    z-index: 1001;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    min-width: 240px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
    z-index: 1002;
    backdrop-filter: blur(20px);
    transform: translateY(-10px);
}

/* На мобильных dropdown должен открываться вниз внутри sidebar */
@media (max-width: 1200px) {
    .nav-menu .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        min-width: auto !important;
        max-width: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: rgba(0, 0, 0, 0.2) !important;
        backdrop-filter: none !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
    }
    
    .nav-menu .nav-dropdown.active .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem !important;
    }
}

/* Создаем "мост" между триггером и меню для плавного перехода курсора */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
    background: transparent;
    pointer-events: all;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.hover-active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}
 
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    font-weight: 500;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.nav-dropdown-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--color-primary);
}

.nav-dropdown-item:hover {
    background: rgba(102, 126, 234, 0.15);
    color: var(--text-primary);
    transform: translateX(5px);
}

.nav-dropdown-item:hover i {
    color: var(--color-secondary);
}

.header-actions-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-self: end;
}

.btn-header-primary {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.875rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-header-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-header-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #7c8ef0 0%, #8a5fb8 100%);
}

.btn-header-primary:hover::before {
    left: 100%;
}

.btn-header-primary i {
    transition: transform 0.3s ease;
}

.btn-header-primary:hover i {
    transform: translateX(2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.mobile-menu-overlay-new {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: var(--transition-base);
}

.mobile-menu-overlay-new.active {
    display: block;
    opacity: 1;
}

/* Hide some nav items on medium screens to prevent overflow */
@media (max-width: 1400px) {
    .main-navigation-new .nav-item-new:nth-child(n+8):not(.nav-dropdown-toggle) {
        display: none;
    }
}

@media (max-width: 1024px) {
    /* Убеждаемся, что dropdown в nav-menu открывается вниз */
    .nav-menu .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .header-nav-wrapper {
        display: flex;
        justify-content: space-between;
    }
    
    .main-navigation-new {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: linear-gradient(180deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 32, 0.98) 100%);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.75rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease;
        z-index: 1001;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
        margin: 0;
        flex: none;
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        visibility: hidden;
        border-radius: 0;
        border: none;
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .main-navigation-new.active {
        right: 0;
        visibility: visible;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .nav-item-new {
        width: 100%;
        padding: 1.125rem 1.25rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-item-new::before {
        border-radius: 12px;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
    }
    
    .nav-menu .nav-dropdown-menu,
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        width: 100% !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0 !important;
        padding: 0 !important;
        transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease, padding 0.3s ease;
        z-index: auto !important;
        display: block !important;
    }
    
    .nav-menu .nav-dropdown.active .nav-dropdown-menu,
    .nav-dropdown.active .nav-dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 500px !important;
        margin-top: 0.5rem !important;
        padding: 0.5rem !important;
    }
    
    .nav-dropdown.active .nav-arrow {
        transform: rotate(180deg);
    }
    
    .nav-dropdown-item {
        padding: 0.75rem 1rem;
    }
    
    /* Mobile Menu Close Button */
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-nav-wrapper {
        gap: 1rem;
    }
}

/* === Main Content === */
/* Prevent horizontal overflow on all sections */
section {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Исключение для categories-minimal - разрешаем горизонтальную прокрутку */
section.categories-minimal {
    overflow-x: visible !important;
    overflow-y: visible;
    width: 100%;
}

section.categories-minimal .container-fluid {
    overflow-x: visible !important;
}

section.categories-minimal .categories-scroll {
    overflow-x: auto !important;
}

.main-content-new {
    min-height: calc(100vh - var(--header-height));
    padding-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* === Buttons === */
.btn-primary-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--gradient-main);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.btn-primary-new:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary-new:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* === Cards === */
.card-new {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

/* === Footer === */
.main-footer-new {
    margin-top: 4rem;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-section {
    padding: 3rem 0;
}

.footer-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-brand-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-new i {
    font-size: 2rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-description-new {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-stats-new {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-title-new {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links-new {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-new li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    font-size: 0.9375rem;
}

.footer-links-new li a i {
    font-size: 0.75rem;
    color: var(--color-primary);
}

.footer-links-new li a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.footer-bottom-section {
    background: var(--bg-main);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.footer-bottom-content-new {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-copyright-new p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-legal-links-new {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-legal-links-new a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-base);
}

.footer-legal-links-new a:hover {
    color: var(--text-primary);
}

.separator {
    color: var(--text-muted);
}

.footer-disclaimer-new {
    margin-top: 1rem;
}

.footer-disclaimer-new p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.footer-disclaimer-new i {
    color: var(--color-accent);
}

/* === Back to Top === */
.back-to-top-new {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.back-to-top-new.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-new:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* === Platform Cards === */
.platform-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-card-new {
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.platform-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.platform-card-new:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(102, 126, 234, 0.3);
}

.platform-card-new:hover::before {
    transform: scaleX(1);
}

.platform-logo-new {
    width: 120px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-logo-new img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.platform-name-new {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.platform-rating-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-score-new {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-stars-new {
    display: flex;
    gap: 0.25rem;
}

.rating-stars-new .star-filled {
    color: var(--color-accent);
}

.rating-stars-new .star-half {
    color: var(--color-accent);
}

.rating-stars-new .star-empty {
    color: var(--text-muted);
}

.platform-bonus-new {
    text-align: center;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.platform-actions-new {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-platform-play {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem;
    background: var(--gradient-main);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-base);
}

.btn-platform-play:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

.btn-platform-info {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.btn-platform-info:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* === Section Headers === */
.section-header-new {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label-new {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle-new {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* === Responsive === */
@media (max-width: 768px) {
    .section-title-new {
        font-size: 2rem;
    }
    
    .platform-grid-new {
        grid-template-columns: 1fr;
    }
    
    .footer-grid-new {
        grid-template-columns: 1fr;
    }
    
    .header-info-items {
        gap: 1rem;
        font-size: 0.75rem;
    }
    
    /* Mobile hero section fix for mobile.php */
    section:has(.hero-mobile-content) {
        padding: 3rem 0 2rem !important;
        overflow-x: hidden !important;
    }
    
    .hero-mobile-content {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-mobile-content > div:first-child {
        padding: 0 1rem;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-mobile-content h1 {
        font-size: 3rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .hero-mobile-content h1 span {
        font-size: 3rem !important;
        display: block !important;
    }
    
    .hero-mobile-content p {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 0.5rem !important;
    }
    
    /* Hide decorative mobile icon on mobile */
    .hero-mobile-content > div:last-child {
        display: none !important;
    }
    
    /* Center badges */
    .hero-mobile-content > div:first-child > div:first-child {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0.75rem 2rem !important;
        margin: 0 auto 1.5rem !important;
    }
    
    .hero-mobile-content > div:first-child > div:last-child {
        justify-content: center !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }
    
    .hero-mobile-content > div:first-child > div:last-child > div {
        padding: 1rem 1.5rem !important;
        flex: 0 0 auto !important;
        min-width: auto !important;
    }
}

/* === Utility Classes === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
