@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slide-up {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1.1); box-shadow: 0 0 25px rgba(255, 20, 147, 0.6); }
    50% { transform: scale(1.15); box-shadow: 0 0 35px rgba(255, 20, 147, 0.9); }
    100% { transform: scale(1.1); box-shadow: 0 0 25px rgba(255, 20, 147, 0.6); }
}

/* --- Base & Mobile-First Styles --- */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: linear-gradient(45deg, #000000, #1a0c1e, #000000, #1e100c);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    opacity: 0.5;
}

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

section {
    padding: 40px 0;
}

/* --- Hero & Feature Section --- */

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 40px; /* Reduced bottom padding */
}

.logo {
    width: 200px;
    margin: 0 auto 30px;
}

.hero h1, .hero h2, .hero p, .hero .logo, .feature, .roadmap-container {
    opacity: 0;
    animation: slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero .logo { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.3s; }
.hero h2 { animation-delay: 0.5s; }
.hero p { animation-delay: 0.7s; }

.hero h1 {
    font-size: 2.8rem;
    margin: 0 0 15px 0;
    background: -webkit-linear-gradient(45deg, #FF1493, #FF7F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.3);
}

.hero h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.hero p {
    font-size: 1.1rem;
    margin: 0 auto 40px;
    color: #CCCCCC;
    max-width: 600px;
    line-height: 1.6;
}

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

.feature {
    background: rgba(20, 20, 20, 0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: #FF7F00;
    box-shadow: 0 10px 25px rgba(255, 127, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #FF7F00;
    margin-bottom: 20px;
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.feature:hover .feature-icon {
    text-shadow: 0 0 20px rgba(255, 127, 0, 0.9);
    transform: scale(1.1);
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.feature p {
    color: #AAAAAA;
}

/* Staggered animation for feature cards */
.feature:nth-child(1) { animation-delay: 0.9s; }
.feature:nth-child(2) { animation-delay: 1.1s; }
.feature:nth-child(3) { animation-delay: 1.3s; }
.feature:nth-child(4) { animation-delay: 1.5s; }


/* --- Roadmap Section --- */

.roadmap-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: 60px;
    padding: 20px 0;
    position: relative; /* For the new track */
    animation-delay: 1.5s;
}

/* Creative solution: Vertical track behind the icons */
.roadmap-container::before {
    content: '';
    position: absolute;
    top: 35px; /* Start at the center of the first icon */
    bottom: 35px; /* End at the center of the last icon */
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background-image: linear-gradient(to bottom, #FF7F00 70%, #444 30%);
    z-index: -1;
}

.roadmap-step {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1; /* Ensure steps are above the track */
}

.roadmap-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    border: 2px solid #444;
    background: #111;
    transition: background-color 0.4s, border-color 0.4s;
    margin: 0 auto;
}

.roadmap-step p {
    margin-top: 10px;
    font-weight: 600;
    color: #AAAAAA;
    background: #000000;
    padding: 0 5px;
}

.roadmap-line {
    display: none; /* Hidden on mobile */
}

/* State Styles */
.roadmap-step.completed .roadmap-icon {
    background-color: #FF7F00;
    border-color: #FF7F00;
    color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 127, 0, 0.6);
}

.roadmap-step.completed p {
    color: #FFFFFF;
}

.roadmap-step.active .roadmap-icon {
    border-color: #FF1493;
    color: #FF1493;
    transform: scale(1.1);
    animation: pulse 2s infinite;
}

.roadmap-step.active p {
    color: #FF1493;
}


/* --- Store Badges --- */

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow badges to wrap on small screens */
    opacity: 0;
    animation: slide-up 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.8s forwards;
}

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

.badge-item p {
    font-size: 0.9rem;
    color: #AAAAAA;
    margin-bottom: 10px;
    font-weight: 600;
}

.badge-item img {
    height: 50px;
    filter: invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.badge-item a:hover img {
    opacity: 1;
    transform: scale(1.05);
}


/* --- Video Section --- */

.video-section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.video-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #FF1493;
}

.video-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}


/* --- Footer --- */

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
    background: #050505;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #AAAAAA;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-links span {
    color: #444;
}

/* --- Content Page (Impressum, Datenschutz) --- */

.content-page {
    padding: 60px 0;
}

.content-page h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    background: -webkit-linear-gradient(45deg, #FF1493, #FF7F00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.content-page h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.content-page p {
    line-height: 1.8;
    color: #AAAAAA;
}

.content-page a {
    color: #FF7F00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-page a:hover {
    color: #FF1493;
}

.back-link {
    margin-top: 50px;
}

.back-link a {
    font-weight: 600;
}

/* --- Cookie Banner --- */

@keyframes slide-up-banner {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-banner {
    display: none; /* Hidden by default, shown by JS */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    border-top: 1px solid #333;
    padding: 20px;
    z-index: 1000;
    animation: slide-up-banner 0.5s ease-out;
}

.cookie-banner p {
    margin: 0;
    padding: 0;
    color: #e0e0e0;
    font-size: 0.9rem;
    flex-grow: 1;
}

.cookie-banner .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-buttons button {
    background: linear-gradient(45deg, #FF1493, #FF7F00);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-buttons button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.6);
}


/* --- Tablet & Larger --- */
@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Desktop --- */
@media (min-width: 992px) {
    section { padding: 60px 0; }

    .logo { width: 250px; }

    .hero h1 { font-size: 5rem; margin-bottom: 20px; }
    .hero h2 { font-size: 2.5rem; }
    .hero p { font-size: 1.2rem; }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .video-section h2 { font-size: 3rem; }

    /* Horizontal Roadmap for Desktop */
    .roadmap-container {
        display: grid;
        grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
        gap: 15px;
    }
    .roadmap-container::before { display: none; } /* Hide vertical track */
    .roadmap-step:not(:last-child)::after { display: none; } /* Hide old lines */
    
    .roadmap-line {
        display: block; /* Show horizontal lines */
        height: auto;
        border-top: 4px dotted #444;
        background-color: transparent;
    }
    .roadmap-step.completed + .roadmap-line {
        border-color: #FF7F00;
    }
    .roadmap-icon { width: 80px; height: 80px; font-size: 2.5rem; }
}