:root {
    --primary-color: #00ff87;
    --primary-color-dark: #00cc6e;
    --primary-color-light: #33ff9e;
    --primary-gradient: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    --accent-color: #00ff87;
    --accent-hover: #33ff9e;
    --background-color: #0a0e17;
    --background-darker: #070b12;
    --background-lighter: #131a29;
    --card-bg: rgba(19, 26, 41, 0.65);
    --card-hover-bg: rgba(25, 34, 53, 0.8);
    --modal-bg: rgba(12, 16, 26, 0.98);
    --text-color: #ffffff;
    --text-color-secondary: #a0a9c0;
    --success-color: #00ff87;
    --warning-color: #ffb700;
    --error-color: #ff3b5c;
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-family: 'Inter', sans-serif;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.5);
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --glass-bg: rgba(19, 26, 41, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 15px rgba(0, 255, 135, 0.6);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 135, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 239, 255, 0.08) 0%, transparent 50%);
    background-size: 100% 100%;
    background-attachment: fixed;
}

body, html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

section {
    width: 100%;
    overflow-x: hidden;
}

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

@media (min-width: 1400px) {
    .container {
        max-width: 90%;
    }
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 255, 135, 0.2);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        letter-spacing: 0;
    }
}

header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(10, 14, 23, 0.8);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem; /* Increased gap for more noticeable spacing */
}

nav ul li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-medium);
}

nav ul li a:hover::after {
    width: 100%;
    left: 0;
}

/* Combined header button styles */
.connect-wallet-btn, .purchase-access-btn, .admin-btn, .audio-toggle-btn, .launch-app-btn, .reward-btn, .refer-drop-btn {
    height: 38px;
    padding: 0 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-family); /* Ensure consistent font */
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    outline: none;
    min-width: 110px;
    text-align: center;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.connect-wallet-btn {
    background-color: #2C2E37;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.connect-wallet-btn.connected {
    font-size: 0.85rem;
    padding: 0 0.8rem;
    background-color: rgba(0, 255, 135, 0.08);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(0, 255, 135, 0.15);
}

.connect-wallet-btn:hover {
    background-color: #3A3C44;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.connect-wallet-btn.connected:hover {
    background-color: rgba(0, 255, 135, 0.12);
    box-shadow: 0 4px 10px rgba(0, 255, 135, 0.25);
    transform: translateY(-2px);
}

.connect-wallet-btn:active,
.connect-wallet-btn.connected:active {
    transform: translateY(0);
}

.launch-app-btn {
    background-color: var(--accent-color);
    color: var(--background-darker);
    transition: all var(--transition-fast);
}

.launch-app-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.launch-app-btn:disabled {
    background-color: rgba(160, 169, 192, 0.2);
    color: var(--text-color-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
    border: 1px solid rgba(160, 169, 192, 0.3);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.1), transparent 60%);
    z-index: -1;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.hero-buttons .cta-button,
.hero-buttons .secondary-button {
    min-width: 180px;
    text-align: center;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button, .secondary-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--background-darker);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    transition: all var(--transition-medium);
    z-index: -1;
}

.cta-button:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:disabled {
    background-color: rgba(160, 169, 192, 0.2);
    color: var(--text-color-secondary);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-button {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.secondary-button:hover {
    background-color: rgba(0, 255, 135, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.dashboard-preview {
    width: 100%;
    height: 350px;
    background: rgba(19, 26, 41, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.dashboard-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.dashboard-image {
    width: 100%;
    height: 100%;
    object-fit: stretch;
    position: absolute;
    top: 0;
    left: 0;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 255, 135, 0.05) 45%, transparent 50%),
        linear-gradient(-45deg, transparent 40%, rgba(96, 239, 255, 0.05) 45%, transparent 50%);
    /* Performance optimization: Disabled heavy background animation */
    /* animation: gradientMove 8s linear infinite; */
}

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

.features-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(0, 255, 135, 0.05), transparent 60%);
    z-index: -1;
}

.features-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: var(--radius-md);
    padding: 2.5rem 3rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.8;
    transition: opacity var(--transition-medium);
    z-index: 1;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.icon-container {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 255, 135, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
    align-self: center;
    transition: all var(--transition-medium);
    border: 1px solid rgba(0, 255, 135, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.3);
    animation: pulse-subtle 3s infinite ease-in-out;
}

.icon-container i {
    font-size: 2.2rem;
    color: var(--accent-color);
    transition: all var(--transition-medium);
}

.feature-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    text-align: center;
    width: 100%;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.5px;
}

.feature-card p {
    color: var(--text-color-secondary);
    line-height: 1.8;
    text-align: left;
    width: 100%;
    font-size: 1.05rem;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(19, 26, 41, 0.4);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 135, 0.05);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.feature-card br {
    display: block;
    content: "";
    margin-top: 0.8rem;
}

.feature-card p strong + br + br {
    display: none;
}

/* استایل برای سرتیتر‌های داخل متن توضیحات */
.feature-card p strong, 
.feature-card p b {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(90deg, rgba(0, 255, 135, 0.9), rgba(96, 239, 255, 0.9));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.2rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(0, 255, 135, 0.15);
    padding-bottom: 0.7rem;
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
}

.feature-card p strong::before,
.feature-card p b::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.4em;
    background: var(--primary-gradient);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.6);
}

/* تعریف انیمیشن پالس آرام برای آیکون - Optimized for performance */
@keyframes pulse-subtle {
    0% {
        box-shadow: 0 0 8px rgba(0, 255, 135, 0.15);
    }
    50% {
        box-shadow: 0 0 12px rgba(0, 255, 135, 0.25);
    }
    100% {
        box-shadow: 0 0 8px rgba(0, 255, 135, 0.15);
    }
}

.learn-more-section {
    padding: 6rem 0;
    background-color: var(--background-darker);
    position: relative;
    overflow: hidden;
}

.learn-more-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(96, 239, 255, 0.05), transparent 60%);
    z-index: 0;
}

.learn-more-section .container {
    position: relative;
    z-index: 1;
}

.platform-overview, .how-it-works, .key-features, .earn-with-referrals {
    margin-bottom: 4rem;
}

.earn-with-referrals {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

.platform-overview h3, .how-it-works h3, .key-features h3, .earn-with-referrals h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.platform-overview p {
    font-size: 1.1rem;
    color: var(--text-color-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* New Platform Overview Styles */
.platform-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.platform-step {
    background: rgba(19, 26, 41, 0.7);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.platform-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.07), transparent 70%);
    z-index: -1;
}

.platform-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.platform-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
}

.platform-step:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.step-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(0, 255, 135, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all var(--transition-medium);
    border: 1px solid rgba(0, 255, 135, 0.2);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
    animation: pulse-subtle 4s infinite ease-in-out;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.platform-step:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 30px rgba(0, 255, 135, 0.5);
}

.platform-step:hover .step-icon::before {
    opacity: 0.2;
}

.platform-step:nth-child(2):hover .step-icon {
    transform: scale(1.1) rotate(-5deg);
}

.platform-step:nth-child(3):hover .step-icon {
    transform: scale(1.1) rotate(5deg);
}

.step-icon i {
    font-size: 2.2rem;
    color: var(--accent-color);
    transition: all var(--transition-medium);
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.platform-step:hover .step-icon i {
    transform: scale(1.2);
    color: #ffffff;
}

.platform-step h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all var(--transition-medium);
    letter-spacing: 0.5px;
}

.platform-step:hover h4 {
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.platform-step p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    transition: all var(--transition-medium);
}

.platform-step:hover p {
    color: var(--text-color);
}

/* Add decoration elements */
.platform-step:nth-child(1)::before {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(0, 255, 135, 0.15)' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
}

/* Enhanced header line */
.header-line {
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
}

.header-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shimmer 2.5s infinite;
}

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

.section-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    max-width: 800px;
    margin: 0.8rem auto 1.5rem;
    line-height: 1.4;
    position: relative;
    text-align: center;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--accent-color);
    letter-spacing: 0.5px;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-gradient);
    box-shadow: 0 0 8px rgba(0, 255, 135, 0.4);
}

@keyframes subtitleGlow {
    0% {
        box-shadow: 0 0 6px rgba(0, 255, 135, 0.3);
    }
    50% {
        box-shadow: 0 0 12px rgba(0, 255, 135, 0.5);
    }
    100% {
        box-shadow: 0 0 6px rgba(0, 255, 135, 0.3);
    }
}

/* How It Works Circles */
.how-it-works-circles {
    height: 300px;
    margin-bottom: 1rem;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.graphic-element {
    position: relative;
    overflow: visible;
}

.circle {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 255, 135, 0.4);
    transform-style: preserve-3d;
    backdrop-filter: blur(5px);
    background-image: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
}

.how-it-works-circles .circle:nth-child(1) {
    width: 90px;
    height: 90px;
    top: 60px;
    left: calc(50% - 130px);
    background: linear-gradient(135deg, #00523c, #007e5c);
    opacity: 0.8;
    animation: float-3d-1 8s ease-in-out infinite;
    animation-delay: 0s;
    transform: translateZ(20px) rotateX(10deg) rotateY(-10deg);
    border: 1px solid rgba(0, 255, 135, 0.3);
}

.how-it-works-circles .circle:nth-child(2) {
    width: 140px;
    height: 140px;
    top: 40px;
    left: calc(50% - 70px); 
    background: linear-gradient(135deg, #006647, #009167);
    opacity: 0.8;
    animation: float-3d-2 10s ease-in-out infinite;
    animation-delay: 2s;
    transform: translateZ(40px) rotateX(5deg) rotateY(5deg);
    border: 1px solid rgba(0, 255, 135, 0.3);
}

.how-it-works-circles .circle:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 80px;
    left: calc(50% + 70px);
    background: linear-gradient(135deg, #004d35, #00774f);
    opacity: 0.8;
    animation: float-3d-3 6s ease-in-out infinite;
    animation-delay: 4s;
    transform: translateZ(60px) rotateX(-15deg) rotateY(10deg);
    border: 1px solid rgba(0, 255, 135, 0.3);
}

@keyframes float-3d-1 {
    0% {
        transform: translateZ(20px) rotateX(10deg) rotateY(-10deg);
        box-shadow: 0 10px 30px rgba(0, 255, 135, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translateZ(30px) translateY(-15px) rotateX(15deg) rotateY(-15deg);
        box-shadow: 0 20px 40px rgba(0, 255, 135, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: translateZ(20px) rotateX(10deg) rotateY(-10deg);
        box-shadow: 0 10px 30px rgba(0, 255, 135, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

@keyframes float-3d-2 {
    0% {
        transform: translateZ(40px) rotateX(5deg) rotateY(5deg);
        box-shadow: 0 15px 35px rgba(0, 255, 135, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translateZ(50px) translateY(-20px) rotateX(10deg) rotateY(10deg);
        box-shadow: 0 25px 45px rgba(0, 255, 135, 0.6), inset 0 0 25px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: translateZ(40px) rotateX(5deg) rotateY(5deg);
        box-shadow: 0 15px 35px rgba(0, 255, 135, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    }
}

@keyframes float-3d-3 {
    0% {
        transform: translateZ(60px) rotateX(-15deg) rotateY(10deg);
        box-shadow: 0 20px 40px rgba(0, 255, 135, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translateZ(70px) translateY(-25px) rotateX(-20deg) rotateY(15deg);
        box-shadow: 0 30px 50px rgba(0, 255, 135, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
    100% {
        transform: translateZ(60px) rotateX(-15deg) rotateY(10deg);
        box-shadow: 0 20px 40px rgba(0, 255, 135, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.2);
    }
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    .platform-steps {
        grid-template-columns: 1fr;
    }
    
    .platform-step {
        padding: 2rem;
    }
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-left: 10rem;
    margin-bottom: 2rem;
}

.step-number {
    position: absolute;
    left: 100px;
    top: 1rem;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2.5rem;
    color: var(--background-darker);
    box-shadow: 
        0 0 20px rgba(0, 255, 135, 0.8),
        0 0 40px rgba(0, 255, 135, 0.4),
        0 8px 16px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite alternate;
    z-index: 2;
    overflow: visible;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse-glow 3s infinite ease-in-out;
}

.step-number:hover {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 
        0 0 30px rgba(0, 255, 135, 1),
        0 0 60px rgba(0, 255, 135, 0.6),
        0 0 90px rgba(0, 255, 135, 0.3),
        0 12px 24px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.step-item:hover .step-number {
    animation-duration: 1s;
}

.step-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
}

.step-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
    transition: all 0.3s ease;
}

.step-content p {
    color: var(--text-color-secondary);
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.step-item:hover .step-content h4 {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
}

.step-item:hover .step-content p {
    color: var(--text-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: var(--card-bg);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-medium);
    border: 1px solid var(--glass-border);
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(0, 255, 135, 0.2);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.feature-item p {
    color: var(--text-color-secondary);
    font-size: 0.95rem;
}

.disclaimer-box {
    background: linear-gradient(145deg, rgba(0, 255, 135, 0.08), rgba(19, 26, 41, 0.85), rgba(96, 239, 255, 0.08));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-top: 3rem;
    border: 1px solid rgba(0, 255, 135, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 255, 135, 0.05);
    position: relative;
    overflow: hidden;
}

.disclaimer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--warning-color), var(--primary-color));
    opacity: 0.7;
}

.disclaimer-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.3);
    letter-spacing: 0.5px;
    animation: glow-pulse 3s infinite;
}

.disclaimer-box h4 i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

@keyframes glow-pulse {
    0% {
        text-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
    }
    50% {
        text-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
    }
}

.disclaimer-box p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(0, 255, 135, 0.3);
    margin-bottom: 1rem;
}

.disclaimer-box strong {
    color: #60efff;
    font-weight: 600;
}

/* Referral Section Styles */
.earn-with-referrals {
    padding: 2rem 0;
    background: linear-gradient(145deg, rgba(19, 26, 41, 0.85), rgba(13, 17, 23, 0.95));
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    border: 1px solid rgba(0, 255, 135, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.earn-with-referrals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), #60efff);
    opacity: 0.8;
}

.earn-with-referrals::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.referral-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.referral-item {
    background: rgba(19, 26, 41, 0.6);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.referral-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #60efff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.referral-item:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 135, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.referral-item:hover::before {
    opacity: 1;
}

.referral-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(0, 255, 135, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 255, 135, 0.2);
    transition: all var(--transition-medium);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
}

.referral-item:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), #60efff);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.4);
}

.referral-item h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.referral-item:hover h4 {
    color: var(--primary-color);
}

.referral-item p {
    color: var(--text-color-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.referral-cta {
    margin-top: 2.5rem;
    text-align: center;
    padding: 1rem;
    background: rgba(0, 255, 135, 0.08);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 135, 0.15);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.referral-cta p {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.5;
}

/* User Profile Referral Styles */
.referral-link-container {
    display: flex;
    background: rgba(19, 26, 41, 0.6);
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
}

.profile-input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    color: var(--text-color);
    background: transparent;
    border: none;
    font-size: 0.9rem;
    font-family: monospace;
}

.profile-input:focus {
    outline: none;
}

.copy-btn {
    background: rgba(0, 255, 135, 0.1);
    border: none;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(0, 255, 135, 0.2);
}

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

.referral-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    background: rgba(0, 255, 135, 0.05);
    padding: 1.2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 255, 135, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-label {
    color: var(--text-color-secondary);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    display: block;
}

/* Admin panel referral tab styles */
.referral-level-config {
    background: rgba(19, 26, 41, 0.5);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 135, 0.1);
    margin-bottom: 1.5rem;
}

.referral-level-header {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.referrals-table, .withdrawals-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: rgba(19, 26, 41, 0.5);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.referrals-table th, .withdrawals-table th {
    background: rgba(0, 255, 135, 0.1);
    color: var(--text-color);
    font-weight: 600;
    text-align: left;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(0, 255, 135, 0.2);
}

.referrals-table td, .withdrawals-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color-secondary);
}

.referrals-table tr:last-child td, 
.withdrawals-table tr:last-child td {
    border-bottom: none;
}

.referrals-table tr:hover td, 
.withdrawals-table tr:hover td {
    background: rgba(0, 255, 135, 0.05);
    color: var(--text-color);
}

.no-data-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-color-secondary);
    font-style: italic;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
}

.profile-action-btn {
    background: linear-gradient(135deg, var(--primary-color), #60efff);
    color: var(--background-darker);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 255, 135, 0.3);
    margin: 0.5rem 0;
    width: 100%;
}

.profile-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 255, 135, 0.4);
}

.profile-action-btn:active {
    transform: translateY(0);
}

/* Table container with scrollable feature */
.table-container {
    margin: 1.5rem 0;
    overflow-x: auto;
    background: rgba(19, 26, 41, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: 300px;
    overflow-y: auto;
}

.table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.table-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 135, 0.3);
    border-radius: 10px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 135, 0.5);
}

.contact-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom right, rgba(0, 255, 135, 0.05), transparent 60%);
    z-index: -1;
}

.contact-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.contact-content {
    flex: 1;
    max-width: 600px;
}

.contact-content p {
    color: var(--text-color-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(19, 26, 41, 0.7);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.07), transparent 70%);
    z-index: -1;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
    background: linear-gradient(145deg, rgba(0, 255, 135, 0.15), rgba(19, 26, 41, 0.8), rgba(0, 255, 135, 0.08));
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    transition: all var(--transition-medium);
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.contact-card:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.contact-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all var(--transition-medium);
    letter-spacing: 0.5px;
}

.contact-card:hover h3 {
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.contact-card p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition-medium);
}

.contact-card:hover p {
    color: var(--text-color);
}

.contact-link {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: rgba(0, 255, 135, 0.1);
    color: var(--accent-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
    border: 1px solid rgba(0, 255, 135, 0.2);
    min-width: 120px;
    text-align: center;
}

.contact-link:hover {
    background-color: rgba(0, 255, 135, 0.25);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
    transform: translateY(-3px);
}

.bubble-animation {
    flex: 1;
    max-width: 300px;
    height: 300px;
    position: relative;
}

.bubble {
    position: absolute;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.1;
    animation: bubble-float 8s infinite ease-in-out;
}

.bubble:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 30%;
    animation-delay: 2s;
}

.bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 60%;
    animation-delay: 4s;
}

.bubble:nth-child(4) {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 70%;
    animation-delay: 6s;
}

.bubble:nth-child(5) {
    width: 50px;
    height: 50px;
    top: 10%;
    left: 40%;
    animation-delay: 8s;
}

@keyframes bubble-float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.footer {
    background-color: var(--background-darker);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-color-secondary);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background-color: rgba(0, 255, 135, 0.1);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.2);
}

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

.footer-links a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-links a.highlight {
    color: var(--accent-color);
    position: relative;
    font-weight: 600;
    padding-right: 0.5rem;
}

.footer-links a.highlight i {
    margin-left: 0.3rem;
    animation: pulse-subtle 3s infinite ease-in-out;
}

.copyright {
    margin-top: 1.5rem;
    color: var(--text-color-tertiary);
    font-size: 0.85rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: auto;
    justify-content: center;
    align-items: center;
}


.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 98vh;
    overflow-y: auto;
    background-color: #0f1420;
    border-radius: var(--radius-md);
    padding: 2rem 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 255, 135, 0.2);
    text-align: center;
    animation: modalFadeIn 0.3s ease-out;
}

/* Add scrollbar styling */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 135, 0.3);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 135, 0.5);
}

/* Modal Close Button Styling */
.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

.close:hover {
    color: var(--primary-color);
    background-color: rgba(0, 255, 135, 0.15);
    transform: rotate(90deg);
}

/* Modal Animation */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.modal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#walletStatus {
    padding: 0.8rem;
    margin: 1rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-color-secondary);
    font-size: 0.9rem;
}

.wallet-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-color);
}

.wallet-info p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-info i {
    color: var(--accent-color);
}

.reveal, .reveal-left, .reveal-right {
    opacity: 0;
    transition: all 0.4s ease-out; /* Faster animation */
}

.reveal.active {
    opacity: 1;
}

.reveal-left {
    transform: translateX(-20px); /* Reduced movement */
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    transform: translateX(20px); /* Reduced movement */
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 90%;
    }
    
    .contact-section .container {
        flex-direction: column;
    }
    
    .contact-content {
        max-width: 100%;
        text-align: center;
    }
    
    .bubble-animation {
        max-width: 250px;
        height: 250px;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        max-width: 90%;
    }
    
    .steps-container, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-overview h3, .how-it-works h3, .key-features h3 {
        font-size: 1.8rem;
    }
    
    nav ul {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .plan-selector {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.purchase-access-btn {
    background-color: var(--primary-color);
    color: #111111;
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(0, 255, 135, 0.25);
}

.purchase-access-btn:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 135, 0.35);
}

.purchase-access-btn:active {
    transform: translateY(0);
}

.purchase-access-cta {
    background: #00cc6e;
    position: relative;
    color: #070b12 !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    padding: 15px 30px !important;
    border-radius: 12px !important;
    border: none;
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
    transition: transform 0.3s, box-shadow 0.3s !important;
    margin-top: 15px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.purchase-access-cta:hover {
    background: var(--primary-color);
    transform: translateY(-3px) !important;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.7);
}

.purchase-note {
    font-size: 0.9rem;
    color: #9baacf;
    margin-top: 8px;
}

/* Wallet Status Styling */
.wallet-status {
    padding: 15px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    line-height: 1.5;
}

.wallet-status-error {
    background-color: #1c1f2a;
    border-left: 4px solid #d93954;
    border-radius: 0;
    color: #fff;
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: none;
    text-align: left;
    margin: 0;
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

.wallet-status-success {
    background-color: rgba(50, 205, 50, 0.15);
    border-left: 4px solid #32cd32;
    color: #32cd32;
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(50, 205, 50, 0.12);
    animation: fadeIn 0.3s ease-out;
}

.wallet-status-processing {
    background-color: rgba(70, 130, 180, 0.1);
    border-left: 4px solid #4682b4;
    color: #4682b4;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.wallet-status-processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 130, 180, 0.2), transparent);
    animation: loading 1.5s infinite;
}

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

/* Plan Selector Styles */
.plan-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.plan-option {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(19, 26, 41, 0.6);
}

.plan-option:hover {
    border-color: rgba(0, 255, 135, 0.4);
    background-color: rgba(0, 255, 135, 0.08);
}

.plan-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 255, 135, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.25);
}

.plan-option h4 {
    margin: 0 0 8px 0;
    color: var(--text-color);
    font-size: 1.05rem;
}

.plan-price {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 5px 0;
    color: var(--primary-color);
}

.plan-duration {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    margin: 5px 0 0 0;
}

/* Discount Options Styles */
.discount-options {
    margin: 20px 0;
    display: flex;
        flex-direction: column;
    gap: 12px;
}

.discount-option {
    margin-bottom: 0;
    background-color: rgba(19, 26, 41, 0.6);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.discount-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.discount-option input[type="checkbox"] {
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--primary-color);
    width: 18px;
    height: 18px;
}

.discount-option input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.92rem;
    background-color: rgba(19, 26, 41, 0.8);
    color: var(--text-color);
    display: none;
}

.discount-option input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

/* Expiry Info Styles */
.expiry-info {
    background-color: rgba(0, 150, 255, 0.15);
    border: 1px solid rgba(0, 150, 255, 0.25);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    text-align: center;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.expiry-info-title {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
}

.expiry-info-date {
        font-size: 1.1rem;
    font-weight: bold;
    color: #0096ff;
}

.expiry-info-time {
    font-size: 0.95rem;
    color: var(--text-color);
}

.expiry-info-remaining {
    font-size: 0.9rem;
    font-weight: 500;
    color: #0096ff;
    background: rgba(0, 150, 255, 0.08);
    padding: 4px 10px;
    border-radius: 12px;
    margin-top: 3px;
    display: inline-block;
    align-self: center;
}

/* Network Info Styles */
.network-info {
    background-color: rgba(0, 255, 135, 0.12);
    border: 1px solid rgba(0, 255, 135, 0.25);
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0 25px;
    font-size: 0.9rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.network-info i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Input Error Styles */
input.error {
    border: 1px solid #ff5555 !important;
    background-color: rgba(255, 85, 85, 0.05);
}

.coupon-error-message {
    color: #ff5555;
    font-size: 0.8rem;
    margin-top: 5px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Purchase Button Container with Discount Badge */
.purchase-btn-container {
    position: relative;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    padding: 10px 0;
}

/* Purchase Button in Modal */
#purchaseAccessBtn {
    background-color: #0f1420;
    color: #00ff87;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 50px;
    width: auto;
    min-width: 250px;
    margin: 0 auto;
    display: block;
    transition: all 0.3s ease;
    border: 2px solid #00ff87;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
    text-transform: none;
}

#purchaseAccessBtn:hover {
    background-color: rgba(0, 255, 135, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
    transform: translateY(-2px);
}

#purchaseAccessBtn:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
}

/* حذف افکت‌های اضافی */
#purchaseAccessBtn::before,
#purchaseAccessBtn::after {
    display: none;
}

@keyframes gentle-pulse {
    0% { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
    50% { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); }
    100% { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
}

/* Button Highlight Effect */
.highlight-button {
    animation: pulse 1s;
    box-shadow: 0 0 15px var(--primary-color);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0.5);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 255, 135, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 135, 0);
    }
}

/* Admin Button Style */
.admin-btn {
    background-color: rgba(255, 87, 51, 0.08);
    color: #FF7D51;
    border: 1px solid rgba(255, 87, 51, 0.2);
    box-shadow: 0 3px 8px rgba(255, 87, 51, 0.1);
}

.admin-btn::before {
    content: "🔒"; /* Lock emoji */
    font-size: 14px;
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.admin-btn:hover {
    background-color: rgba(255, 87, 51, 0.15);
    border: 1px solid rgba(255, 87, 51, 0.3);
    box-shadow: 0 4px 10px rgba(255, 87, 51, 0.2);
    transform: translateY(-2px);
}

.admin-btn:hover::before {
    transform: rotate(-10deg);
}

.admin-btn:active {
    transform: translateY(0);
}

/* Admin Panel Styles */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(30, 20, 60, 0.9) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.admin-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.admin-modal-content {
    background: linear-gradient(135deg, 
        rgba(19, 26, 41, 0.95) 0%, 
        rgba(26, 32, 46, 0.95) 50%, 
        rgba(19, 26, 41, 0.95) 100%);
    padding: 30px;
    border: 2px solid rgba(0, 255, 135, 0.3);
    border-radius: 20px;
    width: 96%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 255, 135, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-modal.show .admin-modal-content {
    transform: scale(1) translateY(0);
}

/* Tabs Navigation */
.admin-tabs {
    display: flex;
    gap: 0.2rem; /* Reduced by 80% from 1rem */
    margin-bottom: 0.4rem; /* Reduced by 80% from 2rem */
    padding: 0.1rem; /* Reduced by 80% from 0.5rem */
    background: rgba(19, 26, 41, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 135, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 255, 135, 0.08);
}

.tab-btn.active {
    color: #00ff87;
    background: rgba(0, 255, 135, 0.15);
    font-weight: 600;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(90deg, #00ff87, #00ff87cc);
    border-radius: 3px;
}

/* Tab Panels */
.tab-panel {
    width: 100%;
    padding: 20px 0;
    display: none;
}

.tab-panel.active {
    display: block;
    width: 100%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .admin-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        width: 100%;
        padding: 0.8rem;
    }
    
    .tab-btn.active::after {
        width: 60%;
    }
}

.admin-status {
    padding: 1rem;
    margin: 1.25rem 0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.admin-status.error {
    background-color: rgba(255, 87, 51, 0.12);
    border-left: 4px solid #ff5733;
    color: #ff7b5e;
}

.admin-status.success {
    background-color: rgba(0, 255, 135, 0.12);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
}

.admin-status.processing {
    background-color: rgba(70, 130, 180, 0.12);
    border-left: 4px solid #4682b4;
    color: #5c9bd1;
    position: relative;
    overflow: hidden;
}

.admin-status.processing::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(70, 130, 180, 0.25), transparent);
    animation: loading 1.5s infinite;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2rem;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    overflow: hidden;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color-light));
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover {
    color: var(--text-color);
    background-color: rgba(0, 255, 135, 0.05);
}

.tab-btn.active {
    color: var(--primary-color);
    background-color: rgba(0, 255, 135, 0.08);
    font-weight: 600;
}


.tab-btn.active::after {
    width: 80%;
}

/* Tab Panels */
.tab-panel {
    display: none;
    padding: 1.25rem 0;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    color: var(--text-color);
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
}

/* Admin Forms */
.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-form {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 135, 0.08);
}

.admin-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.admin-form::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    opacity: 0.5;
    border-radius: 0 0 0 5px;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.admin-form-group label {
    font-size: 0.95rem;
    color: var(--text-color);
    font-weight: 500;
}

.admin-form-group small {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    margin-top: 0.3rem;
}

.admin-form-group input {
    padding: 0.85rem 1rem;
    background-color: rgba(19, 26, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) inset;
}

.admin-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 135, 0.1);
}

/* Admin Action Buttons */
.admin-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.admin-action-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-light));
    color: var(--background-darker);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 255, 135, 0.2);
    position: relative;
    overflow: hidden;
}

.admin-action-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: all 0.6s ease;
}

.admin-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 255, 135, 0.25);
}

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


.admin-action-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Contract Balance */
.contract-balance {
    background-color: rgba(19, 26, 41, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.contract-balance p {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
}

.contract-balance span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Withdraw Button Special Style */
#withdrawFundsBtn {
    background: linear-gradient(135deg, #ff5733 0%, #ff8c33 100%);
    color: #fff;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    margin-top: 0.5rem;
}

#withdrawFundsBtn:hover {
    box-shadow: 0 0 15px rgba(255, 87, 51, 0.5);
}

@media (max-width: 768px) {
    .admin-form-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        justify-content: center;
    }
    
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 0.7rem 0.5rem;
    }
}

/* Final Price Info Styles */
.final-price-info {
    background-color: rgba(0, 255, 135, 0.08);
    border: 1px solid rgba(0, 255, 135, 0.2);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 20px 0;
}

.price-calculation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-calculation > div {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    padding: 3px 0;
}

.original-price {
    color: var(--text-color);
}

.discount-amount {
    color: #ff5733;
}

.final-price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
    margin-top: 5px;
}

/* Coupons list styles */
.admin-coupons-list {
    margin-top: 1.5rem;
}

.coupons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

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

.coupon-filter {
    background-color: rgba(19, 26, 41, 0.7);
    border: 1px solid rgba(0, 255, 135, 0.3);
    color: var(--text-color);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300ff87' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1em;
    padding-right: 2.5rem;
}

.coupon-filter option {
    background-color: #0f1420;
    color: var(--text-color);
    padding: 10px;
}

.coupon-filter::-ms-expand {
    display: none;
}

.coupon-filter:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.coupon-filter:hover {
    background-color: rgba(0, 255, 135, 0.08);
}

/* اضافه کردن استایل به بخش‌های انتخاب شده در کمبو باکس */
.coupon-filter option:checked,
.coupon-filter option:hover {
    background-color: rgba(0, 255, 135, 0.2);
}

/* اصلاح استایل در مرورگرهای مختلف */
@supports (-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none) {
    .coupon-filter option {
        background-color: #0f1420 !important;
    }
}

@-moz-document url-prefix() {
    .coupon-filter {
        background-image: none;
    }
    .coupon-filter option {
        background-color: #0f1420;
    }
}

.refresh-btn {
    background-color: transparent;
    border: 1px solid rgba(0, 255, 135, 0.3);
    color: var(--primary-color);
    padding: 0.5rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.refresh-btn:hover {
    background-color: rgba(0, 255, 135, 0.1);
}

.refresh-btn i {
    font-size: 0.8rem;
}

.refresh-btn.loading i {
    animation: spin 1s linear infinite;
}

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

.coupons-table-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background-color: rgba(19, 26, 41, 0.5);
    width: 100%;
}

.coupons-table {
    width: 100%;
    border-collapse: collapse;
}

.coupons-table th, 
.coupons-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    font-size: 0.85rem;
}

/* Add specific widths for table columns */
.coupons-table th:nth-child(1) {
    width: 25%;
}

.coupons-table th:nth-child(2) {
    width: 15%;
}

.coupons-table th:nth-child(3) {
    width: 15%;
}

.coupons-table th:nth-child(4) {
    width: 120px;
}

.coupons-table th:nth-child(5) {
    width: 80px; /* Make Usage column narrower */
}

.coupons-table th:nth-child(6) {
    width: 120px;
}

.coupons-table th:nth-child(7) {
    width: 100px;
}

.coupons-table th:nth-child(8) {
    width: 80px; /* Edit column */
}

.coupons-table th {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 10;
}

.coupons-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color-secondary);
}

.coupons-table tr:last-child td {
    border-bottom: none;
}

.coupons-table tr:hover td {
    background-color: rgba(0, 255, 135, 0.05);
}

.loading-row td {
    text-align: center;
    color: var(--text-color-secondary);
    padding: 2rem;
}

.coupon-code {
    font-family: monospace;
    color: var(--primary-color);
    font-weight: 500;
}

.coupon-discount {
    font-weight: 600;
}
.coupon-status {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.coupon-status.active {
    background-color: rgba(0, 255, 135, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 135, 0.2);
}

.coupon-status.used {
    background-color: rgba(255, 87, 51, 0.1);
    color: #ff5733;
    border: 1px solid rgba(255, 87, 51, 0.2);
}

.coupon-address {
    font-family: monospace;
    font-size: 0.75rem;
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.coupon-date {
    font-size: 0.8rem;
    white-space: nowrap;
    display: block;
}

.no-data-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-color-secondary);
    font-style: italic;
    background: rgba(19, 26, 41, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

/* Custom scrollbar for tables */
.coupons-table-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.coupons-table-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.coupons-table-container::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 135, 0.3);
    border-radius: 10px;
}

.coupons-table-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 135, 0.5);
}

/* Coupon rename feature styles */
.coupon-edit-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 5px;
    padding: 2px;
    transition: all 0.2s ease;
}

.coupon-edit-btn:hover {
    opacity: 1;
}

.coupon-rename-container {
    display: flex;
    margin-top: 5px;
    gap: 5px;
}

.coupon-rename-input {
    flex: 1;
    background-color: rgba(19, 26, 41, 0.7);
    border: 1px solid rgba(0, 255, 135, 0.3);
    color: var(--text-color);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
}

.coupon-rename-btn {
    background-color: rgba(0, 255, 135, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.coupon-rename-btn:hover {
    background-color: rgba(0, 255, 135, 0.3);
}

/* Subscription Active Notice */
.subscription-active-notice {
    background-color: transparent;
    border-left: none;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.15);
    padding: 18px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 1rem;
    color: #0096ff;
    text-align: center;
    line-height: 1.5;
    position: relative;
    animation: slideDown 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.subscription-active-notice .subscription-time {
    font-weight: bold;
    font-size: 1.2rem;
    color: #0096ff;
    margin-top: 5px;
}

.subscription-active-notice .subscription-date {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Status Colors */
.wallet-status-info {
    background-color: rgba(0, 150, 255, 0.15);
    border-left: 4px solid #0096ff;
    color: #0096ff;
}

.wallet-status-warning {
    background-color: rgba(255, 170, 0, 0.15);
    border-left: 4px solid #ffaa00;
    color: #ffaa00;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.admin-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-close:hover {
    color: var(--primary-color);
    background-color: rgba(0, 255, 135, 0.15);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 255, 135, 0.3);
}

.admin-modal-content::-webkit-scrollbar {
    width: 8px;
}

.admin-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.admin-modal-content::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 135, 0.3);
    border-radius: 10px;
}

.admin-modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 135, 0.5);
}
/* Referral Benefits Section Styling */
.referral-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.referral-item {
    background: rgba(19, 26, 41, 0.7);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.referral-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 135, 0.07), transparent 70%);
    z-index: -1;
}

.referral-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.referral-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
}

.referral-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.referral-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    transition: all var(--transition-medium);
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.4);
}

.referral-item:hover i {
    transform: scale(1.2);
    color: #ffffff;
}

.referral-item h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all var(--transition-medium);
    letter-spacing: 0.5px;
}

.referral-item:hover h4 {
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(0, 255, 135, 0.4);
}

.referral-item p {
    color: var(--text-color-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
    transition: all var(--transition-medium);
}

.referral-item:hover p {
    color: var(--text-color);
}

.referral-cta {
    margin-top: 2.5rem;
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 255, 135, 0.1);
    border-radius: 0;
    border: 1px solid rgba(0, 255, 135, 0.2);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.1);
    position: relative;
    left: 0;
    right: 0;
}

.referral-cta p {
    font-size: 1.3rem;
    color: var(--text-color);
    max-width: 100%;
    margin: 0 auto;
    font-weight: 500;
}

@media (max-width: 768px) {
    .referral-benefits {
        grid-template-columns: 1fr;
    }
}

/* New Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.header-line {
    width: 120px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 0.8rem auto;
    position: relative;
    display: none; /* Hidden since we now have bottom border on subtitle */
}

.audio-toggle-btn {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-lighter);
    box-shadow: var(--shadow-sm);
    /* تغییر شکل دکمه از لوزی به دایره */
    transform: none;
    clip-path: circle(50%);
}

.audio-toggle-btn:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.audio-toggle-btn:focus {
    outline: none;
}

.audio-toggle-btn.playing {
    color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.audio-toggle-btn.playing:hover {
    color: var(--text-color);
}

/* Hide audio element */
audio {
    display: none;
}

/* Fix spacing between Admin button and wallet address */
nav ul li button#adminBtn {
    margin-right: 0;
}

/* Audio player container fixed at bottom right */
.audio-player-container {
    position: fixed;
    bottom: 30px;
    right: 10px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Enhanced audio toggle button styling */
.audio-toggle-btn {
    background: rgba(10, 14, 23, 0.8);
    border: 1px solid var(--accent-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    /* تغییر شکل دکمه از لوزی به دایره */
    transform: none;
    clip-path: circle(50%);
}

.audio-toggle-btn:hover {
    transform: scale(1.1);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

.audio-toggle-btn:focus {
    outline: none;
}

.audio-toggle-btn.playing {
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulse-glow 2s infinite;
}

.audio-toggle-btn.playing:hover {
    color: var(--text-color);
}

/* Pulse animation for playing state */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(0, 255, 135, 0.8);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 255, 135, 0.5);
    }
}

/* Hide audio element */
audio {
    display: none;
}

/* Styling for connected wallet button icon */
.connect-wallet-btn .metamask-icon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Reward Button Styles - matching Subscribe button */
.reward-btn {
    background-color: var(--primary-color);
    color: #111;
    font-weight: 600;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 10px rgba(0, 255, 135, 0.3);
}

.reward-btn:hover {
    background-color: #59ff9e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 255, 135, 0.4);
}

.reward-btn:active {
    transform: translateY(0);
}

/* Reward Modal Styles */
.reward-modal {
    direction: ltr;
    text-align: left;
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: auto;
    justify-content: center;
    align-items: center;
}

.reward-modal.show {
    display: flex;
}

.reward-modal .modal-content {
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease-out;
}

.reward-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.reward-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2rem;
}

.reward-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 255, 135, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 1.5rem;
}

.loading-info {
    margin-top: 10px;
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    text-align: center;
}

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

.reward-dashboard {
    padding: 1rem 0;
}

.reward-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reward-section {
    background-color: rgba(19, 26, 41, 0.7);
    border-radius: var(--radius-md);
    padding: 2rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.reward-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    font-weight: 600;
}

.reward-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.summary-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.referral-link-section {
    margin: 1.5rem 0;
}

.referral-link-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.referral-link-container {
    display: flex;
    margin-bottom: 0.8rem;
}

.referral-link {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--glass-border);
    background-color: rgba(19, 26, 41, 0.8);
    color: var(--text-color);
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.9rem;
    direction: ltr;
    text-align: left;
}

.copy-link-btn {
    background-color: var(--primary-color);
    color: #111;
    border: none;
    width: 50px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-link-btn:hover {
    background-color: var(--primary-color-light);
}

.referral-tip {
    font-size: 0.9rem;
    color: var(--text-color-secondary);
}

.withdraw-rewards-btn {
    width: 100%;
    padding: 1rem;
    margin-top: 1.5rem;
    background-color: var(--primary-color);
    color: #111;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.withdraw-rewards-btn:hover {
    background-color: var(--primary-color-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 135, 0.3);
}

.withdraw-rewards-btn:disabled {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

.milestone-intro {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
}

.milestone-progress {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.milestone {
    background-color: rgba(10, 14, 23, 0.4);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.milestone-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    align-items: center;
}

.milestone-title {
    font-weight: 600;
    color: var(--text-color);
}

.milestone-count {
    font-weight: 500;
    background-color: rgba(0, 255, 135, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.progress {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 1.5s ease;
}

.milestone-reward {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    text-align: left;
}



.withdrawal-table-container {
    margin-top: 20px;
    overflow-x: auto;
    border-radius: var(--radius-sm);
    background-color: rgba(10, 14, 23, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.withdrawal-table {
    width: 100%;
    border-collapse: collapse;
}

.withdrawal-table th,
.withdrawal-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.withdrawal-table th {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    color: var(--text-color);
}

.withdrawal-table tr:last-child td {
    border-bottom: none;
}

.withdrawal-table tr:hover td {
    background-color: rgba(0, 255, 135, 0.05);
}

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.status-badge.status-completed {
    background-color: rgba(0, 255, 135, 0.15);
    color: var(--primary-color);
    border: 1px solid rgba(0, 255, 135, 0.3);
}

.status-badge.status-pending {
    background-color: rgba(255, 180, 0, 0.15);
    color: #FFB400;
    border: 1px solid rgba(255, 180, 0, 0.3);
}

.tx-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.tx-link:hover {
    color: var(--primary-color-light);
    text-decoration: underline;
}

.tx-link i {
    margin-left: 5px;
    font-size: 0.85em;
}

.no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    text-align: center;
    background-color: rgba(10, 14, 23, 0.4);
    border-radius: var(--radius-sm);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.no-data-message i {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.no-data-message p {
    color: var(--text-color-secondary);
    margin: 5px 0;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8em;
}

/* Empty state styling */
.no-referrals-note {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: rgba(0, 255, 135, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    text-align: center;
    color: var(--text-color-secondary);
}

.no-referrals-note p {
    margin: 5px 0;
    font-style: italic;
}

/* Equivalent Value Section Styles */
.equivalent-value-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 1.5rem 0;
}

.equivalent-value-item {
    background-color: rgba(10, 14, 23, 0.4);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    width: calc(25% - 20px);
    min-width: 120px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.equivalent-value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.value-number {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

.value-intro, .value-description {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
}

.value-intro strong {
    color: var(--primary-color);
}

.value-description {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
}

/* Detailed Referrals Table Styles */
.detailed-referrals-container {
    max-height: 400px;
    overflow-y: auto;
    margin: 1rem 0;
    border-radius: var(--radius-sm);
}

.detailed-referrals-table {
    width: 100%;
    border-collapse: collapse;
}

.detailed-referrals-table th,
.detailed-referrals-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detailed-referrals-table th {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 10;
}

.detailed-referrals-table tbody tr:hover td {
    background-color: rgba(0, 255, 135, 0.05);
}

.detailed-referrals-table td a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.detailed-referrals-table td a:hover {
    text-decoration: underline;
}

.detailed-referrals-container::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.detailed-referrals-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.detailed-referrals-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.detailed-referrals-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Milestones table styles */
.admin-milestones-list {
    background-color: #0c0f16;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    overflow: hidden;
    margin-top: 1.5rem;
}

.milestones-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.milestones-table-container {
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #4a9fff #0c0f16;
}

.milestones-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    color: #fff;
}

.milestones-table th {
    background-color: #1a1f2d;
    text-align: left;
    padding: 0.8rem 1rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 1;
}

.milestones-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #1a1f2d;
}

.milestones-table tr:hover {
    background-color: #1a1f2d;
}

.milestone-action-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-weight: 500;
}

.activate-btn {
    background-color: #2ecc71;
    color: #fff;
}

.activate-btn:hover {
    background-color: #25a25a;
}

.deactivate-btn {
    background-color: #e74c3c;
    color: #fff;
}

.deactivate-btn:hover {
    background-color: #c0392b;
}


.active-status {
    color: #00f260;
    background-color: rgba(0, 242, 96, 0.15);
    border: 1px solid rgba(0, 242, 96, 0.3);
}

.inactive-status {
    color: #ff5757;
    background-color: rgba(255, 87, 87, 0.15);
    border: 1px solid rgba(255, 87, 87, 0.3);
}

/* Admin Card Design */
.admin-card {
    background: linear-gradient(45deg, rgba(32, 37, 48, 0.9), rgba(48, 54, 68, 0.9));
    border: 1px solid rgba(105, 255, 178, 0.3);
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-card:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(105, 255, 178, 0.6);
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #00f260, #0575e6);
    opacity: 0.8;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(105, 255, 178, 0.2);
}

.admin-card-header h3 {
    font-size: 18px;
    color: #69ffb2;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-card-body {
    padding: 20px;
}

.admin-card-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    border-top: 1px solid rgba(105, 255, 178, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Balance Display Styles */
.balance-display {
    background-color: rgba(19, 26, 41, 0.7);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.balance-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.balance-label {
    color: #a0a0a0;
    margin-right: 10px;
}

.balance-value {
    color: #69ffb2;
    font-weight: 700;
    font-size: 24px;
    margin-right: 5px;
}

.balance-unit {
    color: #ffffff;
    font-weight: 600;
}

.balance-info {
    display: flex;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #69ffb2;
}

.balance-info i {
    color: #69ffb2;
    font-size: 18px;
    margin-right: 10px;
    margin-top: 3px;
}

.balance-info p {
    color: #a0a0a0;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Table Container Styling */
.table-container {
    background-color: rgba(19, 26, 41, 0.7);
    border-radius: 8px;
    overflow: hidden;
    max-height: 400px;
    overflow-y: auto;
}

/* Checkbox Styling */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    accent-color: #69ffb2;
    cursor: pointer;
}

.checkbox-container label {
    color: #ffffff;
    cursor: pointer;
}

/* Textarea Styling */
.admin-form-group textarea {
    width: 100%;
    background-color: rgba(32, 37, 48, 0.9);
    border: 1px solid rgba(105, 255, 178, 0.3);
    border-radius: 6px;
    padding: 12px;
    color: #ffffff;
    font-size: 14px;
    min-height: 100px;
    resize: vertical;
    box-sizing: border-box;
}

.admin-form-group textarea:focus {
    outline: none;
    border-color: #69ffb2;
    box-shadow: 0 0 10px rgba(105, 255, 178, 0.3);
}

/* Improve Admin Tab Headers */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: var(--text-color-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #00f260, #0575e6);
    transition: width 0.3s ease;
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover {
    color: var(--text-color);
}

.tab-btn.active {
    color: #69ffb2;
    font-weight: 600;
}

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

/* Loading indicator styles */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00a3ff;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

/* Loading indicator styles */
.loading-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00a3ff;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

.loading-text {
    margin-top: 15px;
    color: white;
    font-weight: 500;
}

/* Status message */
.status-message {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    animation-duration: 0.5s;
}

.status-message.loading {
    background-color: #00a3ff;
    color: white;
}

.status-message.error {
    background-color: #e74c3c;
    color: white;
}

.status-message.success {
    background-color: #2ecc71;
    color: white;
}

.status-message.warning {
    background-color: #f39c12;
    color: white;
}

.status-message i {
    font-size: 16px;
}

.referral-btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    transition: all var(--transition-fast);
    margin-left: 0.5rem;
}
.referral-btn:hover {
    background: var(--accent-hover);
    color: #fff;
    box-shadow: var(--neon-glow);
}

/* Admin Plan Cards */
.plan-cards-container {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.25rem !important; /* Reduced by 80% from 1.25rem */
    margin: 0.2rem 0 !important; /* Reduced by 80% from 1rem */
    width: 100% !important;
    padding: 0.1rem !important; /* Reduced by 80% from 0.5rem */
}

.plan-card {
    background: linear-gradient(145deg, rgba(19, 26, 41, 0.9), rgba(15, 20, 35, 0.9)) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 255, 135, 0.15) !important;
    padding: 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    width: 120% !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 8px 32px rgba(0, 255, 135, 0.1) !important;
}

.plan-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #00ff87, #60efff) !important;
    opacity: 0.8 !important;
}

.plan-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(0, 255, 135, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 255, 135, 0.15) !important;
}

.plan-card-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0.375rem 0 !important; /* Reduced vertical margins */
    position: relative !important;
    gap: 1rem !important;
}

.plan-card-header h3 {
    font-size: 1rem !important; /* Slightly larger font size */
    color: #fff !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 600 !important; /* Increased font weight */
    flex: 1 !important;
    letter-spacing: 0.5px !important;
}

.plan-status {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 20px !important;
    background: rgba(0, 255, 135, 0.15) !important;
    color: #00ff87 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.plan-card-body {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.625rem !important; /* نصف شده از 1.25rem */
}

.plan-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 0.5rem 0.75rem !important; /* Reduced padding to match smaller font */
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 10px !important; /* Slightly smaller border radius */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    min-height: 38px !important; /* Ensure minimum height for visual consistency */
}

.plan-info-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    margin-right: 0.6rem !important; /* Reduced margin to match smaller font */
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.7rem !important; /* Smaller font size */
}

.plan-info-value {
    color: #00ff87 !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important; /* 40% smaller than original 1.05rem */
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.3px !important; /* Slightly reduced letter spacing */
    flex: 1 !important;
    white-space: nowrap !important; /* Prevent text wrapping */
    overflow: hidden !important; /* Hide overflow */
    text-overflow: ellipsis !important; /* Show ellipsis for overflowing text */
}

.plan-card-inputs {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.15rem !important; /* Reduced gap */
    margin: 0.375rem 0 !important; /* Consistent margins with header */
}

.plan-card-inputs input {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
}

.plan-card-inputs input:focus {
    outline: none !important;
    border-color: rgba(0, 255, 135, 0.3) !important;
    box-shadow: 0 0 0 2px rgba(0, 255, 135, 0.1) !important;
}

.plan-card-inputs input::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

.plan-card-footer {
    margin: 0.375rem 0 !important; /* Consistent margins with header and inputs */
    display: flex !important;
    justify-content: center !important;
}

.plan-card-footer button {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    background: linear-gradient(135deg, #00ff87, #60efff) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #0f1420 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.plan-card-footer button i {
    font-size: 1rem !important;
}

.plan-card-footer button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.3) !important;
}

/* Plan Card Icon Styles */
.plan-info-label i {
    margin-right: 0 !important;
    font-size: 0.85rem !important; /* 40% smaller */
    width: 1.3rem !important; /* Smaller width */
    height: 1.3rem !important; /* Smaller height */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

/* Specific icons colors */
.plan-info-label i.fa-coins {
    color: #FFD700 !important; /* Gold color for coins */
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.2)) !important;
    border: 1px solid rgba(255, 215, 0, 0.3) !important;
}

.plan-info-label i.fa-clock {
    color: #00BFFF !important; /* Deep sky blue for clock */
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.6) !important;
    background: linear-gradient(45deg, rgba(0, 191, 255, 0.1), rgba(0, 191, 255, 0.2)) !important;
    border: 1px solid rgba(0, 191, 255, 0.3) !important;
}

/* Make icons more prominent on hover */
.plan-info:hover .plan-info-label i {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Enhanced hover effects for each specific icon */
.plan-info:hover .plan-info-label i.fa-coins {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4) !important;
    border-color: rgba(255, 215, 0, 0.5) !important;
}

.plan-info:hover .plan-info-label i.fa-clock {
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4) !important;
    border-color: rgba(0, 191, 255, 0.5) !important;
}

/* Plan info hover effect */
.plan-info {
    transition: all 0.3s ease !important;
}

.plan-info:hover {
    background: rgba(0, 0, 0, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Value highlight on hover */
.plan-info:hover .plan-info-value {
    transform: translateX(3px) !important;
}

/* Current Percentages Display */
.current-percentages {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.current-percentages h4 {
    color: #00ff9d;
    margin: 0 0 10px 0;
    font-size: 1em;
    font-weight: 500;
}

.percentages-list {
    color: #fff;
}

.percentage-item {
    background: rgba(0, 255, 157, 0.1);
    padding: 8px 12px;
    border-radius: 4px;
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
    border-left: 3px solid #00ff9d;
    font-size: 0.9em;
}

/* استایل خاص برای مودال ریوارد با ID */
#rewardModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    overflow: auto;
    justify-content: center;
    align-items: center;
}

#rewardModal.show {
    display: flex;
}

.reward-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.coupon-status.used {
    color: #ff6b6b;
}

.coupon-plan-restriction {
    color: #74c0fc;
    font-weight: 500;
    white-space: nowrap;
}

.coupon-usage {
    color: #ff5757;
    font-weight: 500;
    white-space: nowrap;
}

.coupon-edit {
    text-align: center;
    padding: 8px !important;
}

.coupon-edit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
}

.coupon-edit-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.coupon-edit-btn i {
    font-size: 14px;
}

/* Mobile Navigation Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--background-darker);
    border-left: 1px solid var(--glass-border);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 100px 20px 20px;
    overflow-y: auto;
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-menu ul li {
    margin: 0;
    padding: 0;
}

.mobile-nav-menu ul li a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color var(--transition-fast);
}

.mobile-nav-menu ul li a:hover {
    color: var(--accent-color);
}

.mobile-nav-buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav-buttons button {
    width: 100%;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    outline: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Connect Wallet Button */
.mobile-nav-buttons .connect-wallet-btn {
    background-color: #2C2E37;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.mobile-nav-buttons .connect-wallet-btn:hover {
    background-color: #3A3C44;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.mobile-nav-buttons .connect-wallet-btn.connected {
    background-color: rgba(0, 255, 135, 0.08);
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 3px 8px rgba(0, 255, 135, 0.15);
}

.mobile-nav-buttons .connect-wallet-btn.connected:hover {
    background-color: rgba(0, 255, 135, 0.12);
    box-shadow: 0 4px 10px rgba(0, 255, 135, 0.25);
}

/* Mobile Admin Button */
.mobile-nav-buttons .admin-btn {
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-buttons .admin-btn:hover {
    background: linear-gradient(135deg, #c53030 0%, #9c2626 100%);
}

/* Mobile Purchase Access Button */
.mobile-nav-buttons .purchase-access-btn {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-buttons .purchase-access-btn:hover {
    background: linear-gradient(135deg, #2f855a 0%, #276749 100%);
}

/* Mobile RefDrop Button */
.mobile-nav-buttons .refer-drop-btn {
    background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-buttons .refer-drop-btn:hover {
    background: linear-gradient(135deg, #dd6b20 0%, #c05621 100%);
}

/* Responsive Navigation Updates */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 500px;
    }
    
    .contact-section .container {
        padding: 0 15px;
    }
    
    .contact-content {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .bubble-animation {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.2rem;
        max-width: 90%;
    }
    
    .steps-container, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-overview h3, .how-it-works h3, .key-features h3 {
        font-size: 1.8rem;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav-overlay,
    .mobile-nav-menu {
        display: block;
    }
    
    /* Hide desktop navigation */
    nav ul {
        display: none;
    }
    
    /* Adjust header for mobile */
    header .container {
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-image {
        width: 35px;
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .plan-selector {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Mobile specific adjustments */
    .container {
        padding: 0 15px;
    }
    
    .mobile-nav-menu {
        width: 100%;
        right: -100%;
    }
    
    .mobile-nav-menu.active {
        right: 0;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-image {
        width: 30px;
        height: 30px;
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .mobile-nav-menu {
        padding: 80px 15px 15px;
    }
    
    .mobile-nav-buttons button {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

/* Ensure mobile menu works properly */
body.mobile-menu-open {
    overflow: hidden;
}

/* Fix for very small screens */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
}


