:root {
    --navy: #003366;
    --yellow: #ffcc00;
    --paper: #ffffff;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--paper);
    color: black;
    overflow-x: hidden;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header / Logo Block --- */
.page-header {
    background-color: #000;
    /* Darker base for the logo background */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid var(--yellow);
}

.logo-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-bg {
    position: absolute;
    inset: 0;
    background: url('Media/banner_background.jpg') center/cover no-repeat;
    z-index: 1;
}

/* Removed redundant logo-bg class as it's now handled by logo-container */

.logo-content {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 6vw, 52px);
    margin: 0;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
    /* Subtiler shadow */
    color: #ffffff;
}

.logo-details {
    font-family: 'Arial', sans-serif;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: bold;
    margin-top: 5px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    /* Light shadow */
    color: #ffffff;
}

.logo-email {
    font-family: 'Arial', sans-serif;
    font-size: clamp(10px, 2vw, 14px);
    text-transform: lowercase;
    opacity: 0.9;
    margin-top: 2px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    /* Very light shadow */
    color: #ffffff;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    height: 400px;
    background-color: #eee;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 51, 102, 0.9);
    color: white;
    padding: 15px;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* --- New Showcase Layout (Split Version) --- */
.showcase-section {
    background: linear-gradient(135deg, #001a33 0%, #000c1a 100%);
    color: white;
    padding: 80px 40px;
    border-radius: 24px;
    margin: 60px 0;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.showcase-content {
    max-width: 800px;
}

.innovation-title {
    color: var(--yellow);
    font-size: clamp(2rem, 8vw, 3.5rem);
    /* Responsive font size */
    margin: 0 0 20px 0;
    font-family: 'Orbitron', sans-serif;
    line-height: 1.1;
    text-transform: uppercase;
}

.innovation-pitch {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.media-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.media-card img,
.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-pill span {
    color: var(--yellow);
    font-weight: 900;
}

/* --- Interactive Simulator Section : Vertical Stack for Better Balance --- */
.simulator-section {
    background: #f1f5f9;
    padding: 100px 20px;
    border-radius: 40px;
    margin: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.simulator-header {
    text-align: center;
    max-width: 700px;
}

.simulator-header h2 {
    margin: 0;
    font-size: 2.22rem;
    color: var(--navy);
}

.simulator-header p {
    font-size: 1.2rem;
    color: #64748b;
    margin-top: 15px;
}

.device-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 60px;
    perspective: 2000px;
    width: 100%;
    max-width: 1100px;
}

.device-simulator {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.btn-play-trigger {
    padding: 20px 40px;
    background: var(--navy);
    color: white;
    font-weight: 900;
    font-size: 1.2rem;
    border-radius: 12px;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.3);
}

.btn-play-trigger:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.5);
    background: #004080;
}

@media (max-width: 900px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .device-showcase {
        flex-direction: column;
        gap: 40px;
    }

    .showcase-section,
    .simulator-section {
        padding: 60px 20px;
        border-radius: 0;
        margin: 40px -20px;
        width: calc(100% + 40px);
    }
}

/* Le Boîtier Digital 3D Object */
.creditsjeux-box {
    width: 360px;
    height: 220px;
    position: relative;
    transform-style: preserve-3d;
    background: #242e47;
    /* Main top surface */
    border-radius: 0;
    transform: rotateX(26deg) rotateY(15deg) rotateZ(-15deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Back Plate */
.creditsjeux-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: 0;
    transform: translateZ(-110px);
    box-shadow:
        -60px 80px 120px rgba(0, 0, 0, 0.5),
        /* Adjusted for huge volume */
        0 0 0 1px #111;
}

/* Left Side Face (Closing the gap) */
.creditsjeux-box::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 110px;
    /* Depth matched to translateZ */
    background: #0a0a0a;
    /* Slightly lighter for edge definition */
    transform-origin: right;
    transform: rotateY(-90deg);
    border-radius: 0;
}

/* Bottom Side Face (Closing the gap) */
.device-bottom-face {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 110px;
    /* Depth matched to translateZ */
    background: #000926;
    transform-origin: top;
    transform: rotateX(-90deg);
    border-radius: 0;
}

.creditsjeux-box:hover {
    transform: rotateX(15deg) rotateY(10deg) rotateZ(-5deg) scale(1.05);
}

.device-top-plate {
    position: absolute;
    inset: 8px;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 60%),
        rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.05);
    display: flex;
    padding: 15px;
    gap: 15px;
    color: #000;
}

.buttons-layout {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.btn-group-top {
    display: flex;
    gap: 20px;
}

.control-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.btn-label-top {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}

.btn-label-bottom {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
    margin-top: -2px;
}

.round-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.1s;
}

.round-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.btn-actual-white {
    background: radial-gradient(circle at 30% 30%, #fff, #ddd);
}

.btn-actual-green {
    background: radial-gradient(circle at 30% 30%, #43e97b, #1a5e3a);
}

.btn-actual-yellow {
    background: radial-gradient(circle at 30% 30%, #ffcc00, #b28f00);
}

.device-branding {
    text-align: left;
    margin-top: 5px;
}

.main-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: #000;
    margin: 0;
    line-height: 1;
}

.small-info-text {
    font-size: 7px;
    margin: 2px 0 0 0;
    font-weight: bold;
    opacity: 0.8;
}

.reset-pos {
    align-self: flex-start;
    margin-top: 10px;
}

.screen-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.oled-screen {
    width: 110px;
    height: 75px;
    background: #0044cc;
    /* Blue background like the photo */
    border: 3px solid #000;
    border-radius: 4px;
    padding: 10px;
    font-family: 'Courier New', monospace;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.1);
    color: white;
}

.screen-line {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.led-indicators {
    display: flex;
    gap: 15px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.glowing-green {
    background: #43e97b;
    box-shadow: 0 0 12px #43e97b, 0 0 25px rgba(67, 233, 123, 0.5);
}

.new-label-2026 {
    font-size: 14px;
    font-weight: 900;
    color: #ff00ff;
    font-family: 'Orbitron', sans-serif;
    transform: rotate(-5deg);
    margin-top: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.plate-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 12px 12px 0 0;
}

.signal-wave {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--yellow);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    opacity: 0;
    pointer-events: none;
}

.wave-active {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(50);
        opacity: 0;
    }
}

/* --- Machine Display (Pro Dartboard Style) --- */
.machine-display {
    width: 220px;
    height: 140px;
    background: #050505;
    border: 8px solid #222;
    border-radius: 8px;
    box-shadow:
        0 0 0 1px #333,
        0 20px 40px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transform: rotateX(5deg);
}

/* Effet de scanlines (lignes de télé) */
.machine-display::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 5;
}

/* Reflet vitré */
.machine-display::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 6;
}

.machine-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 9px;
    color: #ff3333;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    margin-bottom: 5px;
    font-weight: 700;
}

.credit-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 54px;
    color: #ff0000;
    text-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.4);
    font-weight: 900;
    line-height: 1;
}

.receive-flash {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.flash-active {
    animation: flash 0.5s ease-out;
}

@keyframes flash {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@media (max-width: 1000px) {
    .innovation-box {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 50px;
    }

    .device-simulator {
        padding: 20px;
    }
}

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

h2 {
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 30px;
}

.bullet-points {
    list-style: none;
    padding: 0;
}

.bullet-points li {
    font-size: 1.5rem;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.bullet-points li::before {
    content: "✓";
    color: var(--navy);
    background-color: var(--yellow);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-box {
    background-color: #f9f9f9;
    border: 2px solid var(--navy);
    padding: 40px;
    text-align: center;
    margin: 60px 0;
    border-radius: 8px;
}

.phone-number {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 800;
    color: var(--navy);
    margin: 20px 0;
}

.footer {
    background-color: #f1f1f1;
    padding: 60px 10%;
    text-align: center;
    font-size: 1.1rem;
    border-top: 1px solid #ddd;
}

.btn {
    background-color: var(--navy);
    color: white;
    padding: 20px 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    display: inline-block;
    margin-top: 20px;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

.btn:hover {
    background-color: #004080;
    transform: translateY(-2px);
}

/* --- Contact Form Styles --- */
.contact-form {
    text-align: left;
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    outline: none;
}

@media (max-width: 600px) {
    .page-header {
        padding: 40px 10px;
    }

    .logo-container {
        height: 140px;
    }

    .bullet-points li {
        font-size: 1.2rem;
    }

    .container {
        padding: 40px 20px;
    }

    .page-header,
    .container,
    .innovation-box,
    .gallery-grid,
    .highlight-box,
    .liège-identity {
        scroll-margin-top: 20px;
    }
}

/* --- Custom Selective Tooltip --- */
.tooltip-container {
    position: relative;
    cursor: default;
    display: block;
    /* Ensure each item is on its own line */
}

.tooltip-box {
    visibility: hidden;
    width: 220px;
    max-width: 250px;
    background-color: var(--navy);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: absolute;
    z-index: 100;
    bottom: 110%;
    /* Slightly above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 15px 35px rgba(0, 51, 102, 0.4);
    user-select: text;
    /* Crucial: allows selection */
    pointer-events: none;
    /* Avoid blocking hover */
}

.tooltip-container.active .tooltip-box {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: auto;
    /* Allow interaction when visible */
}

.tooltip-box::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: var(--navy) transparent transparent transparent;
}

/* Small micro-animation for the list items */
/* --- Partners Grid Organization --- */
.partners-grid ul {
    margin: 0;
    padding: 0;
}

.tooltip-container {
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 6px;
    /* Vertical spacing */
    position: relative;
    display: block;
}

.tooltip-container:hover {
    color: var(--navy);
    transform: translateX(5px);
    font-weight: 500;
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}