:root {
    --primary: #4cc9f0;
    --secondary: #4361ee;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --dark-accent: #0f3460;
    --text-light: #e0e0e0;
    --text-white: #ffffff;
    --success: #4ade80;
    --warning: #f59e0b;
    --danger: #ef4444;
    --card-bg: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 50%, var(--dark-accent) 100%);
    color: var(--text-white);
    line-height: 1.8;
    direction: rtl;
    min-height: 100%;
    width: 100%;
    display: block;
    transform-origin: top center;
    transition: transform 0.3s ease;
    padding: 20px;
    max-width: 100%;
    overflow: auto;
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    width: 32px; /* Fixed size for logo */
    height: 32px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-logo span {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
    font-size: 14px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.5);
}

.nav-btn.eldenx {
    background: linear-gradient(to right, #f59e0b, #f97316);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.nav-btn.eldenx:hover {
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 20px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo img {
    width: 50px; /* Fixed size for logo */
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
}

.logo i {
    font-size: 36px;
    color: var(--primary);
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.tagline:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* Navigation */
nav {
    text-align: center;
    margin: 30px 0;
}

.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(76, 201, 240, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 201, 240, 0.5);
}

/* Accordion Styles */
#tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.accordion {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    outline: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.accordion:hover {
    background: rgba(76, 201, 240, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.accordion i {
    transition: transform 0.3s ease;
}

.accordion.active i {
    transform: rotate(180deg);
}

.panel {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 800px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-radius: 0 0 12px 12px;
    color: var(--text-light);
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.panel-content {
    padding: 20px;
}

ul {
    padding-right: 20px;
}

li {
    margin-bottom: 10px;
    position: relative;
}

li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
}

/* Footer */
.footer {
    margin-top: 60px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    right: 10%;
    animation-duration: 20s;
}

.floating-element:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 80%;
    animation-duration: 25s;
}

.floating-element:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    right: 20%;
    animation-duration: 15s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .top-nav {
    padding: 12px 15px;
    }
    
    .nav-logo span {
    font-size: 16px;
    }
    
    .nav-logo img {
    width: 28px;
    height: 28px;
    }
    
    .nav-btn {
    padding: 8px 15px;
    font-size: 13px;
    }
    
    .logo h1 {
    font-size: 28px;
    }
    
    .tagline {
    font-size: 16px;
    }
    
    .accordion {
    font-size: 16px;
    padding: 15px;
    }
    
    .panel-content {
    padding: 15px;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
    gap: 8px;
    }
    
    .nav-btn {
    padding: 6px 12px;
    font-size: 12px;
    }
    
    .nav-btn span {
    display: none;
    }
    
    .nav-btn i {
    margin: 0;
    }
}
