body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    width: 90%;
    max-width: 900px;
    margin: 2rem;
}

header {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a73e8;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Tab Navigation */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s;
    border-radius: 30px;
}

.nav-btn:hover {
    color: #1a73e8;
    background-color: #e8f0fe;
}

.nav-btn.active {
    background-color: #1a73e8;
    color: white;
}

.content-section {
    background-color: #fff;
    padding: 0;
    margin-bottom: 3rem;
    text-align: left;
}

.content-section h2 {
    color: #202124;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.content-section > article > p {
    text-align: center;
    color: #5f6368;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
}

#games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.lotto-game {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.lotto-game h2 {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1rem;
}

.lotto-numbers {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

#generate-btn {
    display: block;
    margin: 0 auto;
    background-color: #34a853;
    color: white;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

#generate-btn:hover {
    background-color: #2d8e47;
}

.upload-label {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 1.2rem 2.5rem;
    background-color: #1a73e8;
    color: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.info-text {
    background-color: #f1f3f4;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 3rem;
}

.info-text h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #202124;
}

.info-text ul {
    padding-left: 1.2rem;
    color: #5f6368;
    margin-bottom: 0;
}

.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
}

.result-label {
    width: 80px;
    font-weight: bold;
    color: #202124;
}

.bar-container {
    flex-grow: 1;
    height: 24px;
    background-color: #e0e0e0;
    border-radius: 12px;
    margin: 0 15px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background-color: #1a73e8;
}

.percent {
    width: 50px;
    font-weight: bold;
    color: #1a73e8;
}

.contact-section {
    margin-top: 5rem;
    text-align: left;
}

#contact-form {
    max-width: 600px;
    margin: 0 auto;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
    font-size: 1rem;
}

#submit-btn {
    background-color: #202124;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
}

footer {
    text-align: center;
    color: #70757a;
    font-size: 0.9rem;
}

.footer-links a {
    color: #70757a;
    text-decoration: none;
    margin: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 1rem;
}
