/* Tower Rush 2026 - Styles globaux */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0ea5e9;
    --secondary-color: #06b6d4;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-light: #e2e8f0;
    --text-muted: #94a3b8;
    --border-radius: 8px;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
header {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(14, 165, 233, 0.4);
}

.header-top-bar {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    padding: 0.6rem 0;
    text-align: center;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.85rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.8px;
}

.logo-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 15px rgba(14, 165, 233, 0.9));
}

.logo-text {
    background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(14, 165, 233, 0.5));
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 2.2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.header-cta:hover::before {
    left: 100%;
}

.header-cta:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.lang-selector {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: rgba(30, 41, 59, 0.6);
    padding: 0.4rem;
    border-radius: 50px;
    border: 1px solid rgba(14, 165, 233, 0.3);
}

.lang-btn {
    padding: 0.45rem 0.9rem;
    background: transparent;
    color: var(--text-light);
    border: 1px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(14, 165, 233, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.lang-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.5);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.8rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 0%, #06b6d4 50%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.4));
    letter-spacing: -1.5px;
}

.hero-text h1::before {
    content: "▶ ";
    color: #10b981;
    filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.8));
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(226, 232, 240, 0.95);
    margin-bottom: 2.8rem;
    line-height: 1.8;
    max-width: 90%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.4rem 3.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button::after {
    content: "→";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover::after {
    transform: translateX(8px);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 50px rgba(16, 185, 129, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8),
                0 0 0 4px rgba(14, 165, 233, 0.5),
                0 0 40px rgba(14, 165, 233, 0.6);
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    z-index: 1;
    transition: all 0.4s ease;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.8),
                    0 0 0 4px rgba(14, 165, 233, 0.5),
                    0 0 40px rgba(14, 165, 233, 0.6);
    }
    50% {
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9),
                    0 0 0 4px rgba(6, 182, 212, 0.7),
                    0 0 60px rgba(6, 182, 212, 0.8);
    }
}

.hero-iframe:hover {
    transform: translateY(-8px) scale(1.02);
    animation: none;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9),
                0 0 0 5px rgba(16, 185, 129, 0.7),
                0 0 70px rgba(16, 185, 129, 0.9);
}

.hero-iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Sections */
section {
    padding: 3rem 0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* Grid 2 colonnes */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.3);
    border-color: var(--primary-color);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.card p, .card ul {
    color: var(--text-muted);
    line-height: 1.8;
}

.card ul {
    list-style: none;
    padding-left: 0;
}

.card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card ul li:before {
    content: "▶";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

/* Images */
.content-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 1.5rem 0;
    border: 2px solid var(--primary-color);
}

/* Table RTP */
.rtp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rtp-table th,
.rtp-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.rtp-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

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

.rtp-table tr:hover {
    background: rgba(14, 165, 233, 0.1);
}

/* Avis */
.review {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author {
    font-weight: 700;
    color: var(--secondary-color);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.8;
}

/* FAQ */
.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.faq-answer {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer-content {
    text-align: center;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.responsible-gaming {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(251, 191, 36, 0.1);
    border-radius: var(--border-radius);
    border: 2px solid #fbbf24;
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero::before {
        display: none;
    }

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

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .header-nav {
        width: 100%;
        justify-content: center;
    }

    .header-cta {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .hero-text p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    .header-cta {
        padding: 0.65rem 1.5rem;
        font-size: 0.95rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Page 404 */
.error-page {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.error-page h1 {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.error-page p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}
