/* =====================
   Reset & Variables
===================== */
:root {
    /* Colors - Light/Monochrome Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #f3f4f6;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    /* Keep accents but maybe muted or monochrome? User asked for Black/White combination. 
       I will keep them for now but the background is key. */
    --accent-primary: #000000;
    /* Black accent */
    --accent-secondary: #333333;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;

    --gradient-primary: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-secondary: linear-gradient(135deg, #333333 0%, #666666 100%);
    --gradient-text: linear-gradient(135deg, #000000 0%, #333333 100%);

    --border-color: #e5e7eb;
    --border-hover: #d1d5db;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'The Jamsil', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* =====================
   Header Navigation
===================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar {
    height: var(--nav-height);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-k {
    color: var(--accent-primary);
    font-size: 28px;
}

.logo-poker {
    color: var(--text-primary);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
}

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

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 10px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    color: var(--text-primary);
    background: var(--bg-card-hover);
}

.client-portal {
    color: var(--accent-primary) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.language-selector:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* =====================
   Hero Section
===================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--nav-height);
    overflow: hidden;
    background: #ffffff;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.8) 50%,
            rgba(255, 255, 255, 0.95) 100%);
    z-index: 1;
}

.video-haze-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 30%,
            rgba(255, 255, 255, 0.6) 60%,
            rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 2;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.85;
}

.hero-content {
    position: relative;
    z-index: 3;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
    text-align: center;
    animation: jackpotPulse 2s ease-in-out infinite;
    color: #000000;
    word-break: keep-all;
}

@keyframes jackpotPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.title-line-1 {
    display: block;
    font-size: 0.6em;
    font-weight: 400;
    color: #4b5563;
    margin-bottom: 10px;
}

.title-line-2 {
    display: block;
}

.title-line-3 {
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    color: #000000;
    margin-top: 5px;
    letter-spacing: 1px;
}

.gradient-text {
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: #000000;
    text-shadow: none;
    letter-spacing: 3px;
    font-weight: 900;
}

.hero-description {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: none;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--border-hover);
}

.btn-accent {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(245, 158, 11, 0.6);
}

/* Floating Cards - 제거됨 */

/* 소리 컨트롤 버튼 (CTA 섹션) */
.btn-sound-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-sound-control:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-sound-control svg {
    width: 24px;
    height: 24px;
}

/* 태블릿 및 대형 화면 비디오 최적화 */
@media (min-width: 1920px) {
    .hero-video-bg video {
        width: 100%;
        height: auto;
    }
}

/* 세로 모드 모바일 최적화 */
@media (max-width: 480px) and (orientation: portrait) {
    .hero-video-bg video {
        width: auto;
        height: 100%;
        max-width: none;
    }
}

/* =====================
   Awards Section
===================== */
.awards-section {
    position: relative;
    z-index: 3;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.15) 0%, rgba(107, 90, 205, 0.15) 100%);
    padding: 2px 0;
    margin: 30px 0 15px 0;
    border-top: 1px solid rgba(123, 104, 238, 0.3);
    border-bottom: 1px solid rgba(123, 104, 238, 0.3);
    overflow: hidden;
}

.awards-slider {
    position: relative;
    overflow: hidden;
    padding: 4px 0;
}

.awards-track {
    display: flex;
    gap: 60px;
    animation: slide 15s linear infinite;
    align-items: center;
}

.award-item {
    flex-shrink: 0;
    padding: 8px 24px;
    background: linear-gradient(135deg, #7b68ee 0%, #6b5acd 100%);
    border: 1px solid rgba(123, 104, 238, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(123, 104, 238, 0.25);
    margin: 0 15px;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* show-all-achievements 제거 */

/* =====================
   Products Section
===================== */
.products-section {
    padding: 100px 0;
    background: var(--bg-primary);
}

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

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 320px;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.product-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.product-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 8px;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}




.product-icon {
    font-size: 56px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 10px;
}


/* =====================
   News Section
===================== */
.news-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.news-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

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

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

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* =====================
   Report Section
===================== */
.report-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.report-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.report-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(100px);
}

.report-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.report-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.report-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.report-description {
    color: var(--text-secondary);
    font-size: 18px;
}

.report-cta {
    display: inline-flex;
    align-items: center;
    padding: 20px 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.report-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.4);
}

/* =====================
   Stats Section
===================== */
.stats-section {
    padding: 100px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.stats-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 16px;
}

/* =====================
   FAQ Section
===================== */
.faq-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.faq-question {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
}



/* =====================
   Footer
===================== */
.site-footer {
    background: var(--bg-primary);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-info {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 24px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.footer-license {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

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

.footer-column a:hover {
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 20px;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

/* =====================
   Responsive
===================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu,
    .language-selector {
        display: none;
    }

    /* 비디오 배경 모바일 최적화 */
    .hero-video-bg video {
        min-width: auto;
        min-height: auto;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 헤이즈 효과 모바일 조정 */
    .video-haze-overlay {
        background: radial-gradient(circle at center,
                rgba(10, 14, 26, 0.2) 0%,
                rgba(10, 14, 26, 0.5) 40%,
                rgba(10, 14, 26, 0.8) 100%);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .hero-title {
        font-size: 48px;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-accent {
        width: 100%;
        justify-content: center;
    }

    .btn-sound-control {
        width: 100%;
        height: 50px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }


    .report-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .report-content {
        margin-bottom: 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .awards-track {
        animation-duration: 20s;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}