/* ── Toto Amici - Guida al gioco ─────────────────────────────── */

/* Hero */
.toto-guide-hero {
    text-align: center;
}


/* Section titles */
.toto-guide-section-title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #E6E8EC;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-align: center;
}

.toto-guide-section-title .accent {
    color: #A3FF00;
}

.toto-guide-section-subtitle {
    font-size: 1rem;
    color: #94A3B8;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.55;
}

/* Intro box */
.toto-guide-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: rgba(163, 255, 0, 0.08);
    border: 1px solid rgba(163, 255, 0, 0.25);
    border-radius: 16px;
    color: #E6E8EC;
}

.toto-guide-intro__icon {
    flex-shrink: 0;
    font-size: 1.8rem;
    color: #A3FF00;
    line-height: 1;
}

.toto-guide-intro__text {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.toto-guide-intro__text strong {
    color: #E6E8EC;
}

/* Mode cards */
.toto-guide-mode-card {
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.toto-guide-mode-card:hover {
    border-color: rgba(163, 255, 0, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.toto-guide-mode-number {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #A3FF00;
    line-height: 1;
    margin-bottom: 0.75rem;
    text-align: center;
}

.toto-guide-mode-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #A3FF00;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    margin-bottom: 0.75rem;
}

.toto-guide-mode-card p {
    font-size: 0.9rem;
    color: #CBD5E1;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}

.toto-guide-mode-card p:last-child {
    margin-bottom: 0;
}

.toto-guide-mode-example {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    font-size: 0.85rem;
    color: #E6E8EC;
    text-align: center;
    line-height: 1.5;
}

.toto-guide-mode-example strong {
    color: #A3FF00;
}

/* Points cards (inside step 4) */
.toto-guide-points-card {
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.toto-guide-points-card:hover {
    border-color: rgba(163, 255, 0, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.toto-guide-points-card--highlight {
    border-color: rgba(163, 255, 0, 0.45);
    background: linear-gradient(135deg, #0B132B 60%, rgba(163, 255, 0, 0.06));
}

.toto-guide-points-card__icon {
    font-size: 1.8rem;
    color: #A3FF00;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.toto-guide-points-card__title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #E6E8EC;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.toto-guide-points-card__difficulty {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-bottom: 0.75rem;
}

.toto-guide-points-card__value {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #A3FF00;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.toto-guide-points-card__note {
    font-size: 0.78rem;
    color: #94A3B8;
    margin: 0;
}

/* Steps */
.toto-guide-step {
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 16px;
    padding: 24px;
}

.toto-guide-step__header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.toto-guide-step__number {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #A3FF00;
    line-height: 1;
    flex-shrink: 0;
}

.toto-guide-step__title {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #E6E8EC;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1.2;
}

.toto-guide-step__text {
    color: #CBD5E1;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .toto-guide-step {
        padding: 18px;
    }

    .toto-guide-step__number {
        font-size: 2rem;
    }

    .toto-guide-step__title {
        font-size: 1.25rem;
    }

    .toto-guide-step__text {
        font-size: 0.95rem;
    }
}

/* Timeline */
.toto-guide-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 16px;
}

.toto-guide-timeline__item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.toto-guide-timeline__item:last-child {
    border-bottom: none;
}

.toto-guide-timeline__time {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFD700;
    text-align: right;
}

.toto-guide-timeline__content {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #E6E8EC;
    font-size: 0.95rem;
}

.toto-guide-timeline__content i {
    color: #A3FF00;
    flex-shrink: 0;
}

/* Info boxes */
.toto-guide-note {
    background: #0B132B;
    border: 1px solid #1F2937;
    border-left: 4px solid #A3FF00;
    border-radius: 12px;
    padding: 18px 20px;
    color: #E6E8EC;
}

.toto-guide-note--highlight {
    border-left-color: #FFD700;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05), #0B132B);
}

.toto-guide-note h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #A3FF00;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toto-guide-note--highlight h4 {
    color: #FFD700;
}

.toto-guide-note p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #CBD5E1;
    margin-bottom: 0.5rem;
}

.toto-guide-note p:last-child {
    margin-bottom: 0;
}

.toto-guide-list {
    margin: 0 0 0.75rem;
    padding-left: 1.2rem;
    color: #CBD5E1;
    font-size: 0.9rem;
    line-height: 1.65;
}

.toto-guide-list li {
    margin-bottom: 0.35rem;
}

/* Counter */
.toto-guide-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    min-height: 180px;
}

.toto-guide-counter__value {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #A3FF00;
    line-height: 1;
}

.toto-guide-counter__label {
    font-size: 0.85rem;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 4px;
}

/* FAQ */
.toto-guide-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toto-guide-faq__item {
    background: #0B132B;
    border: 1px solid #1F2937;
    border-radius: 12px;
    overflow: hidden;
}

.toto-guide-faq__item summary {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 18px;
    color: #E6E8EC;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}

.toto-guide-faq__item summary::-webkit-details-marker {
    display: none;
}

.toto-guide-faq__item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: #A3FF00;
    line-height: 1;
    font-weight: 400;
}

.toto-guide-faq__item[open] summary::after {
    content: '\2212';
}

.toto-guide-faq__answer {
    padding: 0 18px 16px;
    color: #CBD5E1;
    font-size: 0.9rem;
    line-height: 1.6;
}

.toto-guide-faq__answer p:last-child {
    margin-bottom: 0;
}

/* CTA */
.toto-guide-cta {
    text-align: center;
    padding: 28px;
    background: linear-gradient(135deg, rgba(163, 255, 0, 0.08), #0B132B);
    border: 1px solid rgba(163, 255, 0, 0.25);
    border-radius: 16px;
}

.toto-guide-cta h3 {
    color: #E6E8EC;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 0.5rem;
}

.toto-guide-cta p {
    color: #CBD5E1;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.toto-guide-cta__btn {
    background: #A3FF00;
    border-color: #A3FF00;
    color: #0B132B;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 8px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.toto-guide-cta__btn:hover,
.toto-guide-cta__btn:focus {
    background: #C6FF4D;
    border-color: #C6FF4D;
    color: #0B132B;
}

/* Responsive */
@media (max-width: 575px) {
    .toto-guide-hero h1 {
        font-size: 2rem;
    }

    .toto-guide-intro {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .toto-guide-timeline__item {
        grid-template-columns: 60px 1fr;
        gap: 12px;
    }

    .toto-guide-timeline__time {
        font-size: 1.1rem;
    }

    .toto-guide-timeline__content {
        font-size: 0.88rem;
    }
}
