.bg-gradient-azores {
    background: linear-gradient(135deg, #003087 0%, #006400 60%, #87CEEB 100%);
}
.animate-wave {
    transition: transform 0.3s cubic-bezier(.4,2,.3,1), box-shadow 0.3s cubic-bezier(.4,2,.3,1);
}
.animate-wave:hover, .card:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: 0 8px 32px 0 #00308744, 0 1.5px 8px 0 #00640033;
    z-index: 2;
}
.card {
    border-radius: 2rem;
    box-shadow: 0 2px 12px 0 #00308722;
    transition: box-shadow 0.3s, border 0.3s;
    border: none;
    margin-bottom: 1.5rem;
}
.card-title, .display-6, h3, h4 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.card .badge {
    font-size: 1rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px #00308722;
}
.btn-primary, .btn-primary:focus {
    background: linear-gradient(90deg, #003087 0%, #006400 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px #00308733;
    transition: box-shadow 0.3s, background 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #006400 0%, #003087 100%);
    box-shadow: 0 4px 16px #00308755;
}
footer {
    background: linear-gradient(90deg, #003087 0%, #006400 100%);
    color: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.section-title, h2 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 2rem;
}
@media (max-width: 991px) {
    .card {
        border-radius: 1.2rem;
    }
    .display-6 {
        font-size: 1.5rem;
    }
}
@media (max-width: 767px) {
    .card {
        border-radius: 1rem;
    }
    .display-6 {
        font-size: 1.2rem;
    }
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.2rem;
    }
} 

:focus {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #FFD70044;
    z-index: 10;
}

.btn-primary:focus, .btn:focus, .form-control:focus, .form-check-input:focus, a:focus {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px #FFD70044;
}

a:focus-visible {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px;
} 

header.bg-gradient-azores, .bg-gradient-azores {
    background: linear-gradient(120deg, #181c2f 0%, #232946 60%, #00e0d3 100%);
    box-shadow: 0 4px 24px 0 #00e0d355, 0 1.5px 8px 0 #23294633;
    backdrop-filter: blur(2px);
    border-bottom: 1.5px solid #00e0d355;
}

footer.bg-gradient-azores {
    background: linear-gradient(120deg, #181c2f 0%, #232946 60%, #7f5af0 100%);
    color: #fff;
    box-shadow: 0 -4px 24px 0 #7f5af055, 0 -1.5px 8px 0 #23294633;
    backdrop-filter: blur(2px);
    border-top: 1.5px solid #7f5af055;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

footer a, header a, .navbar-nav .nav-link {
    color: #00e0d3;
    text-shadow: 0 0 6px #00e0d355;
    transition: color 0.2s, text-shadow 0.2s;
}
footer a:hover, header a:hover, .navbar-nav .nav-link:hover {
    color: #7f5af0;
    text-shadow: 0 0 12px #7f5af0aa;
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 1.5rem;
    background: rgba(24,28,47,0.85);
    box-shadow: 0 2px 16px #23294633;
}

.navbar-brand img {
    filter: drop-shadow(0 0 8px #00e0d3aa);
}

footer .responsible-gaming-badges img, header .responsible-gaming-badges img {
    filter: drop-shadow(0 0 6px #00e0d3aa);
}

footer nav {
    margin-top: 2rem;
}

footer p {
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    opacity: 0.95;
}

@media (max-width: 991px) {
    header.bg-gradient-azores, .bg-gradient-azores, footer.bg-gradient-azores {
        border-radius: 0;
        box-shadow: none;
    }
} 

.responsible-gaming-badges{
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(24,28,47,0.65);
    z-index: 1;
}
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}
.responsible-gaming-badge {
    max-width: 60px;
    height: auto;
}
.age-badge {
    max-width: 50px;
    height: auto;
}

/* Estilos para a seção de segurança */
#safety .card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 224, 211, 0.1);
}

#safety .card:hover {
    border-color: rgba(0, 224, 211, 0.3);
    box-shadow: 0 8px 32px rgba(0, 224, 211, 0.15);
}

#safety .rounded-circle {
    transition: transform 0.3s ease;
}

#safety .card:hover .rounded-circle {
    transform: scale(1.1);
}

#safety .card-title {
    color: #00e0d3;
    font-weight: 600;
}

#safety .card-text {
    color: #b8c1ec;
    line-height: 1.6;
}

/* Trust banners */
#safety .card img {
    transition: transform 0.3s ease;
}

#safety .card:hover img {
    transform: scale(1.05);
}

/* Enhanced Trust Banners Styling */
.trust-banner {
    text-decoration: none;
    transition: all 0.3s ease;
}

.trust-banner:hover {
    text-decoration: none;
    transform: translateY(-5px);
}

.trust-banner .card {
    background: linear-gradient(135deg, rgba(24,28,47,0.9) 0%, rgba(35,41,70,0.9) 100%);
    border: 1px solid rgba(0, 224, 211, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trust-banner:hover .card {
    border-color: rgba(0, 224, 211, 0.5);
    box-shadow: 0 8px 25px rgba(0, 224, 211, 0.2);
    background: linear-gradient(135deg, rgba(24,28,47,0.95) 0%, rgba(35,41,70,0.95) 100%);
}

.trust-banner .card-body {
    padding: 1rem;
}

.trust-banner img {
    max-height: 80px;
    width: auto;
    filter: grayscale(20%);
    transition: all 0.3s ease;
}

.trust-banner:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Trust banners section title */
#safety h3.text-info {
    color: #00e0d3 !important;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 224, 211, 0.3);
    margin-bottom: 2rem;
}

/* Enhanced Trust Banners Grid Layout */
#safety .row.g-4 {
    margin-top: 2rem;
}

#safety .col-6.col-md-3 {
    margin-bottom: 1rem;
}

/* Trust Banner Cards Styling */
#safety .trust-banner .card {
    background: linear-gradient(135deg, rgba(24,28,47,0.95) 0%, rgba(35,41,70,0.95) 100%);
    border: 2px solid rgba(0, 224, 211, 0.15);
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 224, 211, 0.1);
}

#safety .trust-banner:hover .card {
    border-color: rgba(0, 224, 211, 0.4);
    box-shadow: 0 8px 30px rgba(0, 224, 211, 0.25);
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(24,28,47,1) 0%, rgba(35,41,70,1) 100%);
}

#safety .trust-banner .card-body {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

#safety .trust-banner img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    filter: grayscale(30%) brightness(0.9);
    transition: all 0.4s ease;
    object-fit: contain;
}

#safety .trust-banner:hover img {
    filter: grayscale(0%) brightness(1.1);
    transform: scale(1.08);
}

/* Responsive adjustments for trust banners */
@media (max-width: 767px) {
    #safety .trust-banner .card-body {
        padding: 1rem 0.75rem;
        min-height: 100px;
    }
    
    #safety .trust-banner img {
        max-height: 60px;
    }
    
    #safety .col-6.col-md-3 {
        margin-bottom: 0.75rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #safety .trust-banner .card-body {
        min-height: 110px;
    }
    
    #safety .trust-banner img {
        max-height: 65px;
    }
}

/* Legal Pages Styling */
.legal-page {
    background: linear-gradient(135deg, #181c2f 0%, #232946 100%);
    min-height: 100vh;
    color: #e2e8f0;
    line-height: 1.7;
}

.legal-page header {
    background: linear-gradient(120deg, #181c2f 0%, #232946 60%, #00e0d3 100%);
    box-shadow: 0 4px 24px 0 #00e0d355;
    border-bottom: 1.5px solid #00e0d355;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    color: #00e0d3;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-page h2 {
    color: #7f5af0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid rgba(127, 90, 240, 0.3);
    padding-bottom: 0.5rem;
}

.legal-page h3 {
    color: #00e0d3;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-page .lead {
    font-size: 1.2rem;
    color: #b8c1ec;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
}

.legal-page p {
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.legal-page ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    color: #e2e8f0;
}

.legal-page .card {
    background: linear-gradient(135deg, rgba(24,28,47,0.9) 0%, rgba(35,41,70,0.9) 100%);
    border: 1px solid rgba(0, 224, 211, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 224, 211, 0.1);
    transition: all 0.3s ease;
}

.legal-page .card:hover {
    border-color: rgba(0, 224, 211, 0.4);
    box-shadow: 0 8px 30px rgba(0, 224, 211, 0.2);
    transform: translateY(-2px);
}

.legal-page .card-body {
    padding: 1.5rem;
}

.legal-page .alert {
    background: linear-gradient(135deg, rgba(0, 224, 211, 0.1) 0%, rgba(127, 90, 240, 0.1) 100%);
    border: 1px solid rgba(0, 224, 211, 0.3);
    border-radius: 1rem;
    color: #e2e8f0;
    padding: 1.5rem;
}

.legal-page .alert strong {
    color: #00e0d3;
}

.legal-page a {
    color: #00e0d3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-page a:hover {
    color: #7f5af0;
    text-decoration: underline;
}

.legal-page .text-muted {
    color: #94a3b8 !important;
    text-align: center;
    margin-top: 2rem;
}

.legal-page footer {
    background: linear-gradient(120deg, #181c2f 0%, #232946 60%, #7f5af0 100%);
    color: #fff;
    box-shadow: 0 -4px 24px 0 #7f5af055;
    border-top: 1.5px solid #7f5af055;
    margin-top: 3rem;
}

.legal-page footer a {
    color: #00e0d3;
}

.legal-page footer a:hover {
    color: #7f5af0;
}

/* Responsive adjustments for legal pages */
@media (max-width: 767px) {
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.5rem;
    }
    
    .legal-page .lead {
        font-size: 1.1rem;
    }
    
    .legal-page .card-body {
        padding: 1rem;
    }
}