:root {
    --bg-color: #121212;
    --text-color: #ffffff;
    --container-bg: transparent;
    --number-bg: #333333;
    --btn-bg: #4CAF50;
    --btn-hover: #45a049;
    --accent-color: #2196F3;
}

body.light-mode {
    --bg-color: #f0f0f0;
    --text-color: #333333;
    --container-bg: #ffffff;
    --number-bg: #e0e0e0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    margin: 0;
    padding: 2rem 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background-color: var(--container-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
}

.theme-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.theme-btn {
    background: none;
    border: 1.5px solid var(--text-color);
    color: var(--text-color);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-divider {
    border: none;
    border-top: 1px solid var(--number-bg);
    margin: 3rem 0;
}

/* Animal Test Section */
.animal-test-section {
    margin-bottom: 2rem;
}

.upload-container {
    margin: 2rem auto;
    max-width: 400px;
}

.upload-area {
    border: 2px dashed var(--number-bg);
    border-radius: 15px;
    padding: 2.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s;
    background-color: rgba(255, 255, 255, 0.05);
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--accent-color);
    background-color: rgba(33, 150, 243, 0.1);
}

.upload-area span {
    font-size: 1.1rem;
    opacity: 0.8;
}

#image-preview-container {
    margin-top: 1.5rem;
    position: relative;
    display: inline-block;
}

#image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    object-fit: cover;
}

#label-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 300px;
    margin: 0 auto;
}

.result-bar {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: var(--number-bg);
    border-radius: 5px;
    font-weight: bold;
}

/* Lotto Section */
.numbers-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.number {
    width: 60px;
    height: 60px;
    background-color: var(--number-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.submit-btn {
    background-color: var(--btn-bg);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    margin-bottom: 1rem;
}

.submit-btn:hover {
    background-color: var(--btn-hover);
}

.submit-btn:active {
    transform: scale(0.98);
}

/* Contact Form Styles */
.contact-section {
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1.5px solid var(--number-bg);
    border-radius: 8px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

/* Comments Section Styles */
.comments-section {
    margin-top: 3rem;
    text-align: left;
}
