/* ================================================
   LANDING PAGE — 게임 공식 사이트 스타일 배너
   ================================================ */

/* ---- 랜딩 바디 ---- */
.landing-body {
    padding-bottom: 0 !important;         /* 하단 fixed 배너 없으므로 제거 */
    background: #0b0d13;
    color: #e8e8e8;
}

/* ===========================
   상단 히어로 배너
   =========================== */
.hero-banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0s 0.8s, z-index 0s 0.8s;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
    visibility: visible;
    transition: opacity 0.8s ease-in-out, visibility 0s, z-index 0s;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* 슬라이드 위 그라데이션 + 텍스트 */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 60px 90px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    color: #fff;
}
.hero-slide-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.hero-slide-overlay h2 {
    font-size: 2.4rem;
    font-weight: 900;
    margin-bottom: 6px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-slide-overlay p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* 화살표 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.15);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-arrow:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}
.hero-arrow-left  { left: 20px; }
.hero-arrow-right { right: 20px; }

/* 도트 */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}
.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.hero-dots .dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.25);
}

/* 썸네일 스트립 */
.hero-thumbs {
    position: absolute;
    bottom: 50px;
    right: 30px;
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hero-thumbs .thumb {
    width: 72px;
    height: 42px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
}
.hero-thumbs .thumb.active {
    border-color: #fff;
    opacity: 1;
    box-shadow: 0 0 12px rgba(255,255,255,0.3);
}
.hero-thumbs .thumb:hover {
    opacity: 1;
}

/* ===========================
   3단 메인 레이아웃
   =========================== */
.main-layout {
    display: flex;
    max-width: 100%;
    margin: 0 auto;
    gap: 0;
    min-height: 600px;
}

/* ---- 사이드 배너 (좌/우 공통) ---- */
.side-banner {
    width: 240px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    align-self: flex-start;
    height: auto;
    overflow: hidden;
}

.side-slider {
    position: relative;
    width: 100%;
    height: 660px;
}

.side-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.side-slide.active {
    opacity: 1;
}

.side-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ---- 센터 메인 ---- */
.center-main {
    flex: 1;
    min-width: 0;
}

/* CTA 히어로 */
.cta-hero {
    background: linear-gradient(135deg, #13151d 0%, #1a1e2e 100%);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1.3;
}
.cta-content p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 28px;
    line-height: 1.6;
}
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}
.cta-buttons .btn-primary:hover {
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.5);
}
.cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #e2e8f0;
}
.cta-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.12);
}

/* 섹션 공통 */
.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 32px;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #7c3aed, #6366f1);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* 서비스 특징 */
.features-section {
    padding: 50px 30px;
    background: #10121a;
}
.features-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.features-section .feature-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}
.features-section .feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.1);
}
.features-section .feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.features-section .feature-card h4 {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 8px;
}
.features-section .feature-card p {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* 상품 */
.products-showcase {
    padding: 50px 30px;
    background: #0e1018;
}
.products-showcase .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}
.products-showcase .product-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s;
}
.products-showcase .product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.1);
}
.products-showcase .product-image-wrapper {
    height: 100px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(99, 102, 241, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.products-showcase .product-icon {
    font-size: 2rem;
}
.products-showcase .product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.products-showcase .product-info {
    padding: 18px;
}
.products-showcase .product-info h4 {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 6px;
}
.products-showcase .product-description {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 10px;
    min-height: 32px;
}
.products-showcase .product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 4px;
}
.products-showcase .product-stock {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.products-showcase .no-products,
.products-showcase .error {
    text-align: center;
    color: #64748b;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* 이용 방법 */
.how-section {
    padding: 50px 30px;
    background: #10121a;
}
.steps-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.step-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    width: 160px;
    transition: all 0.3s;
}
.step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.3);
}
.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 12px;
}
.step-card h4 {
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.step-card p {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.4;
}
.step-arrow {
    color: #4b5563;
    font-size: 1.6rem;
    font-weight: 700;
}

/* ===========================
   하단 배너
   =========================== */
.bottom-banner {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #000;
}

.bottom-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.bottom-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.bottom-slide.active {
    opacity: 1;
}

.bottom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 푸터 오버라이드 */
.landing-body .footer {
    background: #0b0d13;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #4b5563;
    padding: 20px 0;
}

/* ===========================
   반응형
   =========================== */
@media (max-width: 1200px) {
    .side-banner {
        display: none;
    }
    .main-layout {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 300px;
    }
    .hero-slide-overlay {
        padding: 30px 20px 60px;
    }
    .hero-slide-overlay h2 {
        font-size: 1.5rem;
    }
    .hero-thumbs {
        display: none;
    }
    .cta-content h2 {
        font-size: 1.5rem;
    }
    .bottom-banner {
        height: 100px;
    }
    .steps-row {
        flex-direction: column;
    }
    .step-arrow {
        transform: rotate(90deg);
    }
    .step-card {
        width: 100%;
        max-width: 280px;
    }
}


/* ================================================
   PREMIUM DARK GAMING THEME OVERRIDES
   ================================================ */

.landing-body {
    background: #050505;
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
}

/* Navbar Premium */
.navbar {
    background: rgba(10, 10, 12, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important;
}
.nav-brand h1 {
    color: #fff !important;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}
.nav-menu a {
    color: #cbd5e1 !important;
}
.nav-menu a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Sections */
.products-showcase, .how-section {
    background: #050505 !important;
    position: relative;
    z-index: 1;
}

/* Section Titles (Fix contrast) */
.section-title, .products-showcase h3, .how-it-works h3 {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 900 !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 3rem !important;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
}
.section-title::after {
    display: none;
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.product-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: rgba(124, 58, 237, 0.5) !important;
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.2) !important;
}
.product-info h4 {
    color: #ffffff !important;
    font-size: 1.2rem !important;
}
.product-description {
    color: #94a3b8 !important;
}
.product-price {
    color: #a855f7 !important;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

/* How to Use Steps */
.step-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
}
.step-card h4 {
    color: #ffffff !important;
    font-size: 1.1rem !important;
}
.step-card p {
    color: #94a3b8 !important;
}

/* Base override for style.css dark text */
h1, h2, h3, h4, h5, h6, p, span, div {
    color: inherit;
}


/* ================================================
   AUTH PAGES PREMIUM THEME
   ================================================ */
.auth-container {
    background: transparent !important;
    min-height: calc(100vh - 100px); /* Adjust to remove scroll if possible */
}
.auth-box {
    background: rgba(10, 10, 12, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) saturate(150%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(124, 58, 237, 0.2) !important;
    border-radius: 20px !important;
}
.auth-box h2 {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.5) !important;
}
.form-group label {
    color: #cbd5e1 !important;
}
.form-group input {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transition: all 0.3s ease;
}
.form-group input:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.25) !important;
}
.btn-premium {
    background: linear-gradient(135deg, #7c3aed, #6366f1) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4) !important;
    color: white !important;
}
.btn-premium:hover {
    box-shadow: 0 6px 30px rgba(124, 58, 237, 0.6) !important;
    transform: translateY(-2px);
}
.auth-footer p {
    color: #94a3b8 !important;
}
.auth-footer a {
    color: #a855f7 !important;
}
.auth-footer a:hover {
    color: #c084fc !important;
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}


/* ================================================
   SUBPAGES (PRODUCTS, CHARGE, MYPAGE) OVERRIDES
   ================================================ */
.products-container, .charge-container, .mypage-container {
    background: transparent !important;
    padding-top: 40px;
    padding-bottom: 40px;
}
.products-container h2, .charge-container h2, .mypage-container h2 {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

/* Cards */
.charge-card, .mypage-card, .products-header {
    background: rgba(10, 10, 12, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.1) !important;
    border-radius: 16px !important;
    color: #cbd5e1 !important;
    margin-bottom: 20px;
}
.charge-card h3, .mypage-card h3 {
    color: #ffffff !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
    padding-bottom: 10px;
}
.products-header span {
    color: #fff;
}

/* Specific elements */
#pointBalance p, #currentBalance p, .point-amount, #currentBalance {
    color: #a855f7 !important;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}
.order-item, .history-item {
    background: rgba(255,255,255,0.03) !important;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.05) !important;
}
.order-item p, .history-item p, #userInfo p {
    color: #cbd5e1 !important;
    margin-bottom: 5px;
}
.order-item strong, .history-item strong, #userInfo strong {
    color: #fff !important;
}
.charge-grid, .mypage-grid {
    gap: 20px !important;
}
