/* --- Basis & Dark Mode --- */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

body {
    margin: 0; 
    font-family: 'Montserrat', sans-serif; /* Main UI Font */
    background-color: #121212; /* Dark background */
    color: white; overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

/* Background image overlay (Global Blur like Podium) */
body::before {
    content: "";
    position: absolute;
    /* Scale larger to preven blur edges */
    top: -20px; left: -20px; width: calc(100% + 40px); height: calc(100% + 40px);
    background-image: url('/media/bg_tracht-2048x1366.jpg');
    background-size: cover;
    background-position: center;
    
    /* Blur and Darken globally */
    filter: blur(15px) brightness(0.6);
    
    z-index: -2;
    transition: background-image 1s ease-in-out;
}

body.bg-women::before {
    background-image: url('/media/Tracht-Dirndl-2025-24-1536x1024.jpg');
}

/* Background Gradients for Depth */
body::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 51, 114, 0.2), transparent 70%);
    z-index: -1; /* Sit above the blurred image */
    pointer-events: none;
}

.header {
    background: linear-gradient(90deg, #001f3f, #003372); /* Darker blue gradient header */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 2rem;
    font-family: 'Playfair Display', serif; /* Elegant Headers */
    font-weight: bold; letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
}

.logo-container img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
}

.header-text {
    flex-grow: 1;
    text-align: center;
}

/* --- Preparation Bar --- */
.prep-container {
    display: flex;
    justify-content: space-between;
    gap: 2vh; /* Match grid gap */
    padding: 1vh 2vw; /* Match grid padding */
    margin-bottom: 0;
    color: white;
    width: 100%;
    box-sizing: border-box;
}
.prep-box {
    flex: 1; /* Stretch to fill space */
    min-height: 20vh; /* Approx 1/5 of screen height */
    background: linear-gradient(145deg, rgba(30, 35, 39, 0.6), rgba(0, 31, 63, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: borderPulseBlue 3s infinite ease-in-out;
}

/* Pulsating Border Animation */
@keyframes borderPulseBlue {
    0% { border-color: rgba(50, 200, 255, 0.4); box-shadow: 0 0 10px rgba(50, 200, 255, 0.2); }
    50% { border-color: #00ffff; box-shadow: 0 0 35px rgba(0, 255, 255, 0.9), 0 0 15px rgba(0, 255, 255, 0.5) inset; }
    100% { border-color: rgba(50, 200, 255, 0.4); box-shadow: 0 0 10px rgba(50, 200, 255, 0.2); }
}

@keyframes borderPulseGreen {
    0% { border-color: rgba(46, 204, 113, 0.4); box-shadow: 0 0 10px rgba(46, 204, 113, 0.2); }
    50% { border-color: #00ff88; box-shadow: 0 0 35px rgba(0, 255, 136, 0.9), 0 0 15px rgba(0, 255, 136, 0.5) inset; }
    100% { border-color: rgba(46, 204, 113, 0.4); box-shadow: 0 0 10px rgba(46, 204, 113, 0.2); }
}

.prep-top-info {
    position: absolute;
    top: 1vh;
    left: 1.5vw;
    font-size: 2vh;
    color: #5dade2;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif; /* Elegant Labels */
    text-shadow: 0 0 5px rgba(93, 173, 226, 0.5);
    background: rgba(0,0,0,0.3);
    padding: 0.5vh 1vw;
    border-radius: 8px;
}

.prep-teams-display {
    color: #fff;
    font-weight: 700;
    font-size: 4vh;
    text-align: center;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif; /* Clear Team Names */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 3vh;
}

/* Rotating Light Border */
.prep-box::after {
    content: "";
    position: absolute;
    inset: -4px; /* Cover the existing border and expand */
    border-radius: 18px; /* Slightly larger radius */
    padding: 8px; /* Thicker running light */
    background: conic-gradient(from var(--angle), transparent 50%, #00ffff 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    animation: rotateAngle 3s linear infinite;
}

/* Green rotating border for active match */
.active-match::after {
    background: conic-gradient(from var(--angle), transparent 50%, #00ff88 100%);
}

@keyframes rotateAngle {
    to { --angle: 360deg; }
}

/* Background SVG Filling Card */
.prep-box::before {
    content: "";
    position: absolute;
    top: 86%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url('/media/Seil%20mit%20Hände.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto; /* Fill large part of card */
    opacity: 0.2; /* Subtle background */
    z-index: 0;
    pointer-events: none;
}

/* Ensure content is above SVG */
.prep-teams-display {
    position: relative;
    z-index: 2;
}

.prep-top-info {
    z-index: 2; /* Ensure it stays on top */
}

.prep-vs {
    font-size: 5vh;
    color: #ccc;
    margin: 0vh 0;
    font-weight: bold;
    font-family: 'Brush Script MT', cursive; /* Script style VS */
}

/* Initial Phase (4 cards shown): Smaller fonts */
.initial-prep-view .prep-teams-display {
    font-size: 2.5vh; 
}
.initial-prep-view .prep-vs {
    font-size: 2vh;
}

.active-match {
    border-color: #2ecc71 !important;
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.2), rgba(0, 50, 20, 0.8)) !important;
    animation: borderPulseGreen 2s infinite ease-in-out !important;
}
.active-match .prep-top-info {
    color: #2ecc71;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
}

/* --- Gruppen Ansicht (4er Grid) --- */
.groups-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2vh; padding: 1vh 2vw;
    flex-grow: 1;
    min-height: 0; /* Important for grid in flex container */
}

.group-card {
    background: linear-gradient(145deg, rgba(29, 67, 113, 0.4), rgba(0, 0, 0, 0.6)); /* Deep Blue Glass */
    backdrop-filter: blur(20px) saturate(180%);
    border-radius: 15px; padding: 1.5vh;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 5px solid #0055aa;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.05);
    color: white;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.group-header { 
    font-size: 2.5vh; 
    color: #e0e0e0; 
    margin-bottom: 1vh; 
    font-weight: bold; 
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); 
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5vh;
    flex-shrink: 0;
}

table { width: 100%; font-size: 2vh; border-collapse: collapse; }
td { padding: 0.5vh 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.qualified { color: #5dade2; font-weight: bold; text-shadow: 0 0 10px rgba(93, 173, 226, 0.4); } 

/* Qualification Highlight Row */
.qualified-row {
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.2) 0%, transparent 100%) !important;
    border-left: 4px solid #2ecc71;
}
.qualified-row td:first-child {
    color: #2ecc71;
    font-weight: bold;
}

/* Active Group Team Pulsation */
.active-group-team td {
    color: #2ecc71 !important; /* KP-Style Green */
    font-weight: 900 !important;
    animation: textPulse 2s infinite ease-in-out;
}

@keyframes textPulse {
    0% { text-shadow: 0 0 5px rgba(46, 204, 113, 0.2); opacity: 1; }
    50% { text-shadow: 0 0 20px rgba(46, 204, 113, 0.8); opacity: 0.8; }
    100% { text-shadow: 0 0 5px rgba(46, 204, 113, 0.2); opacity: 1; }
}

/* --- KO Ansicht (Bracket) --- */
.ko-layout {
    display: none; /* Wird per JS aktiviert */
    justify-content: center; align-items: center;
    flex: 1;
    width: 100%;
    height: 100%; /* Ensure full height */
}

.bracket-container {
    display: flex; 
    gap: 8vw; 
    width: 95%;
    height: 100%;
    justify-content: space-between;
    padding: 2vh 0;
}

.bracket-col {
    display: flex; flex-direction: column; 
    justify-content: space-around; flex: 1;
    align-items: center;
    position: relative;
}

/* Specific Layout for Finals Column (Last one) to center Final and isolate P3 */
.bracket-col:last-child {
    justify-content: center;
}

.match-box {
    width: 100%;
    max-width: 25vw;
    background: linear-gradient(145deg, rgba(29, 67, 113, 0.4), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(20px);
    padding: 2.5vh 2vw; 
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2); 
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

/* Verbindungslinien Logic */
/* 1. Remove old ::before line */
.match-box::before { display: none; }

/* 2. Receiver Lines (Left side input) for Col 2 and Col 3 */
.bracket-col:nth-child(2) .match-box::before,
.bracket-col:last-child .match-box:not(.small-final)::before {
    display: block;
    content: '';
    position: absolute;
    left: -2vw; 
    top: 49%;
    width: 1.5vw;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* 3. Output Connectors (Right side output) via .connectors div */
.connectors {
    position: absolute;
    right: -3vw; 
    width: 2vw;
    pointer-events: none;
    border-right: 4px solid rgba(255, 255, 255, 0.3); 
}

/* Col 1 (Quarterfinals) -> Col 2 (Semifinals) */
/* Vertical distance ~11.5% of height */
.bracket-col:first-child .match-box:nth-child(odd) .connectors {
    top: 50%;
    height: 11.5vh; 
    border-top: 4px solid rgba(255, 255, 255, 0.3);
    border-bottom: none;
    border-top-right-radius: 8px;
}
.bracket-col:first-child .match-box:nth-child(even) .connectors {
    bottom: 50%;
    height: 11.5vh;
    border-bottom: 4px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-bottom-right-radius: 8px;
}

/* Col 2 (Semifinals) -> Col 3 (Final) */
/* Vertical distance ~23% of height */
.bracket-col:nth-child(2) .match-box:nth-child(1) .connectors {
    top: 50%;
    height: 23vh; 
    border-top: 4px solid rgba(255, 255, 255, 0.3);
    border-bottom: none; 
    border-top-right-radius: 8px;
}
.bracket-col:nth-child(2) .match-box:nth-child(2) .connectors {
    bottom: 50%;
    height: 23vh;
    border-bottom: 4px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-bottom-right-radius: 8px;
}

/* Hide connectors for Final column */
.bracket-col:last-child .connectors { display: none; }

/* Category Label (Herren vs Damen) in Top Right of KO View */
.ko-category-label {
    position: absolute;
    top: 2vh;
    right: 2vw;
    font-size: 3vh;
    color: #5dade2;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 0 5px rgba(93, 173, 226, 0.5);
    background: linear-gradient(145deg, rgba(30, 35, 39, 0.6), rgba(0, 31, 63, 0.8));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(93, 173, 226, 0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 1vh 2vw;
    border-radius: 12px;
    z-index: 100;
    pointer-events: none;
    letter-spacing: 2px;
}
/* REMOVED: Specific pink styling for women label - requested to keep men's style
body.bg-women .ko-category-label {
    color: #e91e63;
    border-color: rgba(233, 30, 99, 0.4);
    text-shadow: 0 0 5px rgba(233, 30, 99, 0.5);
}
*/

/* --- WOMEN'S KO ADJUSTMENTS --- */
/* Override the first-child connector height because Women start with Semifinals (2 items) */
body.bg-women .bracket-col:first-child .match-box .connectors {
    height: 23vh !important;
}

/* Close the larger gap in 2-column layout for the Final match input line */
body.bg-women .bracket-col:last-child .match-box:not(.small-final)::before {
    width: 19vw;
    left: -19vw;
}

.small-final {
    position: absolute;
    bottom: 20vh;
    width: 80%;
    opacity: 0.9;
    transform: none;
    border-top: 4px dashed rgba(255,255,255,0.3) !important;
}
/* No input lines for P3 */
.small-final::before { display: none !important; }

.match-box.done {
    border-color: #0055aa !important;
    background: linear-gradient(145deg, rgba(0, 85, 170, 0.3), rgba(0, 31, 63, 0.6));
    box-shadow: 0 0 15px rgba(0, 85, 170, 0.3);
}

.m-info { font-size: 2vh; color: #aaa; text-transform: uppercase; margin-bottom: 5px; text-align: center; font-family: 'Playfair Display', serif; }
.m-team { font-size: 2.5vh; padding: 5px; text-align: center; width: 100%; font-family: 'Montserrat', sans-serif; font-weight: 500;}
.m-team.win { color: #fff; font-weight: 900; text-shadow: 0 0 10px #0055aa; }

/* Active KO Match Styling (Pulsing & Rotating) - GREEN (Playing Now) */
.active-ko-match {
    border-color: #2ecc71 !important;
    background: linear-gradient(145deg, rgba(46, 204, 113, 0.2), rgba(0, 50, 20, 0.8)) !important;
    animation: borderPulseGreen 2s infinite ease-in-out !important;
}

.active-ko-match::after {
    content: "";
    position: absolute;
    inset: -6px; /* Slightly larger frame */
    border-radius: 16px; 
    padding: 6px; 
    background: conic-gradient(from var(--angle), transparent 50%, #00ff88 100%);
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    animation: rotateAngle 3s linear infinite;
}

.active-ko-match .m-info {
    color: #2ecc71;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(46, 204, 113, 0.5);
}

/* Pending KO Match Styling - BLUE (Ready but waiting) */
.active-ko-pending {
    border-color: #5dade2 !important;
    background: linear-gradient(145deg, rgba(29, 67, 113, 0.5), rgba(0, 31, 63, 0.8)) !important;
    animation: borderPulseBlue 3s infinite ease-in-out !important;
}

.active-ko-pending .m-info {
    color: #5dade2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(93, 173, 226, 0.5);
}

/* --- ANIMATION OVERLAY --- */
#victory-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 999;
    display: none; /* Start hidden */
    justify-content: center; align-items: center;
    flex-direction: column;
}

.anim-content { text-align: center; }

#anim-vs { font-size: 2rem; color: #858989; text-transform: uppercase; animation: fadeIn 1s; font-family: 'Playfair Display', serif; }
#anim-loser { font-size: 2rem; color: #ccc; animation: fadeIn 2s; font-family: 'Montserrat', sans-serif; font-style: italic; }

#anim-winner {
    font-size: 6rem; color: #0055aa;
    text-shadow: 0 0 20px #003372;
    margin: 20px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    animation: zoomIn 0.8s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

/* --- PODIUM VIEW --- */
.podium-layout {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: absolute; /* Cover everything */
    top: 0; left: 0;
    
    /* Background Blur + Darkening for contrast */
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    
    z-index: 50;
    overflow: hidden;
}

.podium-title {
    margin-bottom: 5vh;
    font-size: 5vh;
    background: linear-gradient(to right, #0055aa, #fff, #0055aa);
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 85, 170, 0.5);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.podium-stage {
    display: flex;
    align-items: flex-end;
    gap: 1vw;
    margin-bottom: 10vh;
    z-index: 10;
    height: 60vh;
}

.podium-step {
    width: 25vw;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content (number) vertically */
    overflow: visible; /* für border effect */
    
    /* Strong Glassmorphism */
    background: linear-gradient(145deg, rgba(29, 67, 113, 0.85), rgba(0, 0, 0, 0.9));
    backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    
    /* Animation initial state */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s ease-out;
}

/* Visibility State */
.podium-step.visible {
    transform: translateY(0);
    opacity: 1;
}

/* --- Active Rank Pulsating Border & Colors --- */

/* Base Logic: The active-rank class applies the rotating border structure */
.podium-step.active-rank::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 18px; 
    padding: 6px; 
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
    animation: rotateAngle 3s linear infinite;
}

/* --- Platz 3: BRONZE --- */
.step-3 .rank-num { color: rgba(205, 127, 50, 0.6); text-shadow: 0 0 20px rgba(205, 127, 50, 0.4); }
.step-3.active-rank {
    border-color: #cd7f32 !important;
    box-shadow: 0 0 60px rgba(205, 127, 50, 0.6);
}
.step-3.active-rank::after {
    background: conic-gradient(from var(--angle), transparent 50%, #cd7f32 100%);
}

/* --- Platz 2: SILBER --- */
.step-2 .rank-num { color: rgba(192, 192, 192, 0.6); text-shadow: 0 0 20px rgba(192, 192, 192, 0.4); }
.step-2.active-rank {
    border-color: #e0e0e0 !important;
    box-shadow: 0 0 60px rgba(224, 224, 224, 0.6);
}
.step-2.active-rank::after {
    background: conic-gradient(from var(--angle), transparent 50%, #e0e0e0 100%);
}

/* --- Platz 1: GOLD --- */
.step-1 .rank-num { color: rgba(255, 215, 0, 0.6); text-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }
.step-1.active-rank {
    border-color: #ffd700 !important;
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.8);
}
.step-1.active-rank::after {
    background: conic-gradient(from var(--angle), transparent 50%, #ffd700 100%);
}


.step-1 { 
    height: 50vh; 
    border-top: none; 
    border-radius: 15px 15px 0 0; 
    order: 2; 
    z-index: 3;
}
.step-2 { 
    height: 35vh; 
    border-top: none;
    border-radius: 15px 0 0 0; 
    order: 1; 
    z-index: 2;
}
.step-3 { 
    height: 25vh; 
    border-top: none; 
    border-radius: 0 15px 0 0; 
    order: 3; 
    z-index: 1;
}

.team-name {
    font-size: 4vh;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2vh;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: absolute;
    bottom: 100%;
    left: 0; right: 0;
    padding-bottom: 2vh;
    word-wrap: break-word;
    font-family: 'Montserrat', sans-serif;
    
    /* Fade in name with step */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s 0.5s, transform 0.5s 0.5s; 
}

.podium-step.visible .team-name {
    opacity: 1;
    transform: translateY(0);
}

.rank-num {
    font-size: 18vh;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 0.8;
    font-family: 'Playfair Display', serif; /* Elegant Numbers */
}

/* Trophy Removed */
.trophy-icon { display: none; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-20px);}
    60% {transform: translateY(-10px);}
}

@keyframes zoomIn {
    0% { transform: scale(0); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}

/* --- Transition Curtain --- */
#transition-curtain {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    /* Use a sharp diagonal gradient or solid specialized color */
    background: linear-gradient(110deg, #001f3f 20%, #004080 50%, #001f3f 80%);
    z-index: 10000;
    pointer-events: none;
    
    /* Initially hidden off-screen left */
    transform: translateX(-150%) skewX(-15deg); 
    box-shadow: 10px 0 50px rgba(0,0,0,0.8);
}

/* When transition is active */
.anim-curtain-active {
    animation: wipeScreen 1s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

@keyframes wipeScreen {
    0% { transform: translateX(-150%) skewX(-20deg); }
    45% { transform: translateX(-10%) skewX(-5deg); } /* Slight Pause/Slowdown in middle */
    55% { transform: translateX(0%) skewX(0deg); }    /* Full Cover */
    100% { transform: translateX(150%) skewX(20deg); }
}

/* --- LOGO / NEUTRAL VIEW --- */
.logo-screen-layout {
    display: none;
    flex: 1;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 2s ease-in-out;
}

.main-logo-img {
    max-width: 80vw;
    max-height: 60vh;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.2));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}