/* General Body Styles */
body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #1c1c1e;
    color: #ffffff;
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

/* Container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #2c2c2e;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Headings */
h1, h2, h3 {
    font-weight: 700;
    color: #00aaff; /* Highlight color for headings */
    margin-bottom: 20px;
}

h1 {
    font-size: 2.8em;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

h2 {
    font-size: 2.2em;
    margin-top: 40px;
    border-left: 5px solid #00aaff;
    padding-left: 15px;
}

h3 {
    font-size: 1.6em;
    color: #58b4ff;
}

/* Paragraphs and Links */
p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

a {
    color: #00aaff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Call to Action (CTA) Buttons */
.cta-button {
    display: inline-block;
    background-color: #00aaff;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.4);
}

.cta-button:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Section Box for Content Sections */
.section-box {
    background-color: #3a3a3c;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid #444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section-box h2, .section-box h3 {
    margin-top: 0;
    padding-top: 0;
}

/* Step-by-step Guide List */
.step-by-step-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
}

.step-by-step-list li {
    counter-increment: step-counter;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #2c2c2e;
    border-radius: 8px;
    position: relative;
    padding-left: 55px; /* Space for the number */
    font-size: 1.1em;
}

.step-by-step-list li::before {
    content: counter(step-counter);
    background: #00aaff;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: inline-block;
    line-height: 35px;
    text-align: center;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
}

/* Stats Feature Box */
.stats-feature-box {
    text-align: center;
    border: 2px solid #00aaff;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.5);
    animation: pulse-glow 2s infinite alternate;
}

.stats-feature-box h2 {
    color: #fdd835; /* Gold color for emphasis */
    border-bottom: none;
    border-left: none;
    padding-left: 0;
}

.stats-feature-box .stats-gallery {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.stats-feature-box .stats-gallery img {
    max-width: 31%;
    min-width: 250px;
    border-radius: 8px;
    border: 1px solid #555;
    flex-grow: 1;
}

@keyframes pulse-glow {
    from {
        box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
    }
    to {
        box-shadow: 0 0 35px rgba(0, 170, 255, 0.7);
    }
}


/* Cards for Promotions, etc. */
.card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background-color: #3a3a3c;
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #444;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
}

.card.card-selected {
    border-color: #fdd835;
}

/* Live Streaming Section Image */
.live-streaming-image {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0 30px 0;
    border: 1px solid #555;
}

/* --- NEW Mobile Navigation - Horizontal Scroll --- */
@media (max-width: 992px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 15px;
    }

    nav ul.nav-links {
        display: flex;
        flex-wrap: nowrap;
        /* Let the container be constrained by parent's padding */
        width: 100%; 
        overflow-x: auto;
        /* Remove the negative margin for full bleed */
        margin: 15px 0 0 0; 
        /* Padding is for top/bottom, no side padding to allow items to be cut off by the edge */
        padding: 10px 0; 
        border-top: 1px solid #444;
        border-bottom: 1px solid #444;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    nav ul.nav-links::-webkit-scrollbar {
        display: none;
    }

    nav ul.nav-links li {
        flex-shrink: 0;
        margin: 0;
        display: block;
    }

    nav ul.nav-links li:not(:last-child) {
        margin-right: 10px; /* Space between items */
    }

    nav ul.nav-links li a {
        display: block;
        white-space: nowrap;
        padding: 8px 18px;
        font-size: 1.1em;
        border-radius: 18px;
        transition: background-color 0.2s;
    }
    
    nav ul.nav-links li a:hover {
        background-color: #3a3a3c;
        text-decoration: none;
    }

    /* --- Card Layout for Mobile --- */
    .card-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.card h3 {
    margin-top: 0;
    color: #00aaff;
}

/* Tables for Odds */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #3a3a3c;
}

th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}

th {
    background-color: #00aaff;
    color: #ffffff;
    font-weight: 700;
}

td {
    font-size: 1.1em;
}

/* Highlight for odds */
.odds {
    font-weight: 700;
    color: #fdd835; /* A gold-like color for emphasis */
}

/* Navigation Bar */
header {
    background-color: #1c1c1e;
    padding: 20px 0;
    border-bottom: 1px solid #444;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 1.8em;
    font-weight: 900;
    color: #ffffff;
}

nav .logo a {
    color: #ffffff;
}

nav .logo img {
    height: 40px;
    vertical-align: middle;
}

nav .logo span {
    color: #00aaff;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
    font-size: 1.1em;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
    background-color: #1c1c1e;
    border-top: 1px solid #444;
    color: #888;
} 