:root {
--primary: #00d4ff;
--secondary: #7b2cbf;
--accent: #ff006e;
--glass-bg: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--glass-highlight: rgba(255, 255, 255, 0.2);
--text-primary: #ffffff;
--text-secondary: rgba(255, 255, 255, 0.7);
--dark-bg: #0a0a0f;
--card-bg: rgba(20, 20, 35, 0.6);
}

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

.cursor {
width: 24px; height: 24px;
border: 2px solid var(--primary);
border-radius: 50%;
position: fixed; pointer-events: none;
z-index: 9999;
transition: transform 0.1s ease;
mix-blend-mode: difference;
}

.cursor-dot {
width: 6px; height: 6px;
background: var(--accent);
border-radius: 50%;
position: fixed; pointer-events: none;
z-index: 9999;
}

.cursor.hover { transform: scale(2); background: rgba(0, 212, 255, 0.2); }

body {
background-color: var(--dark-bg);
min-height: 100vh;
font-family: 'Poppins', sans-serif;
color: var(--text-primary);
overflow-x: hidden;
}

.bg-animation {
position: fixed; top: 0; left: 0;
width: 100%; height: 100%; z-index: -1;
background:
radial-gradient(ellipse at 20% 20%, rgba(123, 44, 191, 0.15) 0%, transparent 50%),
radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
radial-gradient(ellipse at 50% 50%, rgba(255, 0, 110, 0.05) 0%, transparent 70%);
}

.custom-background {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: -2;
background-image: url('http://elitegame.ir/background2');
filter: blur(6px);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.floating-shapes {
position: fixed; width: 100%; height: 100%;
overflow: hidden; z-index: -1;
}

.shape {
position: absolute; border-radius: 50%;
filter: blur(60px);
animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) { width: 400px; height: 400px; background: rgba(0, 212, 255, 0.15); top: -100px; left: -100px; }
.shape:nth-child(2) { width: 300px; height: 300px; background: rgba(123, 44, 191, 0.15); bottom: -50px; right: -50px; animation-delay: -5s; }
.shape:nth-child(3) { width: 250px; height: 250px; background: rgba(255, 0, 110, 0.1); top: 50%; left: 50%; animation-delay: -10s; }

@keyframes float {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(50px, 50px) rotate(90deg); }
50% { transform: translate(0, 100px) rotate(180deg); }
75% { transform: translate(-50px, 50px) rotate(270deg); }
}

.particles { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.particle { position: absolute; width: 4px; height: 4px; background: var(--primary); border-radius: 50%; animation: particle-float 15s infinite; opacity: 0.6; }

@keyframes particle-float {
0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
10% { opacity: 0.6; }
90% { opacity: 0.6; }
100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

.liquid {
position: absolute; bottom: 0; left: 0;
width: 100%; height: 100px;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%2300d4ff" fill-opacity="0.1" d="M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
background-size: cover;
animation: wave 10s linear infinite;
}

@keyframes wave { 0% { background-position-x: 0; } 100% { background-position-x: 1440px; } }

/* ============================================
📌 Navigation
============================================ */
.navbar {
position: fixed; top: 0; left: 0; right: 0;
padding: 1rem 2rem;
display: flex; justify-content: space-between; align-items: center;
background: var(--glass-bg);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--glass-border);
z-index: 1000;
}

.logo {
font-family: 'Orbitron', sans-serif;
font-size: 1.5rem; font-weight: 800;
background: linear-gradient(135deg, var(--primary), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: flex; align-items: center; gap: 0.5rem;
}

.logo-icon { font-size: 1.3rem; -webkit-text-fill-color: var(--primary); }

.nav-links { display: flex; gap: 2rem; list-style: none; }

.nav-links a {
color: var(--text-secondary);
text-decoration: none; font-weight: 500;
padding: 0.5rem 1rem; border-radius: 12px;
transition: all 0.3s ease;
display: flex; align-items: center; gap: 0.5rem;
}

.nav-links a:hover {
color: white;
transform: translateY(-2px);
background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
}

.nav-actions {
display: flex; align-items: center; gap: 1rem;
}

/* ============================================
🌐 Language Toggle
============================================ */
/* ============================================
🌐 Language Switcher
============================================ */
.lang-switcher {
position: relative;
}

.lang-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 25px;
color: var(--text-secondary);
font-size: 0.85rem;
font-weight: 600;
cursor: none;
transition: all 0.3s ease;
}

.lang-btn:hover {
color: white;
border-color: var(--primary);
background: rgba(0, 212, 255, 0.1);
}

.lang-icon {
font-size: 1rem;
}

.lang-current {
font-weight: 700;
}

.lang-menu {
position: absolute;
top: calc(100% + 8px);
right: 0;
background: var(--card-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 12px;
overflow: hidden;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: all 0.3s ease;
z-index: 1000;
min-width: 130px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.lang-menu.show {
opacity: 1;
visibility: visible;
transform: translateY(0);
}

.lang-option {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
padding: 10px 14px;
background: none;
border: none;
color: var(--text-secondary);
text-align: left;
cursor: none;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.2s ease;
}

.lang-option:hover {
background: rgba(0, 212, 255, 0.15);
color: white;
}

.lang-option.active {
color: var(--primary);
background: rgba(0, 212, 255, 0.1);
}

/* ============================================
🔄 RTL Support for Language Switcher
============================================ */
[dir="rtl"] .lang-menu {
right: auto;
left: 0;
}

[dir="rtl"] .lang-option {
text-align: right;
flex-direction: row-reverse;
}

[dir="rtl"] .lang-btn {
flex-direction: row-reverse;
}

/* ============================================
🔴 Server Status
============================================ */
.server-status {
display: flex; align-items: center; gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 20px;
font-size: 0.85rem;
}

.status-dot {
width: 8px; height: 8px;
border-radius: 50%;
background: #ff4757;
box-shadow: 0 0 10px #ff4757;
animation: pulse 2s infinite;
}

.status-dot.online { background: #00ff88; box-shadow: 0 0 10px #00ff88; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ============================================
🎯 Hero Section
============================================ */
.hero {
min-height: 100vh;
display: flex; flex-direction: column;
justify-content: center; align-items: center;
text-align: center;
padding: 6rem 2rem 4rem;
position: relative;
}

.hero-badge {
display: inline-flex; align-items: center; gap: 0.5rem;
padding: 0.5rem 1.5rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 50px;
font-size: 0.9rem;
margin-bottom: 2rem;
}

.hero h1 {
font-family: 'Orbitron', sans-serif;
font-size: clamp(2.5rem, 8vw, 5rem);
font-weight: 900;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
from { filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5)); }
to { filter: drop-shadow(0 0 40px rgba(255, 0, 110, 0.5)); }
}

.hero p { font-size: 1.25rem; color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.8; }

/* ============================================
🌐 Server IP Container
============================================ */
.server-ip-container {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 2rem;
}

.ip-box {
display: flex; align-items: center; gap: 1rem;
padding: 1rem 1.5rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 16px;
backdrop-filter: blur(10px);
}

.ip-icon {
width: 45px; height: 45px;
display: flex; align-items: center; justify-content: center;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 12px;
font-size: 1.2rem;
}

.ip-info { display: flex; flex-direction: column; align-items: flex-start; }

.ip-label { font-size: 0.75rem; color: var(--text-secondary); }

.ip-address {
font-family: 'Orbitron', sans-serif;
font-size: 1.1rem; font-weight: 600;
color: var(--primary);
}

.copy-btn {
display: flex; align-items: center; gap: 0.5rem;
padding: 1rem 1.5rem;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border: none; border-radius: 16px;
color: white; font-weight: 600; font-size: 1rem;
cursor: none; transition: all 0.3s ease;
position: relative; overflow: hidden;
}

.copy-btn::before {
content: ''; position: absolute; inset: 0;
background: linear-gradient(135deg, var(--accent), var(--secondary));
opacity: 0; transition: opacity 0.3s ease;
}

.copy-btn:hover {
transform: translateY(-3px);
box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.copy-btn:hover::before { opacity: 1; }

.copy-icon, #copyText { position: relative; z-index: 1; }

.copy-btn.copied { background: #00ff88; }
.copy-btn.copied::before { background: #00cc6a; opacity: 1; }

/* ============================================
📌 Version Badge
============================================ */
.version-badge {
display: inline-flex; align-items: center; gap: 0.5rem;
padding: 0.5rem 1rem;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 12px;
font-size: 0.85rem;
color: var(--text-secondary);
}

/* ============================================
🎮 Hero Visual
============================================ */
.hero-visual {
position: absolute; top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 100%; height: 100%;
pointer-events: none; z-index: 1;
}

.floating-blocks { position: absolute; width: 100%; height: 100%; }

.block {
position: absolute; font-size: 3rem;
opacity: 0.1;
animation: floatBlock 10s infinite ease-in-out;
}

.block-1 { top: 20%; left: 10%; animation-delay: 0s; }
.block-2 { top: 30%; right: 15%; animation-delay: -2s; }
.block-3 { bottom: 30%; left: 20%; animation-delay: -4s; }
.block-4 { bottom: 25%; right: 10%; animation-delay: -6s; }
.block-5 { top: 50%; left: 5%; animation-delay: -8s; }

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

/* ============================================
📦 Sections
============================================ */
.section { padding: 5rem 2rem; max-width: 1400px; margin: 0 auto; }

.section-title {
font-family: 'Orbitron', sans-serif;
font-size: 2.5rem; font-weight: 700;
margin-bottom: 3rem; text-align: center;
position: relative;
}

.section-title::after {
content: ''; position: absolute;
bottom: -10px; left: 50%;
transform: translateX(-50%);
width: 100px; height: 4px;
background: linear-gradient(90deg, var(--primary), var(--accent));
border-radius: 2px;
}

/* ============================================
📋 About Section
============================================ */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

.about-card {
background: var(--card-bg);
backdrop-filter: blur(20px);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 2rem;
text-align: center;
transition: all 0.4s ease;
}

.about-card:hover {
transform: translateY(-10px);
border-color: var(--primary);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

.about-icon {
width: 70px; height: 70px;
display: flex; align-items: center; justify-content: center;
background: linear-gradient(135deg, var(--primary), var(--secondary));
border-radius: 50%;
margin: 0 auto 1.5rem;
font-size: 1.8rem;
}

.about-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--text-primary); }

.about-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ============================================
🦶 Footer
============================================ */
footer {
padding: 3rem 2rem; text-align: center;
background: var(--glass-bg);
backdrop-filter: blur(20px);
border-top: 1px solid var(--glass-border);
margin-top: 4rem;
}

.footer-content { max-width: 600px; margin: 0 auto; }

.footer-logo {
font-family: 'Orbitron', sans-serif;
font-size: 1.5rem; font-weight: 800;
background: linear-gradient(135deg, var(--primary), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 1rem;
display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}

.footer-text { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.5rem; }

.footer-links { display: flex; justify-content: center; gap: 1rem; }

.footer-links a {
width: 45px; height: 45px;
display: flex; align-items: center; justify-content: center;
background: var(--glass-bg);
border: 1px solid var(--glass-border);
border-radius: 50%;
color: var(--text-secondary);
font-size: 1.2rem;
transition: all 0.3s ease;
text-decoration: none;
}

.footer-links a:hover {
background: var(--primary);
border-color: var(--primary);
color: white;
transform: translateY(-5px);
}

/* ============================================
📱 Responsive
============================================ */
@media (max-width: 768px) {
.navbar { padding: 1rem; }
.nav-links { display: none; }
.hero h1 { font-size: 2.5rem; }
.hero p { font-size: 1rem; }
.server-ip-container { flex-direction: column; }
.ip-box { width: 100%; justify-content: center; }
.copy-btn { width: 100%; justify-content: center; }
.about-grid { grid-template-columns: 1fr; }
}

/* ============================================
🎨 Scrollbar
============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--primary), var(--secondary)); border-radius: 4px; }

/* ============================================
🔄 RTL Support
============================================ */
[dir="rtl"] body { direction: rtl; }

[dir="rtl"] .nav-links { flex-direction: row-reverse; }

[dir="rtl"] .nav-links a { flex-direction: row-reverse; }

[dir="rtl"] .nav-actions { flex-direction: row-reverse; }

[dir="rtl"] .lang-toggle { flex-direction: row-reverse; }

[dir="rtl"] .hero-badge { flex-direction: row-reverse; }

[dir="rtl"] .server-ip-container { flex-direction: row-reverse; }

[dir="rtl"] .ip-box { flex-direction: row-reverse; }

[dir="rtl"] .ip-info { align-items: flex-end; text-align: right; }

[dir="rtl"] .copy-btn { flex-direction: row-reverse; }

[dir="rtl"] .version-badge { flex-direction: row-reverse; }

[dir="rtl"] .section-title { text-align: center; }

[dir="rtl"] .about-card { text-align: center; }

[dir="rtl"] .about-icon { margin: 0 auto 1.5rem; }

[dir="rtl"] .footer-content { flex-direction: column; }

[dir="rtl"] .footer-logo { justify-content: center; }

[dir="rtl"] .footer-links { flex-direction: row-reverse; }

[dir="rtl"] .block-1 { left: auto; right: 10%; }
[dir="rtl"] .block-2 { right: auto; left: 15%; }
[dir="rtl"] .block-3 { left: auto; right: 20%; }
[dir="rtl"] .block-4 { right: auto; left: 10%; }
[dir="rtl"] .block-5 { left: auto; right: 5%; }

/* ============================================
🔔 Floating Notification Horn (Added)
============================================ */
.notification-horn {
    position: fixed;
    top: 90px; /* Positioned just below the navbar */
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: none;
    z-index: 1500;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s ease;
    animation: floatHorn 3s ease-in-out infinite;
}

.notification-horn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.6);
}

.horn-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    z-index: 2;
    pointer-events: none;
}

/* Pulsing effect behind the horn */
.horn-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulseRing 2s infinite;
    z-index: 1;
    pointer-events: none;
}

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

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

/* ============================================
📢 Notification Modal (Added)
============================================ */
.notification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-content {
    background: rgba(20, 20, 35, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: none;
    transition: color 0.2s;
    padding: 5px;
    line-height: 1;
}

.modal-close:hover {
    color: var(--accent);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-icon {
    font-size: 2rem;
}

.modal-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

.modal-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.server-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.server-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    cursor: none;
    transition: all 0.2s ease;
}

.server-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: translateX(5px);
}

.server-info {
    display: flex;
    flex-direction: column;
}

.server-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 600;
}

.server-ip {
    font-size: 0.8rem;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.copy-hint {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.server-item:hover .copy-hint {
    opacity: 1;
}

.server-item.unstable {
    border-color: rgba(255, 255, 255, 0.05);
    opacity: 0.7;
}

.server-item.unstable .server-ip {
    color: var(--text-secondary);
}

.server-item.unstable:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.btn-dismiss {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: none;
    transition: transform 0.2s;
    font-size: 0.9rem;
}

.btn-dismiss:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* RTL Support for Modal */
[dir="rtl"] .modal-close {
    right: auto;
    left: 15px;
}

[dir="rtl"] .server-item:hover {
    transform: translateX(-5px);
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    .notification-horn {
        top: 80px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .horn-icon {
        font-size: 1.5rem;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        max-height: 80vh;
    }

    .modal-header h3 {
        font-size: 1rem;
    }
    
    .modal-desc {
        font-size: 0.85rem;
    }
    
    .server-item {
        padding: 0.6rem 0.8rem;
    }
    
    .server-name {
        font-size: 0.8rem;
    }
    
    .server-ip {
        font-size: 0.75rem;
    }
}

/* RTL Adjustments for Notification */
[dir="rtl"] .notification-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .notification-text {
    text-align: right;
}

[dir="rtl"] .notification-close {
    right: auto;
    left: 1.5rem;
}

/* Mobile Adjustments for Notification */
  

