:root {
    --primary-color: #2A9D8F;
    /* Teal/Blue */
    --secondary-color: #E9C46A;
    /* Warm Orange/Yellow */
    --text-color: #333333;
    --bg-color: #F8F9FA;
    --card-bg: #FFFFFF;
    --font-heading: 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 60px 0 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: #dcb350;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-secondary:hover {
    background-color: #218c7f;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e0f2f1 0%, #fefcf5 100%);
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 3rem;
    line-height: 1.2;
    color: #264653;
}

.text-content p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    height: 400px;
    background-color: #ddd;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Use a pseudo-element to simulate an image if real images aren't available */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f0f0f0;
    z-index: -1;
}

/* Features */
.features {
    background-color: white;
    padding: 60px 0;
}

.features .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    text-align: center;
    flex: 1;
    min-width: 250px;
    padding: 30px;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
}

/* Product Grid */
.products {
    padding-bottom: 80px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.product-info .desc {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    height: 3em;
}

.product-info .price {
    font-weight: 700;
    color: #264653;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Lotto Section */
.lotto {
    padding: 60px 0;
    background-color: #f0f7f4;
}

.lotto-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.lotto-desc {
    margin-bottom: 30px;
    color: #666;
}

.lotto-numbers {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ball:hover {
    transform: scale(1.1);
}

.ball.placeholder {
    background-color: #eee;
    color: #aaa;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    text-shadow: none;
}

.ball-yellow {
    background: radial-gradient(circle at 30% 30%, #fbc02d, #f9a825);
}

.ball-blue {
    background: radial-gradient(circle at 30% 30%, #1976d2, #1565c0);
}

.ball-red {
    background: radial-gradient(circle at 30% 30%, #e53935, #c62828);
}

.ball-gray {
    background: radial-gradient(circle at 30% 30%, #757575, #616161);
}

.ball-green {
    background: radial-gradient(circle at 30% 30%, #43a047, #2e7d32);
}

.draw-btn {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: #264653;
    color: #ddd;
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 10px;
}

.copyright {
    margin-top: 30px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .text-content h2 {
        font-size: 2.2rem;
    }

    .hero-image {
        width: 100%;
        height: 300px;
    }

    nav ul {
        display: none;
        /* Simple hiding for mobile for now */
    }

    .logo {
        margin: 0 auto;
    }
}
/* Affiliate Inquiry Section */
.affiliate-inquiry {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.affiliate-inquiry .section-subtitle {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.affiliate-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
}

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

.affiliate-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.affiliate-form input[type="text"],
.affiliate-form input[type="email"],
.affiliate-form textarea,
.affiliate-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't increase total width */
}

.affiliate-form textarea {
    resize: vertical; /* Allow vertical resizing */
    min-height: 120px;
}

.affiliate-form input:focus,
.affiliate-form textarea:focus,
.affiliate-form select:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.affiliate-form .btn-primary {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.affiliate-form .btn-primary:hover {
    background-color: #0056b3;
}