:root {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: #1e2433;
    --bg-header: #0f1419;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-inverse: #ffffff;
    --border-color: #30363d;
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-blue: #58a6ff;
    --accent-blue-hover: #4493e6;
    --accent-cyan: #56d4dd;
    --accent-purple: #a371f7;
    --button-primary: #58a6ff;
    --button-primary-hover: #4493e6;
    --button-danger: #f85149;
    --button-danger-hover: #e5534b;
    --table-bg: #1e2433;
    --gradient-primary: linear-gradient(135deg, #58a6ff 0%, #a371f7 100%);
    --gradient-secondary: linear-gradient(135deg, #56d4dd 0%, #58a6ff 100%);
    --glow-blue: 0 0 30px rgba(88, 166, 255, 0.4);
    --glow-cyan: 0 0 30px rgba(86, 212, 221, 0.4);
    --glow-purple: 0 0 30px rgba(163, 113, 247, 0.4);
}

[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-card: #1e2433;
    --bg-header: #0f1419;
    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-inverse: #ffffff;
    --border-color: #30363d;
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-blue: #58a6ff;
    --accent-blue-hover: #4493e6;
    --accent-cyan: #56d4dd;
    --accent-purple: #a371f7;
    --button-primary: #58a6ff;
    --button-primary-hover: #4493e6;
    --button-danger: #f85149;
    --button-danger-hover: #e5534b;
    --table-bg: #1e2433;
    --gradient-primary: linear-gradient(135deg, #58a6ff 0%, #a371f7 100%);
    --gradient-secondary: linear-gradient(135deg, #56d4dd 0%, #58a6ff 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 50% 30% at 30% 20%, rgba(88, 166, 255, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 25% at 70% 80%, rgba(163, 113, 247, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Animated background orbs - very subtle */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
}

.bg-orb-1 {
    width: 450px;
    height: 450px;
    background: rgba(88, 166, 255, 0.08);
    top: -120px;
    left: -120px;
}

.bg-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(163, 113, 247, 0.06);
    bottom: -100px;
    right: -100px;
}

.bg-orb-3 {
    display: none;
}

/* Header */
header {
    background: rgba(15, 20, 25, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-inverse);
    padding: 0.9rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo::before {
    content: '';
    width: 36px;
    height: 36px;
    background-image: url('/images/ninja-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    transition: transform 0.2s ease;
}

.logo:hover::before {
    transform: scale(1.05);
}

.logo a {
    color: var(--text-inverse);
    text-decoration: none;
    transition: color 0.2s ease;
}

.logo a:hover {
    color: var(--accent-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(88, 166, 255, 0.08);
}

/* Theme toggle */
.theme-toggle {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-inverse);
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    transform: rotate(15deg) scale(1.05);
    box-shadow: var(--glow-blue);
}

/* Main content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    position: relative;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 4rem 0 3rem;
    position: relative;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent-blue);
}

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

.stat-divider {
    width: 1px;
    height: 30px;
    background: var(--border-color);
}

/* Decorative elements - removed for cleaner look */

/* Pricing section */
.pricing {
    margin: 4rem 0;
    position: relative;
}

.pricing h2, .features h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    opacity: 0.9;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.pricing-card {
    background: var(--bg-card);
    padding: 1.75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.pricing-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    background: rgba(88, 166, 255, 0.08);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(88, 166, 255, 0.2), 0 0 0 1px rgba(88, 166, 255, 0.2);
}

.pricing-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.pricing-card .select-plan-btn {
    width: 100%;
    margin: 0.75rem 0;
}

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

.price-per-day {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.3rem 0.7rem;
    background: rgba(88, 166, 255, 0.15);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.card-badge.popular {
    background: rgba(163, 113, 247, 0.15);
    border-color: rgba(163, 113, 247, 0.3);
    color: var(--accent-purple);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    text-align: left;
}

.plan-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
}

.test-plan {
    background: var(--accent-cyan);
}

.test-plan:hover {
    background: #45c3cc;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0.5rem 0;
    line-height: 1;
}

.save {
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 0.8rem;
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(86, 212, 221, 0.1);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.price-free .mobile-price { display: none; }
.price-free .desktop-price {
    color: var(--accent-cyan);
    font-weight: 700;
}

/* Buttons */
button,
.button {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--text-inverse);
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
}

button:hover,
.button:hover {
    background: var(--accent-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(88, 166, 255, 0.25);
}

button:active,
.button:active {
    transform: translateY(0);
}

/* Features section */
.features {
    margin: 4rem 0;
}

.trust-section {
    margin-top: 3rem;
    text-align: center;
    padding: 1.5rem;
    background: rgba(88, 166, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(88, 166, 255, 0.1);
}

.trust-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

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

.feature {
    background: var(--bg-card);
    padding: 2rem 1.75rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    opacity: 0;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.feature:hover .feature-icon {
    opacity: 1;
}

.icon-speed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358a6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.icon-security {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358a6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-global {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358a6ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
}

/* Auth forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.auth-form {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.9) 0%, rgba(21, 27, 61, 0.95) 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.1);
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
}

.auth-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.auth-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input, .form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(21, 27, 61, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.15),
        0 0 20px rgba(59, 130, 246, 0.1);
    background: rgba(21, 27, 61, 1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group select, .form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(21, 27, 61, 0.8);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.error {
    color: var(--button-danger);
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: none;
}

.error:not(:empty) {
    display: block;
}

.success {
    color: var(--accent-cyan);
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: none;
}

.success:not(:empty) {
    display: block;
}

.g-recaptcha, .h-captcha {
    margin: 1.5rem 0;
}

/* hCaptcha responsive styling */
.h-captcha {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .h-captcha {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media (max-width: 480px) {
    .h-captcha {
        transform: scale(0.77);
        transform-origin: center;
        margin: 1rem -10px;
    }
    
    .h-captcha > div {
        margin: 0 auto;
    }
}

@media (max-width: 360px) {
    .h-captcha {
        transform: scale(0.7);
        margin: 0.5rem -15px;
    }
}

/* Footer */
footer {
    background: rgba(15, 20, 25, 0.95);
    color: var(--text-secondary);
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}



footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Account section */
.account-section {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.7) 0%, rgba(21, 27, 61, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.account-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.account-section:hover::before {
    opacity: 1;
}

.account-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button-group button {
    margin-right: 0.5rem;
}

.button-group button:last-child {
    margin-right: 0;
}

.button-group button {
    margin-right: 0.75rem;
    margin-bottom: 0.5rem;
}

.button-group button:last-child {
    margin-right: 0;
}

.button-secondary {
    background: rgba(21, 27, 61, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.button-secondary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.button-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.button-danger:hover {
    box-shadow: 
        0 10px 30px rgba(239, 68, 68, 0.4),
        0 0 20px rgba(239, 68, 68, 0.2);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 34, 66, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

table th, table td {
    padding: 1.1rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

table th {
    background: rgba(21, 27, 61, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

table tr {
    transition: all 0.3s ease;
}

table tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.98) 0%, rgba(21, 27, 61, 0.99) 100%);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(59, 130, 246, 0.15);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.modal-content h3, .modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content ul li {
    padding: 0.85rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.modal-content ul li:last-child {
    border-bottom: none;
}

.modal-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-content a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.close {
    float: right;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    line-height: 1;
    margin-top: -0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.close:hover {
    color: var(--button-danger);
    background: rgba(239, 68, 68, 0.1);
    transform: rotate(90deg);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions button {
    flex: 1;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
}

.secondary-btn {
    background: rgba(21, 27, 61, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    background: rgba(88, 166, 255, 0.1);
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(88, 166, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 166, 255, 0.5);
}

/* Selection */
::selection {
    background: rgba(88, 166, 255, 0.3);
    color: var(--text-inverse);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in {
    animation: slideIn 0.6s ease forwards;
}

/* Glow effects */
.glow-blue { box-shadow: var(--glow-blue); }
.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-purple { box-shadow: var(--glow-purple); }

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(26, 34, 66, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Admin-specific styles */
.admin-section {
    margin-bottom: 2rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h3 {
    margin: 0;
}

/* Admin tables responsive */
.admin-section table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/* Stats cards for admin */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        max-height: 600px;
        padding: 1rem 0;
        overflow-y: auto;
    }

    .nav-links a {
        margin: 0;
        padding: 1.1rem 5%;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background: rgba(88, 166, 255, 0.08);
    }

    .nav-links a::before {
        display: none;
    }

    #auth-links {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #auth-links a {
        width: 100%;
    }
    
    /* Admin mobile styles */
    .admin-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header .button-group {
        width: 100%;
    }
    
    .section-header .button-group button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Admin tables mobile */
    .admin-section table {
        font-size: 0.85rem;
    }
    
    .admin-section table th,
    .admin-section table td {
        padding: 0.75rem 0.5rem;
        min-width: 100px;
    }
    
    .admin-section table th:first-child,
    .admin-section table td:first-child {
        position: sticky;
        left: 0;
        background: var(--bg-card);
        z-index: 1;
    }
    
    /* Stats grid mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    /* Features grid for admin dashboard */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature {
        padding: 1.5rem;
    }
    
    /* Admin filters */
    .stats-filters {
        padding: 15px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
        min-width: auto;
    }
    
    /* Admin payment methods */
    .method-stats,
    .type-stats {
        padding: 15px;
    }
    
    /* Admin tickets mobile */
    .tickets-container {
        padding: 15px;
    }
    
    .ticket-item {
        padding: 15px;
    }
    
    .ticket-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .ticket-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    /* Admin modal mobile adjustments */
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    /* Admin action buttons mobile */
    .admin-action-btn,
    .user-action-btn,
    .admin-nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin: 0.25rem 0;
        display: block;
        width: 100%;
    }
    
    .hero {
        padding: 3rem 0 2.5rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-divider {
        height: 25px;
    }
    
    .pricing h2, .features h2 {
        font-size: 1.8rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card.featured {
        box-shadow: 0 0 0 1px rgba(88, 166, 255, 0.15);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-3px);
    }

    .price-free .mobile-price {
        display: inline;
    }

    .price-free .desktop-price {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group button {
        width: 100%;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .account-section {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th, table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 4%;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo::before {
        width: 40px;
        height: 40px;
    }
    
    main {
        padding: 1.5rem 4%;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .price {
        font-size: 2rem;
    }
    
    /* Admin mobile extra small screens */
    .admin-section {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .admin-section h3 {
        font-size: 1.25rem;
    }
    
    .admin-section table {
        font-size: 0.8rem;
    }
    
    .admin-section table th,
    .admin-section table td {
        padding: 0.6rem 0.4rem;
        min-width: 80px;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* Tickets mobile */
    .tickets-container {
        padding: 10px;
    }
    
    .ticket-item {
        padding: 12px;
    }
    
    .ticket-subject {
        font-size: 16px;
    }
    
    .ticket-id {
        font-size: 14px;
    }
    
    /* Admin filters mobile */
    .stats-filters {
        padding: 10px;
    }
    
    .filter-group label {
        font-size: 13px;
    }
    
    .filter-group input,
    .filter-group select {
        padding: 8px;
        font-size: 14px;
    }
    
    /* Admin buttons mobile */
    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    /* Copy button in VLESS keys */
    .copy-key-btn {
        padding: 0.25rem 0.4rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Status badges mobile */
    .status-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .ticket-status {
        padding: 4px 12px;
        font-size: 11px;
    }
    
    /* Modal adjustments for very small screens */
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        border-radius: 12px;
    }
    
    .modal-header h2,
    .modal-body h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 12px;
        max-height: calc(100vh - 180px);
    }
    
    .modal-header,
    .modal-footer {
        padding: 12px;
    }
    
    /* Message styles mobile */
    .message {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .message-header {
        font-size: 12px;
    }
    
    .message-text {
        font-size: 14px;
    }
    
    /* Reply form mobile */
    .reply-form textarea {
        min-height: 100px;
        padding: 12px;
        font-size: 14px;
    }
    
    /* Ticket details mobile */
    .ticket-details {
        padding: 15px;
    }
    
    .ticket-details h3 {
        font-size: 1.2rem;
    }
    
    .ticket-details p {
        font-size: 14px;
    }
    
    .first-message {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Summary cards mobile */
    .summary-card {
        padding: 15px;
    }
    
    .summary-card h3 {
        font-size: 14px;
    }
    
    .summary-card .value {
        font-size: 24px;
    }
    
    .summary-card .subvalue {
        font-size: 12px;
    }
    
    /* Payments table mobile */
    .payments-table table {
        font-size: 0.8rem;
    }
    
    .payments-table th,
    .payments-table td {
        padding: 10px 8px;
    }
    
    /* Method and type stats mobile */
    .method-stats,
    .type-stats {
        padding: 12px;
    }
    
    .stat-item {
        padding: 8px 0;
        font-size: 13px;
    }
    
    .modal {
        padding: 0;
    }
    
    .modal-content {
        margin: 0;
        padding: 1.5rem 1rem;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        max-height: none;
        border: none;
        border-top: 3px solid var(--accent-blue);
    }
    
    .modal-content h2,
    .modal-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .modal-content p {
        font-size: 0.95rem;
    }
    
    .modal-content ol,
    .modal-content ul {
        padding-left: 1.25rem;
    }
    
    .close {
        position: sticky;
        top: 0;
        float: none;
        margin: -0.5rem -0.5rem 1rem auto;
        background: rgba(26, 34, 66, 0.95);
        z-index: 10;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.85rem 1rem;
        font-size: 0.95rem;
    }
    
    .modal-actions {
        position: sticky;
        bottom: 0;
        background: linear-gradient(180deg, transparent 0%, rgba(21, 27, 61, 0.98) 20%, rgba(21, 27, 61, 1) 100%);
        padding: 1rem 0 0;
        margin: 1.5rem -1rem -1.5rem;
        padding: 1.5rem 1rem 1rem;
    }
    
    .modal-actions button {
        padding: 1rem;
        font-size: 1rem;
    }
}
