:root {
    --primary: #EF4444;
    --primary-rgb: 239, 68, 68;
    --primary-dark: #DC2626;
    --secondary: #1C1917;
    --accent: #FBBF24;
    --accent-rgb: 251, 191, 36;
    --accent-dark: #F59E0B;
    --success: #10B981;
    --warning: #F97316;
    --danger: #EF4444;
    --bg: #0C0A09;
    --bg-alt: #141210;
    --card: #1C1917;
    --card-hover: #292524;
    --border: rgba(239, 68, 68, 0.12);
    --border-light: rgba(255, 255, 255, 0.06);
    --text: #FAFAF9;
    --text-secondary: #A8A29E;
    --text-muted: #78716C;
    --glass: rgba(28, 25, 23, 0.7);
    --glass-border: rgba(239, 68, 68, 0.18);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-neon: 0 0 20px rgba(var(--primary-rgb), 0.25), 0 0 40px rgba(var(--primary-rgb), 0.08);
    --shadow-accent: 0 0 20px rgba(var(--accent-rgb), 0.2);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-h: 72px;
}

body.light-mode {
    --bg: #FAFAF9;
    --bg-alt: #F5F5F4;
    --card: #FFFFFF;
    --card-hover: #FAFAF9;
    --border: rgba(239, 68, 68, 0.1);
    --border-light: rgba(0, 0, 0, 0.06);
    --text: #0C0A09;
    --text-secondary: #57534E;
    --text-muted: #A8A29E;
    --glass: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(239, 68, 68, 0.12);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    color: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style: none;
}

::selection {
    background: rgba(var(--primary-rgb), 0.35);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-muted {
    color: var(--text-muted);
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.grid {
    display: grid;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--primary-rgb), 0.5);
    color: #fff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0C0A09;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(var(--accent-rgb), 0.45);
    color: #0C0A09;
}

.btn-outline {
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
    border-radius: var(--radius-xs);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn:active {
    transform: scale(0.97);
}

.glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

.card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all var(--transition);
    overflow: hidden;
}

.card:hover {
    background: var(--card-hover);
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--glass);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition);
}

#site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    gap: 4px;
    margin-left: 16px;
}

.nav-menu a {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--text);
    background: rgba(var(--primary-rgb), 0.1);
}

.nav-menu a.active {
    color: var(--primary);
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition);
    position: relative;
}

.header-btn:hover {
    color: var(--text);
    background: rgba(var(--primary-rgb), 0.1);
}

.header-btn .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-bar {
    position: relative;
    flex-shrink: 0;
}

.search-bar input {
    width: 240px;
    height: 40px;
    padding: 0 16px 0 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.88rem;
    transition: all var(--transition);
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--primary);
    width: 300px;
    background: rgba(var(--primary-rgb), 0.05);
}

.search-bar .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    max-height: 360px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-dropdown.active {
    display: block;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    transition: background var(--transition);
    cursor: pointer;
}

.search-dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.08);
}

.search-dropdown-item img, .search-dropdown-item .sd-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    flex-shrink: 0;
}

.sd-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sd-info {
    flex: 1;
    min-width: 0;
}

.sd-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sd-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-xs);
}

.mobile-menu-btn:hover {
    background: rgba(var(--primary-rgb), 0.1);
}

.hamburger {
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 7px;
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    bottom: 7px;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 999;
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    padding: 14px 16px;
    border-radius: var(--radius-xs);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.mobile-nav a:hover, .mobile-nav a.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0C0A09 0%, #1a0a0a 40%, #0C0A09 70%, #0a0c14 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(var(--primary-rgb), 0.18), transparent),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(var(--accent-rgb), 0.12), transparent),
        radial-gradient(ellipse 300px 300px at 60% 80%, rgba(var(--primary-rgb), 0.08), transparent);
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: floatParticle linear infinite;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(var(--primary-rgb), 0.15);
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: var(--font-main);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero .description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.hero-stat h3 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.hero-float {
    position: absolute;
    z-index: 1;
}

.hero-float-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    animation: floatCard 6s ease-in-out infinite;
}

.hero-float-card .hfc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}

.hero-float-card .hfc-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card .hfc-text h4 {
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-float-card .hfc-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.game-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: var(--shadow-neon);
}

.game-card-banner {
    position: relative;
    height: 140px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-banner img {
    transform: scale(1.08);
}

.game-card-logo {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 3px solid var(--card);
    overflow: hidden;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: var(--card);
}

.game-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-body {
    padding: 28px 16px 16px;
    text-align: center;
}

.game-card-body h3 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.game-card-meta .rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.78rem;
    color: var(--accent);
    font-weight: 600;
}

.game-card-meta .category {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(var(--primary-rgb), 0.1);
    padding: 2px 10px;
    border-radius: 50px;
}

.game-card .btn {
    width: 100%;
    font-size: 0.82rem;
    padding: 10px;
}

.games-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.games-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.games-filter .filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.games-filter .filter-btn:hover, .games-filter .filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.08);
}

.promo-slider-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.promo-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-slide {
    min-width: 100%;
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    padding: 40px 48px;
    overflow: hidden;
}

.promo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.promo-slide-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
}

.promo-slide-content .promo-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: #fff;
}

.promo-slide-content h3 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.promo-slide-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.promo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.promo-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.promo-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--transition);
    font-size: 1.2rem;
    font-weight: 700;
}

.promo-nav-btn:hover {
    background: var(--primary);
}

.promo-nav-btn.prev {
    left: 12px;
}

.promo-nav-btn.next {
    right: 12px;
}

.featured-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
}

.featured-tabs .tab-btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    transition: all var(--transition);
}

.featured-tabs .tab-btn:hover, .featured-tabs .tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
    border-color: var(--border);
}

.featured-card-banner {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.featured-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    position: absolute;
    inset: 0;
}

.featured-card-banner .fc-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.featured-card-banner .price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    z-index: 2;
}

.featured-card-body {
    padding: 16px;
}

.featured-card-body h4 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.featured-card-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.featured-card-body .price {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.featured-card-body .price .original {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 400;
    margin-left: 8px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid rgba(var(--primary-rgb), 0.15);
}

.advantage-card h4 {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
    border-color: var(--border);
}

.news-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-card-img .news-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    background: var(--primary);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fff;
}

.news-card-body {
    padding: 20px;
}

.news-card-body .news-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.news-card-body h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-detail {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-banner {
    height: 360px;
    border-radius: var(--radius);
    margin-bottom: 32px;
    background-size: cover;
    background-position: center;
}

.news-detail .news-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.news-detail h1 {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
}

.news-detail .news-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.news-detail .news-content p {
    margin-bottom: 20px;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 14px);
    margin: 0 7px;
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.testimonial-author-info h5 {
    font-size: 0.88rem;
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all var(--transition);
}

.testimonial-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item.active {
    border-color: var(--border);
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.newsletter-section {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12), rgba(var(--accent-rgb), 0.08));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.06);
}

.newsletter-section h2 {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    position: relative;
}

.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    position: relative;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
}

.newsletter-form input {
    flex: 1;
    height: 48px;
    padding: 0 18px;
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--primary);
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

#site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-about .logo {
    margin-bottom: 12px;
    display: inline-block;
}

.footer-about p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-xs);
    background: rgba(var(--primary-rgb), 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-col h4 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 5px 0;
    transition: all var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.footer-contact-item .fci-icon {
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.game-detail-banner {
    height: 320px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 32px 48px;
    margin-top: var(--header-h);
    overflow: hidden;
}

.game-detail-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.game-detail-banner .gdb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--bg) 0%, transparent 60%);
}

.game-detail-banner .gdb-info {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.game-detail-banner .gdb-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    background: var(--card);
}

.game-detail-banner .gdb-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-detail-banner .gdb-text h1 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.game-detail-banner .gdb-text .gdb-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.game-detail-banner .gdb-text .gdb-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.game-detail-body {
    padding: 40px 0;
}

.game-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.game-detail-main .gd-description {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.game-detail-main .gd-description h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.game-detail-main .gd-description p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.nominal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.nominal-item {
    padding: 14px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nominal-item:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.nominal-item.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
    box-shadow: 0 0 12px rgba(var(--primary-rgb), 0.2);
}

.nominal-item .ni-name {
    font-size: 0.88rem;
    font-weight: 600;
}

.nominal-item .ni-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
}

.game-detail-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
}

.order-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}

.order-card h3 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input, .form-group select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group select option {
    background: var(--card);
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-methods {
    margin-bottom: 20px;
}

.payment-methods h4 {
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.payment-item {
    padding: 10px 8px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    text-align: center;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition);
}

.payment-item:hover {
    border-color: var(--primary);
}

.payment-item.selected {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

.order-summary {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: 16px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding: 6px 0;
    color: var(--text-secondary);
}

.order-summary-row.total {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    border-top: 1px solid var(--border-light);
    padding-top: 12px;
    margin-top: 8px;
}

.order-summary-row.total .os-price {
    color: var(--primary);
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light);
}

.cart-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cart-item-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-xs);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.cart-item-detail {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cart-remove {
    color: var(--text-muted);
    transition: color var(--transition);
    font-size: 0.85rem;
}

.cart-remove:hover {
    color: var(--danger);
}

.cart-summary-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}

.cart-empty h3 {
    font-family: var(--font-main);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
}

.checkout-section {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}

.checkout-section h3 {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header {
    padding: calc(var(--header-h) + 48px) 0 40px;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.06) 0%, transparent 100%);
}

.page-header h1 {
    font-family: var(--font-main);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: grid;
    gap: 16px;
}

.contact-info-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    gap: 16px;
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--border);
}

.contact-info-card .cic-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xs);
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.contact-form-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 32px;
}

.contact-form-card h3 {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    min-height: 120px;
    resize: vertical;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xs);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.form-group textarea:focus {
    border-color: var(--primary);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    font-family: var(--font-main);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.about-stat-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all var(--transition);
}

.about-stat-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-neon);
}

.about-stat-card h3 {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-stat-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.promo-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: all var(--transition);
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}

.promo-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.promo-card .promo-card-content {
    position: relative;
    z-index: 2;
}

.promo-card .promo-card-content .pc-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.promo-card .promo-card-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.promo-card .promo-card-content p {
    font-size: 0.82rem;
    opacity: 0.85;
}

.promo-card .promo-countdown {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 4px;
    z-index: 2;
}

.promo-card .promo-countdown .cd-unit {
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.promo-card .promo-countdown .cd-unit span {
    display: block;
    font-size: 0.6rem;
    opacity: 0.7;
}

.voucher-grid, .membership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.voucher-card, .membership-card {
    background: var(--card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}

.voucher-card:hover, .membership-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
    border-color: var(--border);
}

.voucher-card-banner, .membership-card-banner {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.voucher-card-banner img, .membership-card-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.voucher-card-banner .vc-icon, .membership-card-banner .mc-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.voucher-card-body, .membership-card-body {
    padding: 20px;
}

.voucher-card-body h4, .membership-card-body h4 {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.voucher-card-body p, .membership-card-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.voucher-card-body .price, .membership-card-body .price {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.membership-card .membership-features {
    padding: 0 20px 20px;
}

.membership-features li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.membership-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(var(--primary-rgb), 0.5);
}

#toast-container {
    position: fixed;
    top: calc(var(--header-h) + 16px);
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
    min-width: 300px;
    max-width: 420px;
    animation: slideInRight 0.4s ease;
    transition: all 0.3s;
}

.toast.removing {
    animation: slideOutRight 0.3s ease forwards;
}

.toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--success);
}

.toast.error .toast-icon {
    color: var(--danger);
}

.toast.warning .toast-icon {
    color: var(--warning);
}

.toast.info .toast-icon {
    color: var(--accent);
}

.toast-body {
    flex: 1;
}

.toast-body h5 {
    font-size: 0.85rem;
    font-weight: 600;
}

.toast-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.toast-close {
    color: var(--text-muted);
    padding: 4px;
    transition: color var(--transition);
}

.toast-close:hover {
    color: var(--text);
}

.countdown-inline {
    display: flex;
    gap: 8px;
    align-items: center;
}

.countdown-inline .cd-box {
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid var(--border);
    text-align: center;
    min-width: 48px;
}

.countdown-inline .cd-box .cd-num {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.countdown-inline .cd-box .cd-label {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.countdown-inline .cd-sep {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

#main-content {
    min-height: 100vh;
}