/* ==========================================================================
   STYLE ARCHITECTURE: Organic Dark Luxury & Golden Fusion
   ========================================================================== */

:root {
    --bg-main: #0B0A08;
    --bg-alternative: #14110E;
    --bg-glass: rgba(23, 19, 15, 0.75);
    --border-glass: rgba(255, 179, 0, 0.15);
    
    --primary-gold: #FFB300;
    --primary-gold-hover: #FFE082;
    --accent-orange: #FF5722;
    --text-light: #F5F4F0;
    --text-muted: #A39E95;
    
    --font-system: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Scaffolding */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-light);
    font-family: var(--font-system);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.65;
}

/* Reusable Web Layout Container */
.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.alternative-bg {
    background-color: var(--bg-alternative);
}

/* Typography Standards */
h1, h2, h3, h4 {
    color: #FFFFFF;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

strong {
    color: #FFFFFF;
    font-weight: 600;
}

em {
    color: var(--primary-gold);
    font-style: normal;
}

/* Premium UI Elements / Cards */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.glass-panel:hover {
    border-color: rgba(255, 179, 0, 0.3);
    transform: translateY(-4px);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #FFB300 0%, #FF6F00 100%);
    color: #0B0A08;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FFE082 0%, #FFB300 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 111, 0, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-gold);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(25deg);
    transition: none;
    animation: flashGlow 4s infinite linear;
}

@keyframes flashGlow {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

/* Header & Menu Styling */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 10, 8, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 85px;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-wrapper {
    height: 48px;
    display: block;
}

.nav-logo {
    height: 100%;
    width: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.main-nav a:hover {
    color: var(--primary-gold);
}

/* Hero Section Layout */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 111, 0, 0.08) 0%, transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.badge-premium {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 179, 0, 0.1);
    border: 1px solid rgba(255, 179, 0, 0.3);
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

/* Figure & Image Components */
.image-frame {
    padding: 12px;
    border-radius: 20px;
}

figure {
    width: 100%;
    overflow: hidden;
}

figure img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

figcaption {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Structural Header Labels */
.section-title-wrapper {
    margin-bottom: 60px;
}

.text-center {
    text-align: center;
}

.text-center-p p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: block;
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-desc {
    max-width: 750px;
    margin: 20px auto 0 auto;
    font-size: 1.1rem;
}

/* Tables Styling Pack */
.specs-table-wrapper {
    padding: 0;
    overflow: hidden;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.premium-table th, .premium-table td {
    padding: 20px 30px;
}

.premium-table th {
    background: rgba(255, 179, 0, 0.05);
    color: #FFFFFF;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 179, 0, 0.2);
}

.premium-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 1rem;
}

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

.premium-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: #FFFFFF;
}

.text-highlight {
    color: var(--primary-gold);
    font-weight: 700;
}

/* Security Layout Block */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.premium-quote {
    border-left: 4px solid var(--primary-gold);
    padding-left: 24px;
    margin: 30px 0;
}

.premium-quote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.trust-shield-card {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shield-icon-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,179,0,0.2) 0%, transparent 70%);
    animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.shield-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Registration Lists */
.premium-ordered-list {
    list-style: none;
}

.premium-ordered-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #FFB300 0%, #FF6F00 100%);
    color: #0B0A08;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255,111,0,0.3);
}

.step-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    padding-top: 4px;
}

.alert-box-warning {
    margin-top: 35px;
    border-left: 4px solid var(--accent-orange);
    background: rgba(255, 87, 34, 0.04);
}

.alert-box-warning p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #FFABE3;
    color: var(--text-light);
}

/* Bonus Elements styling */
.bonus-card {
    height: 100%;
}

.card-header-icon h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.gold-glow h3 { color: var(--primary-gold); }
.red-glow h3 { color: #FF7043; }

.premium-ordered-list-simple {
    list-style-position: inside;
    margin-left: 5px;
}

.premium-ordered-list-simple li {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 1rem;
}

.premium-unordered-list {
    list-style: none;
}

.premium-unordered-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 1rem;
}

.premium-unordered-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-size: 0.8rem;
    top: 2px;
}

/* Mechanics Gaps */
.style-gap-top {
    margin-top: 70px;
}

/* Metrics and Scores custom badges */
.metric-table td {
    padding: 24px 30px;
}

.score-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-weight: 700;
    color: var(--text-light);
}

.badge-high {
    background: rgba(255, 179, 0, 0.15);
    color: var(--primary-gold);
}

.badge-highest {
    background: rgba(76, 175, 80, 0.15);
    color: #81C784;
}

/* Pros and Cons Elements */
.plus-icon li::before {
    content: '✓';
    color: #4CAF50;
    font-weight: 900;
}

.minus-icon li::before {
    content: '✕';
    color: #E53935;
    font-weight: 900;
}

.p-title { color: #4CAF50; margin-bottom: 25px; }
.c-title { color: #E53935; margin-bottom: 25px; }

/* Profiles styling tags */
.profile-box {
    position: relative;
    padding-top: 50px;
}

.profile-badge {
    position: absolute;
    top: -14px;
    left: 35px;
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    border-radius: 4px;
}

.status-ok { background: #2E7D32; color: #FFFFFF; }
.status-no { background: #C62828; color: #FFFFFF; }

.border-gold-glow:hover { border-color: rgba(255,179,0,0.4); }
.border-red-glow:hover { border-color: rgba(229,57,53,0.4); }

/* Responsible Gaming container styling */
.gaming-safety-card {
    border-left: 4px solid #0288D1;
    background: linear-gradient(135deg, rgba(2,136,209,0.03) 0%, transparent 100%);
}

.safety-icon-header h2 {
    color: #0288D1;
}

/* FAQ Accordion Elements */
.faq-accordion-group {
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 30px;
    text-align: left;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.faq-trigger:hover {
    color: var(--primary-gold);
}

.icon-indicator {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.icon-indicator::before, .icon-indicator::after {
    content: '';
    position: absolute;
    background-color: var(--text-muted);
    transition: var(--transition-smooth);
}

.icon-indicator::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.icon-indicator::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.faq-item.active .icon-indicator::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .icon-indicator::before {
    background-color: var(--primary-gold);
}

.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 30px;
}

.faq-panel p {
    padding-bottom: 24px;
    margin-bottom: 0;
}

/* Footer UI Block */
.main-footer {
    background: #060504;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.8fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    height: 45px;
    margin-bottom: 20px;
}

.footer-links h4, .footer-legal-notice h4 {
    color: #FFFFFF;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-legal-notice p {
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    background: #030302;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-flex p {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.legal-tags {
    display: flex;
    gap: 15px;
}

.legal-tags span {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 3px;
    color: var(--text-muted);
}

/* JS Element Reveal States */
.reveal-left, .reveal-right, .reveal-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up { transform: translateY(40px); }

.reveal-active {
    opacity: 1;
    transform: translate(0) !important;
}

/* ==========================================================================
   RESPONSIVE LAYOUT BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
    h1 { font-size: 2.3rem; }
    .hero-grid, .grid-2-col, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-media, .security-visual, .steps-media, .live-media {
        max-width: 650px;
        margin: 0 auto;
        width: 100%;
    }
    .main-nav {
        display: none; /* Simplificado para landing prémium directa */
    }
    .section-padding { padding: 70px 0; }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .premium-table th, .premium-table td { padding: 15px 20px; }
    .bottom-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn { width: 100%; }
    .premium-table th, .premium-table td { padding: 12px 15px; font-size: 0.9rem; }
    .glass-panel { padding: 20px; }
}