﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
/* ===== Base Styles ===== */
:root {
    /* ألوان جذابة للأطفال */
    --primary: #ff6b6b;
    --secondary: #4ecdc4;
    --accent: #ffd166;
    --fun-purple: #845ec2;
    --fun-pink: #ff9a8b;
    --fun-blue: #00c2ff;
    --fun-green: #00e676;
    --fun-yellow: #ffe74c;
    /* متغيرات النظام */
    --background: #ffffff;
    --card: #ffffff;
    --border: #e2e8f0;
    --text: #333333;
    --text-muted: #718096;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    /* الخطوط */
    --font-primary: "Cairo", sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    /* المسافات */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    /* الحاويات */
    --container-width: 1200px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    direction: ltr; /* اتغيرت من rtl لـ ltr */
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary);
    }

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-primary);
    border: none;
    background: none;
    transition: var(--transition);
}

    button:focus,
    input:focus,
    textarea:focus,
    select:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
}

section {
    padding: var(--spacing-3xl) 0;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.fun-loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient( 45deg, var(--fun-pink), var(--fun-purple), var(--fun-blue), var(--fun-green), var(--fun-yellow) );
    background-size: 400% 400%;
    animation: gradientSpin 3s ease infinite;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

    .fun-loader::before {
        content: "";
        position: absolute;
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        background-color: white;
        border-radius: 50%;
        z-index: 1;
    }

    .fun-loader::after {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 40px;
        height: 40px;
        background-color: var(--fun-yellow);
        border-radius: 50%;
        transform: translateX(-50%);
        z-index: 2;
        animation: bounce 1s infinite alternate;
    }

@keyframes gradientSpin {
    0% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    from {
        transform: translateX(-50%) translateY(0);
    }

    to {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* ===== Dark Mode Toggle ===== */
.theme-toggle {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    margin-left: var(--spacing-md);
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .theme-toggle::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--primary);
        border-radius: 50%;
        transform: scale(0);
        transition: var(--transition);
        z-index: -1;
    }

    .theme-toggle:hover {
        color: white;
        transform: rotate(30deg);
    }

        .theme-toggle:hover::before {
            transform: scale(1);
        }

.sun-icon {
    stroke: currentColor;
}

/* ===== Dark Mode Styles ===== */
.dark {
    --primary: var(--fun-pink);
    --secondary: var(--fun-blue);
    --accent: var(--fun-yellow);
    --background: #121212;
    --card: #1e1e1e;
    --border: #2c2c2c;
    --text: #f5f5f5;
    --text-muted: #a0a0a0;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.4);
}

    .dark body {
        background-color: var(--background);
        color: var(--text);
    }

    .dark .navbar,
    .dark .card,
    .dark .footer-content,
    .dark .game-card,
    .dark .feature-card,
    .dark .benefit-card,
    .dark .contact-info,
    .dark .contact-form,
    .dark .age-recommender-container,
    .dark .recommendations-container,
    .dark .importance-card,
    .dark .step-card,
    .dark .faq-item,
    .dark .auth-container {
        background-color: var(--card);
        color: var(--text);
    }

    .dark .nav-link,
    .dark .footer-section a,
    .dark .section-title,
    .dark .game-title,
    .dark .feature-title,
    .dark .benefit-title {
        color: var(--text);
    }

        .dark .nav-link:hover,
        .dark .footer-section a:hover {
            color: var(--accent);
        }

    .dark .theme-toggle {
        color: var(--accent);
    }

        .dark .theme-toggle::before {
            background-color: var(--accent);
        }

    .dark .sun-icon {
        display: none;
    }

    .dark .theme-toggle::after {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'%3E%3C/path%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
    }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background);
    box-shadow: 0 2px 10px var(--shadow);
    z-index: 1000;
    transition: var(--transition);
    height: var(--header-height);
}

    .navbar.scrolled {
        padding: 0.5rem 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

.dark .navbar.scrolled {
    background-color: rgba(18, 18, 18, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-xl);
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-animation {
    width: 40px;
    height: 40px;
    margin-left: var(--spacing-sm);
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-circle {
    fill: var(--primary);
    animation: pulse 2s infinite alternate;
}

.logo-eye1,
.logo-eye2 {
    fill: white;
    animation: blink 3s infinite;
}

.logo-smile {
    stroke: white;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    animation: drawSmile 2s forwards;
}

@keyframes drawSmile {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes blink {
    0%, 45%, 55%, 100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(0.1);
    }
}

@keyframes pulse {
    from {
        transform: scale(0.95);
    }

    to {
        transform: scale(1);
    }
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
    position: relative;
}

    .logo-text::after {
        content: "";
        position: absolute;
        bottom: -4px;
        right: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition);
    }

    .logo-text:hover::after {
        width: 100%;
    }

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding: var(--spacing-xs) 0;
    transition: color 0.3s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: -2px;
        right: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

.auth-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.login-btn {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

    .login-btn:hover,
    .login-btn.active {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.cart-icon {
    position: relative;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .cart-icon:hover {
        transform: scale(1.1);
    }

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: white;
    font-size: var(--font-size-xs);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    box-shadow: 0 2px 4px var(--shadow);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

    .mobile-menu-btn span {
        width: 100%;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition);
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

/* ===== Fun Theme Header ===== */
.fun-theme {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--fun-pink) 0%, var(--fun-purple) 100%);
}

.main-header.fun-theme {
    padding: 9.9rem 1rem 11.9rem;
    margin-top: 0;
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.header-logo {
    margin-bottom: var(--spacing-xl);
}

.logo-animation-large {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    margin-bottom: var(--spacing-xl);
}

.header-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

    .header-content h1 span {
        display: block;
        font-size: var(--font-size-2xl);
        font-weight: 400;
        margin-top: var(--spacing-sm);
        opacity: 0;
        animation: fadeInUp 1s ease-out forwards;
        animation-delay: 0.5s;
    }

.header-subtitle {
    font-size: var(--font-size-lg);
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.7s;
}

.header-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
}

.cta-button {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

    .cta-button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(-100%) skewX(-15deg);
        transition: var(--transition);
    }

    .cta-button:hover::before {
        transform: translateX(100%) skewX(-15deg);
    }

    .cta-button:first-child {
        background-color: var(--fun-yellow);
        color: #333;
    }

        .cta-button:first-child:hover {
            background-color: var(--fun-green);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

    .cta-button.secondary {
        background-color: transparent;
        border: 2px solid white;
        color: white;
    }

        .cta-button.secondary:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

.fun-decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.balloon {
    position: absolute;
    width: 60px;
    height: 80px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

    .balloon::after {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 20px;
        background-color: rgba(255, 255, 255, 0.7);
    }

.balloon-1 {
    background-color: var(--fun-blue);
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.balloon-2 {
    background-color: var(--fun-green);
    right: 15%;
    top: 30%;
    animation-delay: 1s;
}

.balloon-3 {
    background-color: var(--fun-yellow);
    left: 30%;
    top: 15%;
    animation-delay: 2s;
}

.cloud {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    animation: floatCloud 15s linear infinite;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    left: -100px;
    top: 40%;
}

.cloud-2 {
    width: 150px;
    height: 60px;
    right: -150px;
    top: 20%;
    animation-delay: 5s;
}

.star {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid var(--fun-yellow);
    transform: rotate(35deg);
    animation: twinkle 3s infinite alternate;
}

    .star::before {
        content: "";
        position: absolute;
        top: -20px;
        left: -15px;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 30px solid var(--fun-yellow);
        transform: rotate(-70deg);
    }

    .star::after {
        content: "";
        position: absolute;
        top: 3px;
        left: -25px;
        width: 0;
        height: 0;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 30px solid var(--fun-yellow);
        transform: rotate(-35deg);
    }

.star-1 {
    top: 15%;
    left: 20%;
}

.star-2 {
    top: 25%;
    right: 25%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 30%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatCloud {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(100vw + 200px));
    }
}

@keyframes twinkle {
    0% {
        opacity: 0.3;
        transform: rotate(35deg) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: rotate(35deg) scale(1.2);
    }
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 2;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Login Section ===== */
.login-section {
    padding: var(--spacing-3xl) 0;
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
    display: flex;
    align-items: center;
}

.auth-container {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px var(--shadow);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--spacing-lg);
}

.auth-tab {
    flex: 1;
    padding: var(--spacing-md);
    text-align: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

    .auth-tab::after {
        content: "";
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: var(--transition);
    }

    .auth-tab.active {
        color: var(--primary);
    }

        .auth-tab.active::after {
            width: 100%;
        }

.auth-forms {
    margin-bottom: var(--spacing-lg);
}

.auth-form {
    display: none;
}

    .auth-form.active {
        display: block;
        animation: fadeIn 0.5s ease;
    }

.form-group {
    margin-bottom: var(--spacing-lg);
}

    .form-group label {
        display: block;
        margin-bottom: var(--spacing-sm);
        font-weight: 500;
    }

    .form-group input {
        width: 100%;
        padding: var(--spacing-md);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background-color: var(--background);
        transition: var(--transition);
    }

        .form-group input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
        }

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    top: 50%;
    left: var(--spacing-md);
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

    .toggle-password:hover {
        color: var(--primary);
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.remember-me,
.terms-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .remember-me input,
    .terms-checkbox input {
        position: absolute;
        opacity: 0;
    }

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-radius: 4px;
    margin-left: var(--spacing-sm);
    position: relative;
    transition: var(--transition);
}

.remember-me input:checked ~ .checkbox-custom,
.terms-checkbox input:checked ~ .checkbox-custom,
.skill-checkbox input:checked ~ .checkbox-custom {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked ~ .checkbox-custom::after,
.terms-checkbox input:checked ~ .checkbox-custom::after,
.skill-checkbox input:checked ~ .checkbox-custom::after {
    display: block;
}

.forgot-password {
    color: var(--primary);
    font-size: var(--font-size-sm);
    transition: var(--transition);
}

    .forgot-password:hover {
        color: var(--secondary);
        text-decoration: underline;
    }

.auth-submit {
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

    .auth-submit:hover {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.social-login {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
}

    .social-login p {
        margin-bottom: var(--spacing-md);
        color: var(--text-muted);
    }

.social-login-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.social-login-btn {
    flex: 1;
    padding: var(--spacing-md);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-weight: 500;
    transition: var(--transition);
}

    .social-login-btn.facebook {
        background-color: #3b5998;
        color: white;
    }

    .social-login-btn.google {
        background-color: #db4437;
        color: white;
    }

    .social-login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

/* ===== About Page Styles ===== */
.about-header {
    padding: 8rem 0 6rem;
    margin-top: var(--header-height);
    text-align: center;
    color: white;
}

.about-header-content {
    position: relative;
    z-index: 2;
}

.about-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.about-subtitle {
    font-size: var(--font-size-xl);
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.about-content {
    padding: var(--spacing-3xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

    .about-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: var(--transition);
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.about-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--fun-pink), var(--fun-purple));
    border-radius: 50%;
    z-index: -1;
}

.about-text {
    padding: var(--spacing-lg);
}

    .about-text p {
        margin-bottom: var(--spacing-lg);
        line-height: 1.8;
    }

.section-title.right-align::after {
    left: 0;
    transform: none;
}

/* ===== Importance Section ===== */
.importance-section {
    margin: var(--spacing-3xl) 0;
}

.importance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.importance-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}

    .importance-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px var(--shadow-hover);
    }

.importance-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition);
}

.importance-card:hover .importance-icon {
    background-color: var(--secondary);
    transform: rotateY(180deg);
}

.importance-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.importance-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== How to Use Section ===== */
.how-to-use-section {
    margin: var(--spacing-3xl) 0;
}

.steps-container {
    margin-top: var(--spacing-xl);
}

.step-card {
    display: flex;
    margin-bottom: var(--spacing-lg);
    background-color: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

    .step-card:hover {
        transform: translateX(10px);
        box-shadow: 0 10px 30px var(--shadow-hover);
    }

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 80px;
    background-color: var(--primary);
    color: white;
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

.step-content {
    padding: var(--spacing-lg);
    flex: 1;
}

    .step-content h3 {
        margin-bottom: var(--spacing-sm);
        color: var(--primary);
    }

    .step-content p {
        color: var(--text-muted);
        line-height: 1.7;
    }

/* ===== Features Section ===== */
.features-section {
    margin: var(--spacing-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .feature-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        transition: var(--transition);
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px var(--shadow-hover);
    }

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background-color: var(--secondary);
    transform: rotateY(180deg);
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== FAQ Section ===== */
.faq-section {
    margin: var(--spacing-3xl) 0;
}

.faq-container {
    margin-top: var(--spacing-xl);
}

.faq-item {
    background-color: var(--card);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

    .faq-item:hover {
        box-shadow: 0 10px 30px var(--shadow-hover);
    }

.faq-question {
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    .faq-question h3 {
        margin: 0;
        font-size: var(--font-size-lg);
        color: var(--primary);
    }

.faq-toggle {
    background: none;
    border: none;
    color: var(--primary);
    transition: var(--transition);
}

    .faq-toggle.active {
        transform: rotate(180deg);
    }

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq-answer.active {
        padding: 0 var(--spacing-lg) var(--spacing-lg);
        max-height: 300px;
    }

    .faq-answer p {
        color: var(--text-muted);
        line-height: 1.7;
    }

/* ===== CTA Section ===== */
.cta-section {
    margin: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--fun-pink) 0%, var(--fun-purple) 100%);
    padding: var(--spacing-3xl) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.1;
    }

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .cta-button {
    background-color: var(--fun-yellow);
    color: #333;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition-bounce);
}

    .cta-section .cta-button:hover {
        background-color: white;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

/* ===== Age Recommender Tool ===== */
.age-recommender {
    padding: var(--spacing-3xl) 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.dark .age-recommender {
    background-color: var(--card);
}

.age-recommender-container {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 4px 20px var(--shadow);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    border: 1px solid var(--border);
}

    .age-recommender-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px var(--shadow-hover);
    }

.age-slider-container {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.age-slider-label {
    display: block;
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
    position: relative;
    display: inline-block;
}

    .age-slider-label::after {
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, var(--primary), var(--secondary));
        border-radius: 2px;
    }

.age-slider {
    width: 100%;
    height: 12px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--fun-pink), var(--fun-blue));
    border-radius: 10px;
    outline: none;
    margin-bottom: var(--spacing-sm);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

    .age-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: var(--fun-yellow);
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
        border: 2px solid white;
    }

        .age-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
        }

.age-marks {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-sm);
}

.skill-selector {
    margin-bottom: var(--spacing-xl);
}

    .skill-selector h3 {
        margin-bottom: var(--spacing-md);
        color: var(--primary);
        text-align: center;
        font-size: var(--font-size-xl);
        position: relative;
        display: inline-block;
        padding-bottom: var(--spacing-xs);
    }

        .skill-selector h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 2px;
        }

.skill-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.skill-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius);
    transition: var(--transition);
}

    .skill-checkbox:hover {
        background-color: rgba(255, 107, 107, 0.05);
    }

    .skill-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* ===== Games Section ===== */
.games-section {
    padding: var(--spacing-3xl) 0;
}

.games-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.games-filter {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.filter-select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-primary);
    transition: var(--transition);
}

    .filter-select:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
    }

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.game-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

    .game-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px var(--shadow-hover);
    }

.game-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

    .game-image-container img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: var(--transition);
    }

.game-card:hover .game-image-container img {
    transform: scale(1.05);
}

.discount-badge,
.featured-badge,
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
    z-index: 1;
}

.discount-badge {
    background-color: var(--primary);
    color: white;
}

.featured-badge {
    background-color: var(--fun-blue);
    color: white;
}

.stock-badge {
    background-color: var(--text-muted);
    color: white;
}

    .stock-badge.out-of-stock {
        background-color: #e53e3e;
    }

.game-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--spacing-md);
}

.game-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.game-title {
    font-size: var(--font-size-lg);
    color: var(--text);
    margin: 0;
}

.age-badge {
    background-color: var(--fun-purple);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.game-short-desc {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.game-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-price {
    display: flex;
    flex-direction: column;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: var(--font-size-xs);
}

.current-price {
    color: var(--primary);
    font-weight: 600;
    font-size: var(--font-size-md);
}

.add-to-cart,
.notify-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.add-to-cart {
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

    .add-to-cart::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.7s ease;
    }

    .add-to-cart:hover::before {
        left: 100%;
    }

    .add-to-cart:hover {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.notify-btn {
    background-color: var(--text-muted);
    color: white;
}

    .notify-btn:hover {
        background-color: var(--fun-purple);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .pagination-btn:hover:not(:disabled) {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pagination-numbers {
    display: flex;
    gap: var(--spacing-xs);
}

.pagination-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--background);
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
}

    .pagination-number:hover {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

    .pagination-number.active {
        background-color: var(--primary);
        color: white;
        border-color: var(--primary);
    }

/* ===== Benefits Section ===== */
.benefits-section {
    padding: var(--spacing-3xl) 0;
    background-color: #f8f9fa;
}

.dark .benefits-section {
    background-color: var(--card);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.benefit-card {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border);
}

    .benefit-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px var(--shadow-hover);
    }

.benefit-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background-color: var(--secondary);
    transform: rotateY(180deg);
}

.benefit-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.benefit-desc {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-section {
    padding: var(--spacing-3xl) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 2fr;
    }
}

.contact-info {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

    .contact-info h3 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-lg);
        color: var(--primary);
        position: relative;
        display: inline-block;
        padding-bottom: var(--spacing-xs);
    }

        .contact-info h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 2px;
        }

.contact-details {
    margin-bottom: var(--spacing-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    color: var(--primary);
    margin-left: var(--spacing-md);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

    .social-link:hover {
        background-color: var(--secondary);
        transform: translateY(-5px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.contact-form {
    background-color: var(--card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 5px 15px var(--shadow);
    border: 1px solid var(--border);
}

    .contact-form h3 {
        font-size: var(--font-size-xl);
        margin-bottom: var(--spacing-lg);
        color: var(--primary);
        position: relative;
        display: inline-block;
        padding-bottom: var(--spacing-xs);
    }

        .contact-form h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            border-radius: 2px;
        }

    .contact-form .form-group {
        margin-bottom: var(--spacing-md);
    }

    .contact-form label {
        display: block;
        margin-bottom: var(--spacing-sm);
        font-weight: 500;
    }

    .contact-form .required {
        color: var(--primary);
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: var(--spacing-md);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background-color: var(--background);
        transition: var(--transition);
        font-family: var(--font-primary);
    }

        .contact-form input:focus,
        .contact-form textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
        }

.submit-btn {
    background-color: var(--primary);
    color: white;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    border: none;
}

    .submit-btn:hover {
        background-color: var(--secondary);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px var(--shadow);
    }

.btn-icon {
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ===== Section Titles ===== */
.section-title {
    text-align: center;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xl);
    color: var(--primary);
}

/* ===== L3bty modern redesign override - 2026 ===== */
:root {
    --primary: #ff4f8b;
    --primary-dark: #e01f67;
    --secondary: #28d4c7;
    --accent: #ffd166;
    --purple: #6c4cff;
    --ink: #172033;
    --muted: #6b7280;
    --soft: #fff7fb;
    --surface: rgba(255,255,255,.86);
    --border: rgba(23,32,51,.1);
    --shadow-xl: 0 26px 80px rgba(23,32,51,.16);
    --shadow-md: 0 16px 40px rgba(23,32,51,.12);
    --radius-2xl: 32px;
    --radius-xl: 24px;
    --radius-lg: 18px;
    --container-width: 1180px;
    --font-primary: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0 !important;
    font-family: var(--font-primary) !important;
    direction: rtl !important;
    color: var(--ink) !important;
    background:
        radial-gradient(circle at 10% 0%, rgba(255, 209, 102, .24), transparent 34%),
        radial-gradient(circle at 90% 10%, rgba(40, 212, 199, .22), transparent 30%),
        linear-gradient(180deg, #fff7fb 0%, #f7fbff 44%, #ffffff 100%) !important;
    overflow-x: hidden;
}
body.dark {
    --ink: #f8fafc;
    --muted: #cbd5e1;
    --surface: rgba(15, 23, 42, .78);
    --border: rgba(255,255,255,.12);
    background: radial-gradient(circle at top left, rgba(108,76,255,.3), transparent 34%), #0b1020 !important;
    color: var(--ink) !important;
}
.container { max-width: var(--container-width); width: 100%; margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.content { flex: 1; width: 100%; }
.site-header { position: sticky; top: 0; z-index: 1050; padding: 12px clamp(10px, 3vw, 28px); }
.modern-navbar {
    max-width: 1280px; margin: 0 auto; min-height: 76px; border: 1px solid var(--border); border-radius: 999px;
    background: rgba(255,255,255,.82); backdrop-filter: blur(22px); box-shadow: 0 18px 50px rgba(23,32,51,.1);
    display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 14px 10px 18px;
}
body.dark .modern-navbar { background: rgba(15,23,42,.82); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); min-width: max-content; }
.brand:hover { color: var(--primary); }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 18px; box-shadow: 0 10px 24px rgba(255,79,139,.22); }
.brand strong { display: block; font-size: 1.2rem; font-weight: 900; line-height: 1; }
.brand small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; margin-top: 4px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav-links .nav-link {
    color: var(--ink) !important; font-weight: 800; font-size: .95rem; padding: 11px 14px; border-radius: 999px;
    display: inline-flex; align-items: center; gap: 7px; transition: .25s ease;
}
.nav-links .nav-link:hover, .nav-links .nav-link.active { background: linear-gradient(135deg, rgba(255,79,139,.14), rgba(40,212,199,.14)); color: var(--primary) !important; transform: translateY(-2px); }
.nav-link--cart { position: relative; }
.cart-count, #floating-cart-count { min-width: 22px; height: 22px; border-radius: 999px; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; font-size: .75rem; font-weight: 900; }
.nav-actions { display: flex; align-items: center; gap: 10px; min-width: max-content; }
.theme-toggle { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--purple); box-shadow: 0 10px 22px rgba(23,32,51,.1); display: grid; place-items: center; }
body.dark .theme-toggle { background: rgba(255,255,255,.08); color: var(--accent); }
.login-btn, .primary-cta, .secondary-cta {
    border: 0; border-radius: 999px; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none !important; transition: .25s ease;
}
.login-btn, .primary-cta { color: #fff !important; background: linear-gradient(135deg, var(--primary), var(--purple)); box-shadow: 0 16px 34px rgba(255,79,139,.32); }
.login-btn { min-height: 44px; padding: 0 18px; }
.primary-cta, .secondary-cta { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.secondary-cta { color: var(--ink) !important; background: rgba(255,255,255,.78); border: 1px solid var(--border); box-shadow: 0 14px 34px rgba(23,32,51,.08); }
.login-btn:hover, .primary-cta:hover, .secondary-cta:hover { transform: translateY(-3px); filter: saturate(1.06); }
.mobile-menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { width: 20px; height: 2px; border-radius: 99px; background: #fff; transition: .25s ease; }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.floating-cart { position: fixed; left: 18px; bottom: 18px; z-index: 1060; }
.floating-cart__button { position: relative; width: 62px; height: 62px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(135deg, var(--secondary), var(--purple)); color: #fff !important; box-shadow: 0 20px 46px rgba(40,212,199,.34); font-size: 1.35rem; }
.floating-cart__button span { position: absolute; top: -8px; right: -8px; }
.hero-home { position: relative; padding: clamp(58px, 8vw, 110px) 0 70px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); gap: clamp(28px,5vw,70px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.78); color: var(--primary-dark); border: 1px solid rgba(255,79,139,.16); border-radius: 999px; padding: 9px 16px; font-weight: 900; box-shadow: 0 12px 28px rgba(255,79,139,.1); }
.hero-copy h1 { margin: 20px 0 18px; font-size: clamp(2.25rem, 6vw, 5.2rem); line-height: 1.05; letter-spacing: -1.5px; font-weight: 900; color: var(--ink); }
.hero-copy p { max-width: 680px; font-size: clamp(1rem,2vw,1.25rem); color: var(--muted); font-weight: 700; line-height: 1.9; }
.hero-actions, .hero-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-stats { gap: 16px; }
.hero-stats div { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 16px 20px; min-width: 128px; box-shadow: 0 18px 40px rgba(23,32,51,.08); }
.hero-stats strong { display: block; font-size: 1.45rem; font-weight: 900; color: var(--primary); }
.hero-stats span { color: var(--muted); font-weight: 800; font-size: .9rem; }
.hero-visual { min-height: 430px; position: relative; display: grid; place-items: center; }
.hero-visual::before { content: ''; position: absolute; width: min(82vw, 430px); aspect-ratio: 1; border-radius: 42% 58% 47% 53%; background: linear-gradient(135deg, rgba(255,79,139,.22), rgba(40,212,199,.26)); filter: blur(1px); animation: blob 8s ease-in-out infinite alternate; }
.toy-card--main { position: relative; z-index: 1; width: min(100%, 360px); border-radius: 40px; background: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--shadow-xl); padding: 28px; text-align: center; transform: rotate(-2deg); }
body.dark .toy-card--main { background: rgba(15,23,42,.78); }
.toy-card--main img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 32px; margin-bottom: 18px; }
.toy-card--main strong { display: block; font-size: 2rem; font-weight: 900; color: var(--primary); }
.toy-card--main span { color: var(--muted); font-weight: 800; }
.floating-badge { position: absolute; z-index: 2; background: #fff; color: var(--ink); border-radius: 999px; padding: 12px 16px; box-shadow: var(--shadow-md); font-weight: 900; display: inline-flex; gap: 8px; align-items: center; }
.badge-one { top: 44px; right: 5%; } .badge-two { left: 2%; bottom: 118px; } .badge-three { right: 13%; bottom: 36px; }
.hero-shapes span { position: absolute; border-radius: 50%; filter: blur(.2px); opacity: .65; animation: floaty 7s ease-in-out infinite alternate; }
.hero-shapes span:nth-child(1) { width: 84px; height: 84px; background: var(--accent); top: 18%; left: 8%; }
.hero-shapes span:nth-child(2) { width: 48px; height: 48px; background: var(--secondary); top: 25%; right: 5%; animation-delay: 1s; }
.hero-shapes span:nth-child(3) { width: 64px; height: 64px; background: var(--primary); bottom: 12%; right: 9%; animation-delay: .4s; }
.hero-shapes span:nth-child(4) { width: 40px; height: 40px; background: var(--purple); bottom: 19%; left: 18%; animation-delay: 1.5s; }
@keyframes blob { to { border-radius: 60% 40% 52% 48%; transform: rotate(8deg) scale(1.03); } }
@keyframes floaty { to { transform: translateY(-22px) translateX(10px); } }
.features-strip { padding: 18px 0 46px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.features-grid article, .recommender-panel, .recommendations-container, .shop-toolbar, .product-card, .empty-state { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.features-grid article { border-radius: 26px; padding: 24px; }
.features-grid i { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--purple)); margin-bottom: 14px; }
.features-grid h3 { font-weight: 900; margin-bottom: 6px; } .features-grid p { margin: 0; color: var(--muted); font-weight: 700; }
.modern-section { padding: clamp(56px, 8vw, 96px) 0; }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.section-heading span { color: var(--primary); font-weight: 900; background: rgba(255,79,139,.1); border-radius: 999px; padding: 7px 14px; display: inline-block; margin-bottom: 12px; }
.section-heading h2 { color: var(--ink); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 900; margin-bottom: 10px; }
.section-heading p { color: var(--muted); font-weight: 700; font-size: 1.05rem; }
.recommender-panel { border-radius: var(--radius-2xl); padding: clamp(18px,3vw,34px); display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 18px; align-items: end; }
.field-card { background: rgba(255,255,255,.62); border: 1px solid var(--border); border-radius: 24px; padding: 20px; }
body.dark .field-card { background: rgba(255,255,255,.06); }
.field-card label, .field-card h3 { color: var(--ink); font-weight: 900; margin-bottom: 14px; display: block; }
#ageSlider { width: 100%; accent-color: var(--primary); }
.age-marks { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .8rem; font-weight: 800; margin-top: 12px; }
.skill-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-pills label input { display: none; }
.skill-pills span { display: inline-flex; border-radius: 999px; border: 1px solid var(--border); padding: 10px 14px; font-weight: 900; background: #fff; color: var(--ink); cursor: pointer; }
body.dark .skill-pills span { background: rgba(255,255,255,.08); }
.skill-pills input:checked + span { background: linear-gradient(135deg, var(--secondary), var(--purple)); color: #fff; border-color: transparent; }
.recommender-btn { min-width: 180px; height: 58px; }
.recommendations-container { border-radius: var(--radius-2xl); padding: 24px; margin-top: 24px; }
.recommendations-container h3 { text-align: center; font-weight: 900; color: var(--ink); margin-bottom: 22px; }
.shop-toolbar { border-radius: 28px; padding: 18px; margin-bottom: 26px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.filter-group { display: grid; gap: 8px; min-width: min(260px, 100%); }
.filter-group label { font-weight: 900; color: var(--ink); }
.filter-select { width: 100%; min-height: 48px; border-radius: 16px; border: 1px solid var(--border); background: #fff; color: var(--ink); padding: 0 14px; font-weight: 800; }
body.dark .filter-select { background: rgba(255,255,255,.08); }
.games-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.games-grid.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { border-radius: 30px; overflow: hidden; transition: .28s ease; display: flex; flex-direction: column; min-width: 0; }
.product-card:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(23,32,51,.18); }
.product-image { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: linear-gradient(135deg, rgba(255,79,139,.12), rgba(40,212,199,.16)); display: block; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .35s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-tag { position: absolute; top: 14px; right: 14px; background: rgba(255,255,255,.9); color: var(--primary-dark); border-radius: 999px; padding: 7px 12px; font-weight: 900; font-size: .82rem; box-shadow: 0 10px 22px rgba(23,32,51,.1); }
.product-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: .83rem; font-weight: 900; margin-bottom: 10px; }
.product-body h3 { color: var(--ink); font-size: 1.1rem; font-weight: 900; line-height: 1.45; margin: 0 0 8px; }
.product-body p { color: var(--muted); font-weight: 700; line-height: 1.7; font-size: .9rem; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-footer strong { color: var(--primary-dark); font-size: 1.05rem; font-weight: 900; white-space: nowrap; }
.cart-btn { border-radius: 999px; background: linear-gradient(135deg, var(--primary), var(--purple)); color: #fff; min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-weight: 900; box-shadow: 0 12px 26px rgba(255,79,139,.25); }
.cart-btn:disabled { background: #cbd5e1; color: #64748b; box-shadow: none; cursor: not-allowed; }
.modern-pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 34px; flex-wrap: wrap; }
.modern-pagination button { min-width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--border); color: var(--ink); font-weight: 900; box-shadow: 0 10px 22px rgba(23,32,51,.06); }
.modern-pagination button.active, .modern-pagination button:hover:not(:disabled) { background: linear-gradient(135deg, var(--primary), var(--purple)); color: #fff; border-color: transparent; }
.modern-pagination button:disabled { opacity: .45; cursor: not-allowed; }
#pageNumbers { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.empty-state { grid-column: 1 / -1; border-radius: 26px; padding: 34px; text-align: center; color: var(--muted); font-weight: 900; }
.modern-footer { position: relative; overflow: hidden; margin-top: 40px; background: #12182a; color: #fff; padding: 58px clamp(18px,4vw,34px) 24px; }
.footer-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,79,139,.22); filter: blur(70px); top: -210px; left: -90px; }
.footer-grid { position: relative; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.footer-brand img { width: 68px; height: 68px; object-fit: cover; border-radius: 22px; margin-bottom: 14px; }
.footer-brand h3, .footer-section h4 { font-weight: 900; color: #fff; }
.footer-brand p { color: #cbd5e1; line-height: 1.9; max-width: 360px; }
.footer-section { display: flex; flex-direction: column; gap: 10px; }
.footer-section a { color: #dbeafe !important; font-weight: 800; }
.footer-section a:hover { color: var(--accent) !important; transform: translateX(-4px); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff !important; }
.footer-bottom { position: relative; max-width: 1180px; margin: 34px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #cbd5e1; text-align: center; font-weight: 700; }
@media (max-width: 1100px) {
    .modern-navbar { border-radius: 32px; align-items: flex-start; flex-wrap: wrap; }
    .mobile-menu-btn { display: flex; order: 3; }
    .nav-actions { margin-inline-start: auto; }
    .nav-links { order: 5; width: 100%; display: none; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.72); border: 1px solid var(--border); border-radius: 24px; padding: 10px; }
    body.dark .nav-links { background: rgba(15,23,42,.72); }
    .nav-links.active { display: flex; }
    .nav-links .nav-link { width: 100%; justify-content: flex-start; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-copy p { margin-inline: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .recommender-panel { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .site-header { padding: 8px; }
    .modern-navbar { min-height: auto; border-radius: 26px; padding: 10px; }
    .brand img { width: 46px; height: 46px; border-radius: 15px; }
    .brand small { display: none; }
    .login-btn { padding: 0 12px; font-size: .9rem; }
    .hero-home { padding-top: 42px; }
    .features-grid, .footer-grid { grid-template-columns: 1fr; }
    .games-grid, .games-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .hero-visual { min-height: 330px; }
    .toy-card--main { width: min(86vw, 300px); border-radius: 30px; padding: 20px; }
    .floating-badge { font-size: .82rem; padding: 10px 12px; }
}
@media (max-width: 540px) {
    .nav-actions { width: 100%; justify-content: space-between; order: 4; }
    .mobile-menu-btn { margin-inline-start: auto; }
    .hero-copy h1 { font-size: clamp(2rem, 12vw, 3.1rem); }
    .hero-actions > a { width: 100%; }
    .hero-stats { display: grid; grid-template-columns: 1fr; }
    .features-strip { padding-bottom: 20px; }
    .modern-section { padding: 48px 0; }
    .shop-toolbar { align-items: stretch; }
    .filter-group { min-width: 100%; }
    .games-grid, .games-grid.compact { grid-template-columns: 1fr; }
    .product-footer { align-items: stretch; flex-direction: column; }
    .cart-btn { width: 100%; }
    .age-marks { font-size: .68rem; }
    .floating-cart__button { width: 56px; height: 56px; border-radius: 19px; }
}

/* ===== L3bty premium responsive overhaul v2 ===== */
:root{
  --premium-ink:#10182f;
  --premium-muted:#6c7486;
  --premium-pink:#ff3f87;
  --premium-orange:#ff9b3f;
  --premium-cyan:#2ed8d0;
  --premium-purple:#7c4dff;
  --premium-soft:#fff8ed;
  --premium-line:rgba(20,29,55,.10);
}
html{direction:rtl!important;overflow-x:hidden;}
body{direction:rtl!important;background:linear-gradient(180deg,#fff7ea 0,#f3fffd 42%,#fff 100%)!important;color:var(--premium-ink)!important;}
.site-shell{max-width:100%;overflow:hidden;}
.site-header{position:sticky;top:0;z-index:1000;padding:14px clamp(10px,2vw,28px);background:transparent!important;}
.modern-navbar{max-width:1280px;margin:auto;min-height:72px;padding:10px 18px!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:28px!important;background:rgba(255,255,255,.78)!important;backdrop-filter:blur(20px);box-shadow:0 18px 60px rgba(25,33,58,.10)!important;display:flex;gap:18px;align-items:center;}
.brand{gap:10px!important;min-width:150px;flex-shrink:0;color:var(--premium-ink)!important;}
.brand img{width:58px!important;height:58px!important;min-width:58px!important;border-radius:18px!important;object-fit:contain!important;background:#fff!important;padding:4px!important;box-shadow:0 10px 25px rgba(255,120,80,.16)!important;}
.brand strong{font-size:1.15rem!important;line-height:1;color:#0877d7!important;}
.brand small{font-size:.72rem!important;color:#687287!important;font-weight:800!important;white-space:nowrap;}
.nav-links{gap:4px!important;justify-content:center;flex:1;}
.nav-link{border-radius:16px!important;padding:11px 12px!important;color:var(--premium-ink)!important;font-weight:900!important;font-size:.94rem!important;}
.nav-link:hover{background:#fff!important;box-shadow:0 12px 24px rgba(18,28,55,.08)!important;color:var(--premium-pink)!important;transform:translateY(-2px);}
.nav-actions{gap:10px!important;flex-shrink:0;}
.theme-toggle{width:46px!important;height:46px!important;background:#fff!important;box-shadow:0 10px 25px rgba(17,24,39,.08)!important;margin:0!important;color:var(--premium-purple)!important;}
.login-btn{height:48px!important;padding:0 22px!important;border-radius:18px!important;background:linear-gradient(135deg,var(--premium-pink),var(--premium-purple))!important;color:#fff!important;font-weight:1000!important;box-shadow:0 16px 36px rgba(255,63,135,.28)!important;white-space:nowrap;}
.floating-cart__button{background:linear-gradient(145deg,#21d4fd,#6a5cff)!important;box-shadow:0 16px 38px rgba(62,100,255,.32)!important;border-radius:20px!important;}
.hero-home{min-height:calc(100vh - 105px);padding:clamp(55px,7vw,105px) 0 70px!important;background:radial-gradient(circle at 12% 22%,rgba(255,209,102,.35),transparent 18%),radial-gradient(circle at 90% 30%,rgba(46,216,208,.30),transparent 18%)!important;}
.hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(310px,.88fr)!important;gap:clamp(28px,5vw,72px)!important;align-items:center!important;}
.hero-copy{position:relative;z-index:2;}
.hero-copy h1{font-size:clamp(2.8rem,6.8vw,6.4rem)!important;line-height:.98!important;letter-spacing:-2.5px!important;max-width:720px;color:var(--premium-ink)!important;text-shadow:0 10px 0 rgba(255,255,255,.55);}
.hero-copy p{font-size:clamp(1rem,1.7vw,1.35rem)!important;max-width:680px!important;color:#596274!important;font-weight:900!important;}
.eyebrow{background:#fff!important;color:var(--premium-pink)!important;border:1px solid rgba(255,63,135,.15)!important;border-radius:999px!important;padding:12px 18px!important;box-shadow:0 14px 35px rgba(255,63,135,.12);}
.hero-visual{min-height:470px!important;display:grid!important;place-items:center!important;}
.hero-visual::before{width:min(80vw,500px)!important;background:linear-gradient(135deg,rgba(255,63,135,.17),rgba(46,216,208,.25))!important;}
.toy-card--main{width:min(400px,82vw)!important;min-height:400px!important;border-radius:38px!important;padding:24px!important;transform:rotate(-3deg)!important;box-shadow:0 28px 80px rgba(29,42,70,.14)!important;}
.toy-card img{width:100%!important;height:270px!important;object-fit:contain!important;border-radius:28px!important;background:#fff!important;}
.shop-toolbar{position:relative;display:flex!important;align-items:end!important;gap:16px!important;justify-content:center!important;margin:-10px auto 34px!important;padding:18px!important;max-width:850px!important;border-radius:30px!important;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,255,255,.68))!important;border:1px solid rgba(255,255,255,.95)!important;box-shadow:0 24px 70px rgba(17,24,39,.10)!important;backdrop-filter:blur(18px)!important;}
.shop-toolbar::before{content:'فلترة سريعة';position:absolute;top:-17px;right:28px;background:linear-gradient(135deg,var(--premium-orange),var(--premium-pink));color:#fff;border-radius:999px;padding:7px 16px;font-weight:1000;box-shadow:0 12px 26px rgba(255,80,120,.22);}
.filter-group{min-width:260px!important;text-align:right!important;}
.filter-group label{font-size:.92rem!important;color:var(--premium-ink)!important;margin-bottom:8px!important;display:block!important;}
.filter-select{height:56px!important;border-radius:20px!important;border:2px solid transparent!important;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,rgba(255,63,135,.55),rgba(46,216,208,.55)) border-box!important;box-shadow:0 10px 28px rgba(17,24,39,.06)!important;font-weight:1000!important;color:var(--premium-ink)!important;}
.games-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:24px!important;}
.product-card{position:relative!important;border-radius:32px!important;background:rgba(255,255,255,.92)!important;border:1px solid rgba(255,255,255,.9)!important;box-shadow:0 20px 60px rgba(16,24,47,.10)!important;overflow:hidden!important;transition:transform .35s ease,box-shadow .35s ease!important;}
.product-card:hover{transform:translateY(-10px)!important;box-shadow:0 30px 85px rgba(16,24,47,.16)!important;}
.product-card::before{content:'';position:absolute;inset:0;background:linear-gradient(160deg,rgba(255,63,135,.08),transparent 35%,rgba(46,216,208,.09));pointer-events:none;z-index:1;}
.product-image{height:250px!important;margin:12px 12px 0!important;border-radius:26px!important;background:linear-gradient(145deg,#fff7ec,#eafffb)!important;overflow:hidden!important;position:relative!important;display:block!important;}
.product-slide{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;padding:18px!important;opacity:0!important;transform:scale(1.05);transition:opacity .7s ease,transform 1s ease!important;}
.product-slide.active{opacity:1!important;transform:scale(1)!important;}
.product-tag,.stock-chip{position:absolute!important;z-index:3!important;border-radius:999px!important;background:rgba(255,255,255,.92)!important;color:var(--premium-ink)!important;font-weight:1000!important;box-shadow:0 12px 26px rgba(16,24,47,.10)!important;backdrop-filter:blur(10px);}
.product-tag{top:14px!important;right:14px!important;padding:8px 14px!important;color:var(--premium-pink)!important;}
.stock-chip{left:14px;bottom:14px;padding:7px 12px;font-size:.84rem;}
.slide-dots{position:absolute;right:0;left:0;bottom:15px;display:flex;justify-content:center;gap:6px;z-index:4;}
.slide-dot{width:7px;height:7px;border-radius:99px;background:rgba(16,24,47,.22);transition:.25s;}
.slide-dot.active{width:22px;background:var(--premium-pink);}
.product-body{padding:18px 20px 20px!important;position:relative;z-index:2;}
.product-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:10px!important;}
.product-meta span{background:#f6f7fb!important;color:#697386!important;border-radius:999px!important;padding:6px 10px!important;font-weight:900!important;font-size:.78rem!important;}
.product-body h3{font-size:1.25rem!important;font-weight:1000!important;color:var(--premium-ink)!important;margin-bottom:8px!important;line-height:1.35!important;}
.product-body p{height:48px!important;overflow:hidden!important;color:var(--premium-muted)!important;font-weight:800!important;font-size:.92rem!important;}
.product-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin-top:16px!important;}
.product-footer strong{font-size:1.25rem!important;color:var(--premium-pink)!important;font-weight:1000!important;white-space:nowrap;}
.product-footer small{font-size:.82rem;color:#7b8496;}
.cart-btn.icon-cart{min-width:56px!important;height:52px!important;border-radius:18px!important;padding:0 16px!important;background:linear-gradient(135deg,#1fd1c3,#6a5cff)!important;color:#fff!important;font-weight:1000!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:0 16px 30px rgba(52,107,255,.24)!important;}
.cart-btn.icon-cart i{font-size:1.08rem;}
.cart-btn.icon-cart:hover{transform:translateY(-3px) scale(1.03)!important;}
.cart-btn.icon-cart:disabled{background:#d7dce7!important;color:#737b8e!important;box-shadow:none!important;}
.modern-footer{margin:40px clamp(10px,2vw,28px) 24px!important;border-radius:38px!important;background:linear-gradient(135deg,#111a33,#17294d 52%,#0b7f84)!important;color:#fff!important;padding:48px clamp(20px,4vw,56px) 18px!important;box-shadow:0 32px 90px rgba(15,23,42,.18)!important;}
.footer-grid{max-width:1220px!important;margin:auto!important;display:grid!important;grid-template-columns:1.35fr repeat(3,1fr)!important;gap:28px!important;}
.footer-brand img{width:70px!important;height:70px!important;object-fit:contain!important;background:#fff!important;border-radius:22px!important;padding:5px!important;}
.footer-brand h3,.footer-section h4{color:#fff!important;font-weight:1000!important;}
.footer-brand p,.footer-section a,.footer-bottom{color:rgba(255,255,255,.74)!important;font-weight:800!important;}
.footer-section a{display:block;padding:7px 0!important;}
.footer-section a:hover{color:#fff!important;transform:translateX(-4px);}
.socials a{width:44px!important;height:44px!important;border-radius:16px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-inline-end:8px!important;}
.auth-page{min-height:calc(100vh - 120px);display:block;padding:28px 12px 60px;background:radial-gradient(circle at 15% 12%,rgba(255,209,102,.35),transparent 20%),radial-gradient(circle at 84% 22%,rgba(46,216,208,.28),transparent 22%);}
.auth-shell{padding:18px 0!important;display:grid;place-items:center;min-height:calc(100vh - 150px);}
.auth-card{width:min(1080px,100%);display:grid;grid-template-columns:.92fr 1.08fr;overflow:hidden;border-radius:38px;background:rgba(255,255,255,.90);border:1px solid rgba(255,255,255,.95);box-shadow:0 30px 90px rgba(16,24,47,.14);backdrop-filter:blur(18px);}
.auth-visual{padding:46px 34px;background:linear-gradient(145deg,#fff2dc,#e7fffb);display:flex;flex-direction:column;justify-content:center;gap:18px;position:relative;overflow:hidden;}
.auth-visual::after{content:'';position:absolute;width:260px;height:260px;border-radius:50%;background:rgba(255,63,135,.14);left:-90px;bottom:-80px;}
.auth-logo img{width:96px;height:96px;border-radius:28px;object-fit:contain;background:#fff;padding:7px;box-shadow:0 18px 45px rgba(255,110,80,.18);}
.auth-visual h2{font-weight:1000;font-size:clamp(2rem,3vw,3.2rem);line-height:1.1;color:var(--premium-ink);}
.auth-visual p{font-weight:900;color:#5f6a7f;font-size:1.05rem;}
.auth-points{display:flex;gap:10px;flex-wrap:wrap;}
.auth-points span{border-radius:999px;background:#fff;padding:10px 14px;font-weight:1000;color:var(--premium-ink);box-shadow:0 12px 24px rgba(17,24,39,.06);}
.auth-form{padding:46px clamp(24px,4vw,58px);display:flex;flex-direction:column;justify-content:center;}
.auth-kicker{align-self:flex-start;background:rgba(255,63,135,.10);color:var(--premium-pink);border-radius:999px;padding:8px 14px;font-weight:1000;margin-bottom:12px;}
.auth-form h1{font-size:clamp(2rem,3.6vw,3.5rem);font-weight:1000;color:var(--premium-ink);line-height:1.05;margin-bottom:8px;}
.auth-muted{color:var(--premium-muted);font-weight:800;margin-bottom:22px;}
.auth-field{height:58px;border-radius:20px;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,rgba(255,63,135,.45),rgba(46,216,208,.45)) border-box;display:flex;align-items:center;gap:12px;padding:0 16px;margin-bottom:14px;box-shadow:0 12px 28px rgba(17,24,39,.06);}
.auth-field i{color:var(--premium-pink);}
.auth-field input{border:0;outline:0;background:transparent;width:100%;height:100%;font-weight:900;color:var(--premium-ink);direction:rtl;}
.auth-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 18px;flex-wrap:wrap;font-weight:900;}
.auth-row a{color:var(--premium-pink);font-weight:1000;}
.remember{display:flex;gap:8px;align-items:center;color:#667085;}
.auth-submit,.auth-google{height:58px;border-radius:20px;font-weight:1000;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:12px;}
.auth-submit{background:linear-gradient(135deg,var(--premium-pink),var(--premium-purple));color:#fff;box-shadow:0 18px 36px rgba(255,63,135,.25);}
.auth-google{background:#fff;color:var(--premium-ink);border:1px solid var(--premium-line);box-shadow:0 12px 28px rgba(17,24,39,.06);}
.auth-register{margin-top:12px;text-align:center;font-weight:900;color:#667085;}
.auth-register a{color:var(--premium-pink);font-weight:1000;margin-inline-start:7px;}
.auth-errors ul{padding:0;margin:0 0 12px;list-style:none;}
@media (max-width:1100px){.modern-navbar{flex-wrap:wrap}.nav-links{order:3;width:100%;justify-content:center}.hero-grid{grid-template-columns:1fr!important;text-align:center}.hero-copy p,.hero-copy h1{margin-inline:auto}.hero-actions,.hero-stats{justify-content:center!important}.hero-visual{min-height:380px!important}.footer-grid{grid-template-columns:1fr 1fr!important}.auth-card{grid-template-columns:1fr}.auth-visual{min-height:280px}}
@media (max-width:768px){.site-header{padding:8px}.modern-navbar{border-radius:22px!important;min-height:64px;padding:8px 10px!important}.brand img{width:48px!important;height:48px!important;min-width:48px!important}.brand small{display:none}.mobile-menu-btn{display:flex!important}.nav-links{display:none!important}.nav-links.active{display:flex!important;position:absolute;top:76px;right:8px;left:8px;flex-direction:column;background:#fff;border-radius:24px;padding:14px;box-shadow:0 24px 70px rgba(17,24,39,.16);z-index:20}.nav-actions{margin-inline-start:auto}.login-btn{height:44px!important;padding:0 14px!important;font-size:.88rem!important}.theme-toggle{width:42px!important;height:42px!important}.hero-home{min-height:auto;padding:42px 0 34px!important}.hero-copy h1{font-size:clamp(2.35rem,13vw,4.2rem)!important;letter-spacing:-1px!important}.hero-actions{flex-direction:column}.hero-actions a{width:100%;justify-content:center}.hero-stats{grid-template-columns:1fr!important}.toy-card--main{min-height:300px!important}.toy-card img{height:205px!important}.shop-toolbar{display:grid!important;grid-template-columns:1fr!important;padding:22px 14px 14px!important}.filter-group{min-width:100%!important}.games-grid{grid-template-columns:1fr!important;gap:18px!important}.product-image{height:230px!important}.product-footer{align-items:stretch!important}.cart-btn.icon-cart span{display:none}.cart-btn.icon-cart{width:56px!important;padding:0!important}.footer-grid{grid-template-columns:1fr!important}.modern-footer{border-radius:28px!important;padding:34px 20px 16px!important}.auth-page{padding:10px}.auth-shell{min-height:auto}.auth-card{border-radius:28px}.auth-visual{padding:30px 22px;min-height:240px}.auth-form{padding:30px 18px}.auth-row{font-size:.9rem}.auth-submit,.auth-google,.auth-field{height:54px}}

/* ===== Premium fixes v3: sticky header, original-style filters, footer flush, cart icon ===== */
html, body { min-height: 100%; }
body { direction: rtl; background: linear-gradient(180deg,#fffaf2 0%,#ffffff 42%,#f7fffd 100%) !important; }
.site-shell { min-height: 100vh !important; display: flex !important; flex-direction: column !important; overflow: visible !important; }
.content { flex: 1 0 auto !important; width: 100% !important; }
.site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 3000 !important;
    padding: 10px clamp(8px,2vw,24px) !important;
    background: linear-gradient(180deg,rgba(255,250,242,.92),rgba(255,250,242,.50) 70%,transparent) !important;
    backdrop-filter: blur(10px);
}
.modern-navbar {
    max-width: 1240px !important;
    min-height: 64px !important;
    border-radius: 24px !important;
    border: 1px solid rgba(255,255,255,.86) !important;
    background: rgba(255,255,255,.88) !important;
    box-shadow: 0 16px 42px rgba(16,24,47,.12) !important;
}
.brand img { width: 56px !important; height: 56px !important; min-width: 56px !important; object-fit: contain !important; border-radius: 18px !important; background: #fff !important; padding: 3px !important; }
.nav-links .nav-link { border-radius: 16px !important; color: #172033 !important; }
.nav-links .nav-link:hover { background: linear-gradient(135deg,rgba(255,117,76,.13),rgba(42,211,200,.16)) !important; color: #0e7490 !important; transform: translateY(-2px); }

/* Restore the cleaner filter spirit with a richer premium finish */
.shop-toolbar,
.games-filter {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    width: min(760px, 100%) !important;
    margin: 0 auto 34px !important;
    padding: 14px !important;
    border-radius: 24px !important;
    background: rgba(255,255,255,.86) !important;
    border: 1px solid rgba(234,238,247,.92) !important;
    box-shadow: 0 14px 36px rgba(17,24,39,.08) !important;
    backdrop-filter: blur(16px) !important;
}
.shop-toolbar::before { display: none !important; }
.filter-group {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    text-align: right !important;
}
.filter-group label {
    margin: 0 !important;
    white-space: nowrap !important;
    font-size: .95rem !important;
    font-weight: 1000 !important;
    color: #172033 !important;
    background: linear-gradient(135deg,#fff2dc,#eafffb) !important;
    border: 1px solid rgba(255,255,255,.9) !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    box-shadow: 0 8px 20px rgba(17,24,39,.06) !important;
}
.filter-select {
    width: 190px !important;
    height: 46px !important;
    border-radius: 15px !important;
    border: 1px solid #e7ebf3 !important;
    background: #fff !important;
    color: #172033 !important;
    padding: 0 14px !important;
    font-weight: 900 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 8px 18px rgba(17,24,39,.05) !important;
}
.filter-select:focus {
    border-color: #2ad3c8 !important;
    box-shadow: 0 0 0 4px rgba(42,211,200,.16), 0 10px 22px rgba(17,24,39,.07) !important;
}

.cart-btn.icon-cart {
    min-width: 52px !important;
    height: 50px !important;
    border-radius: 18px !important;
    background: linear-gradient(135deg,#ff7a45 0%,#ff4f8b 48%,#7c5cff 100%) !important;
    color: #fff !important;
    box-shadow: 0 16px 30px rgba(255,79,139,.26), inset 0 1px 0 rgba(255,255,255,.34) !important;
}
.cart-btn.icon-cart i { font-size: 1.22rem !important; }
.cart-btn.icon-cart:hover { transform: translateY(-3px) scale(1.04) !important; box-shadow: 0 20px 38px rgba(255,79,139,.32) !important; }
.floating-cart__button {
    background: linear-gradient(135deg,#ff7a45,#ff4f8b 55%,#7c5cff) !important;
    box-shadow: 0 18px 40px rgba(255,79,139,.30) !important;
}

.modern-footer {
    flex-shrink: 0 !important;
    margin: 48px 0 0 0 !important;
    border-radius: 38px 38px 0 0 !important;
    background: radial-gradient(circle at 15% 0%,rgba(255,122,69,.42),transparent 28%), radial-gradient(circle at 85% 20%,rgba(42,211,200,.30),transparent 30%), linear-gradient(135deg,#10172a,#17234a 58%,#103d52) !important;
    padding-bottom: 18px !important;
}
body:has(.modern-footer) { margin-bottom: 0 !important; }

@media (max-width: 768px) {
    .site-header { padding: 7px !important; }
    .modern-navbar { min-height: 58px !important; border-radius: 20px !important; }
    .brand img { width: 46px !important; height: 46px !important; min-width: 46px !important; }
    .shop-toolbar, .games-filter { width: 100% !important; display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; padding: 12px !important; border-radius: 22px !important; }
    .filter-group { width: 100% !important; justify-content: space-between !important; }
    .filter-select { width: min(100%, 220px) !important; }
    .cart-btn.icon-cart span { display: none !important; }
    .cart-btn.icon-cart { width: 52px !important; padding: 0 !important; }
    .modern-footer { margin-top: 34px !important; border-radius: 28px 28px 0 0 !important; }
}

/* ===== V4 precision fixes: original premium recommender + smart header + mobile menu colors ===== */
:root{--toy-coral:#ff6b7a;--toy-pink:#ff4f8b;--toy-purple:#7b4dff;--toy-blue:#32b7ff;--toy-mint:#29d3c2;--toy-yellow:#ffd166;}
.site-header{position:sticky!important;top:0!important;z-index:1100!important;transition:transform .34s cubic-bezier(.2,.9,.2,1),padding .25s ease!important;will-change:transform;}
.site-header.header-hidden{transform:translateY(calc(-100% - 18px))!important;}
.site-header.header-visible .modern-navbar{box-shadow:0 18px 60px rgba(25,33,58,.13)!important;}
.mobile-menu-btn{background:linear-gradient(135deg,rgba(255,107,122,.13),rgba(50,183,255,.12))!important;border:1px solid rgba(255,107,122,.24)!important;box-shadow:0 10px 24px rgba(255,79,139,.12)!important;}
.mobile-menu-btn span{background:linear-gradient(90deg,var(--toy-pink),var(--toy-purple))!important;height:3px!important;border-radius:999px!important;box-shadow:0 2px 6px rgba(123,77,255,.18)!important;}
.mobile-menu-btn.active{background:linear-gradient(135deg,var(--toy-pink),var(--toy-purple))!important;}
.mobile-menu-btn.active span{background:#fff!important;}

.original-recommender{padding:clamp(46px,6vw,86px) 0!important;background:radial-gradient(circle at 12% 12%,rgba(255,209,102,.28),transparent 28%),radial-gradient(circle at 92% 15%,rgba(41,211,194,.22),transparent 30%),linear-gradient(180deg,#fff9f2 0%,#f8fbff 100%)!important;position:relative;overflow:hidden;}
.original-recommender:before{content:"";position:absolute;inset:18px clamp(10px,3vw,42px);border:2px dashed rgba(255,107,122,.18);border-radius:42px;pointer-events:none;}
.original-recommender .section-title,.recommender-title{font-weight:1000!important;text-align:center!important;color:#17213a!important;font-size:clamp(2rem,4vw,3.2rem)!important;margin-bottom:10px!important;letter-spacing:-1px;}
.recommender-subtitle{max-width:760px;margin:0 auto 28px!important;text-align:center!important;color:#6b7280!important;font-weight:800!important;font-size:clamp(1rem,2vw,1.25rem)!important;}
.age-recommender-container{max-width:980px!important;margin:0 auto 30px!important;background:rgba(255,255,255,.92)!important;border-radius:34px!important;padding:clamp(22px,4vw,42px)!important;box-shadow:0 24px 70px rgba(17,24,39,.10),inset 0 0 0 1px rgba(255,255,255,.75)!important;border:1px solid rgba(255,107,122,.13)!important;position:relative!important;overflow:hidden!important;transition:transform .28s ease,box-shadow .28s ease!important;}
.age-recommender-container:before{content:"";position:absolute;top:-80px;left:-80px;width:190px;height:190px;background:radial-gradient(circle,var(--toy-yellow),transparent 68%);opacity:.55;}
.age-recommender-container:after{content:"";position:absolute;bottom:-90px;right:-70px;width:220px;height:220px;background:radial-gradient(circle,var(--toy-mint),transparent 67%);opacity:.35;}
.age-recommender-container:hover{transform:translateY(-5px)!important;box-shadow:0 32px 90px rgba(17,24,39,.14)!important;}
.age-slider-container,.skill-selector,.recommender-action{position:relative;z-index:2;}
.age-slider-container{text-align:center!important;margin-bottom:32px!important;}
.age-slider-label{display:inline-flex!important;align-items:center;gap:10px;background:#fff!important;color:#17213a!important;font-size:clamp(1.1rem,2vw,1.45rem)!important;font-weight:1000!important;padding:12px 22px;border-radius:999px;box-shadow:0 12px 32px rgba(255,79,139,.12);margin-bottom:24px!important;}
.age-slider-label span{color:var(--toy-pink)!important;}
.age-slider{width:100%!important;height:14px!important;appearance:none!important;-webkit-appearance:none!important;border-radius:999px!important;background:linear-gradient(90deg,var(--toy-pink),var(--toy-yellow),var(--toy-mint),var(--toy-blue),var(--toy-purple))!important;box-shadow:inset 0 2px 6px rgba(17,24,39,.16)!important;outline:none!important;}
.age-slider::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:34px!important;height:34px!important;border-radius:50%!important;background:linear-gradient(135deg,#fff,var(--toy-yellow))!important;border:4px solid #fff!important;box-shadow:0 10px 22px rgba(255,107,122,.28)!important;cursor:pointer!important;transition:.22s ease!important;}
.age-slider::-webkit-slider-thumb:hover{transform:scale(1.16)!important;}
.age-slider::-moz-range-thumb{width:34px!important;height:34px!important;border-radius:50%!important;background:linear-gradient(135deg,#fff,var(--toy-yellow))!important;border:4px solid #fff!important;box-shadow:0 10px 22px rgba(255,107,122,.28)!important;cursor:pointer!important;}
.age-marks{display:flex!important;justify-content:space-between!important;gap:6px!important;margin-top:14px!important;color:#64748b!important;font-size:.88rem!important;font-weight:900!important;}
.skill-selector{text-align:center!important;margin:0!important;}
.skill-selector h3{display:inline-block!important;color:#17213a!important;font-size:clamp(1.15rem,2.2vw,1.55rem)!important;font-weight:1000!important;margin-bottom:22px!important;position:relative;}
.skill-selector h3:after{content:"";position:absolute;right:0;left:0;bottom:-8px;height:4px;border-radius:999px;background:linear-gradient(90deg,var(--toy-pink),var(--toy-purple));}
.skill-checkboxes{display:grid!important;grid-template-columns:repeat(3,minmax(150px,1fr))!important;gap:16px!important;margin-top:12px!important;}
.skill-checkbox{min-height:74px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;padding:14px 18px!important;border-radius:22px!important;background:linear-gradient(135deg,#fff,rgba(255,249,242,.9))!important;border:1px solid rgba(255,107,122,.14)!important;box-shadow:0 12px 30px rgba(17,24,39,.06)!important;color:#17213a!important;font-weight:1000!important;cursor:pointer!important;transition:.24s ease!important;}
.skill-checkbox:hover{transform:translateY(-4px)!important;border-color:rgba(255,79,139,.30)!important;box-shadow:0 18px 40px rgba(255,79,139,.12)!important;}
.skill-checkbox input{position:absolute!important;opacity:0!important;pointer-events:none!important;}
.checkbox-custom{width:24px!important;height:24px!important;border-radius:9px!important;border:2px solid rgba(123,77,255,.38)!important;background:#fff!important;box-shadow:inset 0 0 0 4px #fff!important;transition:.22s ease!important;}
.skill-checkbox input:checked + .checkbox-custom{background:linear-gradient(135deg,var(--toy-pink),var(--toy-purple))!important;border-color:transparent!important;box-shadow:inset 0 0 0 5px #fff,0 6px 16px rgba(123,77,255,.22)!important;}
.recommender-action{text-align:center!important;margin-top:32px!important;}
.btn-custom.recommender-magic-btn{border:0!important;border-radius:999px!important;padding:15px 30px!important;background:linear-gradient(135deg,var(--toy-purple),var(--toy-blue))!important;color:#fff!important;font-weight:1000!important;font-size:1.05rem!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;box-shadow:0 16px 36px rgba(50,183,255,.26)!important;transition:.25s ease!important;}
.btn-custom.recommender-magic-btn:hover{transform:translateY(-4px)!important;box-shadow:0 22px 48px rgba(123,77,255,.28)!important;}
.btn-custom.recommender-magic-btn:hover .magic-icon{transform:rotate(18deg) scale(1.15)!important;}
.recommendations-container{max-width:1100px!important;margin:28px auto 0!important;background:rgba(255,255,255,.92)!important;border-radius:30px!important;border:1px solid rgba(255,107,122,.14)!important;box-shadow:0 24px 70px rgba(17,24,39,.10)!important;padding:28px!important;}
.recommendations-container h3{text-align:center;font-weight:1000;color:#17213a;margin-bottom:20px;}
body.dark .original-recommender{background:linear-gradient(180deg,#0f172a,#111827)!important;}
body.dark .original-recommender .section-title,body.dark .recommender-title,body.dark .skill-selector h3{color:#fff!important;}
body.dark .age-recommender-container,body.dark .recommendations-container{background:rgba(17,24,39,.90)!important;border-color:rgba(255,255,255,.10)!important;}
body.dark .age-slider-label,body.dark .skill-checkbox{background:rgba(255,255,255,.08)!important;color:#fff!important;}
@media (max-width:768px){.site-header.header-hidden{transform:translateY(calc(-100% - 12px))!important}.original-recommender{padding:38px 0!important}.original-recommender:before{display:none}.age-recommender-container{border-radius:26px!important;padding:20px 14px!important}.skill-checkboxes{grid-template-columns:1fr!important;gap:12px!important}.skill-checkbox{min-height:62px!important}.age-marks{font-size:.76rem!important;padding:0 2px!important}.btn-custom.recommender-magic-btn{width:100%!important;padding:14px 18px!important}.mobile-menu-btn{width:44px!important;height:44px!important;border-radius:15px!important;}}


/* ===== V5 requested refinements: natural header, premium static pages, better cart CTA ===== */
.site-header{
    position:relative!important;
    top:auto!important;
    transform:none!important;
    z-index:20!important;
    padding:14px clamp(10px,2vw,24px)!important;
    background:linear-gradient(180deg,rgba(255,250,242,.96),rgba(255,250,242,.58) 82%,transparent)!important;
}
.site-header.header-hidden,.site-header.header-visible{transform:none!important;}
.modern-navbar{transition:transform .24s ease,box-shadow .24s ease!important;}
.modern-navbar:hover{transform:translateY(-2px)!important;}
.content{padding-top:0!important;}
.mobile-menu-btn{background:linear-gradient(135deg,rgba(255,111,126,.16),rgba(255,209,102,.20),rgba(45,211,194,.14))!important;border:1px solid rgba(255,111,126,.28)!important;}
.mobile-menu-btn span{background:linear-gradient(90deg,#ff6f7e,#ff9b3f,#7b4dff)!important;}

.cart-container.cart-btn,
.cart-btn.icon-cart{
    min-width:58px!important;
    min-height:52px!important;
    border:0!important;
    border-radius:20px!important;
    padding:0 18px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:10px!important;
    background:linear-gradient(135deg,#ff8a3d 0%,#ff4f8b 52%,#7b4dff 100%)!important;
    color:#fff!important;
    box-shadow:0 18px 38px rgba(255,79,139,.28), inset 0 1px 0 rgba(255,255,255,.38)!important;
    text-decoration:none!important;
    overflow:hidden!important;
    position:relative!important;
}
.cart-container.cart-btn:before{content:"";position:absolute;inset:-50%;background:linear-gradient(120deg,transparent 35%,rgba(255,255,255,.34),transparent 65%);transform:translateX(80%) rotate(14deg);transition:.55s ease;}
.cart-container.cart-btn:hover:before{transform:translateX(-80%) rotate(14deg);}
.cart-container.cart-btn:hover{transform:translateY(-4px) scale(1.035)!important;box-shadow:0 24px 48px rgba(123,77,255,.28), inset 0 1px 0 rgba(255,255,255,.45)!important;}
.premium-cart-icon{position:relative;z-index:1;font-size:1.32rem!important;filter:drop-shadow(0 4px 7px rgba(0,0,0,.16));}
.cart-container.cart-btn .cart-text{position:relative;z-index:1;color:#fff!important;font-weight:1000!important;white-space:nowrap!important;}
.cart-container.cart-btn .cart-icon{display:none!important;}
.price-container{align-items:center!important;gap:10px!important;}
@media(max-width:768px){.cart-container.cart-btn{width:54px!important;height:54px!important;min-width:54px!important;padding:0!important;border-radius:18px!important}.cart-container.cart-btn .cart-text{display:none!important}.premium-cart-icon{font-size:1.45rem!important}.site-header{padding:8px!important}.nav-links.active{border:1px solid rgba(255,111,126,.14)!important;box-shadow:0 18px 45px rgba(17,24,39,.12)!important}}

.premium-page{position:relative;max-width:1180px;margin:0 auto;padding:clamp(28px,5vw,72px) clamp(14px,3vw,26px) 24px;overflow:hidden;}
.premium-page:before{content:"";position:absolute;inset:18px 8px auto auto;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(255,209,102,.40),transparent 70%);z-index:-1;}
.premium-page:after{content:"";position:absolute;left:0;top:110px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(45,211,194,.24),transparent 70%);z-index:-1;}
.premium-page__hero{text-align:center;max-width:850px;margin:0 auto clamp(28px,4vw,46px);}
.premium-kicker{display:inline-flex;align-items:center;gap:9px;padding:10px 18px;border-radius:999px;background:#fff;color:#ff4f8b;font-weight:1000;box-shadow:0 14px 32px rgba(255,79,139,.13);border:1px solid rgba(255,79,139,.10);margin-bottom:18px;}
.premium-page__hero h1{font-size:clamp(2.25rem,5vw,4.8rem);line-height:1.05;font-weight:1000;color:#111a32;letter-spacing:-1.5px;margin:0 0 16px;}
.premium-page__hero p{color:#667085;font-size:clamp(1rem,2vw,1.25rem);font-weight:800;line-height:1.9;margin:0 auto;max-width:760px;}
.premium-story-card,.contact-premium-layout,.policy-timeline{position:relative;z-index:1;}
.premium-story-card{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:center;background:rgba(255,255,255,.86);border:1px solid rgba(255,255,255,.92);border-radius:38px;padding:clamp(20px,4vw,42px);box-shadow:0 28px 80px rgba(17,24,39,.11);backdrop-filter:blur(18px);}
.story-visual{min-height:330px;border-radius:32px;background:linear-gradient(135deg,#fff1db,#e9fffc);position:relative;display:grid;place-items:center;overflow:hidden;}
.story-visual img{width:min(230px,70%);height:auto;border-radius:28px;box-shadow:0 18px 45px rgba(17,24,39,.13);background:#fff;padding:8px;}
.bubble{position:absolute;border-radius:999px;padding:10px 16px;background:#fff;font-weight:1000;box-shadow:0 14px 30px rgba(17,24,39,.10);}
.bubble-one{top:34px;right:26px;color:#ff4f8b}.bubble-two{left:28px;top:92px;color:#29d3c2}.bubble-three{bottom:34px;right:44px;color:#7b4dff}
.mini-title{color:#ff4f8b;font-weight:1000}.story-content h2,.contact-panel h2{font-weight:1000;color:#111a32;font-size:clamp(1.8rem,3vw,3rem);margin:10px 0 14px}.story-content p{color:#667085;font-weight:800;line-height:1.9}.premium-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}.premium-stats div{border-radius:22px;background:linear-gradient(135deg,#fff,#fff8ef);padding:16px;text-align:center;box-shadow:0 12px 28px rgba(17,24,39,.06)}.premium-stats strong{display:block;color:#ff4f8b;font-size:1.6rem;font-weight:1000}.premium-stats span{color:#667085;font-weight:900}.premium-values-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.premium-values-grid article,.contact-panel,.policy-step,.policy-note-card{background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.94);box-shadow:0 20px 55px rgba(17,24,39,.09);backdrop-filter:blur(16px)}.premium-values-grid article{border-radius:28px;padding:26px;text-align:center}.premium-values-grid i,.contact-method i,.policy-icon{width:56px;height:56px;border-radius:18px;display:inline-grid;place-items:center;background:linear-gradient(135deg,#ff8a3d,#ff4f8b,#7b4dff);color:#fff;font-size:1.35rem;box-shadow:0 14px 30px rgba(255,79,139,.22)}.premium-values-grid h3{font-weight:1000;color:#111a32;margin:16px 0 8px}.premium-values-grid p{color:#667085;font-weight:800;line-height:1.75}
.contact-premium-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px}.contact-panel{border-radius:34px;padding:clamp(22px,4vw,36px)}.contact-method{display:flex;align-items:center;gap:14px;padding:14px;border-radius:22px;text-decoration:none;background:linear-gradient(135deg,#fff,#fff8ef);margin-bottom:12px;color:#111a32;transition:.22s ease}.contact-method:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(255,79,139,.12);color:#111a32}.contact-method span{display:grid}.contact-method strong{font-weight:1000}.contact-method small{color:#667085;font-weight:800}.contact-socials{display:flex;gap:10px;margin-top:20px}.contact-socials a{width:48px;height:48px;border-radius:17px;display:grid;place-items:center;background:#fff;color:#ff4f8b;box-shadow:0 12px 28px rgba(17,24,39,.08);text-decoration:none}.form-floating-premium{position:relative;margin-bottom:14px}.form-floating-premium input,.form-floating-premium textarea{width:100%;border:1px solid rgba(17,24,39,.10);border-radius:22px;background:#fff;padding:20px 18px 10px;color:#111a32;font-weight:800;outline:none;transition:.2s ease}.form-floating-premium textarea{resize:vertical;min-height:150px}.form-floating-premium label{position:absolute;right:18px;top:8px;font-size:.82rem;color:#ff4f8b;font-weight:1000}.form-floating-premium input:focus,.form-floating-premium textarea:focus{border-color:#29d3c2;box-shadow:0 0 0 5px rgba(41,211,194,.13)}.premium-send-btn{border:0;border-radius:999px;padding:14px 24px;background:linear-gradient(135deg,#29d3c2,#32b7ff,#7b4dff);color:#fff;font-weight:1000;box-shadow:0 18px 38px rgba(50,183,255,.24)}
.policy-timeline{display:grid;gap:16px;max-width:940px;margin:0 auto}.policy-step{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start;border-radius:28px;padding:24px;transition:.22s ease}.policy-step:hover{transform:translateY(-4px);box-shadow:0 26px 70px rgba(17,24,39,.12)}.policy-step h3{font-weight:1000;color:#111a32;margin:0 0 8px}.policy-step p{margin:0;color:#667085;font-weight:800;line-height:1.85}.policy-note-card{max-width:940px;margin:20px auto 0;border-radius:28px;padding:20px;display:flex;gap:14px;align-items:center;color:#111a32;font-weight:900}.policy-note-card i{color:#ff4f8b;font-size:1.4rem}.policy-note-card p{margin:0;color:#667085;line-height:1.8}
body.dark .premium-page__hero h1,body.dark .story-content h2,body.dark .contact-panel h2,body.dark .premium-values-grid h3,body.dark .policy-step h3{color:#fff!important}body.dark .premium-story-card,body.dark .premium-values-grid article,body.dark .contact-panel,body.dark .policy-step,body.dark .policy-note-card{background:rgba(17,24,39,.88);border-color:rgba(255,255,255,.10)}body.dark .story-visual,body.dark .contact-method,body.dark .premium-stats div{background:rgba(255,255,255,.08)}
@media(max-width:900px){.premium-story-card,.contact-premium-layout{grid-template-columns:1fr}.premium-values-grid{grid-template-columns:1fr}.premium-stats{grid-template-columns:1fr}.story-visual{min-height:260px}.policy-step{grid-template-columns:1fr;text-align:center}.policy-icon{margin:auto}.policy-note-card{align-items:flex-start}.premium-page{padding-top:28px}.premium-page__hero h1{letter-spacing:-.5px}}

/* ===== L3bty urgent polish v6: natural header + clean games cart ===== */
.site-header,
body .site-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 20 !important;
}
.site-header.header-hidden,
.site-header.is-hidden,
.site-header.hide-on-scroll {
  transform: none !important;
}
body { padding-top: 0 !important; }
.content { padding-top: 0 !important; margin-top: 0 !important; }

/* Make old Tickets/Index cart button look like a premium shopping cart icon */
.game .price-container {
  min-height: 72px !important;
  padding: 12px 14px !important;
  background: rgba(255,255,255,.96) !important;
  border-top: 1px solid rgba(255,96,126,.12) !important;
  gap: 12px !important;
}
.game .price-container p {
  margin: 0 !important;
  color: #ff5574 !important;
  font-size: 1.15rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.game .cart-container.cart-btn,
a.cart-container.cart-btn {
  width: 54px !important;
  min-width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 54px !important;
  overflow: visible !important;
  text-decoration: none !important;
  color: #fff !important;
  background: linear-gradient(135deg,#23d5c8 0%,#21a7ff 46%,#8b5cf6 100%) !important;
  box-shadow: 0 15px 30px rgba(33,167,255,.28), inset 0 1px 0 rgba(255,255,255,.45) !important;
  position: relative !important;
}
.game .cart-container.cart-btn::before {
  content: '' !important;
  position: absolute !important;
  inset: 7px !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,0)) !important;
  pointer-events: none !important;
}
.game .cart-container.cart-btn .premium-cart-icon,
a.cart-container.cart-btn .premium-cart-icon {
  display: block !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.35rem !important;
  line-height: 1 !important;
  color: #fff !important;
  position: relative !important;
  z-index: 2 !important;
}
.game .cart-container.cart-btn:hover,
a.cart-container.cart-btn:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 20px 40px rgba(139,92,246,.28), inset 0 1px 0 rgba(255,255,255,.55) !important;
}
.game .cart-container.cart-btn .cart-text,
a.cart-container.cart-btn .cart-text {
  position: absolute !important;
  left: 50% !important;
  top: -42px !important;
  bottom: auto !important;
  transform: translateX(-50%) translateY(8px) !important;
  min-width: max-content !important;
  max-width: 220px !important;
  height: auto !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: #111827 !important;
  color: #fff !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  box-shadow: 0 12px 28px rgba(17,24,39,.18) !important;
  z-index: 10 !important;
  white-space: nowrap !important;
  transition: opacity .2s ease, transform .2s ease !important;
}
.game .cart-container.cart-btn:hover .cart-text,
a.cart-container.cart-btn:hover .cart-text {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}
.game .cart-container.cart-btn .cart-text span { color:#fff !important; }

@media (max-width: 768px) {
  .site-header { padding: 8px 10px !important; }
  .game .price-container { min-height: 66px !important; }
  .game .cart-container.cart-btn, a.cart-container.cart-btn {
    width: 50px !important; min-width: 50px !important; height: 50px !important; min-height: 50px !important; border-radius: 16px !important;
  }
  .game .cart-container.cart-btn .premium-cart-icon, a.cart-container.cart-btn .premium-cart-icon { font-size: 1.2rem !important; }
}

/* ===== V7: premium home hero + strong dark-mode readability ===== */
.hero-premium-v7{
    isolation:isolate;
    min-height:auto!important;
    padding:clamp(42px,6vw,86px) 0 clamp(42px,6vw,82px)!important;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,209,102,.42), transparent 22%),
        radial-gradient(circle at 84% 20%, rgba(45,211,194,.30), transparent 24%),
        linear-gradient(135deg,#fff8ef 0%,#fff3f8 42%,#edfdfa 100%)!important;
    border-radius:0 0 42px 42px;
}
.premium-hero-grid{grid-template-columns:minmax(0,1fr) minmax(340px,.86fr)!important;align-items:center!important;gap:clamp(28px,5vw,76px)!important;}
.premium-hero-copy{position:relative;z-index:2;}
.premium-eyebrow{background:#fff!important;color:#ff4f8b!important;border:1px solid rgba(255,79,139,.16)!important;box-shadow:0 16px 36px rgba(255,79,139,.12)!important;}
.premium-hero-copy h1{max-width:780px!important;margin:18px 0 16px!important;color:#111a32!important;font-size:clamp(2.7rem,6vw,5.7rem)!important;line-height:.98!important;font-weight:1000!important;letter-spacing:-2px!important;text-shadow:none!important;}
.premium-hero-copy p{max-width:650px!important;color:#526071!important;font-size:clamp(1rem,1.7vw,1.22rem)!important;font-weight:850!important;line-height:1.9!important;}
.premium-hero-actions a{min-height:58px!important;padding:0 28px!important;}
.hero-trust-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px;}
.hero-trust-row span{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(17,24,39,.06);color:#17213a;font-weight:950;box-shadow:0 12px 28px rgba(17,24,39,.06);}
.hero-trust-row i{color:#ff4f8b;}
.premium-hero-visual{min-height:500px!important;}
.showcase-orbit{position:absolute;width:min(88vw,470px);aspect-ratio:1;border-radius:42% 58% 55% 45%;background:linear-gradient(135deg,rgba(255,138,61,.18),rgba(255,79,139,.20),rgba(45,211,194,.24));box-shadow:inset 0 0 0 26px rgba(255,255,255,.34);animation:blob 8s ease-in-out infinite alternate;}
.hero-product-card-main{position:relative;z-index:2;width:min(100%,360px);border-radius:38px;background:rgba(255,255,255,.88);border:1px solid rgba(255,255,255,.95);box-shadow:0 30px 90px rgba(17,24,39,.16);padding:18px;transform:rotate(-2deg);backdrop-filter:blur(18px);}
.hero-product-card-main img{width:100%;height:300px;object-fit:cover;border-radius:28px;background:#fff;}
.hero-product-info{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;}
.hero-product-info span{padding:8px 12px;border-radius:999px;background:linear-gradient(135deg,#ff8a3d,#ff4f8b);color:#fff;font-weight:1000;font-size:.84rem;}
.hero-product-info strong{color:#111a32;font-weight:1000;font-size:1.06rem;}
.mini-product{position:absolute;z-index:3;width:132px;border-radius:26px;background:#fff;border:1px solid rgba(255,255,255,.94);box-shadow:0 22px 52px rgba(17,24,39,.14);padding:10px;text-align:center;font-weight:1000;color:#111a32;animation:floaty 6s ease-in-out infinite alternate;}
.mini-product img{width:100%;height:92px;object-fit:cover;border-radius:18px;margin-bottom:8px;}
.mini-product-one{right:2%;top:30px;}.mini-product-two{left:0;bottom:42px;animation-delay:1s;}
body.dark{
    --ink:#f8fafc!important;
    --muted:#dbe4f0!important;
    --surface:rgba(17,24,39,.88)!important;
    --border:rgba(255,255,255,.14)!important;
    background:radial-gradient(circle at top left,rgba(123,77,255,.26),transparent 30%),radial-gradient(circle at top right,rgba(45,211,194,.16),transparent 28%),#070b16!important;
    color:#f8fafc!important;
}
body.dark .hero-premium-v7{background:radial-gradient(circle at 14% 18%,rgba(255,209,102,.18),transparent 22%),radial-gradient(circle at 86% 18%,rgba(45,211,194,.16),transparent 24%),linear-gradient(135deg,#0b1224 0%,#111827 48%,#0c1f24 100%)!important;}
body.dark .premium-hero-copy h1,body.dark .section-heading h2,body.dark .features-grid h3,body.dark .product-body h3,body.dark .hero-product-info strong,body.dark .mini-product,body.dark .floating-badge,body.dark .brand strong,body.dark .nav-links .nav-link{color:#f8fafc!important;}
body.dark .premium-hero-copy p,body.dark .section-heading p,body.dark .features-grid p,body.dark .product-body p,body.dark .product-meta,body.dark .hero-stats span,body.dark .brand small,body.dark .premium-page__hero p,body.dark .story-content p,body.dark .premium-values-grid p,body.dark .policy-step p,body.dark .contact-method small{color:#dbe4f0!important;}
body.dark .premium-eyebrow,body.dark .secondary-cta,body.dark .hero-trust-row span,body.dark .features-grid article,body.dark .shop-toolbar,body.dark .product-card,body.dark .age-recommender-container,body.dark .recommendations-container,body.dark .premium-story-card,body.dark .premium-values-grid article,body.dark .contact-panel,body.dark .policy-step,body.dark .policy-note-card{background:rgba(15,23,42,.88)!important;border-color:rgba(255,255,255,.14)!important;color:#f8fafc!important;box-shadow:0 22px 60px rgba(0,0,0,.28)!important;}
body.dark .hero-product-card-main,body.dark .mini-product{background:rgba(15,23,42,.92)!important;border-color:rgba(255,255,255,.16)!important;}
body.dark .product-card::before{background:linear-gradient(160deg,rgba(255,79,139,.13),transparent 38%,rgba(45,211,194,.11))!important;}
body.dark .product-footer strong,body.dark .section-heading span,body.dark .premium-kicker,body.dark .mini-title,body.dark .premium-values-grid h3,body.dark .policy-step h3,body.dark .story-content h2,body.dark .contact-panel h2{color:#ff8fb5!important;}
body.dark .filter-select,body.dark input,body.dark textarea,body.dark select{background:rgba(255,255,255,.08)!important;color:#f8fafc!important;border-color:rgba(255,255,255,.16)!important;}
body.dark .filter-select option{background:#111827;color:#f8fafc;}
body.dark .modern-navbar{background:rgba(10,16,31,.86)!important;border-color:rgba(255,255,255,.14)!important;}
body.dark .floating-badge{background:rgba(15,23,42,.94)!important;}
body.dark .footer-section h4,body.dark .footer-brand h3,body.dark .footer-section a,body.dark .footer-brand p,body.dark .footer-bottom{color:#f8fafc!important;}
@media(max-width:1100px){.premium-hero-grid{grid-template-columns:1fr!important;text-align:center!important}.premium-hero-copy p,.premium-hero-copy h1{margin-inline:auto!important}.premium-hero-actions,.hero-trust-row{justify-content:center!important}.premium-hero-visual{min-height:430px!important}}
@media(max-width:768px){.hero-premium-v7{padding:34px 0 42px!important;border-radius:0 0 28px 28px}.premium-hero-copy h1{font-size:clamp(2.3rem,12vw,3.9rem)!important;line-height:1.02!important}.premium-hero-copy p{font-size:.98rem!important}.premium-hero-actions{flex-direction:column!important}.premium-hero-actions a{width:100%!important}.hero-trust-row{display:grid!important;grid-template-columns:1fr!important}.premium-hero-visual{min-height:360px!important}.hero-product-card-main{width:min(92%,310px)!important;padding:14px!important}.hero-product-card-main img{height:230px!important}.mini-product{width:104px!important;border-radius:20px!important}.mini-product img{height:70px!important}.mini-product-one{right:0;top:14px}.mini-product-two{left:0;bottom:20px}.floating-badge{padding:9px 11px!important;font-size:.82rem!important}}


/* ===== V8: original logo in hero + premium game details page ===== */
.hero-product-card-main img[src="/css/logo.jpg"],
.hero-product-card-main img[alt="لعبتي"]{
    object-fit:contain!important;
    padding:22px!important;
    background:linear-gradient(135deg,#fff7ed,#fff,#effdf9)!important;
}

.details-premium-page{
    position:relative;
    overflow:hidden;
    padding:clamp(28px,4vw,54px) 0 clamp(48px,7vw,92px);
    background:
        radial-gradient(circle at 12% 10%, rgba(255,209,102,.28), transparent 22%),
        radial-gradient(circle at 88% 10%, rgba(45,211,194,.22), transparent 22%),
        linear-gradient(135deg,#fff8ef 0%,#fff3f8 45%,#edfdfa 100%);
}
.details-premium-page::before{
    content:"";
    position:absolute;
    inset:auto -10% -20% -10%;
    height:260px;
    background:radial-gradient(circle,rgba(255,79,139,.16),transparent 62%);
    pointer-events:none;
}
.details-breadcrumb{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
    color:#697386;
    font-weight:900;
}
.details-breadcrumb a{color:#ff4f8b;text-decoration:none;}
.details-breadcrumb i{font-size:.72rem;color:#9aa4b2;}
.details-hero-card{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);
    gap:clamp(24px,4vw,54px);
    align-items:center;
    padding:clamp(18px,3vw,34px);
    border-radius:42px;
    background:rgba(255,255,255,.82);
    border:1px solid rgba(255,255,255,.92);
    box-shadow:0 30px 90px rgba(17,24,39,.13);
    backdrop-filter:blur(18px);
}
.details-gallery{display:grid;gap:16px;}
.details-main-image-wrap{
    position:relative;
    overflow:hidden;
    border-radius:34px;
    min-height:430px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,#fff,#fff6fb,#effdf9);
    border:1px solid rgba(255,255,255,.95);
    box-shadow:inset 0 0 0 12px rgba(255,255,255,.48),0 20px 48px rgba(17,24,39,.10);
}
.details-main-image-wrap::after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    border-radius:50%;
    background:rgba(45,211,194,.18);
    left:-80px;
    bottom:-80px;
}
.details-badge{
    position:absolute;
    top:18px;
    right:18px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:#fff;
    color:#ff4f8b;
    font-weight:1000;
    box-shadow:0 14px 32px rgba(255,79,139,.14);
}
.details-main-image{
    position:relative;
    z-index:1;
    width:100%;
    height:min(52vh,430px);
    min-height:340px;
    object-fit:contain;
    padding:18px;
    transition:transform .35s ease;
}
.details-main-image-wrap:hover .details-main-image{transform:scale(1.035) rotate(-1deg);}
.details-thumbs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.details-thumb{
    border:0;
    padding:8px;
    min-height:104px;
    border-radius:22px;
    background:#fff;
    box-shadow:0 14px 34px rgba(17,24,39,.08);
    outline:2px solid transparent;
    transition:.25s ease;
}
.details-thumb.active,.details-thumb:hover{transform:translateY(-3px);outline-color:#ff8fb5;}
.details-thumb img{width:100%;height:92px;object-fit:contain;border-radius:16px;background:#fff7fb;}
.details-info{min-width:0;}
.details-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,79,139,.10);
    color:#ff4f8b;
    font-weight:1000;
    margin-bottom:14px;
}
.details-info h1{
    margin:0 0 14px;
    color:#111a32;
    font-size:clamp(2.2rem,5vw,4.8rem);
    line-height:1.02;
    font-weight:1000;
    letter-spacing:-1.5px;
}
.details-rating-row{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-weight:950;color:#697386;}
.details-stars{display:flex;gap:4px;color:#ffb000;font-size:1.08rem;}
.details-description{color:#596579;font-weight:800;line-height:2;font-size:1.05rem;margin-bottom:20px;}
.details-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px;}
.details-highlights article{
    border-radius:24px;
    padding:16px 14px;
    background:#fff;
    border:1px solid rgba(17,24,39,.05);
    box-shadow:0 16px 36px rgba(17,24,39,.07);
}
.details-highlights i{width:42px;height:42px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(135deg,#ff8a3d,#ff4f8b);color:#fff;margin-bottom:10px;}
.details-highlights span{display:block;color:#7b8492;font-weight:900;font-size:.82rem;margin-bottom:4px;}
.details-highlights strong{display:block;color:#111a32;font-weight:1000;font-size:.98rem;}
.details-buy-panel{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:16px;
    border-radius:28px;
    background:linear-gradient(135deg,rgba(255,138,61,.10),rgba(255,79,139,.10),rgba(45,211,194,.10));
    border:1px solid rgba(255,255,255,.9);
}
.details-price span{display:block;color:#7b8492;font-weight:900;font-size:.9rem;}
.details-price strong{display:block;color:#ff4f8b;font-weight:1000;font-size:clamp(1.6rem,3vw,2.4rem);}
.details-price small{font-size:1rem;color:#7b8492;}
.details-add-cart{
    min-width:190px;
    min-height:58px;
    border:0;
    border-radius:20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    color:#fff;
    font-weight:1000;
    background:linear-gradient(135deg,#23d5c8,#21a7ff 45%,#8b5cf6);
    box-shadow:0 18px 38px rgba(33,167,255,.26), inset 0 1px 0 rgba(255,255,255,.42);
    transition:.25s ease;
}
.details-add-cart i{font-size:1.25rem;}
.details-add-cart:hover:not(:disabled){transform:translateY(-4px);box-shadow:0 24px 48px rgba(139,92,246,.30);}
.details-add-cart:disabled{opacity:.65;cursor:not-allowed;filter:saturate(.8);}
.details-alert{display:flex;align-items:center;gap:10px;margin-top:14px;padding:13px 15px;border-radius:18px;font-weight:950;}
.details-alert.success{background:rgba(16,185,129,.12);color:#047857;}
.details-alert.warning{background:rgba(255,79,139,.12);color:#be185d;}
.details-extra-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;}
.details-extra-grid article{padding:22px;border-radius:28px;background:rgba(255,255,255,.76);border:1px solid rgba(255,255,255,.9);box-shadow:0 18px 48px rgba(17,24,39,.08);}
.details-extra-grid i{width:50px;height:50px;border-radius:18px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#ff8a3d,#ff4f8b);margin-bottom:12px;font-size:1.1rem;}
.details-extra-grid h3{color:#111a32;font-weight:1000;margin:0 0 8px;}
.details-extra-grid p{color:#596579;font-weight:800;line-height:1.8;margin:0;}

body.dark .details-premium-page{
    background:radial-gradient(circle at 12% 10%,rgba(255,209,102,.13),transparent 22%),radial-gradient(circle at 88% 10%,rgba(45,211,194,.14),transparent 22%),linear-gradient(135deg,#0b1224 0%,#111827 52%,#0c1f24 100%);
}
body.dark .details-hero-card,body.dark .details-extra-grid article,body.dark .details-highlights article,body.dark .details-thumb,body.dark .details-badge{
    background:rgba(15,23,42,.90)!important;
    border-color:rgba(255,255,255,.14)!important;
    box-shadow:0 24px 70px rgba(0,0,0,.30)!important;
}
body.dark .details-main-image-wrap{background:linear-gradient(135deg,#101827,#111827,#0c1f24)!important;border-color:rgba(255,255,255,.14)!important;}
body.dark .details-info h1,body.dark .details-highlights strong,body.dark .details-extra-grid h3{color:#f8fafc!important;}
body.dark .details-description,body.dark .details-rating-row,body.dark .details-highlights span,body.dark .details-extra-grid p,.details-breadcrumb span{color:#dbe4f0!important;}
body.dark .details-buy-panel{background:rgba(255,255,255,.07)!important;border-color:rgba(255,255,255,.12)!important;}
body.dark .details-price small,body.dark .details-price span{color:#dbe4f0!important;}
body.dark .details-thumb img{background:#0b1224!important;}

@media(max-width:992px){
    .details-hero-card{grid-template-columns:1fr;border-radius:32px;}
    .details-main-image-wrap{min-height:340px;}
    .details-main-image{height:360px;min-height:280px;}
}
@media(max-width:768px){
    .details-premium-page{padding:22px 0 54px;}
    .details-hero-card{padding:14px;border-radius:26px;}
    .details-info h1{font-size:clamp(2rem,10vw,3.2rem);}
    .details-highlights,.details-extra-grid{grid-template-columns:1fr;}
    .details-buy-panel{align-items:stretch;flex-direction:column;}
    .details-add-cart{width:100%;}
    .details-main-image{height:300px;min-height:250px;}
    .details-thumbs{gap:8px;}
    .details-thumb{min-height:86px;border-radius:18px;}
    .details-thumb img{height:74px;}
}
