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

body {
    background-color: #f0f2f5;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

.container {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    width: 90%;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

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

.generator-section {
    text-align: center;
    margin-bottom: 30px;
}

#lotto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.number-row {
    display: flex;
    gap: 10px;
}

.number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.number:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.plus-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ccc;
}

#generate-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#generate-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.info-section {
    display: grid;
    gap: 20px;
    text-align: left;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #007bff;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #222;
}

.info-card p {
    font-size: 0.95rem;
    color: #555;
}

.contact-section {
    text-align: left;
}

.contact-section h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-section p {
    margin-bottom: 20px;
    color: #666;
    font-size: 0.95rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#contact-form input,
#contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #007bff;
}

#contact-form textarea {
    height: 120px;
    resize: none;
}

.submit-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.submit-btn:hover {
    background-color: #218838;
}

.comment-section h3 {
    text-align: left;
    margin-bottom: 20px;
}

.footer {
    margin-top: 50px;
    text-align: center;
    font-size: 0.85rem;
    color: #999;
}

/* 로또 색상 */
.num-yellow { background-color: #fbc02d; }
.num-blue { background-color: #1976d2; }
.num-red { background-color: #e53935; }
.num-gray { background-color: #757575; }
.num-green { background-color: #43a047; }

@media (max-width: 600px) {
    .container { padding: 30px 20px; }
    h1 { font-size: 1.5rem; }
    .number { width: 40px; height: 40px; font-size: 1rem; }
}
