:root {
    --primary-color: var(--accent-color);
    --secondary-color: var(--accent-color);
    --accent-color: #a78bfa;
    --accent-color-rgb: 167, 139, 250;
    --accent-purple: var(--accent-color);
    --dark-bg: #0f0f1e;
    --darker-bg: #08080f;
    --card-bg: #1a1a2e;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --border-color: #2d2d44;
    --success: #10b981;
    --error: #ef4444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4a00e0 40%));
    border-radius: 10px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

::-webkit-scrollbar-corner {
    background: var(--darker-bg);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--darker-bg);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(5, 8, 20, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(var(--accent-color-rgb), 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    min-height: 70px;
}

.logo a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.8);
}

.nav-profile {
    list-style: none;
    position: relative;
}

.profile-dropdown {
    position: relative;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(26, 26, 46, 0.5);
    cursor: pointer;
}

.profile-link:hover {
    border-color: var(--accent-purple);
    background: rgba(var(--accent-color-rgb), 0.1);
    box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.3);
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-purple);
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow 0.3s ease;
}

/* Nav Avatar Role Borders */
.nav-avatar.role-admin {
    box-shadow: 0 0 0 2px #ef4444, 0 0 15px rgba(239, 68, 68, 0.5);
    border-color: var(--card-bg);
}

.nav-avatar.role-support {
    box-shadow: 0 0 0 2px #3b82f6, 0 0 15px rgba(59, 130, 246, 0.5);
    border-color: var(--card-bg);
}

.nav-avatar.role-alpha {
    box-shadow: 0 0 0 2px #10b981, 0 0 15px rgba(16, 185, 129, 0.5);
    border-color: var(--card-bg);
}

.nav-avatar.role-premium {
    box-shadow: 0 0 0 2px var(--accent-color), 0 0 15px rgba(var(--accent-color-rgb), 0.5);
    border-color: var(--card-bg);
}

.nav-avatar.role-user {
    box-shadow: 0 0 0 2px #9ca3af, 0 0 15px rgba(156, 163, 175, 0.3);
    border-color: var(--card-bg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.profile-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.dropdown-item:first-child {
    border-radius: 14px 14px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 14px 14px;
}

.dropdown-item:hover {
    background: rgba(var(--accent-color-rgb), 0.2);
    color: var(--accent-purple);
    padding-left: 2rem;
}

.user-name {
    color: var(--success);
    font-weight: 600;
    font-size: 0.95rem;
}

.user-name.user-role-banned {
    color: #6b7280 !important;
    text-decoration: line-through;
}

/* Buttons */
.btn {
    padding: 0.65rem 1.3rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4a00e0 40%));
    color: white;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-save {
    width: 100% !important;
    max-width: 100% !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 50%, #1a1a2e 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
}

.hero-buttons a {
    pointer-events: auto;
    cursor: pointer;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--darker-bg);
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(var(--accent-color-rgb), 0.4);
    border-color: var(--accent-purple);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Products Section */
.products-section {
    padding: 8rem 0 4rem;
    background: var(--dark-bg);
    min-height: 100vh;
}

.page-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 500px));
    gap: 3rem;
    justify-content: center;
}

.product-card {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s;
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(var(--accent-color-rgb), 0.5);
    border-color: var(--accent-purple);
}

.product-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #1a1a2e, #2d2d44);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4a00e0 40%));
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4);
}

.product-content {
    padding: 2rem;
}

.product-header {
    margin-bottom: 1rem;
}

.product-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.product-game {
    color: var(--success);
    font-size: 1rem;
    font-weight: 600;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    color: var(--text-secondary);
    padding: 0.6rem 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--accent-purple);
    font-weight: 700;
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
}

.auth-box {
    background: var(--card-bg);
    padding: 5rem 8rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    max-width: 600px;
    width: 100%;
}

.auth-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.3rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: visible !important;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-input {
    padding: 1.4rem 1.5rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 5px rgba(var(--accent-color-rgb), 0.2);
}

.auth-footer {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.auth-footer a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Dashboard */
.dashboard-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all 0.4s;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(var(--accent-color-rgb), 0.4);
    border-color: var(--accent-purple);
}

.dashboard-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.dashboard-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    color: var(--accent-purple);
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-purple);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .auth-box {
        padding: 2rem;
    }

    .products-grid,
    .features-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}


/* Feature Icons */
.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--accent-purple);
    filter: drop-shadow(0 4px 15px rgba(var(--accent-color-rgb), 0.4));
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 25px rgba(var(--accent-color-rgb), 0.6));
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Role Colors */
.user-role-admin {
    color: #ef4444 !important;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.6), 0 0 20px rgba(239, 68, 68, 0.4);
}

.user-role-support {
    color: #3b82f6 !important;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4);
}

.user-role-alpha {
    color: #10b981 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6), 0 0 20px rgba(16, 185, 129, 0.4);
}

.user-role-user {
    color: #9ca3af !important;
    text-shadow: 0 0 10px rgba(156, 163, 175, 0.6), 0 0 20px rgba(156, 163, 175, 0.4);
}

.user-role-premium {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.6), 0 0 20px rgba(var(--accent-color-rgb), 0.4);
}

/* Admin Button */
.btn-admin {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}

/* Admin Section */
.admin-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: var(--dark-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(var(--accent-color-rgb), 0.3);
    border-color: var(--accent-purple);
}

.stat-info {
    text-align: center;
}

.stat-info h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-purple);
    margin: 0 0 0.25rem 0;
}

.stat-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.admin-tab {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    position: relative;
}

.admin-tab::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4a00e0 40%));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.admin-tab:hover {
    color: var(--accent-purple);
}

.admin-tab.active {
    color: var(--accent-purple);
}

.admin-tab.active::before {
    transform: scaleX(1);
}

.admin-content {
    animation: fadeIn 0.4s ease-out;
}

.admin-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.admin-card h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.admin-form .btn {
    align-self: flex-start;
    min-width: 200px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark-bg);
}

.admin-table thead {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.2), rgba(var(--accent-color-rgb), 0.1));
}

.admin-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    color: var(--accent-purple);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.admin-table tbody tr {
    transition: all 0.3s;
}

.admin-table tbody tr:hover {
    background: rgba(var(--accent-color-rgb), 0.05);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.key-code {
    background: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--accent-purple);
    font-weight: 600;
    cursor: pointer;
}

.key-code:hover {
    background: rgba(var(--accent-color-rgb), 0.2);
}

.role-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    border: none;
}

.role-badge.role-admin {
    background: #ef4444;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4), 0 0 20px rgba(239, 68, 68, 0.3);
}

.role-badge.role-support {
    background: #3b82f6;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.3);
}

.role-badge.role-alpha {
    background: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
}

.role-badge.role-user {
    background: #9ca3af;
    box-shadow: 0 4px 15px rgba(156, 163, 175, 0.4), 0 0 20px rgba(156, 163, 175, 0.3);
}

.role-badge.role-premium {
    background: var(--accent-color);
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4), 0 0 20px rgba(var(--accent-color-rgb), 0.3);
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.status-expired {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-unused {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.status-used {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-deactivated {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
}

/* Responsive Admin */
@media (max-width: 768px) {
    .admin-tabs {
        flex-wrap: wrap;
        overflow-x: auto;
    }

    .admin-tab {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .table-responsive {
        font-size: 0.85rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}


/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-ban {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-ban:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.5);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.5);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

.role-select {
    padding: 0.4rem 0.6rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}

.role-select:hover {
    border-color: var(--accent-purple);
}

.role-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.2);
}

/* Role Badge Premium */
.role-badge.role-premium {
    background: var(--accent-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.4), 0 0 20px rgba(var(--accent-color-rgb), 0.3);
}

.user-role-premium {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.6), 0 0 20px rgba(var(--accent-color-rgb), 0.4);
}

.user-role-banned {
    color: #6b7280 !important;
    text-decoration: line-through;
}

.role-badge.role-banned {
    background: rgba(107, 114, 128, 0.2);
    color: #6b7280 !important;
    border: 1px solid #6b7280;
    text-decoration: line-through;
}

.role-badge-large.role-banned {
    background: #6b7280;
    color: white;
    border: none;
    text-decoration: line-through;
}

/* Users Page */
.users-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: var(--dark-bg);
}

.users-category {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.user-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.4s;
    text-decoration: none;
    display: block;
}

.user-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(var(--accent-color-rgb), 0.4);
    border-color: var(--accent-purple);
}

.user-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-bg);
}

.user-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -50px;
    padding: 0 1rem;
}

.user-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--card-bg);
    object-fit: cover;
    box-shadow: 0 0 0 3px transparent;
    transition: box-shadow 0.3s ease;
}

/* Avatar Role Borders */
.user-avatar.role-admin {
    box-shadow: 0 0 0 3px #ef4444, 0 0 20px rgba(239, 68, 68, 0.5);
}

.user-avatar.role-support {
    box-shadow: 0 0 0 3px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.5);
}

.user-avatar.role-alpha {
    box-shadow: 0 0 0 3px #10b981, 0 0 20px rgba(16, 185, 129, 0.5);
}

.user-avatar.role-premium {
    box-shadow: 0 0 0 3px var(--accent-color), 0 0 20px rgba(var(--accent-color-rgb), 0.5);
}

.user-avatar.role-user {
    box-shadow: 0 0 0 3px #9ca3af, 0 0 20px rgba(156, 163, 175, 0.3);
}

.user-info {
    text-align: center;
    padding: 1rem 1.5rem 1.5rem;
}

.user-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Profile Page */
.profile-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: var(--dark-bg);
}

.profile-header {
    background: var(--card-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.profile-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--dark-bg);
}

.profile-main {
    padding: 0 3rem 2rem;
    display: flex;
    align-items: flex-end;
    gap: 2rem;
}

.profile-avatar-wrapper {
    margin-top: -80px;
}

.profile-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 6px solid var(--card-bg);
    object-fit: cover;
    box-shadow: 0 0 0 4px transparent;
    transition: box-shadow 0.3s ease;
}

/* Profile Avatar Role Borders */
.profile-avatar.role-admin {
    box-shadow: 0 0 0 4px #ef4444, 0 0 30px rgba(239, 68, 68, 0.6);
}

.profile-avatar.role-support {
    box-shadow: 0 0 0 4px #3b82f6, 0 0 30px rgba(59, 130, 246, 0.6);
}

.profile-avatar.role-alpha {
    box-shadow: 0 0 0 4px #10b981, 0 0 30px rgba(16, 185, 129, 0.6);
}

.profile-avatar.role-premium {
    box-shadow: 0 0 0 4px var(--accent-color), 0 0 30px rgba(var(--accent-color-rgb), 0.6);
}

.profile-avatar.role-user {
    box-shadow: 0 0 0 4px #9ca3af, 0 0 30px rgba(156, 163, 175, 0.4);
}

.profile-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.profile-username {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 900;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.profile-left,
.profile-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.profile-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.profile-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.subscription-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sub-name {
    font-weight: 600;
    color: var(--text-primary);
}

.sub-days {
    color: var(--success);
    font-weight: 700;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 12px;
}

.stat-label {
    color: var(--text-secondary);
}

.stat-value {
    color: var(--text-primary);
    font-weight: 700;
}

.comment-form {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-input {
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.comment-input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.2);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item {
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.comment-author {
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

.comment-author:hover {
    text-decoration: underline;
}

.comment-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.comment-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.text-muted {
    color: var(--text-secondary);
    font-style: italic;
}

/* Profile Edit Page */
.profile-edit-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: var(--dark-bg);
}

.profile-edit-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive Profile */
@media (max-width: 1024px) {
    .profile-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .profile-banner {
        height: 200px;
    }

    .profile-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1.5rem 1.5rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-info {
        flex-direction: column;
        align-items: center;
    }

    .profile-username {
        font-size: 2rem;
    }

    .users-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Alpha Role Color */
.user-role-alpha {
    color: #10b981 !important;
}

.role-badge.role-alpha {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
}

/* File Upload Styles */
.file-upload-wrapper {
    margin-bottom: 1rem;
}

.file-input {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.file-label:hover {
    border-color: var(--accent-purple);
    background: rgba(var(--accent-color-rgb), 0.05);
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.image-preview {
    position: relative;
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-color);
}

.preview-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

.remove-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-preview:hover {
    background: #dc2626;
    transform: scale(1.1);
}

/* Profile Page - New Style */
.profile-section {
    background: var(--dark-bg);
    min-height: 100vh;
    padding-top: 70px;
}

.container-fluid {
    width: 100%;
    padding: 0;
    margin: 0;
}

.profile-banner-full {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 0;
    background-color: var(--card-bg);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.profile-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
}

.profile-header-new {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding: 0 2rem 2rem;
}

.profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid var(--dark-bg);
    overflow: hidden;
    background: var(--card-bg);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px transparent;
    transition: box-shadow 0.3s ease;
}

/* Profile Avatar Large Role Borders */
.profile-avatar-large.role-admin {
    box-shadow: 0 0 0 4px #ef4444, 0 0 30px rgba(239, 68, 68, 0.6);
}

.profile-avatar-large.role-support {
    box-shadow: 0 0 0 4px #3b82f6, 0 0 30px rgba(59, 130, 246, 0.6);
}

.profile-avatar-large.role-alpha {
    box-shadow: 0 0 0 4px #10b981, 0 0 30px rgba(16, 185, 129, 0.6);
}

.profile-avatar-large.role-premium {
    box-shadow: 0 0 0 4px var(--accent-color), 0 0 30px rgba(var(--accent-color-rgb), 0.6);
}

.profile-avatar-large.role-user {
    box-shadow: 0 0 0 4px #9ca3af, 0 0 30px rgba(156, 163, 175, 0.4);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.profile-user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-username-large {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin: 0;
    font-weight: 900;
}

.btn-edit-profile {
    margin-top: 0.5rem;
    align-self: flex-start;
}

.role-badge-large {
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    width: fit-content;
}

.role-badge-large.role-admin {
    background: #ef4444;
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.4);
}

.role-badge-large.role-support {
    background: #3b82f6;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.4);
}

.role-badge-large.role-alpha {
    background: #10b981;
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.4);
}

.role-badge-large.role-user {
    background: #9ca3af;
    color: white;
    box-shadow: 0 6px 20px rgba(156, 163, 175, 0.5), 0 0 30px rgba(156, 163, 175, 0.4);
}

.role-badge-large.role-premium {
    background: var(--accent-color);
    color: white;
    border: none;
    box-shadow: 0 6px 20px rgba(var(--accent-color-rgb), 0.5), 0 0 30px rgba(var(--accent-color-rgb), 0.4);
}

.profile-reg-date {
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    font-size: 0.95rem;
}

.profile-body {
    padding: 2rem;
}

.profile-section-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.profile-section-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.profile-section-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.comment-form-new {
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.comment-input-new {
    flex: 1;
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

.comment-input-new:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(var(--accent-color-rgb), 0.2);
}

.comments-list-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comment-item-new {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.comment-avatar-new {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px transparent;
    transition: box-shadow 0.3s ease;
}

/* Comment Avatar Role Borders */
.comment-avatar-new.role-admin {
    box-shadow: 0 0 0 2px #ef4444, 0 0 15px rgba(239, 68, 68, 0.5);
}

.comment-avatar-new.role-support {
    box-shadow: 0 0 0 2px #3b82f6, 0 0 15px rgba(59, 130, 246, 0.5);
}

.comment-avatar-new.role-alpha {
    box-shadow: 0 0 0 2px #10b981, 0 0 15px rgba(16, 185, 129, 0.5);
}

.comment-avatar-new.role-premium {
    box-shadow: 0 0 0 2px var(--accent-color), 0 0 15px rgba(var(--accent-color-rgb), 0.5);
}

.comment-avatar-new.role-user {
    box-shadow: 0 0 0 2px #9ca3af, 0 0 15px rgba(156, 163, 175, 0.3);
}

.comment-content-new {
    flex: 1;
}

.comment-header-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.comment-author-new {
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}

.comment-author-new:hover {
    text-decoration: underline;
}

.comment-date-new {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comment-text-new {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.text-muted {
    color: var(--text-secondary);
    font-style: italic;
}

.subscription-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscription-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.sub-name {
    font-weight: 600;
    color: var(--text-primary);
}

.sub-days {
    color: var(--success);
    font-weight: 700;
}

/* Responsive New Profile */
@media (max-width: 768px) {
    .profile-banner-full {
        height: 250px;
    }

    .profile-header-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-user-info {
        align-items: center;
    }

    .profile-avatar-large {
        width: 120px;
        height: 120px;
    }

    .profile-username-large {
        font-size: 2rem;
    }

    .btn-edit-profile {
        margin-left: 0;
        align-self: center;
    }
}

/* Dashboard New Styles */
.dashboard-welcome {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-welcome h2 {
    margin: 0;
    font-size: 2rem;
}

.dashboard-grid-new {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

.dashboard-card-new {
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Карточка подписок занимает всю ширину */
.dashboard-card-new.subscriptions-card {
    grid-column: 1 / -1;
    min-height: auto;
}

/* Остальные карточки имеют одинаковую высоту */
.dashboard-card-new:not(.subscriptions-card) {
    min-height: 450px;
}

.card-header {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.2), rgba(var(--accent-color-rgb), 0.1));
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--border-color);
}

.card-header h3 {
    margin: 0;
    color: var(--accent-purple);
    font-size: 1.5rem;
}

.activate-form {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.activate-form .btn-full {
    width: 100%;
    margin-top: auto;
    flex-shrink: 0;
}

.subscriptions-list {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.subscription-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
    align-items: center;
}

.subscription-item.active {
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(52, 211, 153, 0.02));
}

.subscription-item.expired {
    border-color: var(--error);
    opacity: 0.6;
}

.sub-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.2), rgba(var(--accent-color-rgb), 0.1));
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
}

.subscription-item.active .sub-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.1));
    border-color: rgba(16, 185, 129, 0.4);
}

.subscription-item.active .sub-icon svg {
    color: var(--success);
}

.subscription-item.expired .sub-icon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(248, 113, 113, 0.1));
    border-color: rgba(239, 68, 68, 0.4);
}

.subscription-item.expired .sub-icon svg {
    color: var(--error);
}

.sub-icon svg {
    color: var(--accent-purple);
}

.sub-info {
    flex: 1;
}

.sub-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.sub-status-box {
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    display: inline-block;
    margin: 0.5rem 0;
}

.sub-status-box.status-active {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
    border: 2px solid var(--success);
}

.sub-status-box.status-expired {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
    border: 2px solid var(--error);
}

.sub-expires {
    color: var(--text-secondary);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.no-subscriptions {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-sub-icon {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.1), rgba(var(--accent-color-rgb), 0.05));
    border: 2px solid rgba(var(--accent-color-rgb), 0.2);
    margin-bottom: 1rem;
}

.no-sub-icon svg {
    color: var(--accent-purple);
    opacity: 0.6;
}

.no-subscriptions p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1.1rem;
}

/* Error/Success Sections */
.error-section,
.success-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 4rem;
}

.error-box,
.success-box {
    background: var(--card-bg);
    padding: 4rem;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    text-align: center;
    max-width: 600px;
}

.error-box h2 {
    color: var(--error);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.success-box h2 {
    color: var(--success);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.error-box p,
.success-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-grid-new {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .dashboard-card-new:not(.subscriptions-card) {
        min-height: 380px;
    }

    .form-card-icon {
        width: 64px;
        height: 64px;
    }

    .form-card-icon svg {
        width: 48px;
        height: 48px;
    }

    .sub-icon {
        width: 50px;
        height: 50px;
    }

    .sub-icon svg {
        width: 36px;
        height: 36px;
    }

    .no-sub-icon {
        width: 80px;
        height: 80px;
    }

    .no-sub-icon svg {
        width: 60px;
        height: 60px;
    }

    .subscription-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Ticket System Styles */
.tickets-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(8, 8, 15, 0.98));
}

.tickets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.tickets-header .page-title {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #4a00e0 40%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(var(--accent-color-rgb), 0.3);
}

.tickets-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 2rem;
    grid-auto-flow: row;
    direction: ltr;
}

.ticket-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9), rgba(15, 15, 30, 0.95));
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 24px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    position: relative;
    overflow: hidden;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.1), rgba(var(--accent-color-rgb), 0.05));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.ticket-card:hover::before {
    opacity: 1;
}

.ticket-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(var(--accent-color-rgb), 0.4), 0 0 80px rgba(var(--accent-color-rgb), 0.2);
}

.ticket-card>* {
    position: relative;
    z-index: 1;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ticket-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticket-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 0 2px transparent, 0 0 20px rgba(var(--accent-color-rgb), 0.4);
    transition: box-shadow 0.3s ease;
}

/* Ticket Avatar Role Borders */
.ticket-avatar.role-admin {
    box-shadow: 0 0 0 2px #ef4444, 0 0 15px rgba(239, 68, 68, 0.5);
}

.ticket-avatar.role-support {
    box-shadow: 0 0 0 2px #3b82f6, 0 0 15px rgba(59, 130, 246, 0.5);
}

.ticket-avatar.role-alpha {
    box-shadow: 0 0 0 2px #10b981, 0 0 15px rgba(16, 185, 129, 0.5);
}

.ticket-avatar.role-premium {
    box-shadow: 0 0 0 2px #a78bfa, 0 0 15px rgba(var(--accent-color-rgb), 0.5);
}

.ticket-avatar.role-user {
    box-shadow: 0 0 0 2px #9ca3af, 0 0 15px rgba(156, 163, 175, 0.3);
}

.ticket-username {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.3);
}

.ticket-status {
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ticket-status-open {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    color: #fca5a5;
    border: 2px solid #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.ticket-status-approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(5, 150, 105, 0.2));
    color: #6ee7b7;
    border: 2px solid #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.ticket-status-rejected {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(220, 38, 38, 0.2));
    color: #fca5a5;
    border: 2px solid #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.ticket-status-closed {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.3), rgba(107, 114, 128, 0.2));
    color: #d1d5db;
    border: 2px solid #9ca3af;
    box-shadow: 0 0 20px rgba(156, 163, 175, 0.3);
}

.ticket-category {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

.ticket-subject {
    font-size: 1.5rem;
    margin: 0.75rem 0;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.4;
}

.ticket-preview {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 1.25rem 0;
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(var(--accent-color-rgb), 0.2);
}

.ticket-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Ticket Detail */
.ticket-detail-section {
    padding: 8rem 0 4rem;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(8, 8, 15, 0.98));
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--secondary-color);
    transform: translateX(-8px);
    background: rgba(var(--accent-color-rgb), 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.4);
}

.ticket-detail-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.98));
    border: 3px solid rgba(var(--accent-color-rgb), 0.4);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 80px rgba(var(--accent-color-rgb), 0.2);
}

.ticket-detail-header {
    padding: 3rem;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.15), rgba(var(--accent-color-rgb), 0.08));
    border-bottom: 3px solid rgba(var(--accent-color-rgb), 0.3);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.ticket-detail-info {
    flex: 1;
}

.ticket-detail-subject {
    font-size: 2.5rem;
    margin: 0.75rem 0 1.5rem 0;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
}

.ticket-detail-meta {
    display: flex;
    gap: 2.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.ticket-message-list {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ticket-message {
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(8, 8, 15, 0.95));
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
}

.ticket-message:hover {
    border-color: rgba(var(--accent-color-rgb), 0.5);
    box-shadow: 0 8px 24px rgba(var(--accent-color-rgb), 0.2);
}

.message-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.message-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 0 2px transparent, 0 0 20px rgba(var(--accent-color-rgb), 0.5);
    transition: box-shadow 0.3s ease;
}

/* Message Avatar Role Borders */
.message-avatar.role-admin {
    box-shadow: 0 0 0 2px #ef4444, 0 0 20px rgba(239, 68, 68, 0.5);
}

.message-avatar.role-support {
    box-shadow: 0 0 0 2px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.5);
}

.message-avatar.role-alpha {
    box-shadow: 0 0 0 2px #10b981, 0 0 20px rgba(16, 185, 129, 0.5);
}

.message-avatar.role-premium {
    box-shadow: 0 0 0 2px #a78bfa, 0 0 20px rgba(var(--accent-color-rgb), 0.5);
}

.message-avatar.role-user {
    box-shadow: 0 0 0 2px #9ca3af, 0 0 20px rgba(156, 163, 175, 0.3);
}

.message-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.message-username {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.3);
}

.message-content {
    color: var(--text-primary);
    line-height: 1.7;
    margin: 1.5rem 0;
    white-space: pre-wrap;
    font-size: 1.05rem;
}

.message-date {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-weight: 500;
}

.ticket-reply-form {
    padding: 3rem;
    border-top: 3px solid rgba(var(--accent-color-rgb), 0.3);
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.05), rgba(var(--accent-color-rgb), 0.02));
}

.ticket-reply-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ticket-reply-form .btn-primary {
    align-self: flex-start;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.5);
    position: relative;
    overflow: hidden;
}

.ticket-reply-form .btn-primary::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: left 0.5s;
}

.ticket-reply-form .btn-primary:hover::before {
    left: 100%;
}

.ticket-reply-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-color-rgb), 0.7);
    border-color: #a78bfa;
}

.ticket-reply-form .btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.6);
}

.ticket-reply-form textarea {
    min-height: 150px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(8, 8, 15, 0.98));
    border: 3px solid rgba(var(--accent-color-rgb), 0.4);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 1.05rem;
    resize: vertical;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.ticket-reply-form textarea::placeholder {
    color: rgba(156, 163, 175, 0.5);
    font-style: italic;
}

.ticket-reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.6), inset 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 30, 1), rgba(8, 8, 15, 1));
    transform: scale(1.01);
}

.ticket-reply-form textarea:hover {
    border-color: rgba(var(--accent-color-rgb), 0.6);
}

.ticket-actions {
    padding: 2rem 3rem;
    border-top: 3px solid rgba(var(--accent-color-rgb), 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.9), rgba(8, 8, 15, 0.95));
    display: flex;
    gap: 1.5rem;
}

.ticket-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid;
}

.ticket-actions .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: left 0.5s;
}

.ticket-actions .btn:hover::before {
    left: 100%;
}

.ticket-actions .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
}

.ticket-actions .btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.7);
    border-color: #6ee7b7;
}

.ticket-actions .btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
}

.ticket-actions .btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(239, 68, 68, 0.7);
    border-color: #fca5a5;
}

.ticket-actions .btn:active {
    transform: translateY(-1px);
}

.ticket-closed-notice {
    padding: 3rem;
    text-align: center;
    font-size: 1.2rem;
    border-top: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.notice-icon {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

.notice-content {
    text-align: left;
}

.notice-content strong {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.notice-status {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-date {
    font-size: 1rem;
    opacity: 0.8;
}

.notice-approved {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border-color: #10b981;
    color: #6ee7b7;
}

.notice-approved .notice-icon {
    color: #10b981;
    text-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
}

.notice-approved .notice-status {
    color: #10b981;
}

.notice-rejected {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.1));
    border-color: #ef4444;
    color: #fca5a5;
}

.notice-rejected .notice-icon {
    color: #ef4444;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.8);
}

.notice-rejected .notice-status {
    color: #ef4444;
}

.notice-closed {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.15), rgba(107, 114, 128, 0.1));
    border-color: #9ca3af;
    color: #d1d5db;
}

.notice-closed .notice-icon {
    color: #9ca3af;
    text-shadow: 0 0 30px rgba(156, 163, 175, 0.8);
}

.notice-closed .notice-status {
    color: #9ca3af;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(15, 15, 30, 0.98));
    border: 3px solid rgba(var(--accent-color-rgb), 0.5);
    border-radius: 32px;
    padding: 3rem;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow: visible !important;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 100px rgba(var(--accent-color-rgb), 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid transparent;
}

.modal-close:hover {
    color: var(--error);
    transform: rotate(90deg);
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--error);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.modal-content h2 {
    margin: 0 0 2rem 0;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-content .form-group {
    margin-bottom: 2rem;
    position: relative;
    overflow: visible;
}

.modal-content .form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-content .form-control {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(8, 8, 15, 0.98));
    border: 3px solid rgba(var(--accent-color-rgb), 0.4);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modal-content .form-control::placeholder {
    color: rgba(156, 163, 175, 0.5);
    font-style: italic;
}

.modal-content .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.6), inset 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 30, 1), rgba(8, 8, 15, 1));
    transform: scale(1.01);
}

.modal-content .form-control:hover {
    border-color: rgba(var(--accent-color-rgb), 0.6);
}

.modal-content textarea.form-control {
    min-height: 180px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.modal-content select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' 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 1rem center;
    background-size: 20px;
    padding-right: 3rem;
    color: var(--text-primary);
    font-weight: 600;
}

.modal-content select.form-control option {
    background: #1a1a2e;
    color: var(--text-primary);
    padding: 1rem;
    font-weight: 600;
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.95), rgba(8, 8, 15, 0.98));
    border: 3px solid rgba(var(--accent-color-rgb), 0.4);
    border-radius: 20px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    min-height: 56px;
}

.custom-select-trigger span {
    flex: 1;
    text-align: left;
}

.custom-select-trigger:hover {
    border-color: rgba(var(--accent-color-rgb), 0.6);
}

.custom-select.open .custom-select-trigger {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 0.6), inset 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 30, 1), rgba(8, 8, 15, 1));
    border-radius: 20px 20px 0 0;
}

.custom-arrow {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s;
    margin-left: 1rem;
    font-weight: bold;
}

.custom-select.open .custom-arrow {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(15, 15, 30, 0.98), rgba(8, 8, 15, 0.98));
    border: 3px solid var(--primary-color);
    border-top: none;
    border-radius: 0 0 20px 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.custom-select.open .custom-options {
    max-height: 400px;
    opacity: 1;
    overflow-y: auto;
}

.custom-option {
    padding: 1.25rem 1.5rem;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border-left: 4px solid transparent;
    background: transparent;
}

.custom-option:hover {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.25), rgba(var(--accent-color-rgb), 0.15));
    border-left-color: var(--primary-color);
    padding-left: 2rem;
    transform: translateX(4px);
}

.custom-option.selected {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.35), rgba(var(--accent-color-rgb), 0.2));
    border-left-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: inset 0 0 20px rgba(var(--accent-color-rgb), 0.3);
}

.custom-option.selected:hover {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.4), rgba(var(--accent-color-rgb), 0.25));
}

.custom-options::-webkit-scrollbar {
    width: 10px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(15, 15, 30, 0.8);
    border-radius: 0 0 20px 0;
}

.custom-options::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    border: 2px solid rgba(15, 15, 30, 0.8);
}

.custom-options::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 0 10px rgba(var(--accent-color-rgb), 0.5);
}

.modal-content input.form-control {
    font-weight: 500;
}

.modal-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    border: 3px solid var(--accent-color);
    border-radius: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.5);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 1rem;
}

.modal-content .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: left 0.5s;
}

.modal-content .btn:hover::before {
    left: 100%;
}

.modal-content .btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--accent-color-rgb), 0.7);
    border-color: #a78bfa;
}

.modal-content .btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(var(--accent-color-rgb), 0.6);
}

.empty-state {
    text-align: center;
    padding: 6rem 2rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5), rgba(15, 15, 30, 0.5));
    border-radius: 24px;
    border: 2px dashed rgba(var(--accent-color-rgb), 0.3);
}

.empty-state p {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Button variants */
.btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: 2px solid #10b981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4);
    transition: all 0.3s;
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    border: 2px solid #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.4);
    transition: all 0.3s;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.6);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    color: white;
    border: 2px solid var(--accent-color);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(var(--accent-color-rgb), 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--accent-color-rgb), 0.6);
}

/* Responsive Tickets */
@media (max-width: 768px) {
    .tickets-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .tickets-list {
        grid-template-columns: 1fr;
    }

    .ticket-detail-header {
        flex-direction: column;
        gap: 1rem;
    }

    .ticket-actions {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}


/* ============================================
   CUSTOM SELECT DROPDOWN
   ============================================ */
.custom-select-wrapper {
    position: relative;
    width: 100%;
    overflow: visible !important;
}

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
    z-index: 100;
    overflow: visible !important;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #0a0a14;
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
    border-radius: 8px;
    color: #e0e0e8;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger:hover {
    border-color: rgba(var(--accent-color-rgb), 0.5);
    background: #0f0f1e;
}

.custom-select.open .custom-select-trigger {
    border-color: var(--accent-color);
    background: #0f0f1e;
    box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
}

.custom-select.open {
    z-index: 9999;
}

.custom-select-trigger svg {
    transition: transform 0.3s ease;
    color: var(--accent-color);
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: fixed;
    left: auto;
    right: auto;
    min-width: 300px;
    background: #0a0a14;
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 8px;
    overflow: hidden;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 99999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--accent-color-rgb), 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.custom-select.open .custom-select-options {
    display: block;
}

.floating-dropdown {
    position: fixed !important;
    background: #0a0a14 !important;
    border: 2px solid rgba(var(--accent-color-rgb), 0.6) !important;
    border-radius: 8px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(var(--accent-color-rgb), 0.3) !important;
    max-height: 300px !important;
    overflow-y: auto !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

.floating-dropdown .custom-select-option {
    padding: 14px 16px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.floating-dropdown .custom-select-option:hover {
    background: rgba(124, 92, 232, 0.15);
    color: #b89dff;
}

.custom-select-option {
    padding: 14px 16px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), rgba(var(--accent-color-rgb), 0.15));
    color: #e0e0e8;
    padding-left: 20px;
}

.custom-select-option.selected {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.25), rgba(var(--accent-color-rgb), 0.25));
    color: #ffffff;
    font-weight: 600;
    border-left: 3px solid #3b82f6;
}

.custom-select-option.selected:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(var(--accent-color-rgb), 0.35));
}

/* Animation for options */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select.open .custom-select-option {
    animation: slideDown 0.3s ease forwards;
}

.custom-select.open .custom-select-option:nth-child(1) {
    animation-delay: 0.05s;
}

.custom-select.open .custom-select-option:nth-child(2) {
    animation-delay: 0.1s;
}

.custom-select.open .custom-select-option:nth-child(3) {
    animation-delay: 0.15s;
}

.custom-select.open .custom-select-option:nth-child(4) {
    animation-delay: 0.2s;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-select-trigger {
        padding: 10px 14px;
        font-size: 13px;
    }

    .custom-select-option {
        padding: 12px 14px;
        font-size: 13px;
    }
}


/* ============================================
   LOADER DOWNLOAD CARD
   ============================================ */
.loader-download-card,
.subscription-card,
.activate-card,
.info-card {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.1) 0%, rgba(var(--accent-color-rgb), 0.05) 100%);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.loader-download-card::before,
.subscription-card::before,
.activate-card::before,
.info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 70%);
    animation: loaderGlow 4s ease-in-out infinite;
}

@keyframes loaderGlow {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-10%, -10%) scale(1.1);
        opacity: 0.8;
    }
}

/* Loader card uses same styles as other form cards */

/* ============================================
   FORM CARD ICONS (All action cards)
   ============================================ */
.form-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #a78bfa 100%);
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
    animation: formIconFloat 3s ease-in-out infinite;
    flex-shrink: 0;
}

.form-card-icon svg {
    color: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes formIconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.form-card-info {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.form-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .loader-icon {
        width: 64px;
        height: 64px;
    }

    .loader-icon svg {
        width: 48px;
        height: 48px;
    }

    .loader-name {
        font-size: 16px;
    }

    .loader-details {
        font-size: 12px;
    }
}


/* New Hero Main Section */
.hero-main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(var(--accent-color-rgb), 0.1) 0%, transparent 50%);
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.4), transparent);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3), transparent);
    bottom: -10%;
    right: -5%;
    animation-delay: 7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    top: 50%;
    right: 10%;
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content-main {
    text-align: center;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-title-main {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 80px rgba(var(--accent-color-rgb), 0.5);
}

.hero-subtitle-main {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description-main {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-buttons-main {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.btn-hero {
    padding: 1.2rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #a78bfa 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--accent-color-rgb), 0.6);
}

.btn-hero-primary svg {
    transition: transform 0.3s ease;
}

.btn-hero-primary:hover svg {
    transform: translateX(5px);
}

.btn-hero-secondary {
    background: rgba(var(--accent-color-rgb), 0.1);
    color: var(--secondary-color);
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(var(--accent-color-rgb), 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-main {
        padding: 2rem 0;
        min-height: calc(100vh - 70px);
    }

    .hero-title-main {
        font-size: 3rem;
    }

    .hero-subtitle-main {
        font-size: 1.2rem;
    }

    .hero-description-main {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons-main {
        flex-direction: column;
        padding: 0 1rem;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 2rem;
    }

    .gradient-orb {
        filter: blur(60px);
    }
}


/* Forum Section */
.roulette-section {
    min-height: calc(100vh - 70px);
    padding: 4rem 0;
    margin-top: 70px;
    background: radial-gradient(circle at 50% 50%, rgba(var(--accent-color-rgb), 0.05) 0%, transparent 70%);
}

.roulette-header {
    text-align: center;
    margin-bottom: 4rem;
}

.roulette-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, #a78bfa 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.roulette-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.roulette-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
}

.roulette-selector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.selector-line {
    width: 4px;
    height: 200px;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.8), 0 0 40px rgba(var(--accent-color-rgb), 0.4);
    animation: pulse-selector 2s ease-in-out infinite;
}

@keyframes pulse-selector {

    0%,
    100% {
        opacity: 0.8;
        box-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.8), 0 0 40px rgba(var(--accent-color-rgb), 0.4);
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(var(--accent-color-rgb), 1), 0 0 60px rgba(var(--accent-color-rgb), 0.6);
    }
}

.roulette-track {
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(15, 15, 30, 0.8), rgba(26, 26, 46, 0.9), rgba(15, 15, 30, 0.8));
    border: 2px solid rgba(var(--accent-color-rgb), 0.3);
    padding: 2rem 0;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.roulette-track::before,
.roulette-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 5;
    pointer-events: none;
}

.roulette-track::before {
    left: 0;
    background: linear-gradient(90deg, rgba(15, 15, 30, 1) 0%, rgba(15, 15, 30, 0.8) 30%, transparent 100%);
}

.roulette-track::after {
    right: 0;
    background: linear-gradient(270deg, rgba(15, 15, 30, 1) 0%, rgba(15, 15, 30, 0.8) 30%, transparent 100%);
}

.roulette-wheel {
    display: flex;
    will-change: transform;
    transition: transform 1s ease-out;
}

.roulette-wheel.spinning {
    transition: transform 15s cubic-bezier(0.17, 0.67, 0.35, 0.95);
}

.roulette-item {
    min-width: 200px;
    flex-shrink: 0;
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 2px solid rgba(var(--accent-color-rgb), 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
}

.roulette-item:last-child {
    border-right: none;
}

.roulette-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-color-rgb), 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.roulette-item:hover::before {
    opacity: 1;
}

.item-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.item-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 15px currentColor);
    transition: all 0.3s ease;
}

.roulette-item:hover .item-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px currentColor) drop-shadow(0 0 30px currentColor);
}

.prize-item .item-icon {
    color: #a78bfa;
}

.empty-item .item-icon {
    color: #ef4444;
    opacity: 0.7;
}

.rare-item .item-icon {
    color: #fbbf24;
    animation: glow-gold 2s ease-in-out infinite;
}

@keyframes glow-gold {

    0%,
    100% {
        filter: drop-shadow(0 0 15px #fbbf24) drop-shadow(0 0 25px #f59e0b);
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 25px #fbbf24) drop-shadow(0 0 40px #f59e0b) drop-shadow(0 0 50px #d97706);
        transform: scale(1.05);
    }
}

.roulette-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.item-days {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.item-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.item-chance {
    font-size: 0.7rem;
    color: rgba(var(--accent-color-rgb), 0.7);
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.6rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border-radius: 10px;
}

.rare-item .item-days {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rare-item .item-chance {
    color: rgba(251, 191, 36, 0.9);
    background: rgba(251, 191, 36, 0.15);
}

.roulette-controls {
    text-align: center;
    margin-bottom: 3rem;
}

.btn-spin {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--accent-color) 0%, #a78bfa 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(var(--accent-color-rgb), 0.4);
}

.btn-spin:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(var(--accent-color-rgb), 0.6);
}

.btn-spin:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-spin svg {
    animation: rotate-icon 2s linear infinite;
}

.btn-spin:disabled svg {
    animation: rotate-icon 1s linear infinite;
}

@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.roulette-hint {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.roulette-result {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeInResult 0.3s ease-out;
}

@keyframes fadeInResult {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.result-card {
    background: linear-gradient(145deg, #1a1a2e 0%, #0f0f1e 100%);
    border: 2px solid rgba(var(--accent-color-rgb), 0.5);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    animation: scaleInResult 0.5s ease-out;
    box-shadow: 0 20px 60px rgba(var(--accent-color-rgb), 0.3);
}

@keyframes scaleInResult {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.result-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounceIcon 1s ease-in-out infinite;
}

@keyframes bounceIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.result-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.result-text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.result-days {
    color: #a78bfa;
    font-weight: 900;
    font-size: 1.5rem;
}

.btn-claim {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.btn-claim:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.6);
}

@media (max-width: 768px) {
    .roulette-container {
        padding: 1rem 0;
    }

    .roulette-item {
        min-width: calc(100% / 3);
        padding: 1.5rem 0.5rem;
    }

    .item-days {
        font-size: 2rem;
    }

    .btn-spin {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .result-card {
        margin: 1rem;
        padding: 2rem;
    }
}


/* Roulette Empty and Rare Items */
.roulette-item.empty-item {
    background: rgba(239, 68, 68, 0.05);
    border-right-color: rgba(239, 68, 68, 0.2);
}

.roulette-item.empty-item:hover {
    background: rgba(239, 68, 68, 0.1);
}

.item-empty {
    font-size: 3rem;
    opacity: 0.5;
}

.roulette-item.rare-item {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(202, 138, 4, 0.08));
    border-right-color: rgba(234, 179, 8, 0.4);
    position: relative;
    overflow: hidden;
}

.roulette-item.rare-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.1), transparent);
    animation: rotate-rare 3s linear infinite;
}

@keyframes rotate-rare {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.roulette-item.rare-item {
    position: relative;
    overflow: hidden;
}

.roulette-item.rare-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(234, 179, 8, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.roulette-item.rare-item:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(202, 138, 4, 0.1));
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}

.roulette-item.rare-item .item-days {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.item-chance {
    font-size: 0.7rem;
    color: rgba(var(--accent-color-rgb), 0.6);
    font-weight: 600;
    margin-top: 0.3rem;
    letter-spacing: 0.05em;
}

.roulette-item.rare-item .item-chance {
    color: rgba(251, 191, 36, 0.8);
}


/* Enhanced Roulette Design */
.roulette-track::before,
.roulette-track::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.roulette-track::before {
    left: 0;
    background: linear-gradient(90deg, rgba(15, 15, 30, 1), transparent);
}

.roulette-track::after {
    right: 0;
    background: linear-gradient(270deg, rgba(15, 15, 30, 1), transparent);
}

.prize-item {
    position: relative;
}

.prize-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.prize-item:hover::after {
    opacity: 1;
}

.empty-item {
    opacity: 0.5;
    filter: grayscale(0.3);
}

.rare-item {
    position: relative;
    background: radial-gradient(circle at center, rgba(251, 191, 36, 0.05), transparent);
}

.rare-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    border-radius: inherit;
    animation: rotate-border 3s linear infinite;
    z-index: -1;
}

@keyframes rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.item-days {
    position: relative;
    z-index: 1;
    text-shadow: 0 0 20px rgba(var(--accent-color-rgb), 0.5);
}

.rare-item .item-days {
    text-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 0 40px rgba(251, 191, 36, 0.4);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.btn-spin {
    position: relative;
    overflow: hidden;
}

.btn-spin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-spin:hover::before {
    width: 300px;
    height: 300px;
}

.btn-spin:active::before {
    width: 0;
    height: 0;
    transition: 0s;
}

/* Custom Select Dropdown */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #1a1a2e;
    border: 2px solid rgba(124, 92, 232, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #e0e0e0;
    font-size: 14px;
}

.custom-select-trigger:hover {
    border-color: rgba(124, 92, 232, 0.6);
    background: #1f1f3a;
}

.custom-select.open .custom-select-trigger {
    border-color: #7c5ce8;
    background: #1f1f3a;
}

.custom-select-trigger svg {
    transition: transform 0.3s;
    color: #7c5ce8;
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-options,
.custom-options {
    position: fixed;
    display: none;
    background: #1a1a2e;
    border: 2px solid #7c5ce8;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 10000;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.custom-select.open .custom-select-options,
.custom-select.open .custom-options {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-select-option,
.custom-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s;
    color: #e0e0e0;
    font-size: 14px;
}

.custom-select-option:hover,
.custom-option:hover {
    background: rgba(124, 92, 232, 0.2);
    color: #7c5ce8;
}

.custom-select-option.selected,
.custom-option.selected {
    background: rgba(124, 92, 232, 0.3);
    color: #7c5ce8;
    font-weight: 600;
}

.custom-select-options::-webkit-scrollbar,
.custom-options::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options::-webkit-scrollbar-track,
.custom-options::-webkit-scrollbar-track {
    background: #0f0f1e;
    border-bottom-right-radius: 8px;
}

.custom-select-options::-webkit-scrollbar-thumb,
.custom-options::-webkit-scrollbar-thumb {
    background: #7c5ce8;
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover,
.custom-options::-webkit-scrollbar-thumb:hover {
    background: #9575ff;
}