@keyframes live {
    0% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: .6; transform: translateY(-50%) scale(1.2); }
    100% { opacity: 1; transform: translateY(-50%) scale(1); }
}
/* ===== FONT FACE ===== */
@font-face {
    font-family: 'Iranian Sans';
    src: url('../Font/Iranian Sans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'dana regular';
    src: url('../Font/dana regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DanaExtraBold';
    src: url('../Font/dana extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'dana light';
    src: url('../Font/dana light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'dana black';
    src: url('../Font/dana black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'dana bold';
    src: url('../Font/dana bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Regular';
    src: url('../Font/Clash-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {      
    font-family: 'dana regular';
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}
/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 50%, 
    rgba(102, 126, 234, 0.1) 100%);
    z-index: -1;
    animation: navbarShimmer 3s ease-in-out infinite;
}

@keyframes navbarShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(102, 126, 234, 0.8) 25%, 
    rgba(118, 75, 162, 0.8) 50%, 
    rgba(102, 126, 234, 0.8) 75%, 
    transparent 100%);
    animation: borderFlow 2s linear infinite;
}

@keyframes borderFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.navbar.scrolled {
    background: linear-gradient(135deg, 
        rgba(10, 10, 25, 0.98) 0%, 
        rgba(20, 20, 40, 0.95) 50%, 
        rgba(10, 10, 25, 0.98) 100%);
        backdrop-filter: blur(35px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
        padding: 0.8rem 0;
        transform: translateY(0);
    }
    
    /* Ensure navbar is white when not scrolled */
    .navbar:not(.scrolled) {
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure nav links are black when not scrolled */
    .navbar:not(.scrolled) .nav-link {
        color: #000 !important;
    background: transparent;
    border: 2px solid transparent;
    backdrop-filter: none;
}

.navbar:not(.scrolled) .nav-link:hover {
    color: #667eea !important;
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
    text-shadow: none;
}

.navbar .logo h1 {
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, 
    #667eea 0%, 
    #764ba2 25%, 
    #f093fb 50%, 
    #f5576c 75%, 
    #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    animation: logoGradient 4s ease infinite;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes logoGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.navbar .logo h1::before {
    content: '🎮';
    position: absolute;
    left: -2.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    animation: logoIconBounce 2s ease-in-out infinite;
}

@keyframes logoIconBounce {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-60%) rotate(10deg); }
}

.navbar .logo h1:hover {
    transform: scale(1.1) translateY(-2px);
    filter: drop-shadow(0 10px 20px rgba(102, 126, 234, 0.4));
}

.navbar.scrolled .logo h1 {
    font-size: 1.6rem;
}

/* Ensure logo is black when not scrolled */
.navbar:not(.scrolled) .logo h1 {
    color: #000;
    text-shadow: none;
}

.navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    margin: 0 0.3rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid transparent;
    backdrop-filter: blur(15px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.3) 0%, 
    rgba(118, 75, 162, 0.3) 50%, 
    rgba(102, 126, 234, 0.3) 100%);
    border-radius: 50px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.navbar-nav .nav-link:hover::before {
    opacity: 1;
}

.navbar-nav .nav-link:hover::after {
    width: 300px;
    height: 300px;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .nav-link {
    color: #fff;
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid transparent;
    backdrop-filter: blur(15px);
}

.navbar.scrolled .nav-link:hover {
    color: #fff;
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.3) 0%, 
    rgba(118, 75, 162, 0.3) 50%, 
    rgba(102, 126, 234, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Navbar Toggle Button */
.navbar-toggler {
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: transparent;
    backdrop-filter: none;
    border-radius: 12px;
    padding: 0.6rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.navbar:not(.scrolled) .navbar-toggler {
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: transparent;
}

.navbar.scrolled .navbar-toggler {
    border: 2px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.1) 0%, 
    rgba(118, 75, 162, 0.1) 100%);
    backdrop-filter: blur(15px);
}

.navbar-toggler::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
    rgba(102, 126, 234, 0.2) 0%, 
    rgba(118, 75, 162, 0.2) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.navbar-toggler:hover::before {
    opacity: 1;
}

.navbar-toggler:hover {
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.3) 0%, 
        rgba(118, 75, 162, 0.3) 100%);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.3rem rgba(102, 126, 234, 0.25);
    border-color: rgba(102, 126, 234, 0.5);
}

.navbar-toggler-icon {
    background-image: none;
    width: 24px;
    height: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.navbar-toggler-icon::before {
    width: 100%;
}

.navbar-toggler-icon::after {
    width: 80%;
    margin-left: auto;
}

.navbar.scrolled .navbar-toggler-icon::before,
.navbar.scrolled .navbar-toggler-icon::after {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
}

.navbar-toggler:hover .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* انیمیشن تبدیل به X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(6px, 6px);
    width: 100%;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(6px, -6px);
    width: 100%;
}

/* Navbar Brand */
.navbar-brand {
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

/* Navbar Collapse */
.navbar-collapse {
    transition: all 0.3s ease;
}

/* Desktop Navbar Layout */
@media (min-width: 992px) {
    .navbar-nav.mx-auto {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .navbar-nav {
        flex: 1;
        justify-content: center;
        display: flex;
    }
    
    .d-flex {
        margin-left: auto;
    }
}

/* Mobile Navbar */
@media (max-width: 991.98px) {
    .navbar {
        background: #fff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.scrolled {
        background: linear-gradient(135deg, 
        rgba(15, 15, 35, 0.95) 0%, 
            rgba(25, 25, 55, 0.9) 50%, 
            rgba(15, 15, 35, 0.95) 100%);
            backdrop-filter: blur(30px);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    }
    
    .navbar-collapse {
        background: #fff;
        backdrop-filter: none;
        border-radius: 20px;
        margin-top: 1rem;
        padding: 1.5rem;
        border: 2px solid rgba(0, 0, 0, 0.1);
        background-clip: padding-box;
        position: relative;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar.scrolled .navbar-collapse {
        background: linear-gradient(135deg, 
            rgba(15, 15, 35, 0.95) 0%, 
            rgba(25, 25, 55, 0.9) 50%, 
            rgba(15, 15, 35, 0.95) 100%);
            backdrop-filter: blur(30px);
        border: 2px solid transparent;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            rgba(102, 126, 234, 0.1) 0%, 
            rgba(118, 75, 162, 0.1) 50%, 
            rgba(102, 126, 234, 0.1) 100%);
        z-index: -1;
        animation: navbarShimmer 3s ease-in-out infinite;
    }
    
    .navbar-collapse::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(102, 126, 234, 0.8) 25%, 
            rgba(118, 75, 162, 0.8) 50%, 
            rgba(102, 126, 234, 0.8) 75%, 
            transparent 100%);
            animation: borderFlow 2s linear infinite;
        }
    
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.8rem 0;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
        width: 100%;
        text-align: center;
        background: linear-gradient(135deg, 
            rgba(102, 126, 234, 0.1) 0%, 
            rgba(118, 75, 162, 0.1) 100%);
        border: 2px solid transparent;
        backdrop-filter: blur(15px);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.9rem;
        font-weight: 600;
    }
    
    .d-flex {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .glass-button {
        background: linear-gradient(135deg, 
            rgba(102, 126, 234, 0.2) 0%, 
            rgba(118, 75, 162, 0.2) 100%);
        backdrop-filter: blur(25px);
        border: 2px solid transparent;
        color: #000000;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
}

/* Glass Button Color States */
.navbar.scrolled .glass-button {
    color: #ffffff !important;
}

.navbar:not(.scrolled) .glass-button {
    color: #000000 !important;
}

/* Navbar Active State */
.navbar-nav .nav-link.active {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Navbar Dropdown (if needed) */
.navbar-nav .dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar-nav .dropdown-item {
    color: #fff;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.25rem;
}

.navbar-nav .dropdown-item:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #fff;
}

/* Navbar Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-collapse.show {
    animation: slideDown 0.3s ease;
}

/* ===== GLASS BUTTON STYLES ===== */
.glass-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
    font-size: 1rem;
    min-width: 160px;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.2) 100%);
    border-radius: 60px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.glass-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.glass-button:hover::before {
    opacity: 1;
}

.glass-button:hover::after {
    width: 200px;
    height: 200px;
}

.glass-button:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transform: translateY(-6px) scale(1.05);
    box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.glass-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    overflow: hidden;
    pointer-events: none;
}

.glass-effect {
    position: absolute;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 2s infinite;
}

.glass-effect.top { top: 0; left: -100%; width: 100%; height: 1px; }
.glass-effect.bottom { bottom: 0; left: -100%; width: 100%; height: 1px; }
.glass-effect.left { top: -100%; left: 0; width: 1px; height: 100%; }
.glass-effect.right { top: -100%; right: 0; width: 1px; height: 100%; }

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== FLOATING HERO SECTION ===== */
.floating-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    opacity: 0.1;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 { width: 100px; height: 100px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 150px; height: 150px; top: 60%; right: 15%; animation-delay: 2s; }
.shape-3 { width: 80px; height: 80px; top: 40%; left: 70%; animation-delay: 4s; }

.floating-title {
    font-size: 4rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    animation: titleFloat 3s ease-in-out infinite;
    letter-spacing: 0.1em;
}

.floating-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    animation: subtitleFloat 3s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes titleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes subtitleFloat {
    0%, 100% { transform: translateY(0px); opacity: 0.8; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.layer-1 {
    background: linear-gradient(45deg, 
        #ff0080 0%, 
        #8000ff 25%, 
        #0080ff 50%, 
        #00ff80 75%, 
        #ff8000 100%);
        background-size: 400% 400%;
        animation: gradientShift 8s ease infinite;
    }

.layer-2 {
    background: radial-gradient(circle at 20% 80%, 
    rgba(255, 0, 128, 0.3) 0%, 
    transparent 50%),
    radial-gradient(circle at 80% 20%, 
    rgba(128, 0, 255, 0.3) 0%, 
    transparent 50%);
    animation: radialPulse 6s ease-in-out infinite;
}

.layer-3 {
    background: conic-gradient(from 0deg, 
    transparent 0deg, 
    rgba(255, 255, 255, 0.1) 90deg, 
    transparent 180deg, 
    rgba(255, 255, 255, 0.1) 270deg, 
    transparent 360deg);
    animation: conicRotate 10s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes radialPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes conicRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-cube {
    position: absolute;
    font-size: 2rem;
    animation: cubeFloat 6s ease-in-out infinite;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.cube-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cube-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.cube-3 {
    top: 40%;
    left: 70%;
    animation-delay: 2s;
}

.cube-4 {
    bottom: 30%;
    left: 20%;
    animation-delay: 3s;
}

.cube-5 {
    top: 10%;
    right: 30%;
    animation-delay: 4s;
}

.cube-6 {
    bottom: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes cubeFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

/* Holographic Lines */
.holographic-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}
.text-center{
    font-family: 'dana regular';
}
.logo{
    font-family: 'dana regular';
}
.line {
    position: absolute;
    background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(0, 255, 255, 0.8) 50%, 
    transparent 100%);
    height: 2px;
    animation: lineMove 4s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    width: 100%;
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    width: 80%;
    left: 10%;
    animation-delay: 1s;
}

.line-3 {
    top: 75%;
    width: 60%;
    left: 20%;
    animation-delay: 2s;
}

.line-4 {
    top: 10%;
    width: 40%;
    left: 30%;
    animation-delay: 3s;
}

@keyframes lineMove {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(0%);
        opacity: 1;
    }
}

/* Glitch Effect */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
    linear-gradient(90deg, transparent 0%, rgba(255, 0, 0, 0.1) 50%, transparent 100%),
    linear-gradient(0deg, transparent 0%, rgba(0, 255, 0, 0.1) 50%, transparent 100%);
    animation: glitchEffect 3s ease-in-out infinite;
    z-index: 2;
    opacity: 0.3;
}

@keyframes glitchEffect {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    25% { opacity: 0.6; transform: translateX(-2px); }
    50% { opacity: 0.3; transform: translateX(0); }
    75% { opacity: 0.6; transform: translateX(2px); }
}

/* Particle Canvas */
.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    top: 0;
    left: 0;
    z-index: 1;
}

.gradient-overlay {
    background: linear-gradient(45deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(78, 205, 196, 0.1) 25%, 
        rgba(255, 193, 7, 0.1) 50%, 
        rgba(220, 53, 69, 0.1) 75%, 
        rgba(102, 126, 234, 0.1) 100%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57);
    opacity: 0.1;
    animation: floatShape 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 70%;
    animation-delay: 4s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 30%;
    left: 20%;
    animation-delay: 1s;
}

.shape-5 {
    width: 90px;
    height: 90px;
    top: 10%;
    right: 30%;
    animation-delay: 3s;
}

.shape-6 {
    width: 70px;
    height: 70px;
    top: 70%;
    left: 50%;
    animation-delay: 2.5s;
}

.shape-7 {
    width: 110px;
    height: 110px;
    top: 15%;
    left: 80%;
    animation-delay: 4.5s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.3;
    }
}

.hero-content {
    z-index: 3;
    position: relative;
}

/* Badge Container */
.badge-container {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, 
        rgba(255, 0, 128, 0.8) 0%, 
        rgba(128, 0, 255, 0.8) 50%, 
        rgba(0, 128, 255, 0.8) 100%);
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    animation: badgeFloat 3s ease-in-out infinite;
}

.badge-text {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
    #ff0080, #8000ff, #0080ff, #00ff80, #ff8000);
    background-size: 400% 400%;
    animation: badgeGlow 2s ease infinite;
    border-radius: 50px;
    z-index: -1;
    opacity: 0.7;
}

.badge-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.badge-particles::before,
.badge-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: badgeParticleFloat 2s ease-in-out infinite;
}

.badge-particles::before {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.badge-particles::after {
    top: 80%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes badgeGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes badgeParticleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-15px) scale(1.5);
        opacity: 1;
    }
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    position: relative;
}

.title-container {
    position: relative;
    display: inline-block;
}

.title-main {
    display: inline-block;
    position: relative;
}

.letter {
    display: inline-block;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, 
    #ff0080 0%, 
    #8000ff 25%, 
    #0080ff 50%, 
    #00ff80 75%, 
    #ff8000 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
    0 0 20px rgba(255, 0, 128, 0.8),
    0 0 40px rgba(128, 0, 255, 0.8),
    0 0 60px rgba(0, 128, 255, 0.8);
    animation: letterGlow 3s ease-in-out infinite alternate;
    margin: 0 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.letter:nth-child(1) { animation-delay: 0s; }
.letter:nth-child(2) { animation-delay: 0.1s; }
.letter:nth-child(3) { animation-delay: 0.2s; }
.letter:nth-child(4) { animation-delay: 0.3s; }
.letter:nth-child(5) { animation-delay: 0.4s; }
.letter:nth-child(6) { animation-delay: 0.5s; }
.letter:nth-child(7) { animation-delay: 0.6s; }

.letter:hover {
    transform: scale(1.3) translateY(-15px) rotate(5deg);
    text-shadow: 
    0 0 30px rgba(255, 0, 128, 1),
    0 0 60px rgba(128, 0, 255, 1),
    0 0 90px rgba(0, 128, 255, 1);
}

.title-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
    #ff0080, #8000ff, #0080ff, #00ff80, #ff8000);
    background-size: 400% 400%;
    animation: titleGlow 4s ease infinite;
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(20px);
}

.title-subtitle {
    margin-top: 1rem;
    position: relative;
}

.subtitle-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00ffff;
    letter-spacing: 0.1em;
    text-shadow: 
    0 0 15px #00ffff,
    0 0 30px #00ffff,
    0 0 45px #00ffff;
    animation: subtitlePulse 2s ease-in-out infinite;
    font-family: 'Courier New', monospace;
    position: relative;
}

.subtitle-text::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        transparent, #00ffff, transparent);
        border-radius: 10px;
    z-index: -1;
    opacity: 0.3;
    animation: subtitleGlow 3s ease infinite;
}

@keyframes letterGlow {
    0% {
        text-shadow: 
            0 0 20px rgba(255, 0, 128, 0.8),
            0 0 40px rgba(128, 0, 255, 0.8),
            0 0 60px rgba(0, 128, 255, 0.8);
        }
    100% {
        text-shadow: 
            0 0 30px rgba(255, 0, 128, 1),
            0 0 60px rgba(128, 0, 255, 1),
            0 0 90px rgba(0, 128, 255, 1);
    }
}

@keyframes titleGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes subtitlePulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

@keyframes subtitleGlow {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.3; }
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
    100% {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 107, 0.3);
    }
}

.title-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Custom Buttons */
.btn-primary-custom {
    background: linear-gradient(45deg, 
        #ff0080 0%, 
        #8000ff 50%, 
        #0080ff 100%) !important;
        border: none !important;
        color: white !important;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
        0 10px 30px rgba(255, 0, 128, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    
    .btn-secondary-custom {
        background: transparent !important;
    border: 2px solid #00ffff !important;
    color: #00ffff !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(0, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    font-size: 1.2rem;
    animation: iconBounce 2s ease-in-out infinite;
}

.btn-text {
    font-weight: 700;
    letter-spacing: 0.05em;
}

.btn-arrow {
    font-size: 1.1rem;
    animation: arrowMove 1.5s ease-in-out infinite;
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.btn-particles::before,
.btn-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: buttonParticleFloat 2s ease-in-out infinite;
}

.btn-particles::before {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.btn-particles::after {
    top: 75%;
    right: 25%;
    animation-delay: 1s;
}

.btn-primary-custom:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
    0 20px 50px rgba(255, 0, 128, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-secondary-custom:hover {
    background: rgba(0, 255, 255, 0.1) !important;
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(0, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary-custom:hover .btn-glow,
.btn-secondary-custom:hover .btn-glow {
    width: 400px;
    height: 400px;
}

@keyframes iconBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes arrowMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

@keyframes buttonParticleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-25px) scale(1.5);
        opacity: 1;
    }
}

.hero-visual {
    z-index: 2;
    position: relative;
}
/* Live Section (simple) */
.live-section.section {
    overflow: visible;
    padding: 25px 0;
}

.live-section .content {
    border: 2px dotted rgba(0,0,0,0.2);
    display: flex;
    border-radius: 22px;
    padding: 5px;
    gap: 10px;
    padding-left: 0px;
}

.live-section .content .live {
    width: 205px;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    font-family: 'dana bold';
}

.live-section .content .live .online-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    opacity: 0.1;
}

.live-section .content .live .badge {
    position: absolute;
    top: 23%;
    transform: translateY(-50%);
    right: 29%;
    width: 1%;
    height: 1%;
    background: #ff4756;
    border-radius: 50%;
    animation: live 1.5s infinite;
}

/* Pulse effect for the red badge */
.live-section .content .live .badge.danger {
    width: 50%; /* نقطه ثابت و کوچک */
    height: 50%;
    background: rgba(255, 59, 48, 0.5); /* کم‌رنگ */
    box-shadow: none;
    transform-origin: center center;
    animation: dotGrow 1.5s ease-out infinite; /* خود نقطه بزرگ و محو می‌شود */
}

/* حلقه بیرونی را غیرفعال می‌کنیم تا خود نقطه انیمیت شود */
.live-section .content .live .badge.danger::after { display: none; }

@keyframes dotGrow {
    0%   { transform: scale(0.6); opacity: 0.5; }
    60%  { transform: scale(2);   opacity: 0.18; }
    100% { transform: scale(2.4); opacity: 0; }
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(255, 59, 48, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0); }
}

@keyframes pulseRing {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.live-section .content .live .text {
    width: 100%;
    font-size: 25px;
    font-weight: 900;
    display: block;
    max-width: 100px;
    color: #8a000e; /* strong red */
    position: relative;
}

.live-section .content .live .live-title {
    display: flex;
    align-items: center;
    gap: 8px;
    direction: rtl;
}

.live-section .content .live .record-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: currentColor;
    animation: recordBlink 1s  infinite; /* خاموش/روشن شدن */
    background-color: #8a000e;
}

@keyframes recordBlink {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.live-section .content .list {
    width: 100%;
    position: relative; /* absolute children positioning */
    direction: rtl; /* مبنا از راست */
    overflow: hidden; /* جلوگیری از پرش عمودی/افقی */
    height: 170px; /* ثابت نگه‌داشتن ارتفاع */
    border-radius: 22px;
}

.live-section .content .list .item {
    direction: rtl;
    position: absolute; /* روی اسلات‌ها قرار می‌گیرد */
    top: 0;
    right: 0; /* مبنای راست */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 20px;
    width: 344px; /* عرض ثابت برای محاسبه اسلات */
    max-width: 344px;
    height: 100%;
    box-sizing: border-box;
    transform: translateX(0);
    opacity: 1;
    transition: transform .35s ease, opacity .35s ease;
    will-change: transform, opacity;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    z-index: 1;
}

/* خط نقطه‌چین افقی برای تقسیم کارت به دو بخش */
.live-section .content .list .item::after {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    border-right: 1px dotted rgba(0,0,0,0.2);
}

/* برچسب VS در مرکز جداکننده عمودی */
.live-section .content .list .item::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Clash Regular', 'Iranian Sans', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #8a000e; /* همرنگ تیتر گزارش زنده */
    
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
}

.live-section .content .list .item:not(:first-child) {
    
    padding-left: 10px;
}

.live-section .content .list .item:last-child {
    border-radius: 10px;
}

/* enter from right animation */
.live-section .content .list .item.from-right { transform: translateX(var(--slot, 300px)); opacity: 0; }

/* استایل داخلی کارت */
.live-section .content .list .item .link {
    position: absolute;
    top: 8px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
    font-size: 12px;
}

.live-section .content .list .item .link span {
    color: rgba(0,0,0,0.55);
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.live-section .content .list .item .link span b {
    color: rgba(0,0,0,0.85);
}

.live-section .content .list .item .icon {
    color: #667eea;
}

.live-section .content .list .item .vs-image {
    position: absolute;
    top: calc(30% - 30px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 3;
}

.live-section .content .list .item .vs-image img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
}

.live-section .content .list .item .amount {
    position: absolute;
    font-family: 'Vazir';
    top: calc(50% + 18px); /* زیر VS و روی خط عمودی */
    left: 50%;
    transform: translateX(-50%);
    font-weight: 800;
    font-size: 20px;
    color: #2c3e50;
    display: flex;
    gap: 6px;
    align-items: baseline;
    text-align: center;
    z-index: 2;
}

.live-section .content .list .item .amount span:last-child {
    font-weight: 700;
    font-size: 14px;
    color: #6b7280;
}

.live-section .content .list .item .username-right {
    position: absolute;
    bottom: 100px;
    right: 25%;
    transform: translateX(50%);
    font-family: 'Clash Regular', 'Iranian Sans', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: #2c3e50;
    text-align: center;
    z-index: 3;
}

.live-section .content .list .item .username-left {
    position: absolute;
    bottom: 100px;
    left: 25%;
    transform: translateX(-50%);
    font-family: 'Clash Regular', 'Iranian Sans', sans-serif;
    font-weight: 600;
    font-size: 10px;
    color: #2c3e50;
    text-align: center;
    z-index: 3;
}

/* Cards sections */
.live-section .content .list .item .cards-left,
.live-section .content .list .item .cards-right {
    position: absolute;
    bottom: 1px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 6px;
    width: 45%;
    height: 60%;
    z-index: 1;
   
}

.live-section .content .list .item .cards-left {
    left: 5px;
}

.live-section .content .list .item .cards-right {
    right: 5px;
}

.live-section .content .list .item .card {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.live-section .content .list .item .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* decorative edge avatars */
.live-section .content .list .item .profile-avatar {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.live-section .content .list .item .profile-avatar.right-edge {
    top: 12px;
    right: 25%; /* مرکز نیمه راست کارت */
    transform: translateX(50%);
}

.live-section .content .list .item .profile-avatar.top-edge {
    top: 12px;
    left: 25%; /* مرکز نیمه چپ کارت */
    transform: translateX(-50%);
}
.live-section .content .list .item .cards-left:hover,
.live-section .content .list .item .cards-right:hover {
    transform: none ;
    box-shadow: none ;
}



.scroll-indicator {
    z-index: 3;
}

.scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

/* ===== RESPONSIVE HERO ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem !important;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .stat-card {
        padding: 1rem !important;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        max-width: 200px;
        margin: 0 auto;
    }
    
}


/* ===== MAIN HEADER ===== */
.main-header {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.95) 0%, 
        rgba(30, 41, 59, 0.95) 50%, 
        rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    gap: 2rem;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.nav-item{
    font-family: 'dana regular';
}
.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
}

.crown-icon {
    width: 28px;
    height: 28px;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation Menu */
.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: 'dana regular';
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.nav-link.active {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ===== MOBILE HAMBURGER MENU ===== */
.navbar-toggler {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    transform: scale(1.1);
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #fbbf24;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Content */
.mobile-menu-content {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 1rem;
    border-radius: 0 0 15px 15px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    transition: left 0.5s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    color: #fbbf24;
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.mobile-nav-link.active {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.nav-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.nav-text {
    flex: 1;
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1.5rem;
}

.mobile-btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.mobile-btn-secondary:hover::before {
    left: 100%;
}

.mobile-btn-secondary:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.mobile-btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e293b;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.mobile-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.mobile-btn-primary:hover::before {
    left: 100%;
}

.mobile-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 1024px) {
    .header-content {
        gap: 1.5rem;
    }
    
    .header-nav {
        gap: 1.5rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .header-content {
        padding: 1rem 0;
    }
    
    .logo-section {
        flex: 1;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .crown-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
    }
    
    .crown-icon {
        width: 20px;
        height: 20px;
    }
    
    .mobile-nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .mobile-actions {
        padding: 0 1.25rem;
    }
    
    .mobile-btn-secondary,
    .mobile-btn-primary {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}



.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: subtitleFade 2s ease-out;
}

@keyframes subtitleFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 0.8; transform: translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== FEATURES SHOWCASE ===== */
.features-showcase {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.25),
        0 0 0 2px rgba(255, 255, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: brightness(1.3) contrast(1.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(10deg) translateY(-10px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15) 0%, 
        rgba(255, 255, 255, 0.08) 100%);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.3) translateY(-5px);
    filter: brightness(1.2) contrast(1.1);
}

.feature-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    font-family: 'dana bold', 'Iranian Sans', sans-serif;
}

.feature-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'dana medium', 'Iranian Sans', sans-serif;
}

.feature-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.2) 100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.feature-button:hover::before {
    opacity: 1;
}

.feature-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .features-showcase {
        padding: 3rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
    }
    
    .feature-icon {
        width: 100px;
        height: 100px;
    }
    
    .feature-icon img {
        width: 65px;
        height: 65px;
    }
    
    .feature-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .feature-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 576px) {
    .features-showcase {
        padding: 2rem 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .feature-icon img {
        width: 55px;
        height: 55px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ===== SECTIONS ===== */
.section {
    position: relative;
}

/* آیکون شناور بازی */
.floating-game-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0;
    position: relative;
}

.game-controller-icon {
    width: 300px;
    height: 300px;
    animation: floatUpDown 3s ease-in-out infinite;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.7));
}

.game-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    font-weight: 800;
    color: #6B46C1;
    margin: 0;
    z-index: 10;
    pointer-events: none;
    text-shadow: 0 0 15px rgba(107, 70, 193, 0.6);
    animation: colorChange 4s ease-in-out infinite;
}

@keyframes colorChange {
    0%, 100% {
        color: #6B46C1;
        text-shadow: 0 0 10px rgba(107, 70, 193, 0.5);
    }
    25% {
        color: #FF6B6B;
        text-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }
    50% {
        color: #4ECDC4;
        text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
    }
    75% {
        color: #45B7D1;
        text-shadow: 0 0 10px rgba(69, 183, 209, 0.5);
    }
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive برای موبایل */
@media (max-width: 767.98px) {
    .game-controller-icon {
        width: 220px;
        height: 220px;
    }
    
    .floating-game-icon {
        margin: 2rem 0;
    }
    
    .game-title-overlay {
        font-size: 3.5rem;
        animation: colorChange 3s ease-in-out infinite;
    }
}

/* ===== GAME CARDS ===== */
.game-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    padding: 0 !important;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.glass-button{
    font-family: 'dana regular';
}
.game-card-image {
    position: relative;
    height: 800px;
    width: 100%;
    border-radius: 20px;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.game-card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.3s ease;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    vertical-align: top !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1;
}

.game-card-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.game-card:hover .game-card-image img {
    opacity: 0;
}

.game-card:hover .game-card-video {
    opacity: 1;
}

/* JavaScript برای پخش ویدیو */
.game-card:hover .game-card-video {
    opacity: 1;
}

.game-card-video {
    pointer-events: none;
}

.game-card-content {
    padding: 1.5rem;
}





/* Responsive برای کارت‌های بازی */
@media (max-width: 767.98px) {
    
    .game-card-image {
        height: 600px;
        border-radius: 20px;
    }
}




/* ===== CARDS ===== */
.card {
    

    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.card:hover:not(.live-section .card) {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 5rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* عنوان در بالا برای همه دستگاه‌ها */
.stat-item {
    flex-direction: column;
}

.stat-label {
    order: -1;
    margin-bottom: 1rem;
}

/* فونت کوچک‌تر برای موبایل */
@media (max-width: 767.98px) {
    .mobile-stats .stat-label {
        font-size: 0.8rem !important;
    }
}

/* نمایش/مخفی کردن بخش‌ها */
.desktop-stats {
    display: block;
}

.mobile-stats {
    display: none;
}

/* اطمینان از یک سطر بودن در دسکتاپ */
@media (min-width: 768px) {
    .desktop-stats {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6rem;
    }
    
    /* فونت بزرگتر برای دسکتاپ */
    .desktop-stats .stat-number {
        font-size: 5rem;
    }
    
    .desktop-stats .stat-label {
        font-size: 1.5rem !important;
    }
    
    /* انیمیشن‌های پرتاب شونده */
    .desktop-stats .stat-item {
        position: relative;
        transition: all 0.3s ease;
    }
    
    /* آیکون‌های پرتاب شونده */
    .desktop-stats .stat-item::before,
    .desktop-stats .stat-item::after,
    .desktop-stats .stat-icon-right {
        content: '';
        position: absolute;
        width: 120px;
        height: 120px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        opacity: 0;
        transform: translateY(20px) scale(0.8);
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        pointer-events: none;
        z-index: 10;
    }
    
    /* آیکون سمت راست */
    .desktop-stats .stat-icon-right {
        top: 50%;
        right: -120px;
        transform: translateY(-50%) translateX(20px) scale(0.8);
    }
    
    /* حذف content از آیکون سمت راست */
    .desktop-stats .stat-icon-right {
        content: none;
    }
    
    /* آیکون‌های مخصوص برای هر آمار */
    /* پرداخت شده - دلار */
    .desktop-stats .stat-payment::before {
        background-image: url('../images/3dicons-dollar-dynamic-color.png');
        top: -120px;
        left: 40%;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    
    .desktop-stats .stat-payment::after {
        background-image: url('../images/3dicons-dollar-dynamic-color.png');
        top: 50%;
        left: -120px;
        transform: translateY(-50%) translateX(-20px) scale(0.8);
    }
    
    .desktop-stats .stat-payment .stat-icon-right {
        background-image: url('../images/3dicons-dollar-dynamic-color.png');
    }
    
    /* کاربران بازیکن - پروفایل */
    .desktop-stats .stat-users::before {
        background-image: url('../images/—Pngtree—human profile avatar button 3d_8541895.png');
        top: -120px;
        left: 45%;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    
    .desktop-stats .stat-users::after {
        background-image: url('../images/—Pngtree—human profile avatar button 3d_8541895.png');
        top: 50%;
        left: -120px;
        transform: translateY(-50%) translateX(-20px) scale(0.8);
    }
    
    .desktop-stats .stat-users .stat-icon-right {
        background-image: url('../images/—Pngtree—human profile avatar button 3d_8541895.png');
    }
    
    /* رضایت کاربران - ستاره */
    .desktop-stats .stat-satisfaction::before {
        background-image: url('../images/wifi_998651.png');
        top: -120px;
        left: 45%;
        transform: translateX(-50%) translateY(20px) scale(0.8);
    }
    
    .desktop-stats .stat-satisfaction::after {
        background-image: url('../images/wifi_998651.png');
        top: 50%;
        left: -120px;
        transform: translateY(-50%) translateX(-20px) scale(0.8);
    }
    
    .desktop-stats .stat-satisfaction .stat-icon-right {
            background-image: url('../images/wifi_998651.png');
    }
    
    /* انیمیشن هاور */
    .desktop-stats .stat-item:hover::before,
    .desktop-stats .stat-item:hover::after,
    .desktop-stats .stat-item:hover .stat-icon-right {
        opacity: 1;
        animation: bounceFloat 2s ease-in-out infinite;
    }
    
    /* افکت بلور برای آمارهای دیگر هنگام هاور */
    .desktop-stats:hover .stat-item:not(:hover) {
        filter: blur(3px);
        opacity: 0.3;
        transition: all 0.3s ease;
    }
    
    /* انیمیشن آیکون بالا */
    .desktop-stats .stat-item:hover::before {
        transform: translateX(-50%) translateY(0) scale(1);
        animation: bounceFloatTop 3.5s ease-in-out infinite;
    }
    
    /* انیمیشن آیکون چپ */
    .desktop-stats .stat-item:hover::after {
        transform: translateY(-50%) translateX(0) scale(1);
        animation: bounceFloatLeft 4s ease-in-out infinite;
    }
    
    /* انیمیشن آیکون راست */
    .desktop-stats .stat-item:hover .stat-icon-right {
        transform: translateY(-50%) translateX(0) scale(1);
        animation: bounceFloatRight 3.2s ease-in-out infinite;
    }
    
    /* انیمیشن‌های مختلف برای هر آیکون */
    @keyframes bounceFloatTop {
        0%, 100% { 
            transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
        }
        20% { 
            transform: translateX(-50%) translateY(-10px) scale(1.1) rotate(5deg);
        }
        40% { 
            transform: translateX(-50%) translateY(-15px) scale(1.15) rotate(-3deg);
        }
        60% { 
            transform: translateX(-50%) translateY(0) scale(0.9) rotate(2deg);
        }
        80% { 
            transform: translateX(-50%) translateY(-5px) scale(1.05) rotate(-1deg);
        }
    }
    
    @keyframes bounceFloatLeft {
        0%, 100% { 
            transform: translateY(-50%) translateX(0) scale(1) rotate(0deg);
        }
        25% { 
            transform: translateY(-50%) translateX(-8px) scale(1.1) rotate(-4deg);
        }
        50% { 
            transform: translateY(-50%) translateX(-12px) scale(1.2) rotate(6deg);
        }
        75% { 
            transform: translateY(-50%) translateX(0) scale(0.85) rotate(-2deg);
        }
        90% { 
            transform: translateY(-50%) translateX(-3px) scale(1.05) rotate(3deg);
        }
    }
    
    @keyframes bounceFloatRight {
        0%, 100% { 
            transform: translateY(-50%) translateX(0) scale(1) rotate(0deg);
        }
        30% { 
            transform: translateY(-50%) translateX(8px) scale(1.1) rotate(3deg);
        }
        55% { 
            transform: translateY(-50%) translateX(12px) scale(1.25) rotate(-5deg);
        }
        75% { 
            transform: translateY(-50%) translateX(0) scale(0.8) rotate(4deg);
        }
        90% { 
            transform: translateY(-50%) translateX(4px) scale(1.1) rotate(-2deg);
        }
    }
}

@media (max-width: 767.98px) {
    .desktop-stats {
        display: none !important;
    }
    
    .mobile-stats {
        display: block;
    }
}

/* جداکننده برای دسکتاپ */
@media (min-width: 768px) {
    /* خط سمت چپ آمار وسطی */
    .desktop-stats .stat-divider-left {
        content: '';
        position: absolute;
        left: -3rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 100px;
        background: #ccc;
        z-index: 1;
    }
    
    /* خط سمت راست آمار وسطی */
    .desktop-stats .stat-divider-right {
        content: '';
        position: absolute;
        right: -3rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 100px;
        background: #ccc;
        z-index: 1;
    }
}

/* جداکننده برای موبایل */
@media (max-width: 767.98px) {
    /* خط افقی بین بخش بالا و پایین */
    .mobile-stats .row:first-of-type {
        position: relative;
        margin-bottom: 2rem;
    }
    
    .mobile-stats .row:first-of-type::after {
        content: '';
        position: absolute;
        bottom: -1rem;
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        height: 1px;
        background: #ccc;
    }
    
    /* خط عمودی بین دو آمار پایینی */
    .mobile-stats .row:last-of-type {
        position: relative;
    }
    
    .mobile-stats .mobile-stat-item:first-child {
        position: relative;
    }
    
    .mobile-stats .mobile-stat-item:first-child::after {
        content: '';
        position: absolute;
        right: -9%;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60px;
        background: #ccc;
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
}

/* درصد کوچک‌تر از عدد - فقط برای آمارهای درصدی */
.percentage-stat .stat-number::after {
    content: '%';
    font-size: 0.4em;
    vertical-align: top;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 700;
}

.stats-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, #764ba2, #667eea, transparent);
    margin: 2rem 0;
    opacity: 0.6;
}

/* ===== FOOTER STYLES ===== */
.floating-footer {
    min-height: 60vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem 0 1rem;
}

.floating-footer .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-footer .floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    opacity: 0.1;
    animation: floatShape 6s ease-in-out infinite;
}

.floating-footer .shape-1 { width: 100px; height: 100px; top: 20%; left: 10%; animation-delay: 0s; }
.floating-footer .shape-2 { width: 150px; height: 150px; top: 60%; right: 15%; animation-delay: 2s; }
.floating-footer .shape-3 { width: 80px; height: 80px; top: 40%; left: 70%; animation-delay: 4s; }
.floating-footer .shape-4 { width: 120px; height: 120px; top: 80%; left: 30%; animation-delay: 1s; }
.floating-footer .shape-5 { width: 90px; height: 90px; top: 10%; right: 40%; animation-delay: 3s; }

.floating-footer-title {
    font-size: 4rem;
    font-weight: 300;
    color: #2c3e50;
    text-align: center;
    animation: titleFloat 3s ease-in-out infinite;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.floating-footer-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    text-align: center;
    animation: subtitleFloat 3s ease-in-out infinite;
    animation-delay: 1s;
    margin-bottom: 3rem;
}

.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #fff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.floating-footer .footer-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    text-align: center;
}

.main-footer .footer-content {
    position: relative;
    z-index: 2;
}

.footer-section {
    text-align: center;
    margin-bottom: 2rem;
}

.floating-footer .footer-section {
    text-align: center;
}

.main-footer .footer-section {
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.floating-footer .footer-logo {
    justify-content: center;
}

.main-footer .footer-logo {
    justify-content: flex-start;
}

.footer-logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: #2c3e50;
}

.floating-footer .logo-text {
    color: #2c3e50;
}

.main-footer .logo-text {
    color: #fff;
}

.footer-description {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.floating-footer .footer-description {
    color: #6c757d;
}

.main-footer .footer-description {
    color: #bdc3c7;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.floating-footer .footer-title {
    color: #2c3e50;
}

.main-footer .footer-title {
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.floating-footer .footer-links {
    text-align: center;
}

.main-footer .footer-links {
    text-align: right;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.floating-footer .footer-links a {
    color: #6c757d;
}

.main-footer .footer-links a {
    color: #bdc3c7;
}

.footer-links a:hover {
    color: #667eea;
    text-decoration: none;
}

.footer-divider {
    height: 1px;
    background: rgba(102, 126, 234, 0.3);
    margin: 1rem 0;
}

.floating-footer .footer-divider {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(102, 126, 234, 0.3) 25%, 
        rgba(118, 75, 162, 0.3) 50%, 
        rgba(102, 126, 234, 0.3) 75%, 
        transparent 100%);
}

.main-footer .footer-divider {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.3) 75%, 
        transparent 100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trust-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.trust-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-logo-link:hover {
    text-decoration: none;
}

.trust-logo {
    height: 80px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(20%);
    display: block;
}

.trust-logo-link:hover .trust-logo {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

.floating-footer .trust-logo {
    filter: grayscale(30%);
}

.floating-footer .trust-logo-link:hover .trust-logo {
    filter: grayscale(0%);
}

.main-footer .trust-logo {
    filter: grayscale(20%);
}

.main-footer .trust-logo-link:hover .trust-logo {
    filter: grayscale(0%);
}

/* Responsive Trust Logos */
@media (max-width: 768px) {
    .trust-logos {
        gap: 1rem;
    }
    
    .trust-logo {
        height: 70px;
    }
}

.copyright {
    color: #6c757d;
    font-size: 0.9rem;
}

.floating-footer .copyright {
    color: #6c757d;
}

.main-footer .copyright {
    color: #bdc3c7;
}

.footer-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 30%; right: 15%; animation-delay: 1s; }
.floating-icon:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-icon:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-icon:nth-child(5) { top: 50%; left: 50%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .glass-slider {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .glass-box-title {
        font-size: 2rem;
    }
    
    .glass-box-description {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .prev-arrow {
        left: -20px;
    }
    
    .next-arrow {
        right: -20px;
    }
    
    .section {
        padding: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .glass-box-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Mobile Navbar Enhancements */
    .navbar .logo h1 {
        font-size: 1.6rem;
    }
    
    .navbar .logo h1::before {
        font-size: 1.2rem;
        left: -2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 1.5rem;
        margin: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .glass-button {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .glass-slider {
        padding: 1.5rem 1rem;
    }
    
    .glass-box-title {
        font-size: 1.5rem;
    }
    
    .navbar .logo h1 {
        font-size: 1.4rem;
    }
    
    .navbar .logo h1::before {
        font-size: 1rem;
        left: -1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    /* Mobile Navbar Small Screens */
    .navbar-collapse {
        padding: 1rem;
        border-radius: 15px;
    }
    
    .navbar-nav .nav-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .glass-button {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
        border-radius: 10px;
    }
}

/* ===== UTILITIES ===== */
.text-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(-10px) rotate(45deg);
    }
    60% {
        transform: translateY(-5px) rotate(45deg);
    }
}



/* Top Users Section */
.top-users {
    background: #703fc4;
    position: relative;
    margin-top: 30px;
}

.top-users.section {
    padding-bottom: 0;
}

.top-users .container {
    position: relative;
}

.top-users__image {
    position: absolute;
    left: 10%;
    top: 0;
    width: 380px;
    height: 380px;
    animation: top_users_image 5s ease-in-out infinite;
}

@keyframes top_users_image {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.top-users h3.title {
    font-size: 36px;
    font-weight: 700;
    color: white;
    font-family: 'Iranian Sans';
    text-align: center;
    margin-bottom: 10px;
    padding-top: 40px;
}

.top-users h4.desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 40px;
}

.top-users__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0 100px;
    position: relative;
    margin-top: 90px;
}

.top-users__list .top-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: fit-content;
    margin-top: auto;
    text-decoration: none;
    color: inherit;
    transition: none;
}

/* Desktop hover effects for specific elements only - place excluded */
@media (min-width: 1024px) {
    .top-users__list .top-card:hover .content .rank {
        transform: scale(1.6) translate(10px, -20px);
    }

    .top-users__list .top-card:hover .content .avatar {
        transform: scale(1.4) rotate(-15deg) translateX(10px);
    }

    .top-users__list .top-card:hover .content .num {
        transform: translateX(-50%) scale(1.2);
    }

}

.top-users__list .top-card:first-child {
    z-index: 2;
}

.top-users__list .top-card:first-child .place {
    opacity: 0.6;
    height: 250px;
}

.top-users__list .top-card:first-child .place:before {
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}

.top-users__list .top-card:nth-child(2) {
    --color: 197 204 212;
    z-index: 3;
}

.top-users__list .top-card:nth-child(2) .place {
    opacity: 0.7;
    height: 300px;
}

.top-users__list .top-card:nth-child(2) .place:before {
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}

.top-users__list .top-card:nth-child(3) {
    --color: 255 193 7;
    z-index: 4;
}

.top-users__list .top-card:nth-child(4) {
    --color: 239 210 181;
    z-index: 1;
}

.top-users__list .top-card:nth-child(4) .place {
    opacity: 0.4;
    height: 250px;
}

.top-users__list .top-card:nth-child(4) .place:before {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.top-users__list .top-card .content {
    position: relative;
    transition: none;
}

.top-users__list .top-card .content .rank {
    position: absolute;
    width: 60px;
    height: fit-content;
    top: -25px;
    left: 70%;
    transform: translateX(-50%);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.top-users__list .top-card .content .user {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    direction: ltr;
    text-align: left;
    position: relative;
    transition: none;
}

.top-users__list .top-card .content .user .name {
    align-items: center;
    display: flex;
    gap: 6px;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Iranian Sans';
    color: white;
}

.top-users__list .top-card .content .user .name img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
}

.top-users__list .top-card .content .user .avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    outline: 8px solid rgb(var(--color, 255 255 255));
    margin-bottom: 10px;
    animation: top_users_avatar 3s infinite;
    transform-origin: center bottom;
    transition: all 0.3s ease;
}



.top-users__list .top-card .content .user:after {
    position: absolute;
    width: 120px;
    height: 130px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
    border-radius: 50%;
    content: "";
    z-index: -1;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    user-select: none;
}

.top-users__list .top-card .content .gateway {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-family: 'Iranian Sans';
    font-size: 14px;
}

.top-users__list .top-card .content .num {
    font-size: 120px;
    font-weight: 700;
    left: 50%;
    transform: translateX(-50%);
    top: 120%;
    position: absolute;
    color: white;
    text-shadow: 0 0 60px rgb(var(--color, 255 255 255));
    z-index: 10;
    font-family: 'Iranian Sans';
    transition: all 0.3s ease;
}

.top-users__list .top-card .place {
    width: 100%;
    height: 400px;
    position: relative;
    transition: none !important;
    pointer-events: none !important;
    transform: none !important;
}

.top-users__list .top-card .place span {
    background: rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    height: 95%;
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.2);
    transition: none !important;
    pointer-events: none !important;
    transform: none !important;
}

.top-users__list .top-card .place:before {
    display: block;
    content: "";
    width: 100%;
    height: 5%;
    background: rgba(255, 255, 255, 0.2);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    position: relative;
    transition: none !important;
    pointer-events: none !important;
    transform: none !important;
}

/* Top Users Mobile Styles */
@media(max-width: 768px) {
    .top-users h3.title {
        font-size: 20px
    }

    .top-users h4.desc {
        font-size: 14px
    }

    .top-users .container {
        padding: 0;
        overflow: hidden;
    }

    .top-users__image {
        width: 200px;
        height: 200px;
        top: 14%
    }

    .top-users__list .top-card .content .rank {
        width: 30px;
        height: 30px;
        top: -10%;
        left: 75%
    }

    .top-users__list {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    .top-users__list .top-card .content .user {
        text-align: center;
        max-width: 80px
    }

    .top-users__list .top-card .content .user:after {
        content: unset
    }

    .top-users__list .top-card .content .user svg {
        width: 60%;
        height: 60%;
        transform: translate(-50%,-50%) scale(0.6);
        overflow: hidden;
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: -1;
    }

    .top-users__list .top-card .content .user .avatar {
        width: 50px;
        height: 50px;
        outline: 3px solid rgb(var(--color))
    }

    .top-users__list .top-card .content .user .name {
        display: block;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        padding-inline: 2px;
        font-weight: 500;
    }

    .top-users__list .top-card .content .gateway,.top-users__list .top-card .content .user .name img {
        display: none
    }

    .top-users__list .top-card .content .num {
        font-size: 45px
    }

    .top-users__list .top-card:first-child .place {
        height: 150px
    }

    .top-users__list .top-card:nth-child(2) .place {
        height: 200px
    }

    .top-users__list .top-card:nth-child(3) .place {
        height: 250px
    }

    .top-users__list .top-card:nth-child(4) .place {
        height: 150px
    }
}

@media(max-width: 1023px) {


    .top-users__image {
        left: -10%
    }
    .top-users__list {
        padding: 0
    }

    .top-users__list .top-card .content .user .avatar {
        width: 50px;
        height: 50px
    }
}

@media(max-width: 1199px) {
    .top-users__list .top-card .content .rank {
        width: 40px
    }

    .top-users__list .top-card .content .user .name {
        font-size: 10px;
        font-weight: 500
    }

    .top-users__list .top-card .content .user .name img {
        width: 24px;
        height: 24px
    }
}

/* live report responsive styles removed */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-start-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    min-width: 220px;
    font-family: 'dana bold', 'Iranian Sans', sans-serif;
    z-index: 10;
}

.hero-start-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
    color: #fff !important;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-start-button .glass-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    overflow: hidden;
    pointer-events: none;
}

.hero-start-button .glass-effect-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(10px);
}

.hero-start-button .glass-effect {
    position: absolute;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    animation: glassShimmer 2s ease-in-out infinite;
}

@keyframes glassShimmer {
    0% { 
        opacity: 0;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
    }
    100% { 
        opacity: 0;
        transform: translateX(100%);
    }
}

.hero-start-button .glass-effect.top {
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.hero-start-button .glass-effect.bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
}

.hero-start-button .glass-effect.left {
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
}

.hero-start-button span {
    position: relative;
    z-index: 5;
    font-weight: 800;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    font-family: 'dana bold', 'Iranian Sans', sans-serif;
}

.hero-start-button:hover span {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* ===== DOWNLOAD SECTION ===== */
.download-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(102, 126, 234, 0.05) 0%, 
        rgba(118, 75, 162, 0.05) 50%, 
        rgba(102, 126, 234, 0.05) 100%);
    animation: backgroundShift 8s ease-in-out infinite;
    pointer-events: none; /* ensure overlay does not block clicks */
}

@keyframes backgroundShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.download-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.download-buttons .download-button + .download-button {
    margin-right: 1rem; /* در RTL فاصله بین دکمه‌ها از راست اعمال می‌شود */
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.5rem;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    min-width: 300px;
    justify-content: center;
    font-family: 'dana bold', 'Iranian Sans', sans-serif;
}

/* APK primary style */
.download-button.apk-button {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    box-shadow: 0 10px 30px rgba(26, 188, 156, 0.35);
    border: 1px solid rgba(22, 160, 133, 0.35);
}

.download-button.apk-button:hover {
    box-shadow: 0 18px 44px rgba(26, 188, 156, 0.45);
}

/* PWA secondary style */
.download-button.pwa-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.35);
    border: 1px solid rgba(118, 75, 162, 0.35);
}

.download-button.pwa-button:hover {
    box-shadow: 0 18px 44px rgba(102, 126, 234, 0.45);
}

.download-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    color: #fff;
    text-decoration: none;
}

.download-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-label {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-family: 'dana bold', 'Iranian Sans', sans-serif;
}

.download-desc {
    font-size: 0.95rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.2px;
    font-family: 'dana medium', 'Iranian Sans', sans-serif;
}

/* Responsive Download Section */
@media (max-width: 768px) {
    .hero-start-button {
        padding: 1rem 2.5rem;
        font-size: 1.3rem;
        min-width: 200px;
        letter-spacing: 0.8px;
        font-weight: 800;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .download-button,
    .download-button.apk-button,
    .download-button.pwa-button {
        padding: 1.2rem 2rem;
        min-width: 280px;
    }

    .download-buttons .download-button + .download-button {
        margin-right: 0.75rem;
    }
    
    /* در تبلت دکمه‌ها کنار هم باقی می‌مانند */
    .download-buttons {
        flex-direction: row;
    }
    
    .download-icon {
        width: 40px;
        height: 40px;
    }
    
    .download-label {
        font-size: 1.2rem;
        letter-spacing: 0.2px;
    }
    
    .download-desc {
        font-size: 0.9rem;
        letter-spacing: 0.1px;
    }
}

/* ===== RESPONSIVE DESIGN IMPROVEMENTS ===== */
/**
 * فایل CSS اضافی برای بهبود responsive design
 * شامل استایل‌های پیشرفته برای دستگاه‌های مختلف
 */

/* CSS Variables برای responsive design */
:root {
    --mobile-padding: 15px;
    --tablet-padding: 20px;
    --desktop-padding: 30px;
}

/* ===== DOWNLOAD SECTION RESPONSIVE ===== */
/* موبایل - دکمه‌ها زیر هم */
@media (max-width: 768px) {
    .download-section {
        padding: 3rem 0;
    }
    
    .download-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .download-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .download-buttons .download-button + .download-button {
        margin-right: 0;
        margin-top: 1rem;
    }
    
    .download-button {
        width: 100%;
        max-width: 320px;
        min-width: auto;
        padding: 1.2rem 1.5rem;
        justify-content: center;
    }
    
    .download-icon {
        width: 45px;
        height: 45px;
    }
    
    .download-label {
        font-size: 1.1rem;
    }
    
    .download-desc {
        font-size: 0.85rem;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .download-section {
        padding: 2.5rem 0;
    }
    
    .download-title {
        font-size: 1.8rem;
    }
    
    .download-subtitle {
        font-size: 0.9rem;
    }
    
    .download-button {
        padding: 1rem 1.2rem;
        max-width: 280px;
    }
    
    .download-icon {
        width: 40px;
        height: 40px;
    }
    
    .download-label {
        font-size: 1rem;
    }
    
    .download-desc {
        font-size: 0.8rem;
    }
}

/* تبلت */
@media (min-width: 769px) and (max-width: 1024px) {
    .download-buttons {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .download-button {
        min-width: 280px;
        padding: 1.3rem 2rem;
    }
}

/* CSS Variables اضافی */
:root {
    --mobile-font-size: 14px;
    --tablet-font-size: 16px;
    --desktop-font-size: 18px;
    
    --mobile-line-height: 1.4;
    --tablet-line-height: 1.5;
    --desktop-line-height: 1.6;
    
    --mobile-spacing: 1rem;
    --tablet-spacing: 1.5rem;
    --desktop-spacing: 2rem;
}

/* بهبودهای کلی برای موبایل */
@media (max-width: 768px) {
    /* بهبود خوانایی متن */
    body {
        font-size: var(--mobile-font-size);
        line-height: var(--mobile-line-height);
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    /* بهبود فاصله‌گذاری */
    .container, .container-fluid {
        padding-left: var(--mobile-padding);
        padding-right: var(--mobile-padding);
    }
    
    /* بهبود دکمه‌ها برای لمس */
    .btn, button, .glass-box-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
        font-size: 16px;
        touch-action: manipulation;
    }
    
    
    /* بهبود لینک‌ها */
    a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        text-decoration: none;
    }
    
    /* بهبود فرم‌ها */
    input, textarea, select {
        font-size: 16px; /* جلوگیری از zoom در iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid #e0e0e0;
        transition: border-color 0.3s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    }
    
    /* بهبود کارت‌ها */
    .card, .glass-box-content, .review-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
    }
    
    /* بهبود تصاویر */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
    
    /* بهبود اسلایدرها */
    .glass-slider, .live-slider, .reviews-slider {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }
    
    /* بهبود منوها */
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* بهبود فوتر */
    .footer-content {
        text-align: center;
    }
    
    .footer-content .row > div {
        margin-bottom: 2rem;
    }
}

/* بهبودهای خاص برای تبلت */
@media (min-width: 769px) and (max-width: 1024px) {
    body {
        font-size: var(--tablet-font-size);
        line-height: var(--tablet-line-height);
    }
    
    .container, .container-fluid {
        padding-left: var(--tablet-padding);
        padding-right: var(--tablet-padding);
    }
    
    /* بهبود grid layout */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* بهبود اسلایدرها */
    .glass-slider {
        padding: 2rem 1rem;
    }
    
    /* بهبود کارت‌ها */
    .card, .glass-box-content {
        padding: 1.5rem;
    }
}

/* بهبودهای خاص برای دسکتاپ */
@media (min-width: 1025px) {
    body {
        font-size: var(--desktop-font-size);
        line-height: var(--desktop-line-height);
    }
    
    .container, .container-fluid {
        padding-left: var(--desktop-padding);
        padding-right: var(--desktop-padding);
    }
    
    /* بهبود hover effects */
    .btn:hover, .glass-box-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* بهبود انیمیشن‌ها */
    .card, .glass-box-content {
        transition: all 0.3s ease;
    }
    
    .card:hover:not(.live-section .card), .glass-box-content:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }
}

/* بهبودهای خاص برای صفحات مختلف */
@media (max-width: 768px) {
    /* صفحه اصلی */
    .main-header {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .glass-slider-container {
        padding: 1rem;
    }
    
    .glass-box-content {
        padding: 1.5rem;
        text-align: center;
    }
    
    .glass-box-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .glass-box-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* بخش بازی‌ها */
    .games-section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* بخش گزارش زنده */
    .live-reports-section {
        padding: 3rem 0;
    }
    
    .live-slide {
        min-width: 280px;
        margin: 0 10px;
    }
    
    /* بخش آمار */
    .new-section {
        padding: 3rem 0;
    }
    
    .box-part {
        padding: 1.5rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .box-part h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .box-part p {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    
    /* بخش برترین پلیرها */
    .top-players-section {
        padding: 3rem 0;
    }
    
    .podium-player {
        margin-bottom: 2rem;
    }
    
    /* بخش نظرات */
    .user-reviews-section {
        padding: 3rem 0;
    }
    
    .review-card {
        padding: 1.5rem;
        margin: 0 10px;
    }
    
    .user-name {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .review-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* بهبودهای خاص برای صفحات داخلی */
@media (max-width: 768px) {
    /* صفحه درباره ما */
    .about-header, .contact-header, .feedback-header, .terms-header {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .about-title, .contact-title, .feedback-title, .terms-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .about-content, .contact-content, .feedback-content, .terms-content {
        padding: 2rem 0;
    }
    
    /* فرم‌ها */
    .contact-form, .feedback-form {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: block;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 8px;
        overflow: hidden;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* بهبودهای accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* بهبودهای dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color:slategray ;
        --text-color: #ffffff;

        --border-color: #404040;

    }
    
    body {
        background-color:#ff9900;
        color: var(--text-color);
    }
    
    .card, .glass-box-content, .review-card {
        background-color: var(--card-bg);
        border-color: var(--border-color);
    }
    
    input, textarea, select {
        background-color: var(--card-bg);
        border-color: var(--border-color);
        color: var(--text-color);
    }
}

/* بخش نظرات کاربران - اسلایدی */
.streamers-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.streamers-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.streamers-section .container {
    position: relative;
    z-index: 2;
}

.streamers-section .section-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.streamers-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.land-slider {
    position: relative;
    padding: 2rem 0;
}

.swiper {
    width: 100%;
    height: 100%;
    padding: 2rem 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide .slide {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 0 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.swiper-slide .slide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.swiper-slide .slide .quote-icon {
    color: #667eea;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.swiper-slide .slide .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 4px solid #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.swiper-slide .slide .name {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'dana bold', sans-serif;
}

.swiper-slide .slide .content {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'dana regular', sans-serif;
}

.swiper-slide .slide .link {
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* دکمه‌های ناوبری */
.swiper-button-next,
.swiper-button-prev {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px !important;
    font-weight: bold;
}

/* Pagination */
.swiper-pagination {
    position: relative !important;
    margin-top: 2rem;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.2);
}

/* انیمیشن ورود */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* ریسپانسیو */
@media (max-width: 768px) {
    .streamers-section {
        padding: 3rem 0;
    }
    
    .streamers-section .section-title {
        font-size: 2rem;
    }
    
    .streamers-section .lead {
        font-size: 1rem;
    }
    
    .swiper-slide .slide {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
        min-height: 250px;
    }
    
    .swiper-slide .slide .avatar {
        width: 60px;
        height: 60px;
    }
    
    .swiper-slide .slide .name {
        font-size: 1.1rem;
    }
    
    .swiper-slide .slide .content {
        font-size: 0.9rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .swiper-slide .slide {
        padding: 1.5rem 1rem;
        min-height: 200px;
    }
    
    .swiper-slide .slide .avatar {
        width: 50px;
        height: 50px;
    }
    
    .swiper-slide .slide .name {
        font-size: 1rem;
    }
    
    .swiper-slide .slide .content {
        font-size: 0.85rem;
        line-height: 1.6;
    }
}

/* بهبودهای print */
@media print {
    .navbar, .footer, .btn, button {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: none;
        width: 100%;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card, .glass-box-content {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* بهبودهای landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .main-header {
        min-height: 100vh;
    }
    
    .glass-slider-container {
        padding: 0.5rem;
    }
    
    .glass-box-content {
        padding: 1rem;
    }
    
    .glass-box-title {
        font-size: 1.5rem;
    }
    
    .glass-box-description {
        font-size: 0.9rem;
    }
}

/* بهبودهای خاص برای iOS */
@supports (-webkit-touch-callout: none) {
    .mobile input, .mobile textarea, .mobile select {
        font-size: 16px;
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    .mobile .btn, .mobile button {
        -webkit-appearance: none;
        border-radius: 8px;
    }
}

/* بهبودهای خاص برای Android */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .mobile input, .mobile textarea, .mobile select {
        font-size: 16px;
    }
}

/* بهبودهای performance */
.mobile * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.mobile input, .mobile textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* بهبودهای loading */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loaded {
    opacity: 1;
    pointer-events: auto;
}

/* بهبودهای error handling */
.error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
/**
 * فایل CSS برای بهینه‌سازی‌های مخصوص موبایل
 * شامل استایل‌های پیشرفته برای بهبود تجربه کاربری در دستگاه‌های موبایل
 */

/* بهبودهای کلی موبایل */
@media (max-width: 768px) {
    /* بهبود touch targets */
    .live-section{
        display: none;
    }
    .btn, button, a, .clickable {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* بهبود input fields */
    input, textarea, select {
        font-size: 16px; /* جلوگیری از zoom در iOS */
        padding: 12px 16px;
        border-radius: 8px;
        border: 2px solid #e0e0e0;
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        transition: all 0.3s ease;
    }
    
    input:focus, textarea:focus, select:focus {
        border-color: #007bff;
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
        transform: scale(1.02);
    }
    
    /* بهبود فرم‌ها */
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-weight: 600;
        margin-bottom: 0.5rem;
        display: block;
        color: #333;
    }
    
    /* بهبود کارت‌ها */
    .card, .glass-box-content, .review-card {
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem;
        transition: all 0.3s ease;
    }
    
    .card:hover:not(.live-section .card), .glass-box-content:hover, .review-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    /* بهبود تصاویر */
    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        transition: opacity 0.3s ease;
    }
    
    img.lazy {
        opacity: 0;
    }
    
    img.loaded {
        opacity: 1;
    }
    
    /* بهبود اسلایدرها */
    .glass-slider, .live-slider, .reviews-slider {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }
    
    .slide, .live-slide, .review-slide {
        scroll-snap-align: start;
    }
    
    /* بهبود منوها */
    .navbar {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.9);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .navbar.scrolled {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px;
        font-size: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .navbar-toggler {
        padding: 12px;
        border: none;
        background: transparent;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .navbar-toggler:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* بهبود فوتر */
    .footer-content {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .footer-content .row > div {
        margin-bottom: 2rem;
    }
    
    /* بهبود دکمه‌ها */
    .btn, .glass-box-btn {
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .btn:active, .glass-box-btn:active {
        transform: scale(0.95);
    }
    
    .btn::before, .glass-box-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s ease, height 0.3s ease;
    }
    
    .btn:active::before, .glass-box-btn:active::before {
        width: 100px;
        height: 100px;
    }
    
    /* بهبود انیمیشن‌ها */
    .animated {
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    /* بهبود scroll */
    .scroll-container {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* بهبود pull-to-refresh */
    .pull-to-refresh-indicator {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        text-align: center;
        padding: 10px;
        z-index: 9999;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        font-size: 14px;
    }
    
    /* بهبود error states */
    .error {
        border-color: #dc3545 !important;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
        animation: shake 0.5s ease-in-out;
    }
    
    .success {
        border-color: #28a745 !important;
        box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
    }
    
    @keyframes shake {
        0%, 100% { transform: translateX(0); }
        25% { transform: translateX(-5px); }
        75% { transform: translateX(5px); }
    }
    
    /* بهبود loading states */
    .loading {
        opacity: 0.6;
        pointer-events: none;
        position: relative;
    }
    
    .loading::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 20px;
        margin: -10px 0 0 -10px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #007bff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* بهبود accessibility */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    
    /* بهبود focus states */
    .btn:focus, .glass-box-btn:focus, input:focus, textarea:focus, select:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
    
    /* بهبود text selection */
    p, span, div {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    /* بهبود scroll indicators */
    .scroll-indicator {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: rgba(0, 123, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .scroll-indicator:hover {
        background: rgba(0, 123, 255, 1);
        transform: scale(1.1);
    }
    
    /* بهبود modal ها */
    .modal {
        padding: 1rem;
    }
    
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-content {
        border-radius: 12px;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .modal-header {
        border-bottom: 1px solid #e9ecef;
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        border-top: 1px solid #e9ecef;
        padding: 1rem 1.5rem;
    }
    
    /* بهبود tooltip ها */
    .tooltip {
        font-size: 14px;
    }
    
    .tooltip-inner {
        background-color: rgba(0, 0, 0, 0.9);
        border-radius: 6px;
        padding: 8px 12px;
    }
    
    /* بهبود popover ها */
    .popover {
        border-radius: 8px;
        border: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .popover-header {
        background-color: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        border-radius: 8px 8px 0 0;
    }
    
    /* بهبود alert ها */
    .alert {
        border-radius: 8px;
        border: none;
        padding: 1rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .alert-dismissible .btn-close {
        padding: 0.5rem 1rem;
    }
    
    /* بهبود progress bars */
    .progress {
        height: 8px;
        border-radius: 4px;
        background-color: #e9ecef;
    }
    
    .progress-bar {
        border-radius: 4px;
        transition: width 0.3s ease;
    }
    
    /* بهبود badges */
    .badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
        border-radius: 6px;
    }
    
    /* بهبود list groups */
    .list-group-item {
        border-radius: 8px;
        margin-bottom: 0.5rem;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
    }
    
    .list-group-item:hover {
        background-color: #f8f9fa;
        transform: translateX(5px);
    }
    
    /* بهبود pagination */
    .pagination {
        justify-content: center;
        margin: 2rem 0;
    }
    
    .page-link {
        border-radius: 6px;
        margin: 0 2px;
        border: 1px solid #dee2e6;
        color: #007bff;
        transition: all 0.3s ease;
    }
    
    .page-link:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }
    
    .page-item.active .page-link {
        background-color: #007bff;
        border-color: #007bff;
    }
}

/* بهبودهای خاص برای iOS */
@supports (-webkit-touch-callout: none) {
    .mobile input, .mobile textarea, .mobile select {
        font-size: 16px;
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    .mobile .btn, .mobile button {
        -webkit-appearance: none;
        border-radius: 8px;
    }
    
    .mobile .navbar {
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }
}

/* بهبودهای خاص برای Android */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .mobile input, .mobile textarea, .mobile select {
        font-size: 16px;
    }
    
    .mobile .btn, .mobile button {
        -webkit-tap-highlight-color: transparent;
    }
}

/* بهبودهای landscape orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .main-header {
        min-height: 100vh;
    }
    
    .glass-slider-container {
        padding: 0.5rem;
    }
    
    .glass-box-content {
        padding: 1rem;
    }
    
    .glass-box-title {
        font-size: 1.5rem;
    }
    
    .glass-box-description {
        font-size: 0.9rem;
    }
    
    .navbar {
        padding: 0.5rem 1rem;
    }
}

/* بهبودهای low power mode */
.low-power * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
}

.low-power .animated {
    animation: none !important;
}

/* بهبودهای reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .animated {
        animation: none !important;
    }
}

/* بهبودهای high contrast */
@media (prefers-contrast: high) {
    .btn, .glass-box-btn {
        border: 2px solid currentColor;
    }
    
    input, textarea, select {
        border: 2px solid currentColor;
    }
    
    .card, .glass-box-content {
        border: 1px solid currentColor;
    }
}

/* بهبودهای dark mode */
@media (prefers-color-scheme: dark) {
    .mobile {
        --text-color: #ffffff;
        --bg-color: #1a1a1a;
        --card-bg: #2d2d2d;
        --border-color: #404040;
    }
    
    .mobile body {
        background-color: var(--bg-color);
        color: var(--text-color);
    }
    
    .mobile .card, .mobile .glass-box-content, .mobile .review-card {
        background-color: var(--card-bg);
        border-color: var(--border-color);
    }
    
    .mobile input, .mobile textarea, .mobile select {
        background-color: var(--card-bg);
        border-color: var(--border-color);
        color: var(--text-color);
    }
    
    .mobile .navbar {
        background: rgba(26, 26, 26, 0.9);
        border-bottom-color: var(--border-color);
    }
    
    .mobile .navbar.scrolled {
        background: rgba(0, 0, 0, 0.9);
    }
}

            /* Enhanced Features Section */
            .features-title {
                font-size: 2.5rem;
                font-weight: 700;
                color: #ffffff;
                margin-bottom: 1rem;
                text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            }

            .features-subtitle {
                font-size: 1.1rem;
                color: #666;
                line-height: 1.6;
                margin-bottom: 0;
            }

            .feature-button {
                display: inline-flex;
                align-items: center;
                gap: 0.5rem;
                padding: 0.8rem 1.5rem;
                background: linear-gradient(135deg, #667eea, #764ba2);
                color: white;
                text-decoration: none;
                border-radius: 25px;
                font-weight: 600;
                transition: all 0.3s ease;
                border: none;
                font-size: 0.9rem;
            }

            .feature-button:hover {
                transform: translateY(-2px);
                box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
                color: white;
                text-decoration: none;
            }

            .feature-button i {
                font-size: 0.8rem;
                transition: transform 0.3s ease;
            }

            .feature-button:hover i {
                transform: translateX(-3px);
            }

            /* Responsive Design */
            @media (max-width: 768px) {
                .features-title {
                    font-size: 2rem;
                }

                .features-subtitle {
                    font-size: 1rem;
                }

                .feature-button {
                    padding: 0.7rem 1.2rem;
                    font-size: 0.85rem;
                }
            }

            @media (max-width: 480px) {
                .features-title {
                    font-size: 1.8rem;
                }

                .features-subtitle {
                    font-size: 0.95rem;
                }

                .feature-button {
                    padding: 0.6rem 1rem;
                    font-size: 0.8rem;
                }
            }
