@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/Inter-Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

    /* ============================================
       CSS Variables & Theme
       ============================================ */
:root {
    /* Colors */
    --primary: #e1306c;
    --primary-dark: #c13584;
    --secondary: #405de6;
    --accent: #5851db;
    --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);

    /* Backgrounds */
    --bg-main: #fafafa;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f0;

    /* Text */
    --text-primary: #262626;
    --text-secondary: #8e8e8e;
    --text-light: #c7c7c7;

    /* Borders & Shadows */
    --border: #dbdbdb;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

    /* Sizing */
    --radius: 12px;
    --radius-lg: 16px;
    --max-width: 680px;

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Seasonal Colors */
    --season-spring: #ffb7c5;
    --season-summer: #ffd700;
    --season-autumn: #ff6b35;
    --season-winter: #b8d8ff;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-main: #000000;
        --bg-card: #1a1a1a;
        --bg-hover: #2a2a2a;
        --text-primary: #fafafa;
        --text-secondary: #a8a8a8;
        --border: #262626;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);

        --season-spring: #ff85a1;
        --season-summer: #ffed4e;
        --season-autumn: #ff8c5a;
        --season-winter: #d4e8ff;
    }
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   Seasonal Animations Container
   ============================================ */
.seasonal-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.seasonal-element {
    position: absolute;
    top: -10%;
    opacity: 0.8;
    will-change: transform, opacity;
    animation: fall linear infinite;
}

/* ============================================
   Spring: Cherry Blossoms (März-Mai)
   ============================================ */
.season-spring .seasonal-element {
    font-size: 20px;
    color: var(--season-spring);
    text-shadow: 0 0 5px rgba(255, 183, 197, 0.5);
}

.season-spring .seasonal-element::before {
    content: '🌸';
}

/* ============================================
   Summer: Butterflies (Juni-August)
   ============================================ */
.season-summer .seasonal-element {
    font-size: 22px;
    color: var(--season-summer);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.season-summer .seasonal-element::before {
    content: '🦋';
}

.season-summer .seasonal-element:nth-child(3n)::before {
    content: '🌺';
}

/* ============================================
   Autumn: Falling Leaves (September-November)
   ============================================ */
.season-autumn .seasonal-element {
    font-size: 24px;
    color: var(--season-autumn);
    text-shadow: 0 0 6px rgba(255, 107, 53, 0.5);
}

.season-autumn .seasonal-element::before {
    content: '🍂';
}

.season-autumn .seasonal-element:nth-child(2n) ::before {
    content: '🍁';
}

/* ============================================
   Winter: Snowflakes (Dezember-Februar)
   ============================================ */
.season-winter .seasonal-element {
    font-size: 18px;
    color: var(--season-winter);
    text-shadow: 0 0 10px rgba(184, 216, 255, 0.6);
}

.season-winter .seasonal-element::before {
    content: '❄️';
}

.season-winter .seasonal-element:nth-child(3n)::before {
    content: '⛄';
}

/* ============================================
   Fall Animation
   ============================================ */
@keyframes fall {
    0% {
        top: -10%;
        opacity: 0.8;
        transform: translateX(0) rotate(0deg);
    }

    25% {
        opacity: 1;
        transform: translateX(15px) rotate(90deg);
    }

    50% {
        transform: translateX(-15px) rotate(180deg);
    }

    75% {
        transform: translateX(15px) rotate(270deg);
    }

    100% {
        top: 110%;
        opacity: 0.2;
        transform: translateX(0) rotate(360deg);
    }
}

/* Winter: Langsamere, sanftere Bewegung */
.season-winter .seasonal-element {
    animation-name: fallSnow;
}

@keyframes fallSnow {
    0% {
        top: -10%;
        opacity: 0.9;
        transform: translateX(0) rotate(0deg);
    }

    50% {
        opacity: 1;
        transform: translateX(20px) rotate(180deg);
    }

    100% {
        top: 110%;
        opacity: 0.3;
        transform: translateX(-20px) rotate(360deg);
    }
}

/* Summer: Flatterndere Bewegung */
.season-summer .seasonal-element {
    animation-name: flutter;
}

@keyframes flutter {
    0% {
        top: -10%;
        opacity: 0.7;
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    10% {
        transform: translateX(10px) translateY(5px) rotate(20deg);
    }

    20% {
        transform: translateX(-5px) translateY(10px) rotate(-10deg);
    }

    30% {
        transform: translateX(15px) translateY(15px) rotate(30deg);
    }

    40% {
        transform: translateX(-10px) translateY(20px) rotate(-20deg);
    }

    50% {
        opacity: 1;
        transform: translateX(20px) translateY(25px) rotate(40deg);
    }

    60% {
        transform: translateX(-15px) translateY(30px) rotate(-30deg);
    }

    70% {
        transform: translateX(10px) translateY(35px) rotate(20deg);
    }

    80% {
        transform: translateX(-5px) translateY(40px) rotate(-10deg);
    }

    90% {
        opacity: 0.7;
        transform: translateX(15px) translateY(45px) rotate(30deg);
    }

    100% {
        top: 110%;
        opacity: 0.3;
        transform: translateX(0) translateY(50px) rotate(0deg);
    }
}

/* ============================================
   Positioning & Timing (15 Elements)
   ============================================ */
.seasonal-element:nth-child(1) {
    left: 5%;
    animation-duration: 12s;
    animation-delay: 0s;
    font-size: 18px;
}

.seasonal-element:nth-child(2) {
    left: 15%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 22px;
}

.seasonal-element:nth-child(3) {
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s;
    font-size: 16px;
}

.seasonal-element:nth-child(4) {
    left: 35%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 20px;
}

.seasonal-element:nth-child(5) {
    left: 45%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 19px;
}

.seasonal-element:nth-child(6) {
    left: 55%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 21px;
}

.seasonal-element:nth-child(7) {
    left: 65%;
    animation-duration: 16s;
    animation-delay: 2.5s;
    font-size: 17px;
}

.seasonal-element:nth-child(8) {
    left: 75%;
    animation-duration: 12s;
    animation-delay: 4.5s;
    font-size: 23px;
}

.seasonal-element:nth-child(9) {
    left: 85%;
    animation-duration: 14s;
    animation-delay: 1.5s;
    font-size: 18px;
}

.seasonal-element:nth-child(10) {
    left: 10%;
    animation-duration: 13s;
    animation-delay: 6s;
    font-size: 20px;
}

.seasonal-element:nth-child(11) {
    left: 20%;
    animation-duration: 11s;
    animation-delay: 3.5s;
    font-size: 19px;
}

.seasonal-element:nth-child(12) {
    left: 40%;
    animation-duration: 15s;
    animation-delay: 2.8s;
    font-size: 21px;
}

.seasonal-element:nth-child(13) {
    left: 60%;
    animation-duration: 12s;
    animation-delay: 5.5s;
    font-size: 17px;
}

.seasonal-element:nth-child(14) {
    left: 80%;
    animation-duration: 14s;
    animation-delay: 1.8s;
    font-size: 22px;
}

.seasonal-element:nth-child(15) {
    left: 95%;
    animation-duration: 13s;
    animation-delay: 4.2s;
    font-size: 18px;
}

/* ============================================
   Linktree Layout
   ============================================ */
.linktree-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
}

.linktree-container {
    max-width: var(--max-width);
    width: 100%;
    animation: fadeIn 0.6s ease-out;
}

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

/* ============================================
   Profile Section
   ============================================ */
.profile {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.profile-pic-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: var(--instagram-gradient);
    padding: 3px;
    transition: var(--transition);
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin: 12px 0 8px;
    color: var(--text-primary);
}

.profile-bio {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============================================
   Links Section
   ============================================ */
.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.link-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    animation: slideIn 0.5s ease-out backwards;
}

/* Stagger animation for links */
.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    background: var(--bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.link-button:active {
    transform: translateY(-2px);
}

/* Link Components */
.link-icon {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

.link-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    background: #ffc107;
    color: #000;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-external {
    font-size: 18px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.link-button:hover .link-external {
    transform: translate(2px, -2px);
    color: var(--primary);
}

/* Link Styles */
.link-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.link-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.link-instagram {
    background: var(--instagram-gradient);
    color: white;
    border: none;
}

.link-instagram:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px) scale(1.02);
}

.link-highlight {
    border: 2px solid var(--primary);
    background: var(--bg-card);
}

.link-highlight:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 32px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-links .separator {
    color: var(--text-light);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 600px) {
    /* Mobile: Weniger saisonale Elemente */
    .seasonal-element:nth-child(n+8) {
        display: none;
    }

    .linktree-wrapper {
        padding: 30px 16px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .profile-name {
        font-size: 24px;
    }

    .profile-bio {
        font-size: 15px;
    }

    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }

    .link-icon {
        font-size: 24px;
    }

    .links {
        gap: 14px;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .seasonal-element {
        display: none !important;
    }
}

.link-button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .seasonal-container {
        display: none;
    }

    .linktree-wrapper {
        min-height: auto;
    }

    .link-button {
        page-break-inside: avoid;
    }
}