﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800;900&display=swap');
:root {
    --bg-main: #0c0d12;
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-title: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
*, html, body, button, input, select, textarea, table, th, td, p, span, a, div {
    font-family: var(--font-primary) !important;
}
h1, h2, h3, h4, h5, h6, .font-title {
    font-family: var(--font-title) !important;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
    user-select: none;
}
body {
    background-color: #0c0d12;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background-image: none !important;
}
.ambient-glow {
    display: none !important;
}
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 740px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero-bg-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.45;
}
.hero-bg-container .hero-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 13, 18, 0.2) 0%, rgba(12, 13, 18, 0.5) 55%, #0c0d12 100%);
}
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0c0d12;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
.glass-nav {
    background: rgba(18, 20, 27, 0.88) !important;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: none !important;
    outline: none !important;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}
.glass-card,
.product-item-card,
.profile-glass-card,
.glass-card-borderless,
.glass-panel {
    background: #111319 !important;
    border: none !important;
    outline: none !important;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.glass-card:hover,
.product-item-card:hover,
.profile-glass-card:hover,
.glass-card-borderless:hover {
    background: #151822 !important;
    border: none !important;
    outline: none !important;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55) !important;
    transform: translateY(-3px);
}
.product-item-card {
    padding: 24px;
}
.product-plan-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    background: #1c1e27;
    color: #9ca3af;
    border: none !important;
}
.product-item-card:hover .product-plan-badge {
    background: #232634;
    color: #e2e8f0;
    border: none !important;
}
.product-thumb-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #090a0f;
    border: none !important;
    outline: none !important;
}
.product-item-card:hover .product-thumb-wrapper {
    border: none !important;
}
.product-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-item-card:hover .product-thumb-img {
    transform: scale(1.05);
}
.product-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 60%);
    pointer-events: none;
}
.card-glass-violet,
.card-glass-pink,
.card-glass-emerald,
.card-glass-cyan,
.card-glass-red {
    background: #111319 !important;
    border: none !important;
}
.btn-hero-primary,
.btn-glass-primary,
.btn-glass-purple-gradient,
.btn-glass-emerald,
.btn-launcher-download {
    background: #7c3aed !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 16px;
    padding: 11px 24px;
    transition: all 0.2s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.btn-hero-primary {
    border-radius: 999px !important;
    padding: 12px 28px !important;
}
.btn-hero-primary:hover,
.btn-glass-primary:hover,
.btn-glass-purple-gradient:hover,
.btn-glass-emerald:hover,
.btn-launcher-download:hover {
    background: #8b5cf6 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
}
.btn-hero-secondary,
.btn-glass-dark,
.btn-glass-pill,
.btn-glass-secondary,
.btn-glass-icon-pill,
.btn-glass-pill-sm,
.admin-action-btn {
    background: #1c1e27 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 14px;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.btn-hero-secondary {
    border-radius: 999px !important;
    padding: 12px 28px !important;
}
.btn-hero-secondary:hover,
.btn-glass-dark:hover,
.btn-glass-pill:hover,
.btn-glass-secondary:hover,
.btn-glass-icon-pill:hover,
.btn-glass-pill-sm:hover,
.admin-action-btn:hover {
    background: #252834 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transform: translateY(-2px);
    color: #ffffff !important;
}
.admin-action-btn-danger {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #fca5a5 !important;
    border: none !important;
}
.admin-action-btn-danger:hover {
    background: rgba(239, 68, 68, 0.35) !important;
    border: none !important;
    box-shadow: none !important;
}
.admin-action-btn-success {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #6ee7b7 !important;
    border: none !important;
}
.admin-action-btn-success:hover {
    background: rgba(16, 185, 129, 0.35) !important;
    border: none !important;
    box-shadow: none !important;
}
.admin-tab-btn {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    transition: all 0.2s ease;
}
.admin-tab-btn:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
button, button:hover, button:focus, button:active,
a, a:hover, a:focus,
.product-item-card, .product-item-card:hover,
.glass-card, .glass-card:hover {
    outline: none !important;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 6, 9, 0.84) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-window,
#auth-modal .modal-window,
#docs-modal .modal-window,
#media-modal .modal-window,
#profile-modal .modal-window,
#password-modal .modal-window,
#email-modal .modal-window,
#key-redeem-modal .modal-window,
#hwid-modal .modal-window,
#admin-grant-modal .modal-window,
#admin-pwd-modal .modal-window,
#admin-user-modal .modal-window,
#payment-modal .modal-window,
#roulette-modal .modal-window {
    background: #111319 !important;
    backdrop-filter: blur(35px) saturate(190%);
    -webkit-backdrop-filter: blur(35px) saturate(190%);
    border: none !important;
    outline: none !important;
    border-radius: 28px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95) !important;
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    padding: 32px;
}
#profile-modal .modal-window {
    max-width: 1180px !important;
    width: 100% !important;
}
#nav-auth-actions button,
#nav-auth-actions button:hover,
#nav-auth-actions button img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
.modal-backdrop.active .modal-window {
    transform: scale(1) translateY(0);
}
.glass-input,
.glass-input-borderless {
    width: 100%;
    background: #181a24 !important;
    border: none !important;
    outline: none !important;
    border-radius: 14px;
    padding: 12px 18px;
    color: #ffffff !important;
    font-size: 14px;
    box-shadow: none !important;
    transition: background-color 0.2s ease;
}
.glass-input:focus,
.glass-input-borderless:focus {
    background: #202330 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
select.glass-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a78bfa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
    background-color: #181a24 !important;
    color: #ffffff !important;
    border: none !important;
    cursor: pointer;
}
select.glass-input option {
    background-color: #111319 !important;
    color: #ffffff !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
}
.pay-pill {
    transition: all 0.2s ease;
    cursor: pointer;
    background: #181a24 !important;
    border: none !important;
    outline: none !important;
    color: #9ca3af !important;
    box-shadow: none !important;
}
.pay-pill:hover {
    background: #222533 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}
.pay-pill.active {
    background: #7c3aed !important;
    color: #ffffff !important;
    border: none !important;
    outline: none !important;
    font-weight: 800 !important;
    box-shadow: none !important;
}
.badge-admin,
.badge-media,
.badge-user,
.badge-default {
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 12px !important;
    border-radius: 999px !important;
    font-size: 10.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border: none !important;
    box-shadow: none !important;
}
.badge-admin {
    background: rgba(124, 58, 237, 0.25) !important;
    color: #d8b4fe !important;
}
.badge-media {
    background: rgba(234, 179, 8, 0.2) !important;
    color: #fef08a !important;
}
.badge-user {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #e2e8f0 !important;
}
.badge-default {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}
.video-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
}
footer#support {
    border: none !important;
    border-top: none !important;
}
#admin-modal.modal-backdrop {
    padding: 0 !important;
    background: rgba(8, 10, 16, 0.98) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    overflow: hidden !important;
}
#admin-modal .modal-window {
    max-width: 100vw !important;
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
}
#admin-grant-modal,
#admin-pwd-modal,
#hwid-modal,
#key-redeem-modal,
#password-modal,
#email-modal,
#admin-user-modal {
    z-index: 10050 !important;
}
#roulette-tape {
    transition: transform 6s cubic-bezier(0.12, 0.8, 0.25, 1.0);
}
.roulette-card {
    flex-shrink: 0;
    width: 140px;
    height: 165px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 16px 12px;
    position: relative;
    user-select: none;
    transition: all 0.3s ease;
    border: none !important;
}
.roulette-card.winner-active {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}
