        /* Color variables aligned with Domusbet premium styling */
        :root {
            --color-bg-body: #0c1013;
            --color-bg-header: #121212;
            --color-bg-content: #000000;
            --color-bg-card: #181d21;
            --color-brand-red: #c12223;
            --color-brand-red-hover: #a81c1d;
            --color-brand-gold: #c12223;
            --color-brand-gold-hover: #a81c1d;
            --color-brand-green: #008144;
            --color-brand-green-hover: #006a37;
            --color-text-white: #ffffff;
            --color-text-secondary: #ffffff;
            --color-border-card: #283038;
            --font-main: 'Geologica', sans-serif;
            --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.5);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Reset & Base Styles */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Geologica', sans-serif !important;
        }

        body {
            font-family: var(--font-main);
            background-color: var(--color-bg-body);
            color: var(--color-text-white);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        /* Custom Scrollbars */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #0d1216;
        }

        ::-webkit-scrollbar-thumb {
            background: #232d36;
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--color-brand-red);
        }

        /* Utilities */
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Buttons styling */
        .btn-premium {
            font-family: var(--font-main);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 12px 28px;

            font-size: 1rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            cursor: pointer;
            border: none;
            transition: var(--transition-smooth);
        }

        .btn-gold {
            background-color: var(--color-brand-gold);
            color: var(--color-text-white) !important;
        }

        .btn-sign {
            background-color: #1e1e1e;
            border: 2px solid #c12223;
            color: var(--color-text-white) !important;
        }

        .btn-sign:hover {
            background-color: var(--color-brand-gold-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(193, 34, 35, 0.4);
        }

        .btn-gold:hover {
            background-color: var(--color-brand-gold-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(193, 34, 35, 0.4);
        }

        .btn-red {
            background-color: var(--color-brand-red);
            color: var(--color-text-white) !important;
        }

        .btn-red:hover {
            background-color: var(--color-brand-red-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(193, 34, 35, 0.4);
        }

        .btn-green {
            background-color: var(--color-brand-green);
            color: var(--color-text-white) !important;
        }

        .btn-green:hover {
            background-color: var(--color-brand-green-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 129, 68, 0.4);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--color-text-white);
            border: 2px solid var(--color-border-card);
        }

        .btn-outline:hover {
            background-color: rgba(255, 255, 255, 0.05);
            border-color: var(--color-text-white);
        }

        /* Header & Navigation */
        .db-header {
            background-color: var(--color-bg-header);
            border-bottom: 2px solid var(--color-brand-red);
            padding: 15px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }

        .db-logo img {
            height: 48px;
            display: block;
            transition: var(--transition-smooth);
        }

        .db-logo img:hover {
            transform: scale(1.03);
        }

        .db-auth-container {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .db-login-form {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .db-input-group {
            position: relative;
        }

        .db-input {
            background-color: #1e252b;
            border: 1px solid var(--color-border-card);
            color: var(--color-text-white);
            padding: 10px 14px;
            border-radius: 6px;
            font-size: 0.9rem;
            outline: none;
            width: 140px;
            font-family: var(--font-main);
            transition: var(--transition-smooth);
        }

        .db-input:focus {
            border-color: var(--color-brand-red);
            background-color: #242c33;
        }

        .db-auth-links {
            display: flex;
            flex-direction: column;
            font-size: 0.75rem;
            color: var(--color-text-secondary);
        }

        .db-link-recovery:hover {
            color: var(--color-brand-gold);
            text-decoration: underline;
        }

        /* Navbar */
        .db-navbar {
            background-color: #c12223;

            padding: 10px 0;
        }

        .db-navbar-list {
            display: flex;
            list-style: none;
            gap: 25px;
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: none;
            /* Hide scrollbar for clean menu look */
        }

        .db-navbar-list::-webkit-scrollbar {
            display: none;
        }

        .db-navbar-link {
            font-size: 0.95rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            color: #fff;
            padding: 5px 0;
            position: relative;
        }

        .db-navbar-link:hover,
        .db-navbar-link.active {
            color: 251f1f;
        }

        .db-navbar-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-brand-red);
            transition: var(--transition-smooth);
        }

        .db-navbar-link:hover::after,
        .db-navbar-link.active::after {
            width: 100%;
        }

        /* Hero Banner Section */
        .hero-section {
            background: url('https://www.domusbet.it/external_cms/DOMUSBET/promo/desktop/test/fantaplayerbet/sfondo-desk3.jpg') no-repeat center center / cover;
            padding: 130px 0;
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--color-border-card);
        }

        /* Hero visual layout elements */
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;

            pointer-events: none;
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            text-align: left;
        }

        .hero-text-block {
            max-width: 580px;
        }

        .hero-mobile-image-wrap {
            display: none;
        }

        .hero-badge {
            background-color: var(--color-brand-red);
            color: var(--color-text-white);
            font-size: 0.85rem;
            font-weight: 700;
            padding: 6px 16px;
            border-radius: 50px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            display: inline-block;
            margin-bottom: 20px;
            box-shadow: 0 0 15px rgba(193, 34, 35, 0.4);
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 900;
            letter-spacing: -1px;
            text-transform: uppercase;
            line-height: 1.1;
            margin-bottom: 15px;
            background: linear-gradient(to right, #ffffff, #e5e5e5);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .hero-highlight {
            font-size: 6rem;
            font-weight: 900;
            color: var(--color-brand-gold);
            display: block;
            line-height: 1;
            margin: 15px 0;
            text-shadow: 0 0 30px rgba(193, 34, 35, 0.4), 0 0 60px rgba(193, 34, 35, 0.2);
            animation: pulse-glow 2.5s infinite alternate;
        }

        @keyframes pulse-glow {
            from {
                text-shadow: 0 0 30px rgba(193, 34, 35, 0.4);
                transform: scale(1);
            }

            to {
                text-shadow: 0 0 45px rgba(193, 34, 35, 0.6), 0 0 80px rgba(193, 34, 35, 0.3);
                transform: scale(1.02);
            }
        }

        .hero-subtitle {
            font-size: 1.25rem;
            color: var(--color-text-secondary);
            margin-bottom: 35px;
            font-weight: 300;
            line-height: 1.6;
        }

        .hero-cta {
            display: flex;
            gap: 15px;
            /* distanza tra i bottoni */
            justify-content: left;
            /* opzionale */
            align-items: center;
            flex-wrap: wrap;
            /* su mobile vanno sotto */
        }

        .hero-cta .btn-premium {
            padding: 16px 45px;
            font-size: 1.2rem;

            box-shadow: 0 0 25px rgba(193, 34, 35, 0.3);
        }

        /* Offer Summary Cards */
        .summary-section {
            background-color: var(--color-bg-content);
            padding: 40px 0;
        }

        .summary-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 16px;
        }

        .summary-card {
            background-color: var(--color-bg-card);
            border: 1px solid var(--color-border-card);
            border-radius: 16px;
            padding: 0;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .summary-card:hover {
            transform: translateY(-4px);
            border-color: var(--color-brand-red);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
        }

        .hero-mobile-2 {
            width: 100%;
            height: 140px;
            object-fit: cover;
            display: block;
        }

        .card-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
        }

        .card-icon-wrapper {
            background-color: rgba(193, 34, 35, 0.1);
            border: 1px solid rgba(193, 34, 35, 0.2);
            width: 60px;
            height: 60px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            flex-shrink: 0;
            color: var(--color-brand-red);
            box-shadow: inset 0 0 10px rgba(193, 34, 35, 0.1);
        }

        .summary-card:hover .card-icon-wrapper {
            background-color: var(--color-brand-red);
            color: var(--color-text-white);
            box-shadow: 0 0 15px rgba(193, 34, 35, 0.4);
        }

        .card-title {
            font-size: 1.2rem;
            line-height: 1.2;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
            color: #c12223;
        }

        .card-desc {
            font-size: 0.95rem;
            color: var(--color-text-secondary);
            line-height: 1.5;
        }

        .card-desc strong {
            color: #c12223;
        }

        /* Banner Image Wrapper */
        .promo-banner-img-wrap {
            max-width: 1200px;
            margin: 0 auto 30px auto;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-premium);
            border: 1px solid var(--color-border-card);
        }

        .promo-banner-img-wrap img {
            width: 100%;
            height: auto;
            display: block;
            transition: var(--transition-smooth);
        }

        .promo-banner-img-wrap:hover img {
            transform: scale(1.01);
        }

        /* Main Accordion */
        .details-section {
            background-color: var(--color-bg-content);
            padding: 20px 0 60px 0;
        }

        .accordion-item {
            background-color: var(--color-bg-card);
            border: 1px solid var(--color-border-card);
            border-radius: 12px;
            margin-bottom: 16px;
            overflow: hidden;
            transition: var(--transition-smooth);
        }

        .accordion-item:hover {
            border-color: #35424d;
        }

        .accordion-header {
            width: 100%;
            background: none;
            border: none;
            color: var(--color-text-white);
            padding: 22px 28px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            font-family: var(--font-main);
            font-size: 1.25rem;
            font-weight: 700;
            text-transform: uppercase;
            text-align: left;
            transition: var(--transition-smooth);
        }

        .accordion-header:hover {
            background-color: rgba(255, 255, 255, 0.02);
            color: var(--color-brand-gold);
        }

        .accordion-header.active {
            background-color: rgba(193, 34, 35, 0.05);
            border-bottom: 1px solid var(--color-border-card);
            color: var(--color-text-white);
        }

        .accordion-icon {
            font-size: 1.5rem;
            color: var(--color-text-secondary);
            transition: var(--transition-smooth);
        }

        .accordion-header.active .accordion-icon {
            transform: rotate(45deg);
            color: var(--color-brand-red);
        }

        .accordion-panel {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background-color: #111417;
        }

        .accordion-panel.show {
            max-height: 30000px;
            /* Fallback big height, override dynamically in JS */
            overflow-y: hidden;
        }



        .panel-content {
            padding: 30px;
        }

        /* Rules list items */
        .rules-list {
            list-style: none;
        }

        .rules-list li {
            position: relative;
            padding-left: 30px;
            margin-bottom: 20px;
            font-size: 1rem;
            color: #fff;
            line-height: 1.6;
        }

        .rules-list li::before {
            content: '•';
            position: absolute;
            left: 10px;
            top: -2px;
            color: var(--color-brand-red);
            font-size: 1.8rem;
            line-height: 1;
        }

        .panel-content.p {
            color: #fff;
        }

        .rules-list li strong {
            color: #c12223;
            display: inline-block;
            margin-right: 5px;
        }

        /* Rankings Tabbed Component */
        .rankings-tabs-header {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            border-bottom: 1px solid var(--color-border-card);
            padding-bottom: 15px;
            margin-bottom: 25px;

            width: 100%;
        }

        .rank-tab-btn {
            background-color: #1e252b;
            border: 1px solid var(--color-border-card);
            color: var(--color-text-secondary);
            padding: 10px 20px;
            border-radius: 8px;
            font-family: var(--font-main);
            font-size: 0.9rem;
            font-weight: 700;
            cursor: pointer;
            text-transform: uppercase;
            transition: var(--transition-smooth);
        }

        .rank-tab-btn:hover {
            color: var(--color-text-white);
            background-color: #242d34;
        }

        .rank-tab-btn.active {
            background-color: var(--color-brand-red);
            border-color: var(--color-brand-red);
            color: var(--color-text-white);
            box-shadow: 0 4px 12px rgba(193, 34, 35, 0.3);
        }

        .rankings-table-container {
            display: none;
            animation: fadeIn 0.4s ease-in-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(5px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Styled Tables */
        .table-responsive {
            width: 100%;
            overflow-x: auto;
            border-radius: 8px;
            border: 1px solid var(--color-border-card);
            background-color: var(--color-bg-card);
			scrollbar-width: none; 
    		-ms-overflow-style: none; 
        }
		.table-responsive::-webkit-scrollbar {
			display: none; /* Chrome, Safari, Opera */
		}

        .styled-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 0.95rem;
            text-align: center;
        }

        .styled-table th,
        .styled-table td {
            padding: 9px 18px;
            border-bottom: 1px solid var(--color-border-card);
        }

        .styled-table th {
            background-color: #121619;
            color: var(--color-brand-gold);
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.8rem;
            letter-spacing: 1px;
            border-bottom: 2px solid var(--color-brand-red);
        }

        .styled-table td {
            color: var(--color-text-white);
        }

        .styled-table tbody tr {
            transition: var(--transition-smooth);
        }

        .styled-table tbody tr:nth-child(even) {
            background-color: rgba(255, 255, 255, 0.01);
        }

        .styled-table tbody tr:hover {
            background-color: rgba(255, 255, 255, 0.03);
        }

        .styled-table tbody tr:last-child td {
            border-bottom: none;
        }

        /* Montepremi tables layout */
        .prize-tables-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
            margin-bottom: 25px;
        }

        .prize-table-box {
            background-color: var(--color-bg-card);
            border: 1px solid var(--color-border-card);
            border-radius: 12px;
            padding: 20px;
        }

        .prize-table-box h3 {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--color-brand-red);
            margin-bottom: 15px;
            text-transform: uppercase;
            border-bottom: 2px solid var(--color-border-card);
            padding-bottom: 10px;
        }

        .prize-table-full {
            grid-column: span 2;
        }

        /* FAQ list styling */
        .faq-list {
            list-style: none;
        }

        .faq-item {
            background-color: rgba(255, 255, 255, 0.01);
            border: 1px solid var(--color-border-card);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 12px;
            transition: var(--transition-smooth);
        }

        .faq-item:hover {
            background-color: rgba(255, 255, 255, 0.02);
            border-color: #3b4b57;
        }

        .faq-question {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--color-brand-gold);
            margin-bottom: 8px;
            text-transform: uppercase;
        }

        .faq-answer {
            font-size: 0.95rem;
            color: #fff;
            line-height: 1.6;
        }

        /* Footer Section */
        .db-footer {
            background-color: #090c0f;
            border-top: 1px solid var(--color-border-card);
            padding: 50px 0 30px 0;
            color: var(--color-text-secondary);
            font-size: 0.85rem;
        }

        .footer-disclaimer {
            background-color: #0c1013;
            border: 1px solid rgba(193, 34, 35, 0.3);
            border-left: 4px solid var(--color-brand-red);
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 40px;
            color: var(--color-text-white);
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 0.9rem;
        }

        .footer-disclaimer-icon {
            font-size: 2rem;
            color: var(--color-brand-red);
            flex-shrink: 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-col-title {
            color: var(--color-text-white);
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 20px;
            letter-spacing: 0.5px;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--color-text-secondary);
        }

        .footer-links a:hover {
            color: var(--color-brand-gold);
            text-decoration: underline;
        }

        .footer-bottom {
            border-top: 1px solid var(--color-border-card);
            padding-top: 30px;
            text-align: center;
            line-height: 1.8;
            font-size: 0.8rem;
        }

        .rankings-bottom {
            display: flex;
            justify-content: space-between;
            align-items: stretch;
            gap: 30px;
            margin-top: 10px;
            width: 100%;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 1024px) and (min-width: 769px) {
            .summary-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                background: #0c1013 !important;
                padding: 0;
                border-bottom: none;
            }

            .hero-section::before {
                display: none;
            }

            .hero-content {
                padding: 0;
                display: block;
            }

            /*.hero-text-block {
        display: none !important;
      }*/

            .hero-mobile-image-wrap {
                display: block;
                width: 100%;
            }

            .hero-mobile-img {
                width: 100%;
                height: auto;
                display: block;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .hero-highlight {
                font-size: 4rem;
            }

            .summary-grid {
                grid-template-columns: 1fr;
            }

            .prize-tables-grid {
                grid-template-columns: 1fr;
            }

            .prize-table-full {
                grid-column: span 1;
            }

            .db-header {
                padding: 12px 0;
            }

            .header-content {
                flex-direction: column;
                align-items: center;
            }

            .db-auth-container {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }

            .footer-grid {
                grid-template-columns: 1fr;
            }

            .accordion-header {
                padding: 18px 20px;
                font-size: 1.1rem;
            }

            .panel-content {
                padding: 20px;
            }
        }

        @media (max-width: 768px) {

            .hero-content {
                display: flex;
                flex-direction: column;
            }

            /* prima l'immagine */
            .hero-mobile-image-wrap {
                order: 1;
            }

            /* poi il testo */
            .hero-text-block {
                order: 2;
                text-align: center;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                width: 100%;
            }

            .hero-highlight {
                margin: 2px auto 5px;
            }

            .hero-cta {
                display: flex;
                justify-content: center;
                gap: 16px;
                flex-wrap: wrap;
            }

            .hero-subtitle {
                max-width: 550px;
                margin: 10px auto;
                font-size: 12px;
                color: #fff;
            }
        }
		/* Stili per la sezione di ricerca */
        .ricerca-section {
            margin-top: 40px;
            padding: 20px;
            border: 1px solid #ddd;
            border-radius: 8px;
            background-color: #f9f9f9;
            text-align: center;
        }

        .ricerca-section h2 {
            color: #c12223;
            font-size: 1.8em;
            margin-bottom: 15px;
        }

        .ricerca-container input[type="text"] {
            padding: 10px;
            width: 60%;
            max-width: 300px;
            margin-right: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box; /* Include padding e border nella larghezza */
        }

        .ricerca-container button {
            padding: 10px 20px;
            background-color: #c12223;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s ease;
        }

        .ricerca-container button:hover {
            background-color: #c12223;
        }

        #risultatiRicerca {
            margin-top: 20px;
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
			color: black;
			text-align: center;
        }

        #risultatiRicerca h3 {
            color: #333;
            margin-top: 0;
        }

        #risultatiRicerca table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }

        #risultatiRicerca th, #risultatiRicerca td {
            border: 1px solid #eee;
            padding: 8px;
            text-align: left;
        }

        #risultatiRicerca th {
            background-color: #c12223;   /* BORDO DI CLASSIFICA, POSIZIONE, PUNTEGGIO DELLE CLASSIFICHE*/
        }

        .no-results {
            color: red;
            font-weight: bold;
            margin-top: 10px;
        }