/* soulix.ru — Стили сайта */

@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@600;700;800&display=swap');

:root {
    --bg-primary: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --bg-card: #242424;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #7c3aed;
    --accent-secondary: #a855f7;
    --accent-gold: #fbbf24;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --border-color: #333;
    --soul-color: #a855f7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar-logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
    display: block;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-primary);
}

/* Nav link hover mascot effect */
.nav-link-wrapper {
    position: relative;
}

.nav-mascot {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 40px;
    height: 40px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    z-index: 100;
}

.nav-link-wrapper:hover .nav-mascot {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-name {
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-secondary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 5px 10px;
    font-size: 0.9rem;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.7) 0%, rgba(13, 13, 13, 0.85) 100%);
    z-index: 1;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.slider-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Hero */
.hero {
    padding: 100px 20px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(124, 58, 237, 0.35), transparent 55%),
                linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-with-slider {
    position: relative;
    z-index: 2;
    background: transparent;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-with-slider .hero-content {
    position: relative;
    z-index: 3;
}

/* Fallback when no slides loaded */
.hero-slider:empty + .hero-with-slider,
.hero-slider-no-images {
    background: radial-gradient(circle at top, rgba(124, 58, 237, 0.35), transparent 55%),
                linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.hero-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.fire-text {
    font-family: 'Kumbh Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(120deg, #f97316, #dc2626, #facc15);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.08em;
    text-shadow: 0 0 18px rgba(248, 250, 252, 0.2);
    animation: fire-glow 2.2s ease-in-out infinite alternate, fire-shift 6s linear infinite;
}

@keyframes fire-glow {
    0% {
        text-shadow:
            0 0 6px rgba(248, 113, 113, 0.8),
            0 0 14px rgba(248, 113, 113, 0.6),
            0 0 22px rgba(251, 191, 36, 0.4);
    }
    50% {
        text-shadow:
            0 0 10px rgba(248, 113, 113, 1),
            0 0 24px rgba(252, 165, 165, 0.9),
            0 0 32px rgba(250, 204, 21, 0.8);
    }
    100% {
        text-shadow:
            0 0 4px rgba(239, 68, 68, 0.7),
            0 0 18px rgba(250, 204, 21, 0.7),
            0 0 40px rgba(251, 191, 36, 0.6);
    }
}

@keyframes fire-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-animated .hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-enter-active .hero-animated .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Social section */
.social-section {
    padding: 40px 0 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 22px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.14), rgba(15, 23, 42, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.4);
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.9);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.95),
        0 0 25px rgba(124, 58, 237, 0.55);
    background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.2), rgba(15, 23, 42, 0.98));
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.55);
}

.social-text .social-title {
    display: block;
    font-weight: 600;
}

.social-text .social-subtitle {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.social-discord .social-icon {
    background: rgba(59, 130, 246, 0.18);
}

.social-telegram .social-icon {
    background: rgba(56, 189, 248, 0.2);
}

.social-steam .social-icon {
    background: rgba(148, 163, 184, 0.3);
}

/* Features */
.features {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.45);
    transform: translateY(0) scale(1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(15, 23, 42, 0.95));
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.9);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Subscriptions Preview */
.subscriptions-preview {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.subs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sub-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}

.sub-card:hover {
    transform: translateY(-5px);
}

.sub-plus { border-color: #60a5fa; }
.sub-ultra { border-color: #a855f7; }
.sub-elite { border-color: #fbbf24; }

.sub-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.sub-bonus {
    font-size: 2rem;
    font-weight: bold;
    color: var(--soul-color);
    margin-bottom: 20px;
}

.sub-features {
    list-style: none;
    margin-bottom: 20px;
}

.sub-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.sub-features li:last-child {
    border-bottom: none;
}

/* Subscriptions Full Page */
.page-header {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.15) 0%, transparent 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2), transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.subscriptions-full {
    padding: 60px 0;
}

.subs-comparison {
    margin-bottom: 50px;
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 4px;
}

.subs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
}

.subs-table th,
.subs-table td {
    padding: 18px 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.subs-table th {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
    font-weight: 600;
    font-size: 1.1rem;
}

.subs-table td:first-child {
    text-align: left;
    color: var(--text-secondary);
}

.subs-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.subs-table tr:last-child td {
    border-bottom: none;
}

.sub-plus-col { color: #60a5fa; font-weight: 500; }
.sub-ultra-col { color: #a855f7; font-weight: 500; }
.sub-elite-col { color: #fbbf24; font-weight: 500; }

.subs-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.sub-purchase-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sub-purchase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sub-purchase-card:hover::before,
.sub-purchase-card.active::before {
    opacity: 1;
}

.sub-purchase-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sub-purchase-card.active {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--accent-primary);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4), 
        0 0 30px rgba(124, 58, 237, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sub-purchase-card.sub-plus { --card-accent: #60a5fa; }
.sub-purchase-card.sub-ultra { --card-accent: #a855f7; }
.sub-purchase-card.sub-elite { --card-accent: #fbbf24; }

.sub-purchase-card.sub-plus::before { background: linear-gradient(90deg, transparent, #60a5fa, transparent); }
.sub-purchase-card.sub-ultra::before { background: linear-gradient(90deg, transparent, #a855f7, transparent); }
.sub-purchase-card.sub-elite::before { background: linear-gradient(90deg, transparent, #fbbf24, transparent); }

.sub-purchase-card h3 {
    font-size: 1.6rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-purchase-card.sub-plus h3 { color: #60a5fa; }
.sub-purchase-card.sub-ultra h3 { color: #a855f7; }
.sub-purchase-card.sub-elite h3 { color: #fbbf24; }

.sub-desc {
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.duration-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.duration-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.duration-btn:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    color: var(--text-primary);
    transform: translateX(4px);
}

.duration-btn.active {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-primary);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

.selected-info {
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 500;
}

.duration-btn .days {
    font-weight: 600;
}

.duration-btn .price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.05rem;
}

.duration-btn .discount {
    background: linear-gradient(135deg, var(--accent-green), #16a34a);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Subscription card states */
.sub-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.sub-status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sub-status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.sub-status-badge.upgrade {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-secondary);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.sub-status-badge.locked {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.sub-purchase-card.current-sub {
    border-color: var(--accent-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.15);
}

.sub-purchase-card.disabled-sub {
    opacity: 0.5;
    pointer-events: none;
}

.sub-purchase-card.disabled-sub .duration-btn {
    cursor: not-allowed;
}

.sub-locked-msg {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 10px;
    background: rgba(107, 114, 128, 0.1);
    border-radius: 8px;
}

.auth-prompt {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 12px;
    margin-top: 30px;
}

.auth-prompt p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    background: rgba(15, 23, 42, 0.9);
    padding: 30px;
    border-radius: 20px;
    max-width: 440px;
    width: 90%;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.glass-modal {
    backdrop-filter: blur(18px);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-size: 1.4rem;
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
}

.modal-body p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.modal-body strong {
    color: var(--text-primary);
}

.modal-details {
    margin-bottom: 16px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.price-tag {
    color: var(--accent-gold);
    font-weight: 600;
}

.modal-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.modal-warning i {
    color: #60a5fa;
}

.modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.modal-footer .btn {
    flex: 1;
}

/* Profile Page */
.profile-page {
    padding: 60px 0;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-primary);
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.profile-info h1 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.discord-id {
    color: var(--text-secondary);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.profile-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.profile-card h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.balance-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.balance-label {
    color: var(--text-secondary);
    flex: 1;
}

.balance-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.sub-status {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.sub-status:last-child {
    border-bottom: none;
}

.sub-name {
    font-weight: 500;
}

.sub-expires {
    color: var(--accent-green);
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.history-item:last-child {
    border-bottom: none;
}

.item-name {
    font-weight: 500;
}

.item-details {
    color: var(--text-secondary);
}

.item-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.status-completed, .status-active {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
}

.status-pending, .status-pending_role {
    background: rgba(251, 191, 36, 0.2);
    color: var(--accent-gold);
}

.status-failed, .status-expired {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
}

.item-date {
    color: var(--text-secondary);
    margin-left: auto;
}

.item-amount {
    color: var(--accent-green);
    font-weight: bold;
}

.no-data, .loading {
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

/* Roles */
.role-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.role-item:last-child {
    border-bottom: none;
}

.role-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.role-status {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.status-free {
    background: rgba(251, 191, 36, 0.2);
    color: var(--accent-gold);
}

.role-payment {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.role-bonus {
    background: rgba(168, 85, 247, 0.2);
    color: var(--soul-color);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Free role info */
.free-role-info {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.free-role-info h3 {
    margin-bottom: 15px;
    color: var(--accent-gold);
}

.free-role-info p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.free-role-info ul {
    list-style: none;
    padding: 0;
}

.free-role-info li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-secondary);
}

.free-role-info li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Upgrade block */
.upgrade-block {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--accent-primary);
    padding: 25px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.upgrade-block h3 {
    margin-bottom: 15px;
    color: var(--accent-secondary);
}

.upgrade-block p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

#upgrade-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Topup Page */
.topup-page {
    padding: 60px 0;
}

.topup-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

.topup-card {
    max-width: 500px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.current-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.current-balance .value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-gold);
}

.topup-form label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.topup-form input {
    width: 100%;
    padding: 15px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.topup-form input:focus {
    outline: none;
    border-color: var(--accent-primary);
}

.quick-amounts {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.quick-btn {
    flex: 1;
    padding: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.quick-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
}

.topup-form .btn-lg {
    width: 100%;
    margin-bottom: 15px;
}

.topup-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.topup-info {
    max-width: 500px;
    margin: 0 auto;
}

.topup-info h2 {
    margin-bottom: 20px;
}

.topup-info ol {
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 2;
}

/* Leaderboard Page */
.leaderboard-page {
    padding: 60px 0;
}

.leaderboard-page h1 {
    text-align: center;
    margin-bottom: 40px;
}

.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
}

.tab-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.tab-content {
    display: none;
    max-width: 600px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.leaderboard-list {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
}

/* Footer */
.footer {
    margin-top: auto;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copy {
    color: var(--text-secondary);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-social a {
    color: #6b7280;
    text-decoration: none;
    font-size: 1.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
}

.footer-icon-telegram:hover {
    color: #1da1f2;
}

.footer-icon-discord:hover {
    color: #5865f2;
}

/* Legal pages */
.legal-page {
    padding: 60px 0;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    line-height: 1.7;
}

.legal-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.legal-content p {
    color: var(--text-secondary);
    margin: 10px 0;
}

.legal-content ul {
    margin: 10px 0 10px 18px;
    color: var(--text-secondary);
}

.legal-content li {
    margin: 6px 0;
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Mobile hamburger menu */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 200;
}

.nav-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 150;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        gap: 4px;
    }
    
    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 10px;
        z-index: 160;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-slider-dots {
        bottom: 15px;
    }

    .slider-dot {
        width: 10px;
        height: 10px;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .subs-grid {
        grid-template-columns: 1fr;
    }

    .subs-table {
        font-size: 0.85rem;
    }

    .subs-table th,
    .subs-table td {
        padding: 10px 8px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .user-info {
        display: none;
    }

    .nav-auth .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    /* Modal mobile */
    .modal-content {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* Subscriptions cards mobile */
    .subs-cards {
        grid-template-columns: 1fr;
    }

    .sub-purchase-card {
        padding: 25px;
    }

    .duration-btn {
        flex-wrap: wrap;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .features {
        padding: 50px 0;
    }

    .feature-card {
        padding: 20px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 1rem;
    }
}
