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

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    width: 100%;
    overflow-x: hidden;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-color: #1e293b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-color: #ffffff;
    --card-bg: #ffffff;
    --border-color: rgba(15, 23, 42, 0.08);
    --shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
    --top-bar-height: 68px;
    --vip-banner-height: 52px;
    --vip-content-offset: 124px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%, #f8fafc 100%);
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        radial-gradient(circle, rgba(148, 163, 184, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.03) 0%, transparent 70%);
    background-size: 
        60px 60px,
        60px 60px,
        30px 30px,
        100% 100%,
        100% 100%,
        100% 100%;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(148, 163, 184, 0.03) 2px,
            rgba(148, 163, 184, 0.03) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(148, 163, 184, 0.03) 2px,
            rgba(148, 163, 184, 0.03) 4px
        );
    background-size: 80px 80px, 80px 80px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

.container {
    max-width: 800px;
    width: 100%;
    margin: 80px auto 0 auto;
    padding: 20px;
    box-sizing: border-box;
    flex: 1;
    position: relative;
    z-index: 1;
    overflow-x: visible;
}

.games-container {
    max-width: 1400px;
    width: 100%;
    margin: 80px auto 0 auto;
    box-sizing: border-box;
}

.top-bar {
    width: 100%;
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.10) 0, transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(168, 85, 247, 0.10) 0, transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 250, 252, 0.78) 100%);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    overflow: visible;
    backdrop-filter: blur(18px) saturate(140%);
    z-index: 1000;
}

.top-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(120deg, rgba(148, 163, 184, 0.10) 1px, transparent 1px),
        linear-gradient(210deg, rgba(148, 163, 184, 0.10) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.35;
    pointer-events: none;
}

.top-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4, #3b82f6);
    background-size: 200% 100%;
    opacity: 0.5;
    animation: neon-marquee 8s linear infinite;
}

.top-bar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.top-bar-left::before {
    content: '';
    position: absolute;
    left: -18px;
    top: 50%;
    width: 4px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
    transform: translateY(-50%);
    opacity: 0.9;
}

.top-bar-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: contain;
    border: 2px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
}

.top-bar-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.top-bar-right {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.top-bar-tag {
    position: relative;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 600;
    overflow: hidden;
    color: var(--text-color);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.top-bar-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    opacity: 0.6;
    animation: cyber-scan 3s linear infinite;
}

.top-bar-tag-highlight {
    color: #10b981;
    font-weight: 700;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-x: visible;
    min-width: 0;
}

.header {
    text-align: center;
    padding: 30px 0 10px 0;
    animation: fadeInDown 0.6s ease-out;
    color: var(--text-color);
    position: relative;
}

.header h1 {
    font-size: 2.6em;
    margin-bottom: 10px;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 40%, #8b5cf6 70%, #06b6d4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.subtitle {
    font-size: 1.05em;
    color: var(--text-light);
    opacity: 1;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.8);
    animation: fadeInUp 0.6s ease-out;
    backdrop-filter: blur(20px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card.card--ambient {
    background-color: rgba(255, 255, 255, 0.95);
    background-image:
        radial-gradient(circle at 12px 12px, rgba(59, 130, 246, 0.10) 1.2px, transparent 1.3px),
        radial-gradient(circle at 8px 8px, rgba(139, 92, 246, 0.08) 1px, transparent 1.2px),
        linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(139, 92, 246, 0.03) 45%, rgba(6, 182, 212, 0.04));
    background-size: 22px 22px, 34px 34px, auto;
    background-position: 0 0, 10px 14px, 0 0;
}

.card.card--ambient::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at 35% 35%, rgba(59, 130, 246, 0.24), rgba(139, 92, 246, 0.10) 45%, transparent 72%);
    opacity: 0.75;
    filter: blur(1px);
    pointer-events: none;
    z-index: 0;
    transform: rotate(10deg);
}

.card.card--ambient > * {
    position: relative;
    z-index: 1;
}

.main-content > .card:first-of-type {
    margin-bottom: 0;
}

.games-container .main-content > .card:first-of-type {
    max-width: 800px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.card-title {
    font-size: 1.5em;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(226, 232, 240, 0.6);
    font-weight: 700;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#accountInfo .account-info__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#accountInfo .account-info__title {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

#accountInfo .account-info__card-title {
    margin: 0;
    padding-bottom: 0;
    border-bottom: 0;
    margin-bottom: 0;
    display: inline-block;
}

#accountInfo .account-info__meta,
#accountInfo .account-info__usage {
    font-size: 14px;
    color: var(--text-light);
}

#accountInfo .account-info__meta-value {
    color: var(--text-dark);
    font-weight: 700;
}

#accountInfo .account-info__usage-value {
    color: var(--accent-color);
    font-weight: 800;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 0;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    min-height: auto;
    display: block;
    position: relative;
    overflow: hidden;
}

.game-card-image-wrapper {
    display: block;
    width: 100%;
    margin: 0;
    border-radius: 12px 12px 10px 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    box-shadow: none;
    position: relative;
}

.game-card-image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: transform 0.25s ease, opacity 0.3s ease;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.game-card-image.loaded {
    opacity: 1;
}

.game-card-image-placeholder {
    width: 100%;
    height: 190px;
    background:
        radial-gradient(circle at 30% 20%, rgba(56, 189, 248, 0.25), transparent 55%),
        radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.22), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
}

.games-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    text-align: center;
}

.games-pagination .btn-sm {
    min-width: 34px;
    height: 34px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.games-pagination .btn-sm:focus,
.games-pagination .btn-sm:active,
.games-pagination .btn-sm.active {
    padding: 6px 12px;
    min-width: 34px;
    height: 34px;
}

.image-loading-skeleton {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 2;
    pointer-events: none;
    opacity: 1 !important;
    background: transparent;
}

.image-loading-skeleton span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: dot-bounce 1.4s infinite ease-in-out;
    flex-shrink: 0;
}

.image-loading-skeleton span:nth-child(1) {
    background-color: rgba(203, 213, 225, 0.5);
    animation-delay: 0s;
}

.image-loading-skeleton span:nth-child(2) {
    background-color: rgba(148, 163, 184, 0.6);
    animation-delay: 0.2s;
}

.image-loading-skeleton span:nth-child(3) {
    background-color: rgba(100, 116, 139, 0.5);
    animation-delay: 0.4s;
}

@keyframes dot-bounce {
    0%, 80%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    40% {
        transform: translateY(-12px) scale(1.15);
        opacity: 0.9;
    }
}

.game-card-image-wrapper .image-loading-skeleton span {
    width: 12px;
    height: 12px;
}

.game-card-image-wrapper .image-loading-skeleton span:nth-child(1) {
    background-color: rgba(199, 210, 254, 0.6);
}

.game-card-image-wrapper .image-loading-skeleton span:nth-child(2) {
    background-color: rgba(165, 180, 252, 0.7);
}

.game-card-image-wrapper .image-loading-skeleton span:nth-child(3) {
    background-color: rgba(129, 140, 248, 0.6);
}

.game-card-image-wrapper .image-loading-skeleton {
    gap: 12px;
}

.hero-slide .image-loading-skeleton span {
    width: 12px;
    height: 12px;
}

.hero-slide .image-loading-skeleton span:nth-child(1) {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-slide .image-loading-skeleton span:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.7);
}

.hero-slide .image-loading-skeleton span:nth-child(3) {
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-slide .image-loading-skeleton {
    gap: 12px;
}

.game-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    color: #fff;
    background: transparent;
    z-index: 20;
}

.game-card.vip-available .game-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    padding-bottom: 14px;
}

.game-card-overlay-title {
    font-size: 1.02em;
    font-weight: 800;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

.game-card-overlay-label {
    display: inline-block;
    padding: 2px 7px;
    margin-right: 6px;
    border-radius: 999px;
    font-size: 0.74em;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.96);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.game-card-overlay-desc {
    margin-top: 6px;
    font-size: 0.9em;
    line-height: 1.35;
    opacity: 0.92;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.game-card:hover .game-card-image {
    transform: scale(1.03);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.game-card-title {
    font-size: 1.05em;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.game-card-desc {
    font-size: 0.9em;
    color: var(--text-light);
    line-height: 1.5;
    word-break: break-word;
}

.home-games-preview {
    margin-top: 14px;
    margin-bottom: 30px;
    width: 180%;
    margin-left: -40%;
}

.home-games-preview .section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 0 4px;
}

.home-games-preview .section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding-left: 14px;
}

.home-games-preview .section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 70%;
    border-radius: 999px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.home-games-preview .section-subtitle {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.home-games-more {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    padding: 0 4px;
}

.home-games-more-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
}

.home-games-more-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.home-games-more-link:hover::before {
    left: 100%;
}

.home-games-more-link::after {
    content: '→';
    display: inline-block;
    font-size: 1.2em;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.home-games-more-link:hover {
    color: #2563eb;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.home-games-more-link:hover::after {
    transform: translateX(4px);
}

.home-games-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    gap: 12px;
}

.home-games-header-title {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.home-games-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.home-games-count {
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
}

.home-games-search-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-basis: auto;
    justify-content: center;
}

.home-games-search-form .btn-text {
    white-space: nowrap;
}

.home-games-search-input {
    width: 400px;
    max-width: 400px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
}

.home-games-search-form .btn-sm {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.home-games-meta .btn-secondary {
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95em;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
    font-size: 1em;
    transition: all 0.3s ease;
}

.home-games-search-form .form-control.home-games-search-input {
    width: 400px;
    max-width: 400px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

select.form-control {
    cursor: pointer;
}

.cdk-tips {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cdk-tips-title {
    font-size: 0.9em;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 6px;
}

.cdk-tips-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.85em;
    color: var(--text-light);
}

.cdk-tips-list li + li {
    margin-top: 4px;
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85em;
    border-radius: 6px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover:before {
    width: 300px;
    height: 300px;
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn .btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(100, 116, 139, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.3);
    background: linear-gradient(135deg, #475569 0%, #334155 100%);
}

.btn-block {
    width: 100%;
    display: block;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.copy-btn:disabled {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    opacity: 1;
}

.client-login-confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.client-login-confirm-modal {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.25);
    max-width: 520px;
    width: 92%;
    overflow: hidden;
    animation: client-login-slide-in 0.25s ease-out;
}

.client-login-confirm-header {
    padding: 18px 22px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.client-login-confirm-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.client-login-confirm-body {
    padding: 14px 22px 6px;
}

.client-login-confirm-text {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
}

.client-login-confirm-image-wrapper {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: #0f172a;
}

.client-login-confirm-image {
    display: block;
    width: 100%;
    height: auto;
}

.client-login-confirm-footer {
    padding: 14px 22px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.client-login-confirm-footer .btn {
    min-width: 110px;
}

@keyframes client-login-slide-in {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.info-group {
    margin-bottom: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.info-group label {
    display: block;
    font-size: 0.85em;
    color: var(--accent-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.info-value {
    font-size: 1.2em;
    color: var(--text-dark);
    font-weight: 600;
    word-break: break-all;
}

.link-container {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.08));
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.link-container:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(139, 92, 246, 0.12));
    border-color: rgba(59, 130, 246, 0.3);
}

.link-container a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-container a:hover {
    color: #2563eb;
}

.hero-carousel {
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
    position: relative;
    width: 180%;
    min-width: 1440px;
    left: 50%;
    transform: translateX(-50%);
    flex-shrink: 0;
    box-sizing: border-box;
}

.hero-carousel-track {
    position: relative;
    height: 460px;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 1;
}

.hero-slide-image.loaded {
    opacity: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.hero-slide.is-active {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide-caption {
    position: absolute;
    left: 40px;
    top: 40px;
    padding: 12px 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
    max-width: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 3;
}

.hero-slide-title {
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.hero-slide-content {
    text-align: center;
    padding: 24px 28px;
}

.hero-slide-content h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-slide-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(148, 163, 184, 0.5);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.hero-dot.is-active {
    width: 20px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.token-display {
    text-align: center;
    padding: 30px 0;
}

.token-code {
    font-size: 3.5em;
    font-weight: bold;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 8px;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
}

.token-timer {
    margin-top: 20px;
}

.timer-text {
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 10px;
}

.timer-text span {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.3em;
}

.timer-bar {
    width: 100%;
    height: 8px;
    background: rgba(226, 232, 240, 0.6);
    border-radius: 4px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 4px;
    transition: width 1s linear;
}

.token-success-hint {
    margin-bottom: 10px;
    padding: 12px 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    font-size: 0.95rem;
    font-weight: 600;
    display: none;
    position: relative;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    animation: token-success-pulse 0.6s ease-out;
}

.token-success-hint::before {
    content: '✅';
    margin-right: 6px;
}

@keyframes token-success-pulse {
    0% {
        transform: translateY(4px);
        opacity: 0;
        box-shadow: none;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
    animation: slideInRight 0.4s ease-out;
}

.message-box.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

.message-box.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.1));
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

.message-box.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #d97706;
}

.footer {
    position: static;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    text-align: center;
    padding: 24px 0;
    margin-top: 60px;
    color: var(--text-light);
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    z-index: 20;
}

.footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #2563eb;
    text-decoration: underline;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes neon-breathe {
    0% {
        opacity: 0.25;
        box-shadow:
            0 0 4px rgba(56, 189, 248, 0.25),
            0 0 7px rgba(96, 165, 250, 0.2),
            0 0 10px rgba(168, 85, 247, 0.18);
    }
    100% {
        opacity: 0.7;
        box-shadow:
            0 0 9px rgba(56, 189, 248, 0.6),
            0 0 15px rgba(96, 165, 250, 0.5),
            0 0 22px rgba(168, 85, 247, 0.45);
    }
}

@keyframes neon-marquee {
    0% {
        background-position: 0% 0;
    }
    50% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0% 0;
    }
}

@keyframes cyber-scan {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(220%);
        opacity: 0;
    }
}

.vip-status-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    border-bottom: 2px solid #f59e0b;
    position: fixed;
    top: var(--top-bar-height);
    left: 0;
    right: 0;
    z-index: 900;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

body.vip-banner-active .container,
body.vip-banner-active .games-container,
body:has(.vip-status-banner) .container,
body:has(.vip-status-banner) .games-container {
    margin-top: var(--vip-content-offset);
}

.vip-status-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.vip-status-banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.78rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
}

.vip-cdk-display {
    color: #92400e;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(146, 64, 14, 0.2);
}

.vip-cdk-display:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(146, 64, 14, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(146, 64, 14, 0.2);
}

.vip-status-text {
    color: #92400e;
    font-weight: 600;
    font-size: 0.86rem;
}

.vip-status-banner-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-usage {
    color: #92400e;
    font-size: 0.78rem;
    font-weight: 500;
}

.vip-usage-mobile {
    display: none;
}

.vip-view-cdk-btn {
    background: rgba(146, 64, 14, 0.15);
    border: 1px solid rgba(146, 64, 14, 0.4);
    color: #92400e;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.vip-view-cdk-btn:hover {
    background: rgba(146, 64, 14, 0.25);
    border-color: rgba(146, 64, 14, 0.6);
}

.vip-logout-btn {
    background: rgba(146, 64, 14, 0.1);
    border: 1px solid rgba(146, 64, 14, 0.3);
    color: #92400e;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.74rem;
    cursor: pointer;
    transition: all 0.2s ease;
    }

.vip-logout-btn:hover {
    background: rgba(146, 64, 14, 0.2);
    border-color: rgba(146, 64, 14, 0.5);
}

@media (min-width: 769px) {
    .vip-status-banner {
        padding-top: 0;
    }

    .vip-status-banner-inner {
        height: 44px;
        padding: 6px 16px;
        box-sizing: border-box;
    }

    .vip-status-banner-left,
    .vip-status-banner-right {
        height: 100%;
    }

    .vip-logout-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
    }

    .vip-badge,
    .vip-cdk-display,
    .vip-status-text,
    .vip-usage {
        line-height: 1.2;
    }
}

.vip-account-list {
    margin-bottom: 20px;
}

.vip-account-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.vip-account-list-header .card-title {
    margin-bottom: 0;
}

.vip-account-list-meta {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.vip-account-list-tip {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.vip-account-list-tip p {
    color: #065f46;
    font-size: 0.9rem;
    margin: 0;
}

.vip-account-items {
    display: flex;
        flex-direction: column;
    gap: 16px;
}

.vip-account-item {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    border: 1px solid #facc15;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.vip-account-item:hover {
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
    transform: translateY(-2px);
}

.vip-account-item-header {
    margin-bottom: 12px;
}

.vip-account-game-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #713f12;
}

.vip-account-item-body {
    display: flex;
    flex-direction: column;
        gap: 10px;
    }

.vip-account-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vip-account-field label {
    font-weight: 600;
    color: #92400e;
    min-width: 50px;
}

.vip-account-value {
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    color: var(--text-dark);
    border: 1px solid #e5e7eb;
    flex: 1;
    word-break: break-all;
}

.game-card.vip-clickable {
    position: relative;
}

.game-card.vip-available {
    cursor: pointer;
}


.game-card.vip-available:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.vip-account-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vip-account-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vip-account-modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f59e0b;
}

.vip-account-modal-header h3 {
    margin: 0;
    color: #92400e;
    font-size: 1.1rem;
}

.vip-account-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #92400e;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: transform 0.2s ease;
    }

.vip-account-modal-close:hover {
    transform: scale(1.2);
}

.vip-account-modal-body {
    padding: 24px 20px;
}

.vip-account-info-group {
    margin-bottom: 16px;
}

.vip-account-info-group:last-child {
    margin-bottom: 0;
}

.vip-account-info-group label {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.vip-account-info-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.vip-account-info-row .vip-account-value {
    flex: 1;
}

.vip-account-modal-footer {
    padding: 16px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.vip-tutorial-link {
    color: #3b82f6;
    font-size: 0.85rem;
    text-decoration: none;
}

.vip-tutorial-link:hover {
    text-decoration: underline;
}

.vip-token-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e5e7eb;
}

.vip-token-hint {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
}

.vip-token-hint p {
    margin: 0;
    font-size: 0.85rem;
    color: #1e40af;
}

.vip-token-btn {
        width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 600;
}

.purchase-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.purchase-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
    }

.purchase-modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1d4ed8;
}

.purchase-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.purchase-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    }

.purchase-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.purchase-modal-body {
    padding: 24px;
}

.purchase-cdk-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.purchase-section-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.purchase-section-desc {
    margin: 0 0 16px 0;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.purchase-cdk-form {
    margin-top: 16px;
}

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

.purchase-cdk-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.purchase-cdk-form .form-control:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.purchase-contact-section {
    margin-top: 24px;
}

.purchase-contact-info {
    margin-top: 16px;
}

.purchase-contact-info p {
    margin: 0 0 12px 0;
    color: #475569;
    font-size: 0.95rem;
}

.contact-item {
    margin-bottom: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #334155;
}

.contact-item strong {
    color: #0f172a;
    margin-right: 8px;
}

.contact-item span {
    color: #3b82f6;
    font-weight: 500;
}

@media (max-width: 768px) {
    .purchase-modal {
        width: 95%;
        max-width: none;
        border-radius: 12px;
    }

    .purchase-modal-header {
        padding: 16px 20px;
    }

    .purchase-modal-header h3 {
        font-size: 1.1rem;
    }

    .purchase-modal-body {
        padding: 20px;
    }

    .purchase-section-title {
        font-size: 1rem;
    }

    .purchase-section-desc {
        font-size: 0.85rem;
    }
}

.vip-welcome-card {
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 50%, #fde68a 100%);
    border: 2px solid #f59e0b;
    margin-bottom: 20px;
    padding: 24px;
}

.vip-welcome-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.vip-welcome-icon {
    font-size: 3rem;
    line-height: 1;
}

.vip-welcome-info h2 {
    margin: 0 0 4px;
    color: #92400e;
    font-size: 1.4rem;
}

.vip-welcome-code {
    margin: 0;
    color: #b45309;
    font-size: 0.9rem;
    font-family: 'Consolas', 'Monaco', monospace;
}

.vip-welcome-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
    border-bottom: 1px solid rgba(245, 158, 11, 0.3);
}

.vip-welcome-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip-welcome-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #92400e;
}

.vip-welcome-stat .stat-label {
    font-size: 0.85rem;
    color: #b45309;
}

.vip-welcome-tip {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    padding: 12px 16px;
    }

.vip-welcome-tip p {
    margin: 0;
    color: #92400e;
    font-size: 0.95rem;
    text-align: center;
}


.game-card:not(.vip-available) .vip-view-btn {
    display: none;
}

.vip-view-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95) 0%, rgba(217, 119, 6, 0.95) 100%);
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: block;
    z-index: 15;
    white-space: nowrap;
}

.vip-view-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.vip-view-btn:hover {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.95) 0%, rgba(245, 158, 11, 0.95) 100%);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.5);
}

.vip-view-btn:hover::before {
    left: 100%;
}

.vip-view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.vip-view-btn-text {
    position: relative;
    z-index: 1;
}



.game-card.vip-unavailable {
    opacity: 0.6;
    filter: grayscale(50%);
}

.game-card.vip-unavailable::before {
    content: '暂无账号';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 10;
}

.vip-loading-modal {
    padding: 40px;
    text-align: center;
}

.vip-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.vip-loading-content p {
    margin: 0;
    color: #64748b;
    font-size: 1rem;
}

.vip-loading-content strong {
    color: #f59e0b;
}

.vip-loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #f59e0b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.token-loading-spinner,
.loading-spinner.token-loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e5e7eb;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 6px;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-service-btn {
    position: fixed;
    right: 20px;
    bottom: 80px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 8px 30px rgba(37, 99, 235, 0.3);
    color: #ffffff;
    text-decoration: none;
    z-index: 9998;
    transition: all 0.3s ease;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

.floating-service-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5), 0 12px 40px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.floating-service-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.floating-service-btn svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .floating-service-btn {
        right: 16px;
        bottom: calc(90px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4), 0 7px 22px rgba(37, 99, 235, 0.3);
    }

    .floating-service-btn svg {
        width: 18px;
        height: 18px;
    }

    .floating-service-btn:active {
        transform: scale(0.95);
    }
}

@media (max-width: 480px) {
    .floating-service-btn {
        right: 12px;
        bottom: calc(85px + env(safe-area-inset-bottom, 0px));
        width: 40px;
        height: 40px;
    }

    .floating-service-btn svg {
        width: 16px;
        height: 16px;
    }
}

.vip-cdk-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease;
}

.vip-cdk-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

.vip-cdk-modal-header {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f59e0b;
}

.vip-cdk-modal-header h3 {
    margin: 0;
    color: #92400e;
    font-size: 1.1rem;
    font-weight: 600;
}

.vip-cdk-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #92400e;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.vip-cdk-modal-close:hover {
    background: rgba(146, 64, 14, 0.1);
}

.vip-cdk-modal-body {
    padding: 24px 20px;
}

.vip-cdk-loading {
    text-align: center;
    padding: 40px 20px;
}

.vip-cdk-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f4f6;
    border-top-color: #f59e0b;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

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

.vip-cdk-loading p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.vip-cdk-info {
    text-align: center;
}

.vip-cdk-tip {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.vip-cdk-code-wrapper {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.vip-cdk-code-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    background: #f9fafb;
    text-align: center;
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
}

.vip-cdk-code-input:focus {
    outline: none;
    border-color: #f59e0b;
    background: white;
}

.vip-cdk-copy-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.vip-cdk-copy-btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.vip-cdk-copy-btn:active {
    transform: translateY(0);
}

.vip-cdk-modal-footer {
    padding: 16px 20px;
    background: #f9fafb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    border-top: 1px solid #e5e7eb;
}

.vip-cdk-modal-footer .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.vip-cdk-modal-footer .btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.vip-cdk-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.vip-cdk-modal-footer .btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.vip-cdk-modal-footer .btn-secondary:hover {
    background: #d1d5db;
}

@media (max-width: 768px) {
    .vip-cdk-modal {
        width: 95%;
        max-width: none;
    }

    .vip-cdk-modal-header {
        padding: 14px 16px;
    }

    .vip-cdk-modal-header h3 {
        font-size: 1rem;
    }

    .vip-cdk-modal-body {
        padding: 20px 16px;
    }

    .vip-cdk-code-wrapper {
        flex-direction: column;
    }

    .vip-cdk-code-input {
        font-size: 0.9rem;
        padding: 10px 14px;
    }

    .vip-cdk-copy-btn {
        width: 100%;
        padding: 10px 16px;
    }

    .vip-cdk-modal-footer {
        flex-direction: column;
        padding: 14px 16px;
    }

    .vip-cdk-modal-footer .btn {
        width: 100%;
    }

    .vip-view-cdk-btn {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}