/* Splendid Overhaul for AdSense Approval - style.css */

/* 1. Global Setup & Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;900&display=swap');

:root {
    --bg-color: #0F172A; /* Slate 900 */
    --primary-color: #38BDF8; /* Sky 400 */
    --secondary-color: #F87171; /* Red 400 */
    --text-color: #E2E8F0; /* Slate 200 */
    --border-color: #334155; /* Slate 700 */
    --card-bg-color: #1E293B; /* Slate 800 */
    --shadow-color: rgba(56, 189, 248, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-weight: 700;
    color: #fff;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; text-align: center; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #fff; }

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 4rem 1rem;
    border-bottom: 1px solid var(--border-color);
}
section:last-of-type { border-bottom: none; }

/* 2. Header, Nav, and Hero */
.site-header {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
}

.site-nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.site-nav a { font-weight: 600; }

.hero {
    text-align: center;
    padding: 5rem 1rem;
}
.hero .subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
    opacity: 0.8;
}

/* 3. Lotto Generator */
.flags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.flag-btn {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.flag-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
    border-color: var(--primary-color);
}
.flag-btn.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--shadow-color);
}
.flag-emoji { font-size: 1.5rem; }

.generate-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
    display: block;
    margin: 0 auto;
}
.generate-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--shadow-color); }

#result {
    margin-top: 3rem;
    background-color: var(--card-bg-color);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}
.numbers-grid { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.number {
    background-color: var(--bg-color);
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid var(--border-color);
}
.bonus { background-color: var(--secondary-color); color: #fff; border-color: var(--secondary-color); }


/* 4. Reactions & Contact Form */
.section-description { text-align: center; max-width: 600px; margin: 0 auto 2rem; opacity: 0.8; }
.emoji-reactions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.reaction {
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.reaction:hover { background-color: var(--card-bg-color); }
.reaction.reacted { border-color: var(--primary-color); }
.reaction .emoji { font-size: 2rem; }
.reaction .count { font-size: 0.8rem; text-align: center; color: var(--text-color); }

#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
#contact input, #contact textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}
#contact input:focus, #contact textarea:focus { outline: none; border-color: var(--primary-color); }
#contact button {
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact button:hover { background-color: #7DD3FC; /* Sky 300 */ }


/* 5. Content Pages (About/Privacy) & Footer */
.content-page { padding: 3rem 1rem; background-color: var(--card-bg-color); border-radius: 16px; margin-top: 2rem; }
.content-page article { max-width: 800px; margin: 0 auto; }
.content-page article h2 { margin-top: 2rem; }

.site-footer-content {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

/* 6. Responsive Design */
@media (max-width: 768px) {
    .site-nav { flex-direction: column; gap: 1rem; }
    .hero { padding: 3rem 1rem; }
    section { padding: 3rem 1rem; }
}
