/* ============================================
   Mermaid1550 - Ocean Theme 🧜‍♀️
   Cozy, Cute, Welcoming
   ============================================ */

/* CSS Variables */
:root {
    /* Ocean Colors */
    --ocean-deep: #0a1628;
    --ocean-mid: #1a2d4a;
    --ocean-light: #2a4a6a;
    
    /* Accent Colors */
    --teal: #00d4aa;
    --teal-light: #00f5d4;
    --pink: #ff6b9d;
    --pink-light: #ff8fb8;
    --purple: #9b72ff;
    --purple-light: #b99aff;
    --blue: #4da6ff;
    
    /* Neutrals */
    --white: #ffffff;
    --off-white: #f0f6ff;
    --muted: #8899aa;
    --dark-text: #1a2d4a;
    
    /* Glow Effects */
    --glow-teal: rgba(0, 212, 170, 0.4);
    --glow-pink: rgba(255, 107, 157, 0.4);
    --glow-purple: rgba(155, 114, 255, 0.4);
    
    /* Fonts */
    --font-body: 'Nunito', 'Segoe UI', sans-serif;
    --font-display: 'Comfortaa', 'Nunito', sans-serif;
    
    /* Spacing */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Light Theme */
[data-theme="light"] {
    --ocean-deep: #aaeee3;
    --ocean-mid: #d0e8f5;
    --ocean-light: #b8dcf0;
    --dark-text: #0a1628;
    --muted: #5a6a7a;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background: var(--ocean-deep);
    color: var(--off-white);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

[data-theme="light"] body {
    color: var(--dark-text);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    background: var(--teal);
    color: var(--ocean-deep);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 10px;
}

/* ============================================
   Floating Decorations
   ============================================ */
.floating-decor {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.decor {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    animation: float-around 20s ease-in-out infinite;
}

.decor-1 { top: 10%; left: 5%; animation-delay: 0s; }
.decor-2 { top: 20%; right: 8%; animation-delay: -3s; }
.decor-3 { top: 40%; left: 3%; animation-delay: -6s; }
.decor-4 { top: 60%; right: 5%; animation-delay: -9s; }
.decor-5 { top: 75%; left: 8%; animation-delay: -12s; }
.decor-6 { top: 85%; right: 10%; animation-delay: -15s; }

@keyframes float-around {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-30px) rotate(3deg); }
}

/* ============================================
   Video Background
   ============================================ */
.bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
    opacity: 100%;
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.7) 0%,
        rgba(10, 22, 40, 0.5) 50%,
        rgba(10, 22, 40, 0.8) 100%
    );
    z-index: -1;
    pointer-events: none;
}

[data-theme="light"] .video-overlay {
    background: linear-gradient(
        180deg,
        rgba(232, 244, 252, 0.85) 0%,
        rgba(232, 244, 252, 0.75) 50%,
        rgba(232, 244, 252, 0.9) 100%
    );
}

/* ============================================
   HEADER
   ============================================ */
header {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
}

.header-container {
    max-width: 700px;
    z-index: 10;
}

.mermaid-badge {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.mermaid-badge img {
  align-items: auto;
  width: auto;
  height: 280px;
}

.badge-emoji {
    position: absolute;
    bottom: -5px;
    right: -5px;
    font-size: 2rem;
    background: var(--ocean-mid);
    border-radius: 50%;
    padding: 5px;
    border: 2px solid var(--teal);
}

.logo {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px var(--glow-teal);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--teal-light);
}

.subtitle {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--teal-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.header-text {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.header-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--ocean-deep);
    box-shadow: 0 4px 20px var(--glow-teal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-teal);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--teal);
    color: var(--teal-light);
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    color: var(--ocean-mid);
}

.wave-divider svg {
    width: 100%;
    height: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: n;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

[data-theme="light"] .main-nav {
    background: rgba(232, 244, 252, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--off-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.25s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-link:hover, .nav-link.active {
    background: rgba(0, 212, 170, 0.15);
    color: var(--teal-light);
}

.kofi-btn {
    background: linear-gradient(135deg, #00b9fe, #0099cc);
    color: white !important;
    margin-left: 0.5rem;
}

.kofi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 185, 254, 0.4);
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--off-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 1rem;
}

.theme-toggle:hover {
    background: rgba(0, 212, 170, 0.2);
    border-color: var(--teal);
    transform: rotate(15deg);
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 10;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.section-icon {
    font-size: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--teal-light);
}

.section-desc {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--pink), var(--purple));
}

[data-theme="light"] .about-content {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.about-image {
    text-align: center;
}

.image-frame {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--teal);
    box-shadow: 0 0 30px var(--glow-teal);
    margin: 0 auto 1rem;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
}

.about-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.icon-item {
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.icon-item:nth-child(2) { animation-delay: -1s; }
.icon-item:nth-child(3) { animation-delay: -2s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-text p {
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight {
    color: var(--teal-light);
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-light);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================
   GAMES GRID
   ============================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

[data-theme="light"] .game-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--teal);
    box-shadow: 0 10px 30px var(--glow-teal);
}

.game-card-image {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.game-card-content {
    padding: 1rem;
}

.game-card-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--teal-light);
}

.game-card-tagline {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ============================================
   EGGSCAPE FEATURE
   ============================================ */
.eggscape-card {
    background: linear-gradient(135deg, rgba(155, 114, 255, 0.15), rgba(0, 212, 170, 0.15));
    border: 2px solid var(--purple);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.eggscape-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--purple);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.eggscape-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.eggscape-image {
    flex-shrink: 0;
}

.eggscape-image img {
    width: 250px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px var(--glow-purple);
    border: 2px solid var(--purple);
}

.eggscape-text h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--purple-light);
    margin-bottom: 0.5rem;
}

.eggscape-tagline {
    font-size: 1.1rem;
    color: var(--off-white);
    margin-bottom: 1rem;
}

.eggscape-features {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

.feature {
    background: rgba(155, 114, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    border: 1px solid rgba(155, 114, 255, 0.3);
}

/* ============================================
   VIDEOS GRID
   ============================================ */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.video-card {
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.video-card:hover {
    border-color: var(--teal);
    box-shadow: 0 0 20px var(--glow-teal);
}

.video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.community-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

[data-theme="light"] .community-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--teal-light);
}

.community-card p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.community-rules {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
}

[data-theme="light"] .community-rules {
    background: rgba(255, 107, 157, 0.05);
}

.community-rules h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--pink-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.community-rules ul {
    list-style: none;
}

.community-rules li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px dashed rgba(255, 107, 157, 0.2);
}

.community-rules li:last-child {
    border-bottom: none;
}

.rule-icon {
    font-size: 1.1rem;
}

/* ============================================
   SOCIALS GRID
   ============================================ */
.socials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: all 0.3s;
}

[data-theme="light"] .social-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

.social-card:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: all 0.3s;
}

.social-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.social-desc {
    font-size: 0.8rem;
    color: var(--muted);
}

/* Social Colors */
.social-card.twitch .social-icon { background: rgba(145, 70, 255, 0.2); color: #9146ff; }
.social-card.twitch:hover { border-color: #9146ff; box-shadow: 0 0 20px rgba(145, 70, 255, 0.3); }

.social-card.youtube .social-icon { background: rgba(255, 0, 0, 0.2); color: #ff0000; }
.social-card.youtube:hover { border-color: #ff0000; box-shadow: 0 0 20px rgba(255, 0, 0, 0.3); }

.social-card.tiktok .social-icon { background: rgba(255, 0, 80, 0.2); color: #ff0050; }
.social-card.tiktok:hover { border-color: #ff0050; box-shadow: 0 0 20px rgba(255, 0, 80, 0.3); }

.social-card.instagram .social-icon { background: rgba(225, 48, 108, 0.2); color: #e1306c; }
.social-card.instagram:hover { border-color: #e1306c; box-shadow: 0 0 20px rgba(225, 48, 108, 0.3); }

.social-card.discord .social-icon { background: rgba(88, 101, 242, 0.2); color: #5865f2; }
.social-card.discord:hover { border-color: #5865f2; box-shadow: 0 0 20px rgba(88, 101, 242, 0.3); }

.social-card.kofi .social-icon { background: rgba(0, 185, 254, 0.2); color: #00b9fe; }
.social-card.kofi:hover { border-color: #00b9fe; box-shadow: 0 0 20px rgba(0, 185, 254, 0.3); }

/* ============================================
   FOOTER
   ============================================ */
footer {
    position: relative;
    background: rgba(10, 22, 40, 0.9);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    color: var(--ocean-deep);
    transform: translateY(-99%);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.footer-decor {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5rem;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--teal-light);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.3rem;
}

.footer-made {
    font-size: 0.85rem;
    color: var(--muted);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--teal-light);
}

/* ============================================
   MODAL
   ============================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--ocean-mid);
    border: 2px solid var(--teal);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 40px var(--glow-teal);
}

[data-theme="light"] .modal-content {
    background: var(--white);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--teal);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-body h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--teal-light);
    margin-bottom: 0.75rem;
}

.modal-body p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: var(--ocean-deep);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 90;
    transition: all 0.3s;
    box-shadow: 0 4px 20px var(--glow-teal);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--glow-teal);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-icons {
        justify-content: center;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .eggscape-content {
        flex-direction: column;
        text-align: center;
    }
    
    .eggscape-features {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        gap: 0.3rem;
    }
    
    .nav-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .nav-link i {
        display: none;
    }
    
    .header-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
    
    .socials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .mermaid-badge img {
        width: 100px;
        height: 100px;
    }
    
    .image-frame {
        width: 150px;
        height: 150px;
    }
    
    .eggscape-image img {
        width: 100%;
        max-width: 250px;
    }
}

.scroll-down {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    animation: fadeIn 1.5s ease;
}

.scroll-down span {
    font-size: 30px;
    color: white;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

.scroll-down .arrow {
    width: 22px;
    height: 22px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    animation: bounce 1.5s infinite;
    opacity: 0.9;
}

/* Animationen */
@keyframes bounce {
    0% { transform: translateY(0) rotate(-45deg); }
    50% { transform: translateY(8px) rotate(-45deg); }
    100% { transform: translateY(0) rotate(-45deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
