/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* Color Variables */
:root {
    --casino-purple: #2E1742;
    --casino-green: #61CE70;
    --casino-blue: #6EC1E4;
    --casino-gray: #54595F;
    --casino-text: #7A7A7A;
    --casino-secondary: #F2F2F2;
}

/* Navigation */
.casino-navigation {
    background-color: var(--casino-secondary);
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-text {
    font-size: 0.875rem;
    color: #666;
}

.nav-link {
    color: var(--casino-blue);
    text-decoration: underline;
}

.nav-link:hover {
    color: #5bb0d4;
}

.nav-logo {
    display: none;
}

@media (min-width: 1024px) {
    .nav-logo {
        display: flex;
        align-items: center;
    }
}

.logo-img {
    height: 2rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: inline;
}

.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #ddd;
    padding: 0.5rem 1rem;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-text {
    font-size: 0.875rem;
    color: #666;
}

/* Hero Section */
.hero-section {
    background-color: #A050CE;
    background-image: url("images/Progetto-senza-titolo-4.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #A050CE;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 0;
}

.hero-logo {
    margin-bottom: 2rem;
}

.tonybet-logo {
    height: 4rem;
    width: auto;
}

@media (min-width: 1024px) {
    .tonybet-logo {
        height: 5rem;
    }
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
}

.text-green {
    color: white;
}

.cta-button {
    display: inline-block;
    background-color: #FF530B;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    padding: 15px 30%;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-button:hover {
    background-color: #d14509;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 102, 0, 0.366);
}

.features-list {
        display: flex
;
    justify-content: space-between;
    list-style: none;
    color: white;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.features-list li {
    margin-bottom: 0.5rem;
}

.casino-logo {
    margin-bottom: 2rem;
}

.casino-logo-img {
    height: 8rem;
    width: auto;
}

/* Casino Section */
.casino-section {
     background-color: #A050CE;
    background-image: url('images/Progetto-senza-titolo-4.jpg');
     background-size: cover;
    background-position: center;
    position: relative;
    min-height: 710px;
    display: flex;
    align-items: center;
    justify-content: center;


}
.with{
    margin-top: 20px;
    width: 25%;
    margin-left: 30px;
}
.section-logo {
    margin-bottom: 2rem;
}

.tonybet-logo-small {
    
    height: 4rem;
    width: auto;
        height: auto;
    border-radius: 50px;
}

.section-title {
       font-family: "Red Hat Text", Sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.4em;
    color: white;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--casino-green);
    margin-bottom: 2rem;
}

@media (min-width: 1024px) {
    .section-subtitle {
        font-size: 2rem;
    }
}

.casino-features {
      
    font-size: 18px;
    font-weight: 500;
    
    margin-top: 40%;
}

.casino-features li {
      
    font-size: 18px;
    font-weight: 500;
}

.license-notice {
        display: flex
;
    flex-direction: column;
    margin-top: 2rem;
}

.license-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: #666;
    text-decoration: underline;
}

.license-link:hover {
    color: #333;
}

/* Legal Section */
.legal-section {
    background-color: #2E1742;
    padding: 2rem 0;
    text-align: center;
}

.age-badge {
    margin-bottom: 1.5rem;
}

.age-logo {
    height: 4rem;
    width: auto;
}

.legal-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.legal-text {
    color: white;
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.legal-text p {
    margin-bottom: 1rem;
    color: #AAAAAA;
}

.legal-text p:last-child {
    margin-bottom: 0;
    color: #AAAAAA;
}

/* Footer */
.footer {
    background-color: #2E1742;
    padding: 3rem 0;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .partner-logos {
        grid-template-columns: repeat(4, 1fr);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    height: 3rem;
    width: auto;
}

.gamcare-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.copyright {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

.footer-link {
    color: var(--casino-blue);
    font-weight: 500;
    text-decoration: underline;
}

.footer-link:hover {
    color: #5bb0d4;
}

.disclaimer {
    color: #666;
    font-size: 0.875rem;
    line-height: 1.6;
}

.disclaimer p {
    margin-bottom: 1rem;
}

.disclaimer p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1.25rem;
    }
    
    .casino-section {
        padding: 2rem 0;
    }
    
    .legal-section {
        padding: 1.5rem 0;
    }
    
    .footer {
        padding: 2rem 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .cta-button {
        transition: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* Focus styles */
button:focus,
a:focus {
    outline: 2px solid var(--casino-blue);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .casino-navigation,
    .mobile-menu {
        display: none;
    }
    
    .hero-section,
    .legal-section {
        background: white !important;
        color: black !important;
    }
    
    .hero-title,
    .legal-title {
        color: black !important;
    }
}
