/* start.css - Start Page Specific Styles */

/* Override body for Start Page specific needs */
body {
    background-color: #050505;
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    transition: background-color 0.5s ease;
}



/* --- Background Animation --- */
.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a2a3a 0%, #000000 100%);
    z-index: 0;
    transition: opacity 0.5s ease;
}



.water-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJub25lIi8+PC9zdmc+');
    opacity: 0.1;
    pointer-events: none;
    z-index: 1;
}

/* --- Content Layout --- */
.container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 300vh;
    /* 3 Sections * 100vh */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Scroll Snapping */
    scroll-snap-type: y mandatory;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* --- Typography & Elements --- */
h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, #93bbfc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.5s ease;
}



.subtitle {
    font-size: 1.2rem;
    color: #8ab4f8;
    margin-bottom: 4rem;
    transition: color 0.5s ease;
}



.scroll-hint {
    position: fixed;
    bottom: 10vh;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    z-index: 10;
    transition: opacity 0.3s ease, color 0.5s ease;
}



@keyframes bounce {

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

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

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

/* --- Character Selection --- */
.selection-grid {
    display: flex;
    gap: 40px;
    perspective: 1000px;
}

.char-card {
    width: 300px;
    height: 480px;
    /* Increased height slightly for better proportion with background */
    background-color: rgba(255, 255, 255, 0.03);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Push text to bottom */
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    padding: 30px;
    text-align: center;
}

.char-card:hover {
    transform: translateY(-10px) scale(1.02);
    background-color: rgba(255, 255, 255, 0.08);
    /* Fallback */
    border-color: #93bbfc;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}






/* Dark Overlay */
.char-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 10%, rgba(0, 0, 0, 0.2) 80%);
    z-index: 0;
    transition: background 0.4s ease;
}

.char-card:hover::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 10%, rgba(0, 0, 0, 0.1) 80%);
}

#card-sportler {
    background-image: url('../img/IMG-2026-01-10-060.jpg');
}

#card-student {
    background-image: url('../img/flowchart_act1_student_1763667690175.png');
}

.char-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.char-card p {
    color: #ddd;
    /* Brighter text for better contrast */
    font-size: 1rem;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Hover Effects */
.char-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(66, 133, 244, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.char-card:hover::before {
    opacity: 1;
}

/* --- Particles Container --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: opacity 0.5s ease;
}