/* =========================================
   STYLE.CSS - APUESTALOCA 2026
   ========================================= */

:root {
    --primary-dark: #0a0e17;
    --secondary-dark: #161b22;
    --accent-gold: #ffcc00;
    --text-white: #ffffff;
    --text-gray: #a0a6b1;
    --success-green: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden; /* Evita scorrimenti laterali fastidiosi */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Bandiere --- */
.header-main {
    background: var(--secondary-dark);
    padding: 10px 0;
    border-bottom: 2px solid #1f242d;
}

.flag-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.flag-header img {
    width: 32px;
    height: auto;
    border-radius: 3px;
    transition: transform 0.2s;
}

.flag-header img:hover {
    transform: scale(1.2);
}

/* --- Hero Section --- */
.hero-1xbet {
    text-align: center;
    padding: 60px 0 40px;
}

.hero-1xbet h1 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
}

.gold {
    color: var(--accent-gold);
}

.lead {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* --- Bonus Card --- */
.main-bet-card {
    background: linear-gradient(145deg, #1a1f2b, #0d1117);
    border: 1px solid #2a2f3b;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.main-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.bonus-box h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin: 15px 0;
}

.btn-visit-main {
    display: inline-block;
    background: var(--accent-gold);
    color: #000;
    padding: 18px 40px;
    font-weight: 900;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-visit-main:hover {
    background: #e6b800;
}

/* --- Tabelle Alternative (Desktop) --- */
.alt-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: var(--secondary-dark);
    border-radius: 10px;
    overflow: hidden;
}

.alt-table th {
    background: #1f242d;
    padding: 15px;
    text-align: left;
}

.alt-table td {
    padding: 20px;
    border-bottom: 1px solid #2a2f3b;
}

.btn-alt {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
}

/* --- FAQ & SEO Content --- */
.content-seo {
    margin: 40px 0;
}

.content-seo h2, .content-seo h3 {
    margin-bottom: 20px;
}

.faq-container {
    background: #161b22;
    padding: 25px;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-item h4 {
    color: var(--accent-gold);
    margin-bottom: 5px;
}

/* --- Footer --- */
.footer-serio {
    background: #05070a;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 2px solid #1f242d;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.trust-icons {
    display: flex;
    gap: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* =========================================
   MEDIA QUERIES - OTTIMIZZAZIONE MOBILE
   ========================================= */

@media (max-width: 768px) {
    
    /* Hero */
    .hero-1xbet h1 { font-size: 2rem; }

    /* Tabelle Alternative trasformate in Card pulite */
    .alt-table thead { display: none; }
    .alt-table, .alt-table tbody, .alt-table tr, .alt-table td {
        display: block;
        width: 100%;
    }
    
    .alt-table tr {
        margin-bottom: 20px;
        background: #1a1f2b;
        border-radius: 12px;
        padding: 20px;
        border: 1px solid #2a2f3b;
    }

    .alt-table td {
        text-align: center;
        padding: 8px 0;
        border: none;
    }

    .alt-table td strong {
        font-size: 1.4rem;
        display: block;
        margin-bottom: 10px;
        color: var(--text-white);
    }

    /* Bottone Visitar stile App */
    .btn-alt {
        display: block;
        background: var(--accent-gold);
        color: #000;
        padding: 12px;
        border-radius: 8px;
        margin-top: 10px;
        text-align: center;
    }

    /* Footer: Centratura e pulizia liste */
    .footer-serio {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr; /* Una colonna sola su mobile */
        gap: 30px;
    }

    .footer-links {
        list-style: none; /* Rimuove i pallini fastidiosi */
        padding: 0;
    }

    .footer-links li {
        margin: 12px 0;
    }

    .trust-icons {
        justify-content: center;
        margin-top: 20px;
    }

    .footer-bottom {
        border-top: 1px solid #1f242d;
        margin-top: 20px;
    }
}
/* style.css */

/* Applica un margine interno di sicurezza a tutte le sezioni di testo */
.content-seo, 
.faq-container, 
.hero-1xbet p,
.alternatives h3 {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box; /* Assicura che il padding non allarghi il contenitore */
}

/* Ottimizzazione specifica per il mobile */
@media (max-width: 768px) {
    .content-seo p, 
    .content-seo ul, 
    .faq-item p,
    .faq-item h4 {
        margin-left: 10px;
        margin-right: 10px;
    }
    
    /* Centratura rifinita per il footer */
    .footer-col p {
        padding: 0 15px;
    }
}