/* --- VARIABLES --- */
:root {
    --deep-ocean: #003d5b;
    --sea-blue: #0077b6;
    --tropical-teal: #00b4d8;
    --foam-white: #caf0f8;
    --sol-green: #14F195;
    --sol-purple: #9945FF;
    --black: #001219;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--deep-ocean);
    color: var(--foam-white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, .logo {
    font-family: 'Bungee', cursive;
    text-shadow: 3px 3px 0px var(--black);
    text-transform: uppercase;
}

/* --- ANIMATED BUBBLES BACKGROUND --- */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    overflow: hidden;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) { left: 10%; width: 40px; height: 40px; animation-duration: 8s; }
.bubble:nth-child(2) { left: 20%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 1s; }
.bubble:nth-child(3) { left: 35%; width: 50px; height: 50px; animation-duration: 15s; animation-delay: 2s; }
.bubble:nth-child(4) { left: 50%; width: 25px; height: 25px; animation-duration: 10s; animation-delay: 4s; }
.bubble:nth-child(5) { left: 65%; width: 35px; height: 35px; animation-duration: 14s; animation-delay: 1s; }
.bubble:nth-child(6) { left: 80%; width: 45px; height: 45px; animation-duration: 11s; animation-delay: 3s; }
.bubble:nth-child(7) { left: 90%; width: 15px; height: 15px; animation-duration: 9s; animation-delay: 5s; }
.bubble:nth-child(8) { left: 25%; width: 30px; height: 30px; animation-duration: 13s; animation-delay: 7s; }

@keyframes rise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 0.5; }
    50% { transform: translateY(-50vh) translateX(20px); }
    100% { transform: translateY(-110vh) translateX(-20px); opacity: 0; }
}

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    background: rgba(0, 119, 182, 0.95);
    border-bottom: 5px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: var(--sol-green);
    transform: rotate(-2deg);
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 800;
    margin: 0 15px;
    font-size: 0.85rem;
}

.nav-btns { display: flex; align-items: center; gap: 12px; }

/* --- BUTTONS --- */
.btn-buy {
    background: var(--sol-green);
    color: var(--black);
    font-family: 'Bungee', cursive;
    padding: 10px 22px;
    border: 3px solid var(--black);
    box-shadow: 4px 4px 0px var(--black);
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
}

.btn-x {
    background: white;
    color: var(--black);
    text-decoration: none;
    font-family: 'Bungee', cursive;
    height: 40px; width: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--black);
    box-shadow: 3px 3px 0px var(--black);
    transition: 0.2s;
    position: relative;
    z-index: 1001;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--sea-blue) 0%, var(--deep-ocean) 100%);
    position: relative;
    z-index: 0;
}

.title-sea, .image-wrapper, .ca-section {
    position: relative;
    z-index: 5; 
}

.hero-img {
    width: 90%;
    max-width: 420px;
    border: 8px solid var(--foam-white);
    outline: 5px solid var(--black);
    border-radius: 40px;
    box-shadow: 15px 15px 0px rgba(0,0,0,0.3);
    margin-bottom: 40px;
}

/* --- CA BOX (MOBILE OPTIMIZED) --- */
.ca-box {
    display: flex;
    flex-direction: column; 
    background: var(--foam-white);
    color: var(--black);
    padding: 15px;
    border: 4px solid var(--black);
    border-radius: 25px;
    box-shadow: 6px 6px 0px var(--black);
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 90%;
    max-width: 500px;
    margin: 20px auto;
}

#ca-text {
    font-family: monospace;
    font-weight: 800;
    font-size: 0.75rem; 
    word-break: break-all; 
    text-align: center;
    width: 100%;
}

.copy-pill {
    background: var(--sol-green);
    border: 2px solid var(--black);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Bungee', cursive;
    cursor: pointer;
    font-size: 0.8rem;
}

/* --- SECTIONS --- */
.section { padding: 100px 5%; text-align: center; position: relative; z-index: 5; }
.container { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 50px; }

.img-small {
    width: 100%;
    max-width: 380px;
    border-radius: 50px;
    border: 6px solid var(--black);
    box-shadow: 15px 15px 0px var(--black);
}

.bubble-text {
    background: var(--foam-white);
    color: var(--black);
    padding: 35px;
    border-radius: 40px;
    border: 5px solid var(--black);
    box-shadow: 10px 10px 0px var(--tropical-teal);
    font-weight: 800;
}

.bubble-card {
    background: white;
    color: var(--black);
    border: 4px solid var(--black);
    padding: 18px 25px;
    margin: 10px 0;
    font-weight: 800;
    border-radius: 30px;
    box-shadow: 8px 8px 0px var(--sea-blue);
    text-align: left;
}

/* --- FOOTER (FIXED PADDING) --- */
footer { 
    padding: 80px 20px 120px 20px; /* Extra padding aan onderkant toegevoegd */
    background: var(--black); 
    text-align: center; 
    position: relative; 
    z-index: 10; 
}

.btn-x-large {
    background: white; 
    color: var(--black); 
    text-decoration: none; 
    font-family: 'Bungee', cursive;
    padding: 18px 35px; 
    border-radius: 60px; 
    border: 4px solid var(--black); 
    box-shadow: 8px 8px 0px var(--sol-green);
    display: inline-block;
    margin-bottom: 25px; /* Ruimte tussen knop en tekst */
}

.footer-note { 
    font-size: 0.9rem; 
    opacity: 0.7; 
    font-weight: bold; 
    margin-top: 10px; 
    display: block;
}

/* --- DESKTOP ADJUSTMENTS --- */
@media (min-width: 768px) {
    .ca-box {
        flex-direction: row; 
        padding: 12px 25px;
        border-radius: 60px;
        width: auto;
    }
    #ca-text {
        font-size: 1rem;
        word-break: normal;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
    .container { flex-direction: column !important; gap: 30px; }
    .hero-img, .img-small { max-width: 280px; }
    .title-sea { font-size: 2.2rem; }
}

/* --- ANIMATIONS --- */
@keyframes wave { 0%, 100% { transform: translateY(0) rotate(1deg); } 50% { transform: translateY(-18px) rotate(-1deg); } }
.floating-sea { animation: wave 4s ease-in-out infinite; }

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pulse { animation: pulse 1.5s infinite; }
