@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --radius: 16px;
    --radius-sm: 12px;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--darker);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(176, 38, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%);
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(176, 38, 255, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.header-badge {
    flex: 1;
    min-width: 220px;
    max-width: 560px;
    text-align: center;
    color: var(--badge-text-color, var(--white));
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-family: var(--badge-font-family, 'Inter', sans-serif);
    font-size: 1.5rem !important;
    line-height: 1.1;
    letter-spacing: 0.4px;
    white-space: normal;
    word-break: break-word;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-shadow: 0 0 18px rgba(176, 38, 255, 0.32);
}

.header-badge-empty {
    visibility: hidden;
    background: transparent;
}

.header-badge-text {
    color: var(--badge-text-color, var(--white));
}

.header-badge-countdown {
    color: var(--badge-countdown-label-color, var(--badge-text-color, var(--white)));
    font-variant-numeric: tabular-nums;
}

.header-badge-countdown-part {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.header-badge-countdown-label {
    color: var(--badge-countdown-label-color, var(--badge-text-color, var(--white)));
}

.header-badge-countdown-value {
    color: var(--badge-countdown-value-color, var(--badge-text-color, var(--white)));
}

.logo { 
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem; 
    font-weight: 800; 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--logo-text-shadow, none);
    animation: var(--logo-animation, none);
    filter: var(--logo-filter, none);
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 5px rgba(176, 38, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(176, 38, 255, 0.8)); }
}

.logo img { 
    height: 45px; 
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.currency-display {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(255, 0, 110, 0.1));
    padding: 10px 20px;
    border-radius: 25px;
    border: 1px solid var(--neon-purple);
    transition: all 0.3s ease;
}

.currency-display:hover {
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
    transform: scale(1.05);
}

.currency-amount { 
    font-family: 'Inter', sans-serif;
    font-weight: 700; 
    font-size: 1.2rem; 
    color: var(--header-balance-amount-color, var(--success));
    text-shadow: 0 0 10px currentColor;
}

.currency-icon { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px; 
    height: 24px; 
    font-size: 20px;
    line-height: 1;
    filter: drop-shadow(0 0 5px var(--neon-purple));
    object-fit: contain;
}

.currency-diamond {
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
    font-weight: 400;
    color: inherit;
    line-height: 1;
    text-shadow: none;
    filter: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.4);
}

.btn-twitch { 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); 
    color: var(--white);
    box-shadow: 0 4px 15px rgba(176, 38, 255, 0.3);
}

.btn-buy { 
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink)); 
    color: var(--white); 
    width: 100%; 
    margin-top: 12px;
    box-shadow: 0 4px 15px rgba(255, 7, 58, 0.3);
}

.btn-buy:hover { 
    box-shadow: 0 10px 30px rgba(255, 7, 58, 0.5);
}

.btn-buy-large {
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
    color: var(--white);
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 20px;
    border-radius: var(--radius);
}

.btn-primary { 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan)); 
    color: var(--white); 
}

.btn-success { 
    background: linear-gradient(135deg, var(--success), #00cc6a); 
    color: var(--darker); 
}

.btn-danger { 
    background: linear-gradient(135deg, var(--neon-red), #cc052e); 
    color: var(--white); 
}

.btn-admin { 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-red)); 
    color: var(--white); 
}

.btn-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--neon-red), var(--neon-pink));
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(255, 7, 58, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(255, 7, 58, 0.4); }
    50% { box-shadow: 0 10px 40px rgba(255, 7, 58, 0.7); }
}

.btn-support:hover { 
    transform: scale(1.1); 
    animation: none;
}

.support-icon { font-size: 1.3rem; }

.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.disabled { opacity: 0.5; cursor: not-allowed; }

/* User */
.user-avatar-link {
    position: relative;
    display: block;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.5);
    transition: all 0.3s ease;
    object-fit: cover;
}

.user-avatar:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 25px rgba(176, 38, 255, 0.8);
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 22000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid;
    border-radius: var(--radius);
    padding: 20px 28px;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideInRight 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.toast.success {
    border-color: var(--success);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.toast.error {
    border-color: var(--neon-red);
    box-shadow: 0 10px 40px rgba(255, 7, 58, 0.2);
}

.toast.info {
    border-color: var(--neon-purple);
    box-shadow: 0 10px 40px rgba(176, 38, 255, 0.2);
}

.toast-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--neon-red); }
.toast.info .toast-icon { color: var(--neon-purple); }

.toast-content {
    flex: 1;
}

.toast-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.toast-message {
    color: var(--gray);
    font-size: 0.9rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.toast-close:hover { color: var(--white); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    to { transform: translateX(100%); opacity: 0; }
}

.toast.hiding {
    animation: slideOutRight 0.3s forwards;
}

/* Nav Tabs */
.nav-tabs { 
    background: var(--glass); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); 
}

.tabs {
    display: flex;
    gap: 8px;
    padding: 0 20px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
}

.tab {
    flex: 0 0 auto;
    padding: 20px 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transition: width 0.3s ease;
}

.tab:hover::after,
.tab.active::after {
    width: 100%;
}

.tab.active { 
    color: var(--neon-purple); 
}

/* Hero */
.hero { padding: 40px 0; }

.hero-video-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
}

.hero-video {
    width: 100%;
    aspect-ratio: 1920/1080;
    object-fit: cover;
    display: block;
}



.hero-link { 
    display: block; 
    border-radius: var(--radius); 
    overflow: hidden; 
    transition: all 0.4s ease; 
    border: 2px solid transparent;
    position: relative;
}

.hero-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.hero-link:hover {
    transform: scale(1.02);
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.3);
}

.hero-image { 
    width: 100%; 
    aspect-ratio: 1920/1080;
    object-fit: contain;
    display: block;
    transition: transform 0.4s;
    background: var(--dark);
}

.hero-link:hover .hero-image {
    transform: scale(1.05);
}

.hero-placeholder {
    width: 100%;
    aspect-ratio: 1920/1080;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Features */
.features { padding: 80px 0; }

.features-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 32px; 
}

.feature-card {
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: var(--card-bg, linear-gradient(135deg, var(--neon-purple), var(--neon-pink)));
}

.feature-card .feature-title {
    color: var(--card-title-color, #ffffff);
}

.feature-card .feature-text {
    color: var(--card-desc-color, #ffffff);
}

.feature-card .feature-icon {
    color: var(--card-title-color, #ffffff);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon { 
    font-size: 3.5rem; 
    margin-bottom: 24px;
    filter: drop-shadow(0 0 10px rgba(176, 38, 255, 0.5));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Partners */
.partners-section {
    padding: 24px 0 90px;
}

.partners-title-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--partners-title-color, var(--neon-purple));
    transition: transform 0.3s ease, text-shadow 0.3s ease;
    text-wrap: balance;
    word-break: break-word;
}

.partners-title-link:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 24px rgba(176, 38, 255, 0.55);
}

.partners-title-link.partners-title-static:hover {
    transform: none;
    text-shadow: none;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    --partners-max-width: 100%;
    --partners-max-height: min(56.25vw, 720px);
}

.partners-carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.partners-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 4px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partners-item {
    width: fit-content;
    max-width: min(100%, var(--partners-max-width));
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: rgba(10, 10, 15, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    box-sizing: border-box;
}

a.partners-item:hover {
    transform: translateY(-4px);
    border-color: var(--neon-purple);
    box-shadow: 0 18px 42px rgba(176, 38, 255, 0.35);
}

.partners-image {
    display: block;
    width: auto;
    height: var(--partners-max-height);
    max-width: min(100%, var(--partners-max-width));
    max-height: var(--partners-max-height);
    object-fit: contain;
    border-radius: calc(var(--radius) - 4px);
    background: transparent;
}

.partners-image.partners-image-manual {
    width: auto;
    height: var(--partners-max-height);
    max-width: min(100%, var(--partners-max-width), var(--partners-manual-width, 520px));
    max-height: var(--partners-max-height);
    object-fit: contain;
    image-rendering: auto;
    image-rendering: smooth;
    -ms-interpolation-mode: bicubic;
}

.partners-carousel-dots {
    position: absolute;
    top: 16px;
    right: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.partners-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.partners-dot:hover {
    transform: scale(1.1);
}

.partners-dot.is-active {
    background: #ffffff;
}

.partners-carousel-controls {
    position: absolute;
    left: 22px;
    bottom: 22px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.partners-nav-btn {
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(1px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.partners-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.partners-nav-btn:focus-visible,
.partners-dot:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

.partners-carousel.is-single .partners-carousel-controls,
.partners-carousel.is-single .partners-carousel-dots {
    display: none;
}

/* Products */
.products-section { padding: 60px 0; }

.section-title { 
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; 
    margin-bottom: 48px; 
    text-align: center; 
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--white), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Home titles must match the same style as active giveaway titles */
.giveaways-preview-header h2,
.partners-section .partners-title-link {
    background: linear-gradient(135deg, var(--white), var(--neon-purple)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

.products-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); 
    gap: 32px; 
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(255, 0, 110, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.3);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image-wrapper { 
    aspect-ratio: 1; 
    overflow: hidden; 
    background: var(--dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 12px;
}

.product-card:hover .product-image { 
    transform: scale(1.05);
}

.product-image-placeholder { 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 4rem;
    background: linear-gradient(135deg, var(--dark), var(--card));
}

.product-info { padding: 20px; }

.product-price { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem; 
    font-weight: 700; 
    color: var(--neon-red); 
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(255, 7, 58, 0.3);
}

.price-icon { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px; 
    height: 22px; 
    font-size: 18px;
    line-height: 1;
    object-fit: contain;
}

.product-name { 
    font-size: 1.1rem; 
    font-weight: 600; 
    margin-bottom: 8px; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    color: var(--white); 
}

.product-quantity { 
    font-size: 0.85rem; 
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

.product-limit-card {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 245, 255, 0.35);
    background: rgba(0, 245, 255, 0.08);
}

.product-limit-card-detail {
    margin-top: 14px;
    margin-bottom: 18px;
}

.product-limit-main {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.product-limit-sub {
    margin-top: 6px;
    font-size: 0.82rem;
    color: var(--gray);
}

.product-limit-timer {
    margin-top: 6px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    color: #ffd166;
}

.product-limit-timer-below-btn {
    margin-top: 10px;
    text-align: center;
}

/* Product Detail */
.product-detail-section { padding: 60px 0; }

.product-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 60px;
    border: 1px solid var(--border);
    position: relative;
}

.product-detail-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink), var(--neon-red));
    border-radius: var(--radius) var(--radius) 0 0;
}

.product-detail-image { 
    border-radius: var(--radius); 
    overflow: hidden; 
    border: 2px solid var(--border);
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    min-height: 400px;
}

.product-detail-image:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.3);
}

.product-detail-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    max-height: 450px;
    padding: 20px;
}

.product-title { 
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; 
    margin-bottom: 24px; 
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--white), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-detail-price { 
    display: flex; 
    align-items: center; 
    gap: 16px; 
    margin-bottom: 20px; 
    padding: 20px; 
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(255, 0, 110, 0.1));
    border-radius: var(--radius-sm); 
    border: 1px solid var(--neon-purple);
    font-family: 'Inter', sans-serif;
}

.price-value { 
    font-size: 2.5rem; 
    font-weight: 800; 
    color: var(--neon-red);
    text-shadow: 0 0 20px rgba(255, 7, 58, 0.5);
}

.price-icon-large { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px; 
    font-size: 32px;
    line-height: 1;
    object-fit: contain;
}

.low { color: var(--neon-red); text-shadow: 0 0 10px rgba(255, 7, 58, 0.5); }

.product-description { margin-bottom: 32px; }

.product-description h3 { 
    font-family: 'Inter', sans-serif;
    margin-bottom: 16px; 
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-description p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Promo */
.promo-section { margin-bottom: 28px; }

.promo-section label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--neon-purple);
}

.promo-input-group { 
    display: flex; 
    gap: 12px; 
}

.promo-input-group input { 
    flex: 1; 
    padding: 16px; 
    background: var(--dark); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-sm); 
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.promo-input-group input:focus { 
    border-color: var(--neon-purple); 
    outline: none;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.2);
}

.promo-message {
    margin-top: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.promo-message.success { color: var(--success); text-shadow: 0 0 10px rgba(0, 255, 136, 0.3); }
.promo-message.error { color: var(--neon-red); text-shadow: 0 0 10px rgba(255, 7, 58, 0.3); }
.promo-message.info { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 245, 255, 0.3); }

/* Profile */
.profile-section { padding: 60px 0; }

.profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--card);
    padding: 40px;
    border-radius: var(--radius);
    margin-bottom: 40px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
}

.profile-avatar-large { 
    width: 120px; 
    height: 120px; 
    border-radius: 50%; 
    overflow: hidden; 
    border: 3px solid var(--neon-purple);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    flex-shrink: 0;
}

.profile-avatar-large::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-avatar-large img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.profile-info { flex: 1; }

.profile-name { 
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem; 
    margin-bottom: 12px; 
    text-transform: uppercase;
    letter-spacing: 3px;
}

.profile-balance { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-size: 1.4rem; 
}

.balance-value { 
    font-family: 'Inter', sans-serif;
    font-weight: 800; 
    color: var(--success);
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    font-size: 1.6rem;
}

.balance-icon { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; 
    height: 28px; 
    font-size: 24px;
    line-height: 1;
    object-fit: contain;
}

.profile-actions {
    display: flex;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-logout {
    background: linear-gradient(135deg, var(--neon-red), #cc052e);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 7, 58, 0.4);
}

.profile-section-card { 
    background: var(--card); 
    padding: 32px; 
    border-radius: var(--radius); 
    margin-bottom: 40px; 
    border: 1px solid var(--border);
    position: relative;
}

.profile-section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.profile-section-card:hover::before {
    transform: scaleX(1);
}

.profile-section-card h2 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-purple);
}

.input-group { 
    display: flex; 
    gap: 16px; 
}

.trade-input { 
    flex: 1; 
    padding: 16px 20px; 
    background: var(--dark); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-sm); 
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
}

.trade-input:focus { 
    border-color: var(--neon-purple); 
    outline: none;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.2);
}

.form-hint a { 
    color: var(--neon-purple); 
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.form-hint a:hover {
    text-shadow: 0 0 10px rgba(176, 38, 255, 0.5);
}

/* Purchases */
.purchases-section { 
    background: var(--card); 
    border-radius: var(--radius); 
    border: 1px solid var(--border); 
    overflow: hidden;
    position: relative;
}

.purchases-tabs { 
    display: flex; 
    border-bottom: 1px solid var(--border); 
}

.tab-btn { 
    flex: 1; 
    padding: 24px; 
    background: none; 
    border: none; 
    color: var(--gray); 
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer; 
    transition: all 0.3s;
    position: relative;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.tab-btn:hover,
.tab-btn.active { 
    color: var(--white); 
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-content { 
    display: none; 
    padding: 32px; 
}

.tab-content.active { 
    display: block; 
    animation: fadeIn 0.4s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.purchases-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 24px; 
}

.purchase-card { 
    background: var(--dark); 
    border-radius: var(--radius-sm); 
    overflow: hidden; 
    border: 1px solid var(--border); 
    display: flex;
    transition: all 0.3s;
}

.purchase-card:hover {
    border-color: var(--neon-purple);
    transform: translateX(5px);
    box-shadow: -10px 0 30px rgba(176, 38, 255, 0.2);
}

.purchase-image { 
    width: 100px; 
    height: 100px; 
    background: var(--darker); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 2.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.purchase-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    padding: 8px;
}

.purchase-details { 
    padding: 16px; 
    flex: 1; 
}

.purchase-details h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.purchase-price { 
    font-family: 'Inter', sans-serif;
    font-weight: 700; 
    color: var(--neon-red);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.purchase-date { 
    font-size: 0.85rem; 
    color: var(--gray);
    margin-bottom: 12px;
}

.status-badge { 
    display: inline-block; 
    padding: 6px 16px; 
    border-radius: 20px; 
    font-size: 0.75rem; 
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.pending { 
    background: rgba(176, 38, 255, 0.15); 
    color: var(--neon-purple); 
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 10px rgba(176, 38, 255, 0.2);
}

.status-badge.completed { 
    background: rgba(0, 255, 136, 0.15); 
    color: var(--success); 
    border: 1px solid var(--success);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.empty-tab { 
    text-align: center; 
    padding: 80px 20px; 
}

.empty-icon { 
    font-size: 5rem; 
    margin-bottom: 24px;
    opacity: 0.5;
}

.case-awaiting-section {
    margin-top: 40px;
}

.case-awaiting-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.case-awaiting-head h2 {
    margin-bottom: 0;
}

.case-awaiting-toolbar {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.awaiting-unified-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 14px;
}

.case-awaiting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
    justify-content: center;
    gap: 14px;
}

.case-awaiting-card {
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.awaiting-unified-card {
    min-height: 338px;
}

.case-awaiting-image {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 1.45;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--loot-bg, linear-gradient(145deg, rgba(77, 90, 118, 0.36), rgba(44, 54, 81, 0.64)));
}

.awaiting-image-catalog {
    background: var(--loot-bg, linear-gradient(145deg, rgba(58, 74, 96, 0.55), rgba(34, 44, 66, 0.92)));
}

.awaiting-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    border-radius: 14px;
    padding: 5px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid transparent;
}

.awaiting-type-badge-purchase {
    color: #67e8f9;
    background: rgba(14, 165, 233, 0.17);
    border-color: rgba(34, 211, 238, 0.5);
}

.awaiting-type-badge-case {
    color: #f0abfc;
    background: rgba(176, 38, 255, 0.16);
    border-color: rgba(176, 38, 255, 0.5);
}

.awaiting-type-badge-task {
    color: #ddd6fe;
    background: rgba(109, 40, 217, 0.28);
    border-color: rgba(167, 139, 250, 0.66);
}

.case-awaiting-task-text {
    display: -webkit-box;
    margin: 7px 0;
    overflow: hidden;
    color: #ddd6fe;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.case-result-task-text {
    display: -webkit-box;
    margin-top: 6px;
    overflow: hidden;
    color: #ddd6fe;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.case-result-task-note {
    color: rgba(221, 214, 254, 0.72);
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: center;
}

.case-task-card-emoji {
    display: grid;
    width: 78px;
    height: 102px;
    place-items: center;
    border: 1px solid rgba(167, 139, 250, 0.72);
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(109, 40, 217, 0.7), rgba(6, 28, 37, 0.94));
    color: #ddd6fe;
    font-size: 2rem;
    box-shadow: 0 14px 34px rgba(91, 33, 182, 0.34);
}

.awaiting-type-badge-giveaway {
    color: #fde68a;
    background: rgba(250, 204, 21, 0.2);
    border-color: rgba(250, 204, 21, 0.52);
}

.awaiting-type-badge-refund {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.58);
}

.awaiting-status-note {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    border-radius: 8px;
    padding: 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #fee2e2;
    background: rgba(127, 29, 29, 0.8);
    border: 1px solid rgba(248, 113, 113, 0.64);
    text-align: center;
}

.case-awaiting-image::before {
    content: '';
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0.35;
    pointer-events: none;
}

.case-awaiting-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 10, 22, 0.08), rgba(8, 10, 22, 0.26));
    pointer-events: none;
}

.case-awaiting-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

.case-awaiting-emoji {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
}

.case-awaiting-details {
    padding: 10px 12px 0;
}

.case-awaiting-details h3 {
    margin: 0 0 6px;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.case-awaiting-case {
    margin: 0 0 6px;
    color: var(--gray);
    font-size: 0.8rem;
}

.case-awaiting-price {
    margin: 0 0 4px;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.case-awaiting-quality,
.case-result-quality {
    margin: 0 0 5px;
    color: rgba(218, 248, 255, 0.86);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
}

.case-awaiting-quality span,
.case-result-quality {
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.case-awaiting-date {
    margin: 0 0 10px;
    color: var(--gray);
    font-size: 0.75rem;
}

.case-awaiting-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 12px 12px;
}

.case-awaiting-actions .btn {
    width: 100%;
    padding: 10px 8px;
    font-size: 0.75rem;
}

.awaiting-unified-card .case-awaiting-actions {
    grid-template-columns: 1fr;
}

.case-awaiting-empty {
    margin-top: 10px;
    padding: 40px 20px;
}

.case-awaiting-empty.case-awaiting-empty-hidden {
    display: none;
}

/* Admin */
.admin-section { padding: 60px 0; }

.admin-title { 
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; 
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--white), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.admin-tabs { 
    display: flex; 
    gap: 12px; 
    margin-bottom: 40px; 
    flex-wrap: wrap; 
}

.admin-tab-btn { 
    padding: 16px 32px; 
    background: var(--card); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-sm); 
    color: var(--gray); 
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-tab-btn:hover {
    border-color: var(--neon-purple);
    color: var(--white);
}

.admin-tab-btn.active { 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); 
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 10px 30px rgba(176, 38, 255, 0.3);
}

.admin-tab-content { 
    display: none; 
}

.admin-tab-content.active { 
    display: block;
    animation: fadeIn 0.4s;
}

.admin-card { 
    background: var(--card); 
    border-radius: var(--radius); 
    padding: 32px; 
    margin-bottom: 32px; 
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.admin-card:hover::before {
    transform: scaleX(1);
}

.admin-card h2 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-purple);
}

.form-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 24px; 
}

.form-group { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}

.form-group.full-width { 
    grid-column: 1 / -1; 
}

.form-group label { 
    font-weight: 600; 
    color: var(--gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control { 
    padding: 14px; 
    background: var(--dark); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-sm); 
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus { 
    border-color: var(--neon-purple); 
    outline: none;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.2);
}

.preview-img { 
    max-width: 120px; 
    max-height: 120px; 
    margin-top: 12px; 
    border-radius: var(--radius-sm); 
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
    object-fit: contain;
}

.form-row { 
    display: flex; 
    gap: 16px; 
    flex-wrap: wrap; 
}

.form-row .form-control { 
    flex: 1; 
    min-width: 200px; 
}

.mt-4 { 
    margin-top: 32px; 
}

/* Tables */
.table-responsive { 
    overflow-x: auto; 
}

.admin-table { 
    width: 100%; 
    border-collapse: collapse; 
}

.admin-table th, 
.admin-table td { 
    padding: 16px; 
    text-align: left; 
    border-bottom: 1px solid var(--border); 
    color: var(--white); 
}

.admin-table th { 
    font-family: 'Inter', sans-serif;
    color: var(--neon-purple); 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.admin-table tr:hover {
    background: rgba(176, 38, 255, 0.05);
}

.table-avatar { 
    width: 45px; 
    height: 45px; 
    border-radius: 50%; 
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
    object-fit: cover;
}

/* Products Admin */
.products-admin-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); 
    gap: 20px; 
}

.product-admin-item { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 20px; 
    background: var(--dark); 
    border-radius: var(--radius-sm); 
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.product-admin-item:hover {
    border-color: var(--neon-purple);
    transform: translateX(5px);
}

.product-admin-img { 
    width: 70px; 
    height: 70px; 
    border-radius: var(--radius-sm); 
    overflow: hidden; 
    background: var(--darker); 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 2px solid var(--border);
    flex-shrink: 0;
}

.product-admin-img img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    padding: 4px;
}

.product-admin-info { 
    flex: 1; 
}

.product-admin-info h4 {
    font-family: 'Inter', sans-serif;
    margin-bottom: 6px;
}

.product-admin-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.product-admin-actions {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.product-admin-actions-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-admin-delete-form {
    align-self: flex-end;
}

/* Promos & Logs */
.promo-item, 
.log-item { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 20px; 
    background: var(--dark); 
    border-radius: var(--radius-sm); 
    flex-wrap: wrap;
    color: var(--white);
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.promo-item:hover,
.log-item:hover {
    border-color: var(--neon-purple);
}

.promo-code { 
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink)); 
    color: var(--white); 
    padding: 8px 16px; 
    border-radius: 8px; 
    font-family: 'Inter', monospace;
    font-weight: 700;
    letter-spacing: 2px;
}

.sponsorship-entry-number,
.sponsorship-entry-order {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 72px;
    white-space: nowrap;
    font-family: "Inter", Arial, sans-serif;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.sponsorship-entry-order {
    min-width: 96px;
}

.log-time { 
    color: var(--gray); 
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

.log-admin { 
    color: var(--neon-purple); 
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.log-action { 
    flex: 1;
    color: var(--white);
}

/* Footer */
.footer { 
    background: var(--card); 
    border-top: 1px solid var(--border); 
    padding: 32px 0; 
    margin-top: auto;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-purple), var(--neon-pink), transparent);
}

.footer-content { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px; 
}

.twitch-link { 
    color: var(--neon-purple); 
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.twitch-link:hover {
    text-shadow: 0 0 15px rgba(176, 38, 255, 0.5);
}

.copyright { 
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

/* Empty */
.empty-state { 
    text-align: center; 
    padding: 100px 20px; 
}

.empty-icon { 
    font-size: 6rem; 
    margin-bottom: 32px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--neon-pink), var(--neon-red));
}

/* Responsive */
@media (max-width: 768px) {
    .product-detail-card { 
        grid-template-columns: 1fr; 
        padding: 32px; 
    }
    
    .hero-image, 
    .hero-placeholder,
    .hero-video { 
        aspect-ratio: 16/9;
    }

    .partners-section {
        padding: 16px 0 70px;
    }

    .partners-title-link {
        font-size: 1.5rem;
        margin-bottom: 14px;
    }

    .partners-item {
        border-width: 1px;
        padding: 6px;
    }

    .partners-slide {
        padding: 0;
    }

    .partners-carousel-dots {
        top: 12px;
        right: 12px;
        gap: 8px;
    }

    .partners-dot {
        width: 9px;
        height: 9px;
    }

    .partners-carousel-controls {
        left: 14px;
        bottom: 14px;
        gap: 8px;
    }

    .partners-nav-btn {
        width: 46px;
        height: 46px;
        border-radius: 12px;
        font-size: 32px;
    }
    
    .products-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px; 
    }
    
    .profile-header { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .profile-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
    
    .input-group, 
    .form-row { 
        flex-direction: column; 
    }
    
    .footer-content { 
        flex-direction: column; 
        text-align: center; 
    }
    
    .btn-support { 
        bottom: 20px; 
        right: 20px; 
        padding: 12px 20px; 
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }

    .header-container {
        justify-content: center;
    }

    .header-badge {
        order: 3;
        width: 100%;
        max-width: none;
        margin-top: 4px;
        font-size: 0.9rem !important;
    }
    
    .admin-title {
        font-size: 1.8rem;
    }
    
    .product-detail-image {
        min-height: 300px;
    }
    
    .product-detail-image img {
        max-height: 350px;
    }
}

/* =========================
   FIGMA PASS - FINAL OVERRIDES
   ========================= */

:root {
    --zen-hero-image: url("../images/zenchikpass-symbiote-hero.png");
    --zen-bg: #010405;
    --zen-bg-soft: #061016;
    --zen-panel: rgba(3, 11, 15, 0.74);
    --zen-panel-solid: rgba(3, 12, 16, 0.94);
    --zen-line: rgba(118, 181, 203, 0.34);
    --zen-line-strong: rgba(119, 226, 248, 0.72);
    --zen-cyan: #6adff5;
    --zen-cyan-deep: #0a6170;
    --zen-text: #f4fbff;
    --zen-dim: #a8b8c2;
    --zen-faint: rgba(244, 251, 255, 0.62);
    --zen-gold: #b98430;
    --zen-shadow-hard: 0 30px 90px rgba(0, 0, 0, 0.72);
    --zen-glow-cyan: 0 0 34px rgba(106, 223, 245, 0.28);
    --radius: 10px;
    --radius-sm: 8px;
}

html,
body {
    background: #000;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--zen-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(87, 128, 150, 0.24), transparent 28%),
        radial-gradient(circle at 92% 8%, rgba(65, 204, 224, 0.12), transparent 32%),
        linear-gradient(180deg, #000 0%, #02080b 46%, #000 100%);
}

body::before {
    opacity: 0.28;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 118px),
        linear-gradient(246deg, rgba(106, 223, 245, 0.045) 0 1px, transparent 1px 156px);
}

.container {
    max-width: 1440px;
    padding-left: 50px;
    padding-right: 50px;
}

.header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    padding: 50px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.header-container {
    max-width: calc(100vw - 100px);
    min-height: 68px;
    margin: 0 auto;
    padding: 0 18px 0 34px;
    border: 1px solid rgba(116, 181, 204, 0.4);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(6, 16, 22, 0.7), rgba(1, 7, 10, 0.88)),
        rgba(1, 8, 11, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 20px 80px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
    flex-wrap: nowrap;
}

.logo {
    min-width: 250px;
    font-family: "Inter", sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.site-nav {
    height: 68px;
    justify-content: center;
    overflow: visible;
}

.site-nav-link {
    min-width: 124px;
    height: 68px;
    padding: 0 20px;
    color: rgba(244, 251, 255, 0.86);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.015em;
    text-transform: uppercase;
}

.site-nav-link::before {
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.28), transparent 62%),
        linear-gradient(180deg, rgba(16, 91, 105, 0.26), rgba(5, 19, 24, 0.34));
}

.site-nav-link:hover,
.site-nav-link.active,
.site-nav-more:hover .site-nav-more-btn,
.site-nav-more:focus-within .site-nav-more-btn {
    color: #fff;
    box-shadow: inset 0 -1px 0 rgba(106, 223, 245, 0.65);
}

.auth-section {
    margin-left: 18px;
}

.btn-twitch,
.currency-display,
.ticket-display,
.level-display {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(116, 181, 204, 0.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.18), transparent 62%),
        rgba(4, 17, 22, 0.72);
}

.header-badge,
.nav-tabs,
.hero {
    display: none !important;
}

.main {
    display: block;
}

.zen-hero {
    position: relative;
    min-height: 720px;
    padding: 178px 0 86px;
    overflow: hidden;
    isolation: isolate;
    background: #000;
}

.zen-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.62) 33%, rgba(0, 0, 0, 0.08) 65%, rgba(0, 0, 0, 0.62) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.42) 74%, #000 100%),
        var(--zen-hero-image);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    animation: zenHeroBreathe 8s ease-in-out infinite;
}

.zen-hero::before,
.zen-hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.zen-hero::before {
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 11% 3%, rgba(255, 255, 255, 0.1), transparent 12%),
        radial-gradient(circle at 74% 18%, rgba(106, 223, 245, 0.26), transparent 24%),
        linear-gradient(180deg, transparent 68%, #000 100%);
    mix-blend-mode: screen;
}

.zen-hero::after {
    left: 50px;
    right: 50px;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(106, 223, 245, 0.8), transparent);
    box-shadow: 0 0 28px rgba(106, 223, 245, 0.55);
}

.zen-hero-content {
    position: relative;
    z-index: 2;
}

.zen-hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 26px;
    color: rgba(244, 251, 255, 0.76);
    font-size: clamp(1rem, 1.45vw, 1.45rem);
    font-weight: 400;
    text-transform: uppercase;
}

.zen-hero-kicker span,
.zen-heading-icon {
    color: var(--zen-cyan);
    filter: drop-shadow(0 0 12px rgba(106, 223, 245, 0.82));
}

.zen-hero-title {
    max-width: 780px;
    margin: 0;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.075em;
}

.zen-hero-title span {
    display: block;
}

.zen-hero-title span:first-child {
    color: #fff;
    font-size: clamp(4.3rem, 8.2vw, 7.55rem);
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
}

.zen-hero-title span:last-child {
    margin-top: 8px;
    color: transparent;
    font-size: clamp(3.7rem, 7vw, 6.35rem);
    background: linear-gradient(90deg, #075c75 0%, #c7d6de 58%, #748997 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
}

.zen-hero-copy {
    max-width: 520px;
    margin: 30px 0 32px;
    color: rgba(244, 251, 255, 0.78);
    font-family: "Inter", sans-serif;
    font-size: 1.04rem;
    line-height: 1.35;
}

.zen-hero-countdown {
    width: fit-content;
    min-width: 286px;
    min-height: 66px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    border: 1px solid rgba(106, 223, 245, 0.52);
    border-radius: 10px;
    background:
        radial-gradient(circle at 45% 0%, rgba(106, 223, 245, 0.24), transparent 66%),
        linear-gradient(180deg, rgba(16, 77, 91, 0.78), rgba(6, 28, 35, 0.92));
    color: #f3fbff;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 26px rgba(106, 223, 245, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.zen-countdown-icon {
    color: var(--zen-cyan);
    filter: drop-shadow(0 0 12px rgba(106, 223, 245, 0.8));
}

.zen-venom-vfx {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.zen-tendril {
    position: absolute;
    width: 360px;
    height: 38px;
    border-radius: 999px;
    opacity: 0.45;
    background: linear-gradient(90deg, transparent, rgba(106, 223, 245, 0.1), rgba(4, 14, 18, 0.72), transparent);
    filter: blur(2px) drop-shadow(0 0 16px rgba(106, 223, 245, 0.28));
    transform-origin: 100% 50%;
    animation: zenTendril 6.5s ease-in-out infinite;
}

.zen-tendril-a {
    right: 8%;
    top: 29%;
    transform: rotate(-22deg);
}

.zen-tendril-b {
    right: 1%;
    top: 48%;
    width: 460px;
    animation-delay: -2.1s;
    transform: rotate(12deg);
}

.zen-tendril-c {
    right: 19%;
    bottom: 20%;
    width: 420px;
    animation-delay: -4s;
    transform: rotate(-8deg);
}

.zen-drop-section {
    position: relative;
    z-index: 2;
    margin-top: -10px;
    padding: 0 0 34px;
}

.zen-drop-panel,
.zen-filter-strip {
    position: relative;
    border: 1px solid rgba(116, 181, 204, 0.34);
    border-radius: 5px;
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.08), transparent 58%),
        rgba(1, 9, 12, 0.86);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.zen-drop-panel {
    padding: 30px 28px 28px;
}

.zen-drop-ribbon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 154px;
    padding: 6px 18px 8px;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(20, 98, 112, 0.76), rgba(6, 34, 42, 0.78));
    color: rgba(244, 251, 255, 0.5);
    font-size: 0.62rem;
    text-align: center;
    text-transform: uppercase;
}

.zen-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.zen-section-heading h2 {
    margin: 0;
    color: rgba(244, 251, 255, 0.78);
    font-size: clamp(1.15rem, 1.7vw, 1.55rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.zen-drop-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    gap: 30px;
}

.zen-drop-card {
    min-height: 278px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 18px;
    border: 1px solid rgba(116, 181, 204, 0.36);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 100%, rgba(106, 223, 245, 0.16), transparent 44%),
        linear-gradient(180deg, rgba(5, 22, 28, 0.76), rgba(0, 7, 9, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 28px rgba(106, 223, 245, 0.08);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.zen-drop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(106, 223, 245, 0.78);
    box-shadow: var(--zen-glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.zen-drop-card.is-featured {
    border-color: rgba(185, 132, 48, 0.58);
    background:
        radial-gradient(circle at 50% 100%, rgba(185, 132, 48, 0.18), transparent 46%),
        linear-gradient(180deg, rgba(34, 24, 10, 0.82), rgba(7, 5, 2, 0.97));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 0 28px rgba(185, 132, 48, 0.12);
}

.zen-drop-title,
.zen-drop-subtitle {
    color: #fff;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.zen-drop-title {
    margin-top: 2px;
    font-size: 1.02rem;
    font-weight: 700;
}

.zen-drop-subtitle {
    margin-top: 4px;
    color: rgba(244, 251, 255, 0.74);
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
}

.zen-drop-art {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(106, 223, 245, 0.55);
    font-size: 3.2rem;
    filter: drop-shadow(0 0 20px rgba(106, 223, 245, 0.16));
}

.zen-drop-art img {
    max-width: 92%;
    max-height: 132px;
    object-fit: contain;
}

.zen-drop-price {
    min-width: 128px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid rgba(106, 223, 245, 0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.24), transparent 68%),
        linear-gradient(180deg, rgba(20, 90, 106, 0.78), rgba(5, 28, 35, 0.95));
    color: #e9fbff;
    font-size: 1.02rem;
    font-weight: 600;
    text-transform: uppercase;
}

.zen-drop-card.is-featured .zen-drop-price {
    border-color: rgba(185, 132, 48, 0.56);
    background:
        radial-gradient(circle at 50% 0%, rgba(185, 132, 48, 0.34), transparent 68%),
        linear-gradient(180deg, rgba(80, 55, 18, 0.84), rgba(24, 17, 5, 0.96));
}

.zen-filter-strip {
    min-height: 88px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 14px 26px;
    overflow-x: auto;
}

.zen-filter-strip a {
    flex: 0 0 auto;
    color: rgba(244, 251, 255, 0.86);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    transition: color 0.18s ease, text-shadow 0.18s ease, transform 0.18s ease;
}

.zen-filter-strip a:hover {
    color: #fff;
    text-shadow: 0 0 16px rgba(106, 223, 245, 0.45);
    transform: translateY(-1px);
}

.zen-filter-strip .zen-filter-cta {
    margin-left: auto;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    padding: 0 20px;
    border: 1px solid rgba(106, 223, 245, 0.36);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.18), transparent 64%),
        rgba(5, 26, 33, 0.78);
}

.products-section {
    padding-top: 40px;
}

.section-title,
.giveaways-preview-header h2,
.partners-title-link {
    font-family: "Inter", sans-serif;
    color: rgba(244, 251, 255, 0.86) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    text-align: left;
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: 24px;
}

.product-card,
.case-card,
.giveaway-preview-card,
.feature-card,
.task-card,
.leaderboard-card,
.profile-section-card,
.product-detail-card,
.faq-item {
    border: 1px solid rgba(116, 181, 204, 0.32);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(4, 16, 21, 0.86), rgba(1, 7, 9, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.product-card:hover,
.case-card:hover,
.giveaway-preview-card:hover,
.feature-card:hover,
.task-card:hover,
.leaderboard-card:hover,
.faq-item:hover {
    border-color: rgba(106, 223, 245, 0.72);
    box-shadow: var(--zen-glow-cyan), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.product-image-wrapper,
.case-card-cover,
.giveaway-preview-cover {
    background:
        radial-gradient(circle at 50% 56%, rgba(106, 223, 245, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(4, 16, 21, 0.72), rgba(1, 7, 9, 0.92)) !important;
}

.product-card:nth-child(3n+2),
.case-card:nth-child(3n+2),
.giveaway-preview-card:nth-child(3n+2) {
    border-color: rgba(185, 132, 48, 0.4);
    background:
        radial-gradient(circle at 50% 0%, rgba(185, 132, 48, 0.09), transparent 58%),
        linear-gradient(180deg, rgba(28, 20, 9, 0.86), rgba(8, 5, 2, 0.95));
}

.product-card:nth-child(3n),
.case-card:nth-child(3n),
.giveaway-preview-card:nth-child(3n) {
    border-color: rgba(158, 68, 92, 0.36);
    background:
        radial-gradient(circle at 50% 0%, rgba(158, 68, 92, 0.09), transparent 58%),
        linear-gradient(180deg, rgba(27, 8, 14, 0.86), rgba(7, 2, 4, 0.95));
}

.btn,
.btn-save,
.case-qty-btn,
.tab-btn {
    border-radius: 8px;
    border: 1px solid rgba(106, 223, 245, 0.34);
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 223, 245, 0.22), transparent 68%),
        linear-gradient(180deg, rgba(20, 90, 106, 0.84), rgba(5, 28, 35, 0.96));
    color: #f4fbff;
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
}

.btn:hover,
.btn-save:hover,
.case-qty-btn:hover,
.tab-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(106, 223, 245, 0.74);
    box-shadow: 0 0 26px rgba(106, 223, 245, 0.24);
}

.footer {
    border-top: 1px solid rgba(106, 223, 245, 0.16);
    background: rgba(0, 0, 0, 0.7);
}

@keyframes zenHeroBreathe {
    0%, 100% {
        transform: scale(1.02) translate3d(0, 0, 0);
        filter: saturate(1) brightness(0.96);
    }
    50% {
        transform: scale(1.055) translate3d(-8px, -4px, 0);
        filter: saturate(1.12) brightness(1.05);
    }
}

@keyframes zenTendril {
    0%, 100% {
        opacity: 0.28;
        filter: blur(2px) drop-shadow(0 0 12px rgba(106, 223, 245, 0.2));
    }
    50% {
        opacity: 0.62;
        filter: blur(3px) drop-shadow(0 0 24px rgba(106, 223, 245, 0.38));
    }
}

@media (max-width: 1180px) {
    .header {
        padding-top: 24px;
    }

    .header-container {
        max-width: calc(100vw - 48px);
        flex-wrap: wrap;
        padding: 14px 18px;
    }

    .site-nav {
        order: 3;
        flex: 0 0 100%;
        height: auto;
        justify-content: flex-start;
        overflow-x: auto;
        border-top: 1px solid rgba(106, 223, 245, 0.12);
        padding-top: 10px;
    }

    .site-nav-link {
        min-width: auto;
        height: 42px;
        padding: 0 14px;
        border-radius: 7px;
        font-size: 0.86rem;
    }

    .zen-drop-row {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .header {
        position: sticky;
        padding: 14px 0 0;
    }

    .header-container {
        max-width: calc(100vw - 28px);
        gap: 10px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: auto;
        font-size: 1.12rem;
        text-align: left;
    }

    .auth-section {
        flex: 0 0 auto;
        width: auto;
        margin-left: auto;
        justify-content: flex-end;
    }

    .auth-section .btn {
        min-height: 40px;
        padding: 0 14px;
        font-size: 0.78rem;
    }

    .site-nav {
        width: 100%;
        scrollbar-width: none;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .zen-hero {
        min-height: 670px;
        padding: 54px 0 66px;
    }

    .zen-hero-bg {
        background-position: 62% center;
    }

    .zen-hero-title span:first-child {
        font-size: clamp(3rem, 17vw, 4.5rem);
    }

    .zen-hero-title span:last-child {
        font-size: clamp(2.45rem, 13vw, 3.75rem);
    }

    .zen-hero-copy {
        max-width: 330px;
        font-size: 0.95rem;
    }

    .zen-hero-countdown {
        min-width: 0;
        width: 100%;
        max-width: 330px;
        min-height: 58px;
        font-size: 0.92rem;
    }

    .zen-drop-panel {
        padding: 26px 14px 18px;
    }

    .zen-drop-row {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .zen-drop-card {
        flex: 0 0 210px;
        min-height: 258px;
        scroll-snap-align: start;
    }

    .zen-filter-strip {
        min-height: 72px;
        gap: 18px;
        padding: 12px 14px;
    }

    .zen-filter-strip a {
        font-size: 0.86rem;
    }

    .products-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================
   ZENCHIKPASS 2026 THEME
   ========================= */

:root {
    --radius: 10px;
    --radius-sm: 8px;
    --zen-bg: #010506;
    --zen-bg-2: #050b0f;
    --zen-panel: rgba(3, 12, 16, 0.82);
    --zen-panel-strong: rgba(4, 15, 20, 0.94);
    --zen-line: rgba(104, 184, 202, 0.32);
    --zen-line-bright: rgba(133, 230, 252, 0.66);
    --zen-text: var(--site-text-primary, #f4fbff);
    --zen-muted: var(--site-text-muted, #91a7b0);
    --zen-cyan: #63dff3;
    --zen-cyan-deep: #0b6a7b;
    --zen-red: #61101f;
    --zen-red-bright: #d53e62;
    --zen-gold: #9d6e19;
    --zen-gold-bright: #f2c96e;
    --zen-green: var(--site-text-success, #6affb7);
    --zen-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
    --zen-glow: 0 0 28px rgba(99, 223, 243, 0.24);
    --neon-purple: var(--zen-cyan);
    --neon-pink: var(--zen-cyan);
    --neon-red: var(--zen-red-bright);
    --neon-cyan: var(--zen-cyan);
    --dark: var(--zen-bg-2);
    --darker: var(--zen-bg);
    --card: var(--zen-panel);
    --white: var(--zen-text);
    --gray: var(--zen-muted);
    --success: var(--zen-green);
    --border: var(--zen-line);
    --border-glow: var(--zen-cyan);
    --glass: var(--zen-panel);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--zen-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(71, 134, 164, 0.25), transparent 30%),
        radial-gradient(circle at 84% 9%, rgba(35, 188, 203, 0.14), transparent 34%),
        radial-gradient(circle at 50% 100%, rgba(10, 39, 58, 0.72), transparent 44%),
        linear-gradient(180deg, #000 0%, var(--zen-bg) 42%, #000 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    opacity: 0.48;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 120px),
        linear-gradient(245deg, rgba(99, 223, 243, 0.05) 0 1px, transparent 1px 150px);
    mask-image: linear-gradient(180deg, transparent, #000 16%, #000 76%, transparent);
}

body::after {
    background:
        radial-gradient(ellipse at 72% 16%, rgba(99, 223, 243, 0.16), transparent 25%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78));
}

::selection {
    color: #001013;
    background: var(--zen-cyan);
}

.container {
    max-width: 1340px;
    padding: 0 50px;
}

.main {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.header {
    padding: 32px 0 14px;
    background: transparent;
    border: 0;
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    min-height: 68px;
    padding: 0 22px 0 34px;
    border: 1px solid var(--zen-line);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(9, 19, 24, 0.72), rgba(2, 9, 12, 0.88)),
        rgba(2, 8, 11, 0.82);
    box-shadow: var(--zen-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    flex-wrap: nowrap;
}

.logo {
    flex: 0 0 auto;
    min-width: 220px;
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.18);
}

.logo img {
    max-height: 36px;
    filter: drop-shadow(0 0 18px rgba(99, 223, 243, 0.18));
}

.site-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-width: 0;
    height: 68px;
}

.site-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 104px;
    padding: 0 22px;
    border: 0;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    background: transparent;
    color: color-mix(in srgb, var(--zen-text), transparent 14%);
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.site-nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.26), transparent 62%),
        linear-gradient(180deg, rgba(15, 97, 112, 0.32), rgba(4, 20, 25, 0.42));
    transition: opacity 0.22s ease;
}

.site-nav-link:hover,
.site-nav-link.active,
.site-nav-more:focus-within .site-nav-more-btn,
.site-nav-more:hover .site-nav-more-btn {
    color: #fff;
    border-color: rgba(99, 223, 243, 0.18);
    box-shadow: inset 0 -1px 0 rgba(99, 223, 243, 0.5);
}

.site-nav-link:hover::before,
.site-nav-link.active::before,
.site-nav-more:focus-within .site-nav-more-btn::before,
.site-nav-more:hover .site-nav-more-btn::before {
    opacity: 1;
}

.site-nav-link > *,
.site-nav-link {
    z-index: 1;
}

.site-nav-caret {
    transform: translateY(-2px);
    font-size: 1.1em;
    opacity: 0.86;
}

.site-nav-more {
    position: relative;
    display: flex;
}

.site-nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 190px;
    padding: 10px;
    border: 1px solid var(--zen-line);
    border-radius: var(--radius);
    background: rgba(3, 12, 16, 0.96);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.56), var(--zen-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.site-nav-more:hover .site-nav-dropdown,
.site-nav-more:focus-within .site-nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav-dropdown a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    color: color-mix(in srgb, var(--zen-text), transparent 12%);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    text-transform: uppercase;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav-dropdown a:hover,
.site-nav-dropdown a.active {
    color: #fff;
    background: rgba(99, 223, 243, 0.12);
    transform: translateX(3px);
}

.header-badge {
    order: 4;
    flex: 0 0 100%;
    max-width: none;
    min-width: 0;
    margin: -4px 0 12px;
    font-size: 0.9rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(244, 251, 255, 0.78);
}

.header-badge-empty {
    display: none;
}

.auth-section {
    flex: 0 0 auto;
    gap: 10px;
    margin-left: 16px;
}

.auth-section.has-long-wallet {
    margin-left: 8px;
    transform: translateX(-1ch);
}

.currency-display,
.ticket-display,
.level-display {
    min-height: 42px;
    border: 1px solid var(--zen-line);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.16), transparent 64%),
        rgba(2, 14, 18, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.currency-display:hover,
.ticket-display:hover,
.level-display:hover {
    transform: translateY(-1px);
    border-color: var(--zen-line-bright);
    box-shadow: var(--zen-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.currency-amount,
.ticket-amount,
#header-balance {
    color: #d9fbff;
    text-shadow: 0 0 14px rgba(99, 223, 243, 0.42);
}

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border-color: var(--zen-line-bright);
    box-shadow: 0 0 22px rgba(99, 223, 243, 0.18);
}

.nav-tabs {
    display: none;
}

.section-title,
.giveaways-preview-header h2,
.partners-title-link,
.task-group-title,
.leaderboard-head h3,
.profile-section-card h2 {
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--zen-text);
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: 0 0 24px rgba(99, 223, 243, 0.18);
}

.section-title {
    margin-bottom: 34px;
    font-size: clamp(1.45rem, 2vw, 2.25rem);
    text-align: left;
}

.section-title::before,
.giveaways-preview-header h2::before,
.partners-title-link::before,
.task-group-title::before,
.leaderboard-head h3::before,
.case-content-title::before {
    content: '?';
    margin-right: 10px;
    color: var(--zen-cyan);
    text-shadow: 0 0 18px rgba(99, 223, 243, 0.8);
}

.hero {
    order: 0;
    padding: 18px 0 42px;
    min-height: min(78vh, 760px);
}

.hero .container {
    max-width: 100%;
    padding: 0 50px;
}

.hero-video-container,
.hero-link {
    border: 1px solid rgba(99, 223, 243, 0.22);
    border-radius: 0;
    background: #02090d;
    box-shadow: inset 0 -180px 120px rgba(0, 0, 0, 0.66), 0 28px 80px rgba(0, 0, 0, 0.58);
}

.hero-video-container::after,
.hero-link::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 70% 22%, rgba(99, 223, 243, 0.22), transparent 20%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.74), transparent 58%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.58));
}

.hero-link::before {
    background: linear-gradient(90deg, transparent, rgba(99, 223, 243, 0.16), transparent);
    mix-blend-mode: screen;
}

.hero-link:hover {
    transform: none;
    border-color: var(--zen-line-bright);
    box-shadow: inset 0 -180px 120px rgba(0, 0, 0, 0.66), 0 0 0 1px rgba(99, 223, 243, 0.18), var(--zen-glow);
}

.hero-image,
.hero-video,
.hero-placeholder {
    width: 100%;
    min-height: min(72vh, 690px);
    aspect-ratio: 1440 / 720;
    object-fit: cover;
    background: #02090d;
}

.hero-placeholder {
    align-items: flex-start;
    padding: min(11vw, 130px) 0 0 0;
    background:
        radial-gradient(circle at 72% 22%, rgba(99, 223, 243, 0.18), transparent 20%),
        radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.08), transparent 20%),
        linear-gradient(135deg, #02090d, #07151c 48%, #000 100%);
}

.hero-placeholder h1 {
    margin-left: 4vw;
    max-width: 650px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 7.6rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    text-align: left;
}

.hero-placeholder p {
    margin-left: 4.3vw;
    color: rgba(244, 251, 255, 0.72);
    font-size: 1.1rem;
}

.features {
    order: 1;
    padding: 22px 0 34px;
}

.giveaways-preview-section {
    order: 2;
    padding: 34px 0;
}

.partners-section {
    order: 3;
}

.features-grid,
.giveaways-preview-grid,
.products-grid,
.tasks-grid,
.winners-grid,
.leaderboards-grid,
.case-loot-grid,
.purchases-grid,
.case-awaiting-grid,
.awaiting-unified-grid {
    gap: 10px;
}

.feature-card,
.giveaway-preview-card,
.giveaway-card,
.winner-card,
.product-card,
.task-card,
.leaderboard-card,
.profile-section-card,
.product-detail-card,
.faq-item,
.case-awaiting-card,
.purchase-card,
.empty-state,
.empty-tab,
.giveaways-preview-empty,
.giveaways-empty,
.winners-empty,
.task-group-empty,
.modal-content,
.confirm-modal-content,
.partners-item {
    position: relative;
    border: 1px solid var(--zen-line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.08), transparent 62%),
        linear-gradient(180deg, rgba(5, 17, 22, 0.92), rgba(2, 9, 12, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.feature-card::after,
.giveaway-preview-card::after,
.giveaway-card::after,
.winner-card::after,
.product-card::after,
.task-card::after,
.leaderboard-card::after,
.profile-section-card::after,
.product-detail-card::after,
.faq-item::after,
.case-awaiting-card::after,
.purchase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(99, 223, 243, 0.14), transparent 42%);
    transform: translateX(-35%);
    transition: opacity 0.28s ease, transform 0.5s ease;
}

.feature-card:hover,
.giveaway-preview-card:hover,
.giveaway-card:hover,
.winner-card:hover,
.product-card:hover,
.task-card:hover,
.leaderboard-card:hover,
.case-awaiting-card:hover,
.purchase-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: var(--zen-line-bright);
    box-shadow: var(--zen-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feature-card:hover::after,
.giveaway-preview-card:hover::after,
.giveaway-card:hover::after,
.winner-card:hover::after,
.product-card:hover::after,
.task-card:hover::after,
.leaderboard-card:hover::after,
.case-awaiting-card:hover::after,
.purchase-card:hover::after,
.faq-item:hover::after {
    opacity: 1;
    transform: translateX(35%);
}

.btn,
.btn-save,
.case-qty-btn,
.tab-btn,
.partners-nav-btn,
.video-control-btn,
.audio-play-btn,
.file-remove-btn,
button,
input,
select,
textarea {
    font-family: 'Inter', Arial, sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.btn,
.btn-save,
.case-qty-btn,
.tab-btn {
    min-height: 42px;
    border: 1px solid rgba(99, 223, 243, 0.3);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.22), transparent 68%),
        linear-gradient(180deg, rgba(15, 68, 80, 0.82), rgba(4, 21, 27, 0.95));
    color: var(--zen-text);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 rgba(99, 223, 243, 0);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn::before,
.btn-save::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
}

.btn:hover,
.btn-save:hover,
.case-qty-btn:hover,
.tab-btn:hover,
.tab-btn.active {
    transform: translateY(-2px);
    border-color: var(--zen-line-bright);
    box-shadow: 0 0 24px rgba(99, 223, 243, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    filter: brightness(1.08);
}

.btn:active,
.btn-save:active,
.case-qty-btn:active,
.tab-btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary,
.btn-twitch,
.btn-buy,
.btn-buy-large,
.btn-admin {
    background:
        radial-gradient(circle at 50% 0%, rgba(139, 244, 255, 0.28), transparent 68%),
        linear-gradient(180deg, rgba(20, 90, 106, 0.92), rgba(5, 28, 35, 0.98));
    color: #fff;
}

.btn-success {
    border-color: rgba(106, 255, 183, 0.34);
    background:
        radial-gradient(circle at 50% 0%, rgba(106, 255, 183, 0.22), transparent 68%),
        linear-gradient(180deg, rgba(20, 91, 60, 0.9), rgba(5, 33, 25, 0.98));
    color: #eafff5;
}

.btn-danger,
.btn-logout {
    border-color: rgba(213, 62, 98, 0.42);
    background:
        radial-gradient(circle at 50% 0%, rgba(213, 62, 98, 0.24), transparent 68%),
        linear-gradient(180deg, rgba(97, 16, 31, 0.92), rgba(28, 5, 10, 0.98));
    color: #ffeaf0;
}

.btn.disabled,
.btn:disabled,
button:disabled,
.disabled {
    opacity: 0.54;
    cursor: not-allowed;
    filter: grayscale(0.45) brightness(0.75);
    transform: none !important;
    box-shadow: none !important;
}

.product-card,
.giveaway-preview-card,
.giveaway-card {
    min-height: 0;
}

.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
}

.product-image-wrapper,
.giveaway-preview-cover,
.giveaway-card-cover,
.winner-card-image,
.task-cover,
.purchase-image,
.case-awaiting-image {
    position: relative;
    background:
        radial-gradient(circle at 52% 52%, rgba(255, 255, 255, 0.11), transparent 26%),
        radial-gradient(circle at 50% 120%, rgba(99, 223, 243, 0.22), transparent 46%),
        linear-gradient(145deg, rgba(4, 18, 23, 0.96), rgba(1, 6, 8, 0.98));
}

.product-image-wrapper::before,
.giveaway-preview-cover::before,
.giveaway-card-cover::before,
.winner-card-image::before,
.task-cover::before,
.case-awaiting-image::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background:
        radial-gradient(ellipse at 50% 55%, transparent 28%, rgba(255, 255, 255, 0.16) 29%, transparent 31%),
        radial-gradient(ellipse at 50% 55%, transparent 45%, rgba(255, 255, 255, 0.1) 46%, transparent 48%);
    pointer-events: none;
}

.product-card:nth-child(3n+2),
.task-card.difficulty-weekly,
.giveaway-card:nth-child(3n+2),
.giveaway-preview-card:nth-child(3n+2) {
    --zen-line: rgba(213, 62, 98, 0.34);
    --zen-line-bright: rgba(236, 92, 126, 0.72);
    background:
        radial-gradient(circle at 50% 0%, rgba(213, 62, 98, 0.1), transparent 62%),
        linear-gradient(180deg, rgba(31, 5, 13, 0.92), rgba(8, 2, 5, 0.96));
}

.product-card:nth-child(3n),
.task-card.difficulty-daily,
.giveaway-card:nth-child(3n),
.giveaway-preview-card:nth-child(3n) {
    --zen-line: rgba(242, 201, 110, 0.34);
    --zen-line-bright: rgba(242, 201, 110, 0.76);
    background:
        radial-gradient(circle at 50% 0%, rgba(242, 201, 110, 0.12), transparent 62%),
        linear-gradient(180deg, rgba(38, 28, 9, 0.92), rgba(10, 7, 2, 0.96));
}

.product-info,
.giveaway-preview-body,
.giveaway-card-body,
.task-body,
.winner-card-user,
.winner-card-giveaway {
    position: relative;
    z-index: 1;
}

.product-name,
.giveaway-preview-title,
.giveaway-card-title,
.task-short,
.case-price-name,
.profile-name,
.product-title {
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.product-price,
.product-detail-price,
.case-price-value,
.giveaway-card-progress,
.giveaway-preview-progress,
.task-reward-value,
.leaderboard-rank,
.leaderboard-value,
.balance-value,
.price-value {
    color: #dffcff;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 0 16px rgba(99, 223, 243, 0.35);
}

.product-limit-card,
.task-status,
.task-timer-inline,
.status-badge,
.case-vip-card-badge,
.awaiting-type-badge,
.awaiting-status-note {
    border-radius: 7px;
    border: 1px solid rgba(99, 223, 243, 0.28);
    background: rgba(5, 25, 31, 0.82);
    color: rgba(244, 251, 255, 0.86);
}

.product-card .btn-buy,
.giveaway-card .btn,
.giveaway-preview-card .btn {
    margin-top: 12px;
}

.partners-carousel {
    border: 1px solid var(--zen-line);
    background: rgba(2, 9, 12, 0.62);
}

.partners-image {
    border-radius: 6px;
}

.partners-dot {
    background: rgba(99, 223, 243, 0.28);
}

.partners-dot.is-active {
    background: var(--zen-cyan);
    box-shadow: 0 0 14px rgba(99, 223, 243, 0.55);
}

.video-control-btn {
    border: 1px solid var(--zen-line-bright);
    background: rgba(2, 10, 13, 0.78);
}

.video-control-btn:hover {
    background: rgba(15, 84, 99, 0.9);
}

.form-control,
.trade-input,
input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
    border: 1px solid rgba(99, 223, 243, 0.24);
    border-radius: 8px;
    background: rgba(1, 7, 9, 0.78);
    color: var(--zen-text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.form-control:focus,
.trade-input:focus,
input:not([type="file"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
    border-color: var(--zen-line-bright);
    box-shadow: 0 0 0 3px rgba(99, 223, 243, 0.1), 0 0 20px rgba(99, 223, 243, 0.18);
    background: rgba(2, 12, 16, 0.92);
}

label,
.form-hint,
.product-quantity,
.giveaway-card-item,
.giveaway-card-price,
.giveaway-preview-item,
.task-reward-label,
.faq-intro,
.faq-answer,
.leaderboard-table th,
.purchase-date,
.case-awaiting-date,
.case-awaiting-case {
    color: var(--zen-muted);
}

.profile-header {
    border: 1px solid var(--zen-line);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 12% 0%, rgba(99, 223, 243, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(5, 17, 22, 0.9), rgba(2, 8, 11, 0.96));
    box-shadow: var(--zen-shadow);
}

.profile-avatar-large img {
    border-radius: 12px;
    border: 1px solid var(--zen-line-bright);
    box-shadow: var(--zen-glow);
}

.purchases-tabs {
    border: 1px solid var(--zen-line);
    border-radius: var(--radius);
    background: rgba(2, 9, 12, 0.7);
    padding: 8px;
}

.tab-content.active {
    animation: zenFadeUp 0.28s ease both;
}

.leaderboard-table {
    border-collapse: separate;
    border-spacing: 0;
}

.leaderboard-table th,
.leaderboard-table td {
    border-color: rgba(99, 223, 243, 0.14);
}

.leaderboard-table tr:hover td {
    background: rgba(99, 223, 243, 0.06);
}

.faq-question-wrapper {
    font-family: 'Inter', sans-serif;
}

.faq-question-wrapper:hover,
.faq-item.faq-open .faq-question-wrapper {
    color: var(--zen-cyan);
}

.modal,
.confirm-modal,
.case-modal {
    background: rgba(0, 3, 4, 0.78);
    backdrop-filter: blur(18px);
}

.modal-content,
.confirm-modal-content,
.case-modal-content {
    border-color: var(--zen-line-bright);
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.12), transparent 50%),
        rgba(3, 12, 16, 0.96);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), var(--zen-glow);
}

.case-card {
    border: 1px solid var(--zen-line) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.08), transparent 58%),
        linear-gradient(180deg, rgba(4, 15, 20, 0.82), rgba(1, 6, 8, 0.92)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.cases-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
    gap: 28px !important;
}

.case-card {
    max-width: 260px !important;
}

.case-card:hover {
    border-color: var(--zen-line-bright) !important;
    box-shadow: var(--zen-glow), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.case-card-cover,
.case-preview-visual {
    background:
        radial-gradient(circle at 50% 52%, rgba(99, 223, 243, 0.13), transparent 30%),
        linear-gradient(180deg, rgba(3, 12, 16, 0.72), rgba(1, 5, 7, 0.9)) !important;
}

.case-card-cover {
    aspect-ratio: 1 / 1.18 !important;
    padding: 20px !important;
    border: 0 !important;
}

.case-emoji {
    font-size: 3rem;
    color: rgba(244, 251, 255, 0.86);
    text-shadow: 0 0 20px rgba(99, 223, 243, 0.22);
}

.case-price-line {
    gap: 12px;
    padding: 0 16px 18px !important;
    background: transparent !important;
}

.case-price-name {
    font-size: 1rem !important;
    letter-spacing: 0.02em;
}

.case-price-value {
    min-width: 118px;
    min-height: 42px;
    justify-content: center;
    border: 1px solid rgba(99, 223, 243, 0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.24), transparent 68%),
        linear-gradient(180deg, rgba(20, 90, 106, 0.86), rgba(5, 28, 35, 0.96));
    font-size: 1rem !important;
}

.case-price-value,
.case-price-line:hover .case-price-value {
    color: #dffcff;
}

.case-reel,
.case-reel-window,
.case-result-card,
.case-loot-item {
    border-color: rgba(99, 223, 243, 0.22);
    background: rgba(2, 9, 12, 0.94);
}

.toast {
    border-radius: var(--radius);
    background: rgba(3, 12, 16, 0.94);
    backdrop-filter: blur(18px);
}

.btn-support {
    border: 1px solid rgba(99, 223, 243, 0.4);
    background:
        radial-gradient(circle at 50% 0%, rgba(99, 223, 243, 0.26), transparent 68%),
        rgba(3, 20, 26, 0.92);
    color: #fff;
    box-shadow: 0 0 28px rgba(99, 223, 243, 0.24);
    animation: zenSupportPulse 2.4s ease-in-out infinite;
}

.btn-support:hover {
    transform: translateY(-3px) scale(1.03);
}

@keyframes zenFadeUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zenSupportPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 223, 243, 0.2);
    }
    50% {
        box-shadow: 0 0 42px rgba(99, 223, 243, 0.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 1180px) {
    .container {
        padding: 0 24px;
    }

    .header-container {
        flex-wrap: wrap;
        padding: 14px 18px;
        gap: 12px;
    }

    .logo {
        min-width: auto;
    }

    .site-nav {
        order: 3;
        flex-basis: 100%;
        height: auto;
        justify-content: flex-start;
        overflow-x: auto;
        border-top: 1px solid rgba(99, 223, 243, 0.12);
        padding-top: 10px;
    }

    .site-nav-link {
        min-width: auto;
        height: 44px;
        padding: 0 16px;
        border-radius: 7px;
    }

    .auth-section {
        margin-left: auto;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .hero .container {
        padding: 0 24px;
    }
}

@media (max-width: 760px) {
    .header {
        padding-top: 14px;
    }

    .container,
    .hero .container {
        padding: 0 14px;
    }

    .header-container {
        border-radius: 8px;
    }

    .site-nav {
        gap: 6px;
    }

    .site-nav-link {
        font-size: 0.82rem;
        height: 40px;
        padding: 0 12px;
    }

    .site-nav-dropdown {
        left: 0;
        right: auto;
    }

    .auth-section {
        width: 100%;
        justify-content: flex-start;
    }

    .currency-display,
    .ticket-display,
    .level-display {
        padding: 7px 10px;
    }

    .hero {
        min-height: auto;
        padding-top: 8px;
    }

    .hero-image,
    .hero-video,
    .hero-placeholder {
        min-height: 430px;
        aspect-ratio: 4 / 5;
    }

    .features-grid,
    .products-grid,
    .tasks-grid,
    .leaderboards-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-title {
        font-size: 1.35rem;
    }

    .btn-support {
        right: 14px;
        bottom: 14px;
        padding: 12px 16px;
    }
}

/* Keep in-progress areas on the legacy visual language. */
.profile-section,
.leaderboards-section,
.partners-section {
    --neon-purple: #b026ff;
    --neon-pink: #ff006e;
    --neon-red: #ff073a;
    --neon-cyan: #00f5ff;
    --dark: #050508;
    --darker: #020203;
    --card: #0a0a0f;
    --white: #ffffff;
    --gray: #8b8b9a;
    --success: #00ff88;
    --border: #1a1a2e;
    --border-glow: #b026ff;
    --glass: rgba(10, 10, 15, 0.8);
}

.profile-section .profile-header,
.profile-section .profile-section-card,
.profile-section .purchase-card,
.profile-section .case-awaiting-card,
.profile-section .empty-tab,
.leaderboards-section .leaderboard-card,
.partners-section .partners-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: none;
}

.profile-section .profile-section-card::after,
.profile-section .purchase-card::after,
.profile-section .case-awaiting-card::after,
.leaderboards-section .leaderboard-card::after {
    display: none;
}

.profile-section .profile-section-card:hover,
.profile-section .purchase-card:hover,
.profile-section .case-awaiting-card:hover,
.leaderboards-section .leaderboard-card:hover {
    transform: none;
    border-color: var(--border);
    box-shadow: none;
}

.profile-section .profile-name,
.profile-section .profile-section-card h2,
.leaderboards-section .section-title,
.leaderboards-section .leaderboard-head h3,
.partners-section .partners-title-link {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: none;
}

.profile-section .profile-section-card h2::before,
.leaderboards-section .section-title::before,
.leaderboards-section .leaderboard-head h3::before,
.partners-section .partners-title-link::before {
    content: none;
}

.profile-section .profile-avatar-large img {
    border-radius: 50%;
    border-color: var(--neon-purple);
    box-shadow: 0 0 25px rgba(176, 38, 255, 0.5);
}

.leaderboards-section .section-title {
    text-align: center;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--white), var(--neon-purple)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.leaderboards-section .leaderboard-head {
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.15), rgba(0, 245, 255, 0.1));
}

.partners-section .partners-carousel {
    border: 0;
    background: transparent;
}

.partners-section .partners-item {
    padding: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.partners-section a.partners-item:hover {
    transform: translateY(-4px);
    border-color: var(--neon-purple);
    box-shadow: 0 18px 42px rgba(176, 38, 255, 0.35);
}

.profile-section .awaiting-unified-grid,
.profile-section .case-awaiting-grid {
    grid-template-columns: repeat(auto-fill, 180px);
    justify-content: flex-start;
    align-items: start;
    gap: 12px;
}

.profile-section .purchases-grid {
    grid-template-columns: repeat(auto-fill, 220px);
    justify-content: flex-start;
    align-items: start;
    gap: 12px;
}

.profile-section .case-awaiting-card {
    width: 180px;
    min-height: 0;
}

.profile-section .awaiting-unified-card {
    min-height: 0;
}

.profile-section .case-awaiting-image {
    aspect-ratio: 1.08;
    min-height: 0;
}

.profile-section .case-awaiting-image img {
    padding: 10px;
}

.profile-section .awaiting-type-badge,
.profile-section .awaiting-status-note {
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-section .case-awaiting-details {
    padding: 9px 10px 0;
}

.profile-section .case-awaiting-details h3,
.profile-section .purchase-details h3 {
    display: -webkit-box;
    white-space: normal;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.profile-section .case-awaiting-details h3 {
    min-height: 2.36em;
    font-size: 0.82rem;
}

.profile-section .case-awaiting-case,
.profile-section .case-awaiting-quality,
.profile-section .case-awaiting-price,
.profile-section .case-awaiting-date {
    font-size: 0.72rem;
}

.profile-section .case-awaiting-actions {
    grid-template-columns: 1fr;
    padding: 0 10px 10px;
}

.profile-section .purchase-card {
    width: 220px;
    flex-direction: column;
}

.profile-section .purchase-image {
    width: 100%;
    height: auto;
    max-height: 180px;
    aspect-ratio: 1.15;
}

.profile-section .purchase-details {
    padding: 12px;
}

.profile-section .purchase-details h3 {
    min-height: 2.5em;
    font-size: 0.92rem;
}

.profile-section .purchase-price {
    font-size: 1rem;
}

@media (max-width: 560px) {
    .profile-section .awaiting-unified-grid,
    .profile-section .case-awaiting-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
    }

    .profile-section .purchases-grid {
        grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    }

    .profile-section .case-awaiting-card,
    .profile-section .purchase-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid { 
        grid-template-columns: 1fr; 
    }
    
    .tab { 
        flex: 0 0 auto; 
        text-align: center; 
        padding: 16px; 
        font-size: 0.8rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .currency-display {
        padding: 8px 12px;
    }
    
    .currency-amount {
        font-size: 1rem;
    }
    
    .user-avatar {
        width: 38px;
        height: 38px;
    }
    
    .hero-image, 
    .hero-placeholder,
    .hero-video { 
        aspect-ratio: 16/9;
    }

    .partners-title-link {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }
    
    .product-detail-image {
        min-height: 250px;
    }
    
    .product-detail-image img {
        max-height: 300px;
        padding: 12px;
    }
    
    .product-image {
        padding: 8px;
    }
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card);
    border: 2px solid var(--neon-purple);
    border-radius: var(--radius);
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Audio preview */
.preview-audio {
    margin-top: 12px;
    width: 100%;
    height: 40px;
    border-radius: var(--radius-sm);
}

/* Payment agreement modal specific */
.payment-agreement-modal img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    margin: 20px 0;
}

/* Enhanced toast with custom icon */
.toast.custom-icon {
    padding-left: 20px;
}

.toast.custom-icon .toast-icon {
    background: transparent;
    width: 50px;
    height: 50px;
}

.toast.custom-icon .toast-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.5);
}

/* Button enhancements */
.btn:active {
    transform: scale(0.98);
}

/* Admin notification badge */
.badge {
    background: var(--neon-red);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 8px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Product edit form enhancements */
#edit-modal .form-group input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--neon-purple);
    cursor: pointer;
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Delivery notification animations */
@keyframes slideInFromRight {
    from { 
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutToRight {
    from { 
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to { 
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

@keyframes shrink {
    from { width: 100%; }
    to { width: 0%; }
}

/* Extended animations for notifications */
.delivery-notification:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.4), 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Toast notification container */
.toast.success {
    border-color: var(--success);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.2);
}

.toast.error {
    border-color: var(--neon-red);
    box-shadow: 0 10px 40px rgba(255, 7, 58, 0.2);
}

/* Delivery notification styles */
.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.95);
    z-index: 22000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.confirm-modal.active {
    display: flex !important;
}

.confirm-modal-content {
    background: var(--card);
    border: 2px solid var(--neon-purple);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(176, 38, 255, 0.3);
    animation: slideUp 0.3s ease;
    margin: 0 auto;
    position: relative;
}

.confirm-modal-content.success {
    border-color: var(--success);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.3);
}

.confirm-modal-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-purple);
}

.confirm-modal-content.success h3 {
    color: var(--success);
}

.confirm-modal-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.confirm-price {
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.1), rgba(255, 0, 110, 0.1));
    border: 1px solid var(--neon-purple);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
}

.price-highlight {
    color: var(--neon-red);
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 8px;
    text-shadow: 0 0 10px rgba(255, 7, 58, 0.5);
}

.confirm-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.confirm-buttons .btn {
    flex: 1;
    padding: 16px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Chat modal */
@media (max-width: 480px) {
    .confirm-modal {
        padding: 12px;
    }

    .confirm-modal-content {
        max-width: 100%;
        width: 100%;
        padding: 24px;
    }
    
    .confirm-buttons {
        flex-direction: column;
    }
    
    .confirm-buttons .btn {
        max-width: 100%;
        width: 100%;
    }
}

/* Mobile and responsive fixes */
.btn-save {
    background: linear-gradient(135deg, var(--success), #00cc6a);
    color: var(--darker);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

/* ===== Browser autofill fixes ===== */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--white) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--dark) inset !important;
    box-shadow: 0 0 0px 1000px var(--dark) inset !important;
    background-color: var(--dark) !important;
    transition: background-color 5000s ease-in-out 0s !important;
    caret-color: var(--neon-purple);
    border-color: var(--neon-purple) !important;
}

/* Browser autocomplete reset */
input:-webkit-autofill {
    animation: autofillGlow 0.5s ease;
}

@keyframes autofillGlow {
    from {
        box-shadow: 0 0 0px 1000px var(--dark) inset, 0 0 0px var(--neon-purple);
    }
    to {
        box-shadow: 0 0 0px 1000px var(--dark) inset, 0 0 20px rgba(176, 38, 255, 0.3);
    }
}

/* ===== Audio player styles ===== */
/* Hidden native input */
input[type="file"] {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* Main audio player button */
.file-upload-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--dark), var(--card));
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    color: var(--gray);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.file-upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(176, 38, 255, 0.1), transparent);
    transition: left 0.5s;
}

.file-upload-label:hover::before {
    left: 100%;
}

.file-upload-label:hover {
    border-color: var(--neon-purple);
    color: var(--white);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.2);
    transform: translateY(-2px);
}

.file-upload-label.uploaded {
    border-style: solid;
    border-color: var(--success);
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), var(--dark));
    color: var(--success);
}

.file-upload-label.uploaded:hover {
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.file-upload-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.file-upload-label:hover .file-upload-icon {
    transform: scale(1.2);
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.file-upload-hint {
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: none;
    letter-spacing: normal;
}

/* File name */
.file-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--dark);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    animation: slideUp 0.3s ease;
}

.file-preview img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    border: 2px solid var(--neon-purple);
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.3);
    padding: 4px;
    background: var(--dark);
}

.file-preview audio {
    flex: 1;
    height: 40px;
    filter: hue-rotate(280deg) saturate(2);
}

.file-preview video {
    max-width: 200px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--neon-purple);
}

.file-preview-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.file-preview-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    word-break: break-all;
}

.file-preview-size {
    font-size: 0.8rem;
    color: var(--gray);
}

.file-remove-btn {
    background: var(--neon-red);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.file-remove-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 7, 58, 0.5);
}

/* Mobile adaptation */
.custom-audio-player {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--dark), var(--card));
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}

.audio-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
    flex-shrink: 0;
}

.audio-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.5);
}

.audio-play-btn.playing {
    animation: pulse-purple 1.5s infinite;
}

@keyframes pulse-purple {
    0%, 100% { box-shadow: 0 0 20px rgba(176, 38, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(176, 38, 255, 0.6); }
}

.audio-waveform {
    flex: 1;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 0 10px;
}

.audio-bar {
    width: 4px;
    background: linear-gradient(180deg, var(--neon-purple), var(--neon-pink));
    border-radius: 2px;
    transition: height 0.3s ease;
    animation: waveform 1s ease-in-out infinite;
}

.audio-bar:nth-child(1) { height: 20%; animation-delay: 0s; }
.audio-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.audio-bar:nth-child(3) { height: 40%; animation-delay: 0.2s; }
.audio-bar:nth-child(4) { height: 80%; animation-delay: 0.3s; }
.audio-bar:nth-child(5) { height: 30%; animation-delay: 0.4s; }
.audio-bar:nth-child(6) { height: 70%; animation-delay: 0.5s; }
.audio-bar:nth-child(7) { height: 50%; animation-delay: 0.6s; }
.audio-bar:nth-child(8) { height: 90%; animation-delay: 0.7s; }
.audio-bar:nth-child(9) { height: 35%; animation-delay: 0.8s; }
.audio-bar:nth-child(10) { height: 65%; animation-delay: 0.9s; }
.audio-bar:nth-child(11) { height: 45%; animation-delay: 1s; }
.audio-bar:nth-child(12) { height: 75%; animation-delay: 1.1s; }

@keyframes waveform {
    0%, 100% { transform: scaleY(1); opacity: 0.7; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

.audio-play-btn:not(.playing) + .audio-waveform .audio-bar {
    animation: none;
    height: 20%;
    opacity: 0.3;
}

.audio-time {
    font-family: 'Inter', monospace;
    font-size: 0.9rem;
    color: var(--gray);
    min-width: 100px;
    text-align: right;
}

.audio-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-pink));
    border-radius: 0 0 0 var(--radius-sm);
    transition: width 0.1s linear;
}

/* Animated fallback icon */
.preview-audio {
    margin-top: 12px;
    width: 100%;
    height: 50px;
    border-radius: var(--radius-sm);
    filter: hue-rotate(280deg) saturate(2) brightness(0.9);
}

.preview-audio::-webkit-media-controls-panel {
    background: var(--dark);
}

.preview-audio::-webkit-media-controls-current-time-display,
.preview-audio::-webkit-media-controls-time-remaining-display {
    color: var(--white);
    font-family: 'Inter', sans-serif;
}

/* Pulse */
@media (max-width: 480px) {
    .file-preview {
        flex-wrap: wrap;
    }
    
    .file-preview audio {
        width: 100%;
        order: 3;
    }
    
    .custom-audio-player {
        flex-wrap: wrap;
    }
    
    .audio-waveform {
        width: 100%;
        order: 2;
    }
    
    .audio-time {
        width: 100%;
        text-align: center;
        order: 3;
    }
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-intro {
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question-wrapper {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question-wrapper:hover {
    color: var(--neon-purple);
}

.faq-question-text {
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
    font-weight: 700;
    display: inline-block;
}

/* Text box width based on 45 chars */
.faq-item.faq-open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--gray);
    line-height: 1.8;
    transition: all 0.3s ease;
    opacity: 0;
}

/* Inner button alignment */
.faq-item.faq-open .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
    opacity: 1;
}

.faq-item.faq-open .faq-question-wrapper {
    color: var(--neon-purple);
}

.faq-admin-item {
    background: var(--dark);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

/* Feature cards */
.feature-icon-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}
/* Area for upload and audio controls */
.button-config .color-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.button-config .color-picker {
    width: 60px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.button-config .color-text {
    flex: 1;
    font-family: monospace;
}

.button-config .color-preview-box {
    margin-top: 8px;
    height: 30px;
    border-radius: 4px;
    background-color: var(--preview-color);
    box-shadow: 0 0 15px var(--preview-color);
    border: 1px solid var(--border);
}

.button-config .color-preview-box.dark {
    box-shadow: none;
}
/* =========================
   HERO VIDEO CONTROLS
   ========================= */

.video-controls {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

/* Play/pause button between audio controls */
#play-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;
    pointer-events: auto;
}

/* Smaller uploaded file button */
.volume-control {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.video-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--neon-purple);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-control-btn:hover {
    background: var(--neon-purple);
    transform: scale(1.1);
}

/* Move button slightly down and left:
   1 mm down and 0.5 mm left */
.volume-slider-wrap {
    position: absolute;
    right: calc(100% + 1mm);
    top: calc(50% + 1mm);                    /* instead of calc(50% + 10mm) */
    transform: translateY(-50%);
    width: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: width 0.15s ease, opacity 0.15s ease;
    z-index: 20;
}


.volume-slider {
    width: 130px;
    accent-color: var(--neon-purple);
    cursor: pointer;
}

/* Apply changes for upload/audio/admin controls */
.volume-control:hover .volume-slider-wrap,
.volume-control:focus-within .volume-slider-wrap,
.volume-control.is-adjusting .volume-slider-wrap {
    width: 130px;
    opacity: 1;
    pointer-events: auto;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 768px) {
    #play-btn {
        left: 12px;
        bottom: 12px;
    }

    .volume-control {
        right: 12px;
        bottom: 12px;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .volume-slider {
        width: 110px;
    }

    .volume-control:hover .volume-slider-wrap,
    .volume-control:focus-within .volume-slider-wrap,
    .volume-control.is-adjusting .volume-slider-wrap {
        width: 110px;
    }
}

/* =========================
   FIGMA LAST PASS
   Must stay at EOF: overrides older theme blocks above.
   ========================= */

.header {
    position: fixed !important;
    inset: 0 0 auto !important;
    padding: 50px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.header-container {
    width: calc(100vw - 100px) !important;
    max-width: 1156px !important;
    min-height: 68px !important;
    margin: 0 auto !important;
    padding: 0 18px 0 34px !important;
}

.zen-hero {
    margin-top: 0 !important;
    min-height: 720px !important;
    padding-top: 178px !important;
}

.zen-hero .container,
.zen-drop-section .container {
    max-width: 1440px !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.zen-hero-kicker {
    margin-top: 18px !important;
}

.site-nav {
    height: 68px !important;
}

.site-nav-link {
    height: 68px !important;
}

@media (max-width: 1180px) {
    .header {
        position: sticky !important;
        padding-top: 18px !important;
    }

    .header-container {
        width: calc(100vw - 36px) !important;
        max-width: none !important;
        flex-wrap: wrap !important;
        padding: 14px 18px !important;
    }

    .zen-hero {
        padding-top: 64px !important;
    }
}

@media (max-width: 760px) {
    .header-container {
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
    }

    .logo {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        text-align: left !important;
    }

    .auth-section {
        flex: 0 0 auto !important;
        width: auto !important;
        margin-left: auto !important;
        justify-content: flex-end !important;
    }

    .auth-section .btn {
        min-height: 40px !important;
        padding: 0 14px !important;
        font-size: 0.78rem !important;
    }

    .site-nav {
        flex: 0 0 100% !important;
        width: 100% !important;
        scrollbar-width: none !important;
    }

    .site-nav::-webkit-scrollbar {
        display: none !important;
    }

    .zen-hero .container,
    .zen-drop-section .container {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .zen-hero {
        min-height: 670px !important;
        padding-top: 54px !important;
    }
}


