:root {
    --bg-main: #07090f;
    /* Deep midnight blue */
    --text-main: #f8f9fa;
    --text-muted: #94a3b8;
    --accent: #0ea5e9;
    /* Electric Cyan/Sky Blue */
    --accent-light: #38bdf8;
    --accent-hover: #0284c7;
    --card-bg: rgba(15, 23, 42, 0.85);
    /* Slate 900 */
    --card-border: rgba(14, 165, 233, 0.3);
    --shadow-soft: 0 10px 30px rgba(14, 165, 233, 0.15);
    --shadow-strong: 0 20px 40px rgba(14, 165, 233, 0.3);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
}

/* Background Gradient */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 100%, #0c4a6e 0%, #07090f 70%);
}

/* Floating Emojis */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float-up linear infinite;
    bottom: -50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.e1 {
    left: 15%;
    animation-duration: 18s;
    animation-delay: 0s;
    font-size: 3rem;
}

.e2 {
    left: 35%;
    animation-duration: 12s;
    animation-delay: 5s;
}

.e3 {
    left: 55%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.e4 {
    left: 75%;
    animation-duration: 15s;
    animation-delay: 8s;
    font-size: 2rem;
}

.e5 {
    left: 85%;
    animation-duration: 14s;
    animation-delay: 4s;
}

@keyframes float-up {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.2;
    }

    90% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Typography */
h1,
.signature,
.section-title,
.caption,
.racing-title {
    font-family: 'Playfair Display', serif;
}

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 1;
}

.content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.15);
    color: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

.main-heading {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 15px rgba(14, 165, 233, 0.5);
}

.wave {
    display: inline-block;
    animation: wave-animation 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave-animation {
    0% {
        transform: rotate(0.0deg)
    }

    10% {
        transform: rotate(14.0deg)
    }

    20% {
        transform: rotate(-8.0deg)
    }

    30% {
        transform: rotate(14.0deg)
    }

    40% {
        transform: rotate(-4.0deg)
    }

    50% {
        transform: rotate(10.0deg)
    }

    60% {
        transform: rotate(0.0deg)
    }

    100% {
        transform: rotate(0.0deg)
    }
}

.subtext {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.primary-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-family: inherit;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #3b82f6);
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pulse-btn {
    animation: pulse-shadow 2s infinite;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

.primary-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.6);
}

.secondary-btn {
    background: transparent;
    color: var(--accent-light);
    border: 2px solid var(--accent);
    padding: 1rem 2.2rem;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.secondary-btn:hover {
    background: rgba(14, 165, 233, 0.1);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
    transform: translateY(-3px);
}

/* Photos Section (Film Style) */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.photo-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    padding: 20px 0;
}

.tall-card {
    width: 260px;
    height: 420px;
    background: #0f1015;
    padding: 15px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: rotate(var(--rot));
    cursor: pointer;
    z-index: 1;
    border: 1px solid #333;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.film-holes-v {
    width: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.film-holes-v::before,
.film-holes-v::after,
.film-holes-v {
    content: '';
    background-image: radial-gradient(circle, #0b0c10 40%, transparent 45%);
    background-size: 14px 28px;
    background-repeat: repeat-y;
}

.img-wrapper-v {
    width: calc(100% - 40px);
    height: 100%;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9) inset;
}

.wide-card {
    width: 420px;
    height: 320px;
    background: #0f1015;
    padding: 15px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
    position: relative;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: rotate(var(--rot));
    cursor: pointer;
    z-index: 1;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.film-holes-h {
    width: 100%;
    height: 14px;
    display: flex;
    justify-content: space-between;
}

.film-holes-h::before,
.film-holes-h::after,
.film-holes-h {
    content: '';
    background-image: radial-gradient(circle, #0b0c10 40%, transparent 45%);
    background-size: 28px 14px;
    background-repeat: repeat-x;
}

.img-wrapper-h {
    width: 100%;
    height: calc(100% - 40px);
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.9) inset;
}

.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    filter: contrast(1.05) saturate(1.1);
}

.photo-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 0 20px 60px rgba(14, 165, 233, 0.5);
    border-color: var(--accent);
}

.photo-card:hover img {
    transform: scale(1.03);
}

.caption {
    font-size: 1.3rem;
    color: var(--text-muted);
    font-style: italic;
}

.scroll-indicator {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
    animation: bounce 2s infinite;
    width: 50px;
    height: 50px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.scroll-indicator:hover {
    transform: scale(1.1);
    background: rgba(14, 165, 233, 0.2);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Racing Section */
.racing-title {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.drift-btn {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    border-radius: 12px;
}

.hidden-racing-content {
    margin-top: 3rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hidden-racing-content.show {
    max-height: 800px;
    opacity: 1;
}

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-container video {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.overlay-text {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hidden {
    display: none !important;
}

/* Message Section */
.message-block {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    text-align: left;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--card-border);
}

.cute-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6, var(--accent));
    z-index: -1;
    border-radius: 22px;
    opacity: 0.5;
}

.sparkle-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    animation: float-icon 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

@keyframes float-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.msg-para {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    color: #e2e8f0; /* Brighter soft white */
    font-weight: 400;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    line-height: 1.8;
}

.msg-para.visible {
    opacity: 1;
    transform: translateY(0);
}

.msg-para:nth-child(1) {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 500;
}

.msg-para:nth-last-child(2) {
    margin-bottom: 2.5rem;
}

.signature {
    font-size: 2.2rem;
    color: var(--accent);
    text-align: right;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 1s ease 0.5s;
}

.signature.visible {
    opacity: 1;
}

/* Hidden Message */
.hidden-message {
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.hidden-content {
    background: rgba(15, 23, 42, 0.9);
    padding: 2.5rem;
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1.25rem;
    font-weight: 500;
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
    margin-top: 2rem;
}

.german-sub {
    color: var(--accent-light);
    font-size: 1rem;
    margin-top: 10px;
    font-style: italic;
}

.hidden-message.show {
    max-height: 400px;
    opacity: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .tall-card {
        width: 220px;
        height: 360px;
    }

    .wide-card {
        width: 320px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .tall-card {
        width: 100%;
        max-width: 300px;
        height: 400px;
    }

    .wide-card {
        width: 100%;
        max-width: 400px;
        height: 260px;
    }

    .message-block {
        padding: 2.5rem 2rem;
    }

    .msg-para {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2.5rem;
    }

    .drift-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}