@charset "utf-8";
/* ST11 Purple Gaming — 메인 페이지 디자인 CSS
   소스: Downloads/st11/layout.css (main-content / banner / category-tabs / platform-card / footer)
        + Downloads/st11/pages.css (page-specific styles)
   ※ 헤더의 .tnb/.nav 등은 별도 layout.css(ST10 포트) 가 처리 */

/* ============ FROM source layout.css ============ */
/* ===== PURPLE GAMING LAYOUT CSS ===== */

:root {
    /* 퍼플 컬러 팔레트 */
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6b21a8;
    --purple-900: #581c87;

    /* 다크 퍼플 (배경용) */
    --dark-purple-900: #0f0a1f;
    --dark-purple-800: #1a1033;
    --dark-purple-700: #251547;
    --dark-purple-600: #2d1a54;

    /* 악센트 컬러 */
    --accent-magenta: #c026d3;
    --accent-fuchsia: #d946ef;
    --accent-pink: #ec4899;

    /* 텍스트 컬러 */
    --text-primary: #ffffff;
    --text-secondary: #d8b4fe;
    --text-muted: #a78bfa;

    /* 기본 설정 */
    --header-height: 70px;
    --mobile-nav-height: 65px;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: linear-gradient(180deg, var(--dark-purple-900) 0%, var(--dark-purple-800) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

body.with-bg {
    background: url('../img/bg-index.jpg') center top no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

body.with-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(15, 10, 31, 0.85) 0%, rgba(26, 16, 51, 0.95) 100%);
    z-index: -1;
}

/* ===== HEADER ===== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.header-logo {
    text-decoration: none;
}

.header-logo img {
    height: 40px;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-deposit,
.btn-withdraw,
.btn-partner {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-deposit {
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-600) 100%);
    color: white;
}

.btn-deposit:hover {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--purple-500) 100%);
    transform: translateY(-2px);
}

.btn-withdraw {
    background: transparent;
    border: 2px solid var(--purple-500);
    color: var(--purple-400);
}

.btn-withdraw:hover {
    background: var(--purple-500);
    color: white;
}

.btn-partner {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b35 100%);
    color: white;
}

.btn-partner:hover {
    background: linear-gradient(135deg, #ffa500 0%, #ff7f50 100%);
    transform: translateY(-2px);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    text-decoration: none;
    cursor: pointer;
}

.user-balance {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--purple-300);
}

.user-point {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-fuchsia);
    padding-left: 12px;
    border-left: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-point-convert {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--purple-400);
    background: transparent;
    border: 1px solid var(--purple-400);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-point-convert:hover {
    background: var(--purple-500);
    color: white;
}

.btn-mail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
    color: var(--purple-300);
    transition: var(--transition);
    text-decoration: none;
}

.btn-mail:hover {
    background: rgba(168, 85, 247, 0.2);
    color: var(--purple-200);
}

.btn-mail svg {
    width: 20px;
    height: 20px;
}

.mail-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #ff4d4d;
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-logout {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #ff6b6b;
    background: transparent;
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-logout:hover {
    background: #ff6b6b;
    color: white;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--purple-500);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-level {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(168, 85, 247, 0.2);
    border: 2px solid var(--purple-500);
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: var(--purple-400);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: var(--header-height);
    padding-bottom: calc(var(--mobile-nav-height) + 20px);
    min-height: calc(100vh - var(--header-height));
}

/* ===== BANNER ===== */
.banner-section {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

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

.banner-item {
    position: relative;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.banner-item.active {
    opacity: 1;
    display: block;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

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

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--purple-500);
    width: 24px;
    border-radius: 4px;
}

/* ===== CATEGORY TABS ===== */
.category-tabs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.tab-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.tab-container::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    padding: 12px 24px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    border-color: var(--purple-500);
    color: white;
}

/* ===== PLATFORM GRID ===== */
.platform-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.platform-page-title {
    margin: 24px 0 20px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.platform-card {
    background: linear-gradient(145deg, var(--dark-purple-700) 0%, var(--dark-purple-800) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.2);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-500);
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.3);
}

.card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: var(--transition);
}

.platform-card:hover .card-image img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 10, 31, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.platform-card:hover .card-overlay {
    opacity: 1;
}

.btn-play {
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--accent-magenta) 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(192, 38, 211, 0.5);
}

.card-info {
    padding: 15px;
    text-align: center;
}

.platform-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.platform-category {
    font-size: 12px;
    color: var(--purple-400);
}

/* ===== POPULAR GAMES ===== */
.popular-games {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--purple-300) 0%, var(--purple-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-more {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--purple-500);
    border-radius: 20px;
    color: var(--purple-400);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-more:hover {
    background: var(--purple-500);
    color: white;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.game-card {
    background: linear-gradient(145deg, var(--dark-purple-700) 0%, var(--dark-purple-800) 100%);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: var(--transition);
}

.game-card:hover {
    border-color: var(--purple-500);
    transform: translateY(-3px);
}

.game-image {
    aspect-ratio: 1;
    overflow: hidden;
}

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

.game-info {
    padding: 12px;
    text-align: center;
}

.game-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.game-provider {
    font-size: 11px;
    color: var(--purple-400);
}

/* ===== FOOTER ===== */
.main-footer {
    background: rgba(15, 10, 31, 0.95);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    padding: 30px 20px;
    margin-bottom: var(--mobile-nav-height);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--purple-400);
}

.footer-copyright p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: rgba(15, 10, 31, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(168, 85, 247, 0.2);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    padding: 8px;
    transition: var(--transition);
}

.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: var(--purple-400);
}

.mobile-bottom-nav .nav-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* FAB Button Active State */
.mobile-bottom-nav .nav-fab.active {
    background: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%) !important;
}

.mobile-bottom-nav .nav-fab.active svg {
    transform: rotate(45deg);
}

/* Fan Menu Overlay */
.fan-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 5, 20, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fan-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fan-menu-container {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
}

.fan-menu-wheel {
    position: relative;
    width: 320px;
    height: 180px;
}

.fan-menu-item {
    position: absolute;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    opacity: 0;
    transform: scale(0) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
}

.fan-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg) translateX(-100%);
    transition: transform 0.6s ease;
}

.fan-menu-item:active::before {
    transform: skewX(-20deg) translateX(100%);
}

.fan-menu-overlay.active .fan-menu-item {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* 5개 아이템: 글래스모피즘 + 네온 글로우 */
.fan-menu-item:nth-child(1) {
    left: 50%;
    margin-left: -31px;
    bottom: 130px;
    transition-delay: 0.15s;
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.95));
    box-shadow: 0 8px 32px rgba(251, 191, 36, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.fan-menu-item:nth-child(2) {
    left: 50%;
    margin-left: -124px;
    bottom: 95px;
    transition-delay: 0.12s;
    background: linear-gradient(145deg, rgba(244, 114, 182, 0.9), rgba(236, 72, 153, 0.95));
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.fan-menu-item:nth-child(3) {
    left: 50%;
    margin-left: -159px;
    bottom: 25px;
    transition-delay: 0.08s;
    background: linear-gradient(145deg, rgba(52, 211, 153, 0.9), rgba(16, 185, 129, 0.95));
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.fan-menu-item:nth-child(4) {
    left: 50%;
    margin-left: 62px;
    bottom: 95px;
    transition-delay: 0.12s;
    background: linear-gradient(145deg, rgba(96, 165, 250, 0.9), rgba(59, 130, 246, 0.95));
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.fan-menu-item:nth-child(5) {
    left: 50%;
    margin-left: 97px;
    bottom: 25px;
    transition-delay: 0.08s;
    background: linear-gradient(145deg, rgba(167, 139, 250, 0.9), rgba(139, 92, 246, 0.95));
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.fan-menu-overlay:not(.active) .fan-menu-item {
    transition-delay: 0s !important;
}

.fan-menu-item svg {
    width: 24px;
    height: 24px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.fan-menu-item span {
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    letter-spacing: 0.3px;
}

.fan-menu-item:active {
    transform: scale(0.9) !important;
    filter: brightness(1.15);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .header-nav {
        display: none;
    }

    .platform-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}

@media (min-width: 1025px) {
    .mobile-bottom-nav {
        display: none;
    }

    .mobile-header-actions {
        display: none !important;
    }

    .mobile-menu-overlay {
        display: none !important;
    }

    .header-sub-row {
        display: none !important;
    }

    .main-content {
        padding-bottom: 0;
    }

    .main-footer {
        margin-bottom: 0;
    }
}

/* ===== MOBILE STYLES (type2 unique) ===== */
@media (max-width: 768px) {
    :root {
        --header-height: 88px;
        --header-row-height: 44px;
        --mobile-nav-height: 56px;
    }

    /* ===== MOBILE HEADER (Two Rows) ===== */
    .main-header {
        height: var(--header-height);
        background: rgba(15, 10, 31, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-bottom: none;
    }

    .header-container {
        padding: 0 12px;
        height: var(--header-row-height);
    }

    .header-logo span {
        font-size: 18px !important;
    }

    .header-logo span span {
        font-size: 8px !important;
        top: -5px !important;
        right: -22px !important;
    }

    .header-actions {
        display: none;
    }

    /* Mobile Header Actions (Top Row Right) */
    .mobile-header-actions {
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    .btn-mobile-wallet {
        display: none;
    }

    .btn-mobile-menu {
        width: 32px;
        height: 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
    }

    .btn-mobile-menu span {
        display: block;
        width: 18px;
        height: 2px;
        background: linear-gradient(90deg, #a855f7, #d946ef);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .btn-mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

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

    .btn-mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    /* ===== HEADER SUB ROW (Second Row) ===== */
    .header-sub-row {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        height: var(--header-row-height);
        padding: 0 12px;
        background: rgba(10, 5, 20, 0.6);
        border-top: 1px solid rgba(168, 85, 247, 0.1);
        border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    }

    .header-sub-left {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .header-sub-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Balance Display */
    .mobile-balance {
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Orbitron', sans-serif;
    }

    .mobile-balance-amount {
        font-size: 12px;
        font-weight: 600;
        color: #fff;
    }

    .mobile-balance-point {
        font-size: 11px;
        font-weight: 500;
        color: #d946ef;
        padding-left: 8px;
        border-left: 1px solid rgba(168, 85, 247, 0.3);
    }

    .btn-point-convert-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 3px 6px;
        font-size: 9px;
        font-weight: 600;
        color: #c084fc;
        background: transparent;
        border: 1px solid rgba(168, 85, 247, 0.4);
        border-radius: 10px;
        margin-left: 2px;
        cursor: pointer;
        transition: all 0.2s ease;
        text-decoration: none;
        white-space: nowrap;
    }

    .btn-point-convert-mobile:hover {
        background: rgba(168, 85, 247, 0.2);
        color: #fff;
    }

    /* Quick Action Buttons */
    .header-quick-btn {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 11px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .header-quick-btn svg {
        width: 14px;
        height: 14px;
    }

    .header-quick-btn.deposit {
        background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
        color: #fff;
    }

    .header-quick-btn.withdraw {
        background: transparent;
        border: 1px solid rgba(168, 85, 247, 0.4);
        color: #c084fc;
    }

    .header-quick-btn.withdraw:hover {
        background: rgba(168, 85, 247, 0.15);
    }

    .header-quick-btn.mail {
        position: relative;
        width: 32px;
        height: 32px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(168, 85, 247, 0.1);
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 50%;
        color: #c084fc;
    }

    .header-quick-btn.mail svg {
        width: 16px;
        height: 16px;
    }

    .header-quick-btn.mail .badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        background: #ff4757;
        color: #fff;
        font-size: 9px;
        font-weight: 700;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ===== FULLSCREEN MOBILE MENU ===== */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 10, 31, 0.98);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        padding-top: var(--header-height);
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 30px 24px;
        overflow-y: auto;
    }

    .mobile-menu-user {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(217, 70, 239, 0.1) 100%);
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 16px;
        margin-bottom: 30px;
    }

    .mobile-user-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Orbitron', sans-serif;
        font-size: 18px;
        font-weight: 700;
        color: white;
    }

    .mobile-user-info {
        flex: 1;
    }

    .mobile-user-name {
        font-size: 16px;
        font-weight: 600;
        color: white;
        margin-bottom: 4px;
    }

    .mobile-user-balance {
        font-family: 'Orbitron', sans-serif;
        font-size: 14px;
        color: #c084fc;
    }

    .mobile-menu-nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 20px;
        background: rgba(168, 85, 247, 0.05);
        border: 1px solid transparent;
        border-radius: 14px;
        text-decoration: none;
        color: #d8b4fe;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }

    .mobile-menu-item:hover,
    .mobile-menu-item.active {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(217, 70, 239, 0.15) 100%);
        border-color: rgba(168, 85, 247, 0.3);
        color: white;
    }

    .mobile-menu-item svg {
        width: 24px;
        height: 24px;
        color: #a855f7;
    }

    .mobile-menu-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
        margin: 20px 0;
    }

    .mobile-menu-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: auto;
        padding-top: 20px;
    }

    .mobile-action-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 20px;
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(217, 70, 239, 0.1) 100%);
        border: 1px solid rgba(168, 85, 247, 0.2);
        border-radius: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .mobile-action-btn svg {
        width: 28px;
        height: 28px;
        color: #c084fc;
    }

    .mobile-action-btn span {
        font-size: 13px;
        font-weight: 600;
        color: #d8b4fe;
    }

    .mobile-action-btn:hover {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(217, 70, 239, 0.2) 100%);
        border-color: rgba(168, 85, 247, 0.4);
        transform: translateY(-2px);
    }

    /* ===== COMPACT BOTTOM NAV WITH FAB ===== */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: var(--mobile-nav-height);
        background: rgba(15, 10, 31, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 1000;
        display: flex;
        justify-content: space-around;
        align-items: flex-end;
        padding-bottom: 6px;
        border-top: 1px solid rgba(168, 85, 247, 0.15);
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: var(--text-muted);
        text-decoration: none;
        font-size: 9px;
        font-weight: 500;
        padding: 6px 10px;
        transition: all 0.3s ease;
        position: relative;
    }

    .mobile-bottom-nav .nav-item.active {
        color: #c084fc;
    }

    .mobile-bottom-nav .nav-icon {
        width: 20px;
        height: 20px;
        fill: currentColor;
        transition: all 0.3s ease;
    }

    /* Center FAB Button */
    .mobile-bottom-nav .nav-fab {
        position: relative;
        top: -12px;
        width: 46px;
        height: 46px;
        background: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 3px 15px rgba(168, 85, 247, 0.4);
        transition: all 0.3s ease;
        z-index: 10;
    }

    .mobile-bottom-nav .nav-fab svg {
        width: 22px;
        height: 22px;
        fill: white;
        transition: transform 0.3s ease;
    }

    /* ===== MOBILE CONTENT STYLES ===== */
    .main-content {
        padding-bottom: calc(var(--mobile-nav-height) + 20px);
    }

    .banner-section {
        padding: 12px;
    }

    .banner-slider {
        border-radius: 12px;
    }

    .banner-dots {
        margin-top: 10px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .dot.active {
        width: 20px;
    }

    /* Category Tabs - Horizontal Scroll Pills */
    .category-tabs {
        padding: 0 12px;
    }

    .tab-container {
        gap: 8px;
        padding: 12px 0;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 20px;
    }

    /* Platform Grid - Card Style */
    .platform-section {
        padding: 16px 12px;
    }

    .section-header {
        margin-bottom: 16px;
    }

    .section-title {
        font-size: 18px;
    }

    .btn-more {
        padding: 6px 12px;
        font-size: 12px;
    }

    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .platform-card {
        border-radius: 12px;
        border: 1px solid rgba(168, 85, 247, 0.15);
    }

    .card-image {
        aspect-ratio: 1;
    }

    .card-image img {
        padding: 12px;
    }

    .card-overlay {
        display: none;
    }

    .card-info {
        padding: 10px 8px;
        background: linear-gradient(180deg, transparent 0%, rgba(15, 10, 31, 0.8) 100%);
    }

    .platform-name {
        font-size: 11px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .platform-category {
        display: none;
    }

    /* Game Grid */
    .popular-games {
        margin: 20px 0;
        padding: 0 12px;
    }

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

    .game-card {
        border-radius: 10px;
    }

    .game-info {
        padding: 8px;
    }

    .game-name {
        font-size: 11px;
    }

    .game-provider {
        font-size: 9px;
    }

    /* Footer */
    .main-footer {
        padding: 20px 16px;
        margin-bottom: calc(var(--mobile-nav-height) + 10px);
    }

    .footer-links {
        gap: 16px;
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-copyright p {
        font-size: 11px;
    }
}

/* ===== EXTRA SMALL SCREENS ===== */
@media (max-width: 375px) {
    :root {
        --header-height: 80px;
        --header-row-height: 40px;
        --mobile-nav-height: 52px;
    }

    .header-logo span {
        font-size: 16px !important;
    }

    .header-sub-row {
        height: var(--header-row-height);
        padding: 0 10px;
    }

    .mobile-balance-amount {
        font-size: 11px;
    }

    .mobile-balance-point {
        font-size: 10px;
    }

    .btn-point-convert-mobile {
        padding: 2px 6px;
        font-size: 8px;
        margin-left: 4px;
    }

    .header-quick-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .header-quick-btn svg {
        width: 12px;
        height: 12px;
    }

    .header-quick-btn.mail {
        width: 28px;
        height: 28px;
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-bottom-nav .nav-item {
        font-size: 8px;
        padding: 4px 6px;
    }

    .mobile-bottom-nav .nav-icon {
        width: 18px;
        height: 18px;
    }

    .mobile-bottom-nav .nav-fab {
        width: 40px;
        height: 40px;
        top: -10px;
    }

    .mobile-bottom-nav .nav-fab svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.platform-card {
    animation: fadeIn 0.5s ease forwards;
}

.platform-card:nth-child(1) { animation-delay: 0.1s; }
.platform-card:nth-child(2) { animation-delay: 0.15s; }
.platform-card:nth-child(3) { animation-delay: 0.2s; }
.platform-card:nth-child(4) { animation-delay: 0.25s; }
.platform-card:nth-child(5) { animation-delay: 0.3s; }
.platform-card:nth-child(6) { animation-delay: 0.35s; }


/* ============ FROM source pages.css ============ */
/* ===== PAGES CSS - 추가 페이지 스타일 ===== */

/* 페이지 헤더 */
.page-header {
    text-align: center;
    padding: 40px 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--purple-300) 0%, var(--purple-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

/* 필터 섹션 */
.filter-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.filter-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 0;
    scrollbar-width: none;
}

.filter-container::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    flex-shrink: 0;
    padding: 10px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    border-color: var(--purple-500);
    color: white;
}

/* 검색 섹션 */
.search-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px 20px;
}

.search-box {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.15);
}

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

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--purple-400);
}

/* 게임 섹션 */
.games-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.game-card {
    background: linear-gradient(145deg, var(--dark-purple-700) 0%, var(--dark-purple-800) 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-500);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

.game-thumbnail {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.game-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-thumbnail img {
    transform: scale(1.1);
}

.game-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(147, 51, 234, 0.3) 100%);
    transition: var(--transition);
}

.game-card:hover .game-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.3) 0%, rgba(147, 51, 234, 0.4) 100%);
    transform: scale(1.1);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 10, 31, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.btn-play-now {
    padding: 10px 30px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--accent-magenta) 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-play-now:hover {
    transform: scale(1.05);
}

.btn-demo {
    padding: 8px 25px;
    background: transparent;
    border: 1px solid var(--purple-400);
    border-radius: 20px;
    color: var(--purple-400);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-demo:hover {
    background: var(--purple-500);
    color: white;
}

.game-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.game-badge.hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
    color: white;
}

.game-badge.new {
    background: linear-gradient(135deg, #4ecdc4 0%, #44bd92 100%);
    color: white;
}

.game-info {
    padding: 12px;
    text-align: center;
}

.game-info .game-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info .game-provider {
    font-size: 11px;
    color: var(--purple-400);
}

/* 더보기 버튼 */
.load-more {
    text-align: center;
    margin-top: 30px;
}

.btn-load-more {
    padding: 14px 40px;
    background: transparent;
    border: 2px solid var(--purple-500);
    border-radius: 30px;
    color: var(--purple-400);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-load-more:hover {
    background: var(--purple-500);
    color: white;
}

/* ===== 라이브 카지노 페이지 ===== */
.casino-card {
    position: relative;
    background: linear-gradient(145deg, var(--dark-purple-700) 0%, var(--dark-purple-800) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.15);
    transition: var(--transition);
}

.casino-card:hover {
    transform: translateY(-5px);
    border-color: var(--purple-500);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.3);
}

.casino-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.casino-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.casino-live-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 59, 48, 0.9);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: white;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.casino-dealer-count {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    font-size: 11px;
    color: white;
}

.casino-info {
    padding: 16px;
}

.casino-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.casino-provider {
    font-size: 12px;
    color: var(--purple-400);
}

.casino-tables {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.table-badge {
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.15);
    border-radius: 12px;
    font-size: 11px;
    color: var(--purple-300);
}

/* ===== 프로모션 페이지 ===== */
.promo-page-header {
    padding-top: 20px;
    padding-bottom: 15px;
}

.promotion-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

/* 프로모션 필터 */
.promo-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(15, 10, 31, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.promo-filter .filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-filter .filter-btn svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
}

.promo-filter .filter-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    color: var(--text-primary);
}

.promo-filter .filter-btn:hover svg {
    opacity: 1;
}

.promo-filter .filter-btn.active {
    background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-700) 100%);
    border-color: var(--purple-500);
    color: white;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
}

.promo-filter .filter-btn.active svg {
    opacity: 1;
}

/* 프로모션 그리드 */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.promo-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 20, 50, 0.9) 0%, rgba(20, 15, 35, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.4);
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.25);
}

.promo-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.promo-badge.hot {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.promo-badge.top {
    background: linear-gradient(135deg, #ffa502 0%, #ffcc00 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 165, 2, 0.4);
}

.promo-badge.new {
    background: linear-gradient(135deg, #2ed573 0%, #7bed9f 100%);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(15, 10, 31, 0) 0%,
        rgba(15, 10, 31, 0.4) 50%,
        rgba(15, 10, 31, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.promo-overlay .promo-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.promo-overlay .promo-title .highlight {
    display: block;
    color: #ffd93d;
    font-size: 24px;
    margin-top: 4px;
}

.promo-overlay .promo-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.promo-overlay .btn-detail {
    align-self: flex-start;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--accent-magenta) 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.promo-card:hover .btn-detail {
    opacity: 1;
    transform: translateY(0);
}

.promo-overlay .btn-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.promo-tags {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.promo-tags .tag {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.promo-tags .tag.event {
    background: rgba(255, 71, 87, 0.2);
    color: #ff6b81;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

.promo-tags .tag.new {
    background: rgba(46, 213, 115, 0.2);
    color: #7bed9f;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.promo-tags .tag.bonus {
    background: rgba(255, 165, 2, 0.2);
    color: #ffd93d;
    border: 1px solid rgba(255, 165, 2, 0.3);
}

.promo-tags .tag.guide {
    background: rgba(116, 185, 255, 0.2);
    color: #74b9ff;
    border: 1px solid rgba(116, 185, 255, 0.3);
}

.promo-info {
    padding: 16px 20px;
    background: rgba(15, 10, 31, 0.5);
    border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.promo-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-content {
    padding: 20px;
}

.promo-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.promo-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
}

.promo-date {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-promo-detail {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--purple-500);
    border-radius: 20px;
    color: var(--purple-400);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-promo-detail:hover {
    background: var(--purple-500);
    color: white;
}

/* ===== 로그인/회원가입 모달 ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 90%;
    max-width: 420px;
    background: linear-gradient(145deg, var(--dark-purple-700) 0%, var(--dark-purple-900) 100%);
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.modal-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7, #d946ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.modal-title {
    font-size: 14px;
    color: var(--text-muted);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(168, 85, 247, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(168, 85, 247, 0.3);
    color: white;
}

.modal-body {
    padding: 30px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.15);
}

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

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--purple-500);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--purple-500) 0%, var(--accent-magenta) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-footer-text {
    font-size: 13px;
    color: var(--text-muted);
}

.modal-footer-link {
    color: var(--purple-400);
    text-decoration: none;
    font-weight: 500;
}

.modal-footer-link:hover {
    color: var(--purple-300);
}

/* 탭 전환 */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
}

.modal-tab {
    flex: 1;
    padding: 15px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.modal-tab.active {
    color: var(--purple-400);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--purple-500);
}

/* 반응형 */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .game-info {
        padding: 8px;
    }

    .game-info .game-name {
        font-size: 11px;
    }

    /* 프로모션 페이지 반응형 */
    .promo-page-header {
        padding-top: 40px;
        padding-bottom: 20px;
    }

    .promotion-content {
        padding: 0 15px 40px;
    }

    .promo-filter {
        padding: 15px;
        gap: 8px;
        margin-bottom: 25px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .promo-filter::-webkit-scrollbar {
        display: none;
    }

    .promo-filter .filter-btn {
        flex-shrink: 0;
        padding: 10px 18px;
        font-size: 13px;
    }

    .promo-filter .filter-btn svg {
        width: 16px;
        height: 16px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-card {
        border-radius: 16px;
    }

    .promo-overlay {
        padding: 20px;
    }

    .promo-overlay .promo-title {
        font-size: 18px;
    }

    .promo-overlay .promo-title .highlight {
        font-size: 20px;
    }

    .promo-overlay .btn-detail {
        opacity: 1;
        transform: translateY(0);
    }

    .promo-info {
        padding: 14px 16px;
    }

    .promo-info h4 {
        font-size: 13px;
    }

    .modal-container {
        width: 95%;
        margin: 20px;
    }

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

@media (max-width: 480px) {
    .promo-filter .filter-btn {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .promo-badge {
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        font-size: 10px;
    }

    .promo-tags {
        bottom: 12px;
        right: 12px;
    }

    .promo-tags .tag {
        padding: 3px 8px;
        font-size: 9px;
    }
}

