* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1a2332;
    --bg-darker: #253041;
    --bg-light: #2d3a4f;
    --text-white: #ffffff;
    --text-light: #f0f4f8;
    --text-dark: #2d3748;
    --heading-green: #10b981;
    --heading-green-bright: #34d399;
    --accent-blue: #3b82f6;
    --accent-blue-bright: #60a5fa;
    --accent-yellow: #fbbf24;
    --accent-orange: #f97316;
    --border-color: #3d4a5f;
    --border-light: #4a5a6f;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Fredoka One', cursive;
    background: linear-gradient(135deg, #1a2332 0%, #253041 50%, #2d3a4f 100%);
    background-attachment: fixed;
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-light) 100%);
    padding: 30px 0;
    border-bottom: 2px solid var(--heading-green);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px var(--shadow-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
}

.logo-img {
    width: 80px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Fredoka One', cursive;
    font-size: 32px;
    color: var(--heading-green-bright);
    text-shadow: 3px 3px 0px rgba(16, 185, 129, 0.3),
                 0 0 10px rgba(16, 185, 129, 0.5);
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav a:hover {
    color: var(--heading-green-bright);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    text-align: center;
    background-image: url('./images/hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.85) 0%, rgba(37, 48, 65, 0.85) 50%, rgba(45, 58, 79, 0.85) 100%),
                radial-gradient(circle at 30% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 42px;
    color: var(--heading-green-bright);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-bright) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-blue-bright) 0%, #93c5fd 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--heading-green) 0%, var(--heading-green-bright) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--heading-green-bright) 0%, #6ee7b7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Premi Section */
.premi {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-light) 100%);
}

.premi h2,
.giochi h2,
.risultati h2 {
    font-size: 36px;
    color: var(--heading-green-bright);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
}

.premi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.premio-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.premio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--heading-green);
}

.premio-data {
    color: var(--heading-green-bright);
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 600;
}

.premio-importo {
    font-size: 32px;
    color: var(--accent-yellow);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

.premio-card p {
    color: var(--text-light);
    font-size: 16px;
}

.premi-note {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.premi .btn {
    display: block;
    text-align: center;
    margin: 0 auto;
    max-width: 300px;
}

/* Giochi Section */
.giochi {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.giochi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.gioco-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 35px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.gioco-card::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    top: -40px;
    right: -40px;
    z-index: 0;
    pointer-events: none;
}

.gioco-card::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    bottom: -20px;
    left: -20px;
    z-index: 0;
    pointer-events: none;
}

.gioco-card:nth-child(1)::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5) 0%, rgba(16, 185, 129, 0.15) 70%, transparent 100%);
}

.gioco-card:nth-child(1)::after {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.5) 0%, rgba(251, 191, 36, 0.15) 70%, transparent 100%);
}

.gioco-card:nth-child(2)::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.5) 0%, rgba(59, 130, 246, 0.15) 70%, transparent 100%);
}

.gioco-card:nth-child(2)::after {
    background: radial-gradient(circle, rgba(249, 115, 22, 0.5) 0%, rgba(249, 115, 22, 0.15) 70%, transparent 100%);
}

.gioco-card:nth-child(3)::before {
    background: radial-gradient(circle, rgba(168, 85, 247, 0.5) 0%, rgba(168, 85, 247, 0.15) 70%, transparent 100%);
}

.gioco-card:nth-child(3)::after {
    background: radial-gradient(circle, rgba(236, 72, 153, 0.5) 0%, rgba(236, 72, 153, 0.15) 70%, transparent 100%);
}

/* Дополнительные маленькие шарики для каждой карточки */
.gioco-card {
    box-shadow: 0 4px 15px var(--shadow-color),
                inset 0 0 60px rgba(16, 185, 129, 0.03),
                inset 0 0 40px rgba(59, 130, 246, 0.02);
}

.gioco-card:nth-child(1) {
    box-shadow: 0 4px 15px var(--shadow-color),
                inset 0 0 60px rgba(16, 185, 129, 0.05),
                inset 0 0 40px rgba(251, 191, 36, 0.03);
}

.gioco-card:nth-child(2) {
    box-shadow: 0 4px 15px var(--shadow-color),
                inset 0 0 60px rgba(59, 130, 246, 0.05),
                inset 0 0 40px rgba(249, 115, 22, 0.03);
}

.gioco-card:nth-child(3) {
    box-shadow: 0 4px 15px var(--shadow-color),
                inset 0 0 60px rgba(168, 85, 247, 0.05),
                inset 0 0 40px rgba(236, 72, 153, 0.03);
}

.gioco-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: var(--accent-blue);
}

.gioco-card-image {
    display: block;
    max-width: 60%;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    padding: 20px;
    position: relative;
    z-index: 1;
}

.gioco-card h3 {
    font-size: 28px;
    color: var(--heading-green-bright);
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 1;
}

.gioco-card > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.gioco-details {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.gioco-details p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.7;
}

.gioco-details strong {
    color: var(--heading-green-bright);
}

.gioco-card .btn {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Risultati Section */
.risultati {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-light) 100%);
}

.risultati-content {
    max-width: 900px;
    margin: 0 auto;
}

.risultati-content p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: var(--bg-darker);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 30px;
}

.footer-lottery-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-lottery-logo {
    height: 80px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
}

.footer-lottery-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-section {
    margin-bottom: 50px;
}

.footer-heading {
    color: var(--heading-green-bright);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.footer-section p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom-left,
.footer-bottom-right {
    padding: 20px;
}

.footer-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.footer-logo-adm {
    display: flex;
    align-items: center;
    gap: 15px;
}

.adm-logo {
    width: 60px;
    height: 60px;
    border: 2px solid var(--text-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
}

.adm-text {
    color: var(--text-white);
    font-size: 14px;
    line-height: 1.4;
}

.responsabili-text {
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.footer-age-warning {
    display: flex;
    align-items: center;
    gap: 15px;
}

.age-icon {
    width: 50px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
    font-size: 18px;
}

.age-text {
    color: var(--text-white);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    max-width: 200px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 20px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--heading-green-bright);
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

/* Auth Section Styles */
.auth-section {
    padding: 100px 0;
    min-height: calc(100vh - 200px);
    background-color: var(--bg-dark);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.auth-container h2 {
    color: var(--heading-green-bright);
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 16px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    padding: 12px 15px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    color: var(--text-white);
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--heading-green-bright);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-label a {
    color: var(--heading-green-bright);
    text-decoration: underline;
}

.checkbox-label a:hover {
    color: var(--heading-green);
    text-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.btn-block {
    width: 100%;
    margin-top: 10px;
}

.auth-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.auth-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(52, 211, 153, 0.2) 100%);
    color: var(--heading-green-bright);
    border: 2px solid var(--heading-green);
    display: block;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.auth-message.error {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
    display: block;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 10px;
}

.auth-links a {
    color: var(--heading-green-bright);
    text-decoration: underline;
}

.auth-links a:hover {
    color: var(--heading-green);
    text-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* Dashboard Styles */
.dashboard-section {
    padding: 100px 0;
    min-height: calc(100vh - 200px);
    background-color: var(--bg-dark);
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.dashboard-welcome h2 {
    color: var(--heading-green-bright);
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.dashboard-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 18px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--heading-green);
}

.dashboard-card h3 {
    color: var(--heading-green-bright);
    font-size: 24px;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.dashboard-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.dashboard-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--heading-green);
}

.stat-icon {
    font-size: 40px;
    line-height: 1;
}

.stat-content h3 {
    color: var(--heading-green-bright);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.stat-content p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Dashboard Info Section */
.dashboard-info-section,
.dashboard-extractions,
.dashboard-reminders {
    margin-bottom: 60px;
}

.section-title {
    color: var(--heading-green-bright);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border-color: var(--accent-blue);
}

.info-card h3 {
    color: var(--heading-green-bright);
    font-size: 22px;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    color: var(--text-light);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 15px;
    line-height: 1.6;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: var(--heading-green-bright);
}

/* Extractions */
.extractions-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.extraction-item {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.extraction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    border-color: var(--accent-yellow);
}

.extraction-date {
    color: var(--heading-green-bright);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.extraction-numbers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.extraction-numbers .number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-bright) 100%);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.extraction-numbers .number.bonus {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, #fcd34d 100%);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.extraction-prize {
    text-align: center;
    color: var(--accent-yellow);
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(251, 191, 36, 0.4);
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.btn-large {
    padding: 18px 35px;
    font-size: 18px;
}

/* Reminders */
.reminders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.reminder-card {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-darker) 100%);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-light);
    box-shadow: 0 4px 15px var(--shadow-color);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.reminder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    border-color: var(--heading-green);
}

.reminder-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.reminder-card h3 {
    color: var(--heading-green-bright);
    font-size: 20px;
    margin-bottom: 10px;
    text-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.reminder-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-light);
}

.legal-content h1 {
    color: var(--heading-green);
    font-size: 36px;
    margin-bottom: 20px;
}

.legal-content h2 {
    color: var(--heading-green);
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content h3 {
    color: var(--heading-green);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-content a {
    color: var(--heading-green);
    text-decoration: underline;
}

.legal-content a:hover {
    color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-darker);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 18px;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 60px 0;
        background-attachment: scroll;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 28px;
        padding: 0 10px;
    }

    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }

    .premi,
    .giochi,
    .risultati {
        padding: 60px 0;
    }

    .premi h2,
    .giochi h2,
    .risultati h2 {
        font-size: 28px;
        padding: 0 10px;
    }

    .section-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }

    .premi-grid,
    .giochi-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .premio-card,
    .gioco-card {
        padding: 25px;
    }


    .footer {
        padding: 40px 0 20px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logos {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-age-warning {
        flex-direction: column;
        text-align: center;
    }

    .age-text {
        max-width: 100%;
        font-size: 11px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .legal-content h1 {
        font-size: 28px;
    }

    .legal-content h2 {
        font-size: 24px;
    }

    .legal-content h3 {
        font-size: 20px;
    }

    .auth-container {
        padding: 30px 20px;
    }

    .auth-container h2 {
        font-size: 28px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-actions {
        flex-direction: column;
    }

    .dashboard-actions .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .reminders-grid {
        grid-template-columns: 1fr;
    }

    .extraction-numbers {
        gap: 8px;
    }

    .extraction-numbers .number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
    }

    .logo-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 60px;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .footer-logo-img {
        height: 50px;
        max-width: 150px;
        margin-bottom: 20px;
    }

    .footer-lottery-logos {
        gap: 20px;
    }

    .footer-lottery-logo {
        height: 60px;
        max-width: 120px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .hero-description {
        font-size: 15px;
    }

    .premi h2,
    .giochi h2,
    .risultati h2 {
        font-size: 24px;
    }

    .premio-importo {
        font-size: 28px;
    }

    .gioco-card h3 {
        font-size: 24px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }
}

