/* ===== CSS Variables & Reset ===== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --text-primary: #0a0a0a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --accent: #0a0a0a;
    --border-color: transparent;
    --border-hover: transparent;
    --card-bg: rgba(0, 0, 0, 0.02);
    --card-hover: rgba(0, 0, 0, 0.04);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}


/* ===== Subtle Particles ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    animation: float-particle 20s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* ===== Swan Feather Background ===== */
.swan-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.feather {
    position: absolute;
    opacity: 0.035;
    animation: float-feather 25s ease-in-out infinite;
}

.feather svg {
    width: 100%;
    height: 100%;
    stroke: #000;
    fill: none;
    stroke-width: 0.5;
}

.feather-1 {
    width: 150px;
    height: 150px;
    top: 8%;
    left: 3%;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

.feather-2 {
    width: 100px;
    height: 100px;
    top: 55%;
    right: 5%;
    animation-delay: -8s;
    transform: rotate(20deg);
}

.feather-3 {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 8%;
    animation-delay: -16s;
    transform: rotate(-25deg);
}

.feather-4 {
    width: 80px;
    height: 80px;
    top: 25%;
    right: 10%;
    animation-delay: -4s;
    transform: rotate(10deg);
}

.feather-5 {
    width: 110px;
    height: 110px;
    bottom: 35%;
    right: 20%;
    animation-delay: -12s;
    transform: rotate(-10deg);
}

@keyframes float-feather {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.035;
    }

    25% {
        transform: translateY(-15px) rotate(3deg) scale(1.02);
        opacity: 0.05;
    }

    50% {
        transform: translateY(-8px) rotate(-2deg) scale(1);
        opacity: 0.035;
    }

    75% {
        transform: translateY(-20px) rotate(5deg) scale(1.01);
        opacity: 0.045;
    }
}

/* ===== Container ===== */
.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    position: relative;
    z-index: 1;
}

/* ===== Hero / Logo Section ===== */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}

.logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.2s;
}

.logo {
    width: 100%;
    height: auto;
    transition: var(--transition-smooth);
    background: #ffffff;
}

.logo:hover {
    transform: scale(1.02);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-left: 4px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.links-section:nth-child(2) .section-title {
    animation-delay: 0.4s;
}

.links-section:nth-child(3) .section-title {
    animation-delay: 0.6s;
}

/* ===== Links Section ===== */
.links-section {
    margin-bottom: 40px;
    text-align: center;
}

.links-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

/* ===== Link Cards - Minimalist ===== */
.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 50%;
    /* Circular touch target */
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    position: relative;
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    width: auto;
    /* Allow it to fit content */
}

.link-card:last-child {
    border-bottom: none;
}

/* Stagger animations */
.link-card:nth-child(1) {
    animation-delay: 0.5s;
}

.link-card:nth-child(2) {
    animation-delay: 0.6s;
}

.link-card:nth-child(3) {
    animation-delay: 0.7s;
}

.link-card:nth-child(4) {
    animation-delay: 0.8s;
}

.links-section:nth-child(3) .link-card:nth-child(1) {
    animation-delay: 0.9s;
}

.links-section:nth-child(3) .link-card:nth-child(2) {
    animation-delay: 1.0s;
}

.link-card:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.03);
}

.link-card:active {
    opacity: 0.7;
    transform: scale(0.95);
}

.link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.7;
    transition: var(--transition-fast);
}

.link-icon svg {
    width: 28px;
    height: 28px;
}

.link-card:hover .link-icon {
    opacity: 1;
}

/* ===== CTA Section ===== */
.cta-section {
    margin-top: 50px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.1s;
}

.cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 24px 32px;
    background: var(--text-primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 14px;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300%;
    height: 300%;
}

.cta-button:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.cta-button:active {
    transform: scale(0.98);
}

.cta-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

.cta-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.footer {
    text-align: center;
    padding: 40px 24px;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 1.3s;
}

.footer p {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ===== Responsive Design ===== */
@media (max-width: 520px) {
    .container {
        padding: 40px 20px 30px;
    }

    .logo-wrapper {
        max-width: 280px;
    }

    .hero {
        margin-bottom: 50px;
    }

    .link-card {
        padding: 14px 16px;
    }

    .cta-button {
        padding: 20px 24px;
    }
}

/* ===== Hover States for Touch Devices ===== */
@media (hover: none) {
    .cursor-glow {
        display: none;
    }

    .link-card:hover {
        transform: none;
    }

    .link-arrow {
        opacity: 0.4;
        transform: translateX(0);
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .particle {
        display: none;
    }
}