body {
    background-color: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
}

/* Fluid Gradient Background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    background-color: #000000;
}

.blob {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    opacity: 0.5;
    animation: move 20s infinite alternate ease-in-out;
}

.blob-1 {
    background-color: #1A1A1A;
    width: 40vw;
    height: 40vw;
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.blob-2 {
    background-color: #262626;
    width: 35vw;
    height: 35vw;
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    background-color: #0A0A0A;
    width: 30vw;
    height: 30vw;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10vw, 15vh) scale(1.1); }
    100% { transform: translate(-5vw, -10vh) scale(0.9); }
}

/* Ambient Light Cursor */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 50;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
}

/* Animated Border Cards */
@property --border-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes border-rotate {
    to { --border-angle: 360deg; }
}

.focus-pull-card {
    position: relative;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.focus-pull-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(
        from var(--border-angle),
        transparent 60%,
        rgba(180, 160, 130, 0.6) 80%,
        rgba(255, 255, 255, 0.8) 90%,
        rgba(180, 160, 130, 0.6) 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.focus-pull-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(180, 160, 130, 0.08);
}

.focus-pull-card:hover::before {
    opacity: 1;
    animation: border-rotate 4s linear infinite;
}

/* Breathing Links */
.breathing-link {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.breathing-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.1);
    filter: blur(10px);
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 1.5s ease-in-out;
    animation: breathe 3s infinite alternate ease-in-out;
    animation-play-state: paused;
}

.breathing-link:hover::after {
    opacity: 1;
    animation-play-state: running;
}

@keyframes breathe {
    0% { transform: scale(0.9); opacity: 0.5; filter: blur(10px); }
    100% { transform: scale(1.2); opacity: 1; filter: blur(15px); }
}

/* Card link pills */
.card-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-pill:hover {
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
}

.card-pill-icon {
    width: 0.7rem;
    height: 0.7rem;
}

/* Language Selector Dropdown */
#lang-selector .lang-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.25rem);
}
#lang-selector .lang-dropdown::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 0;
    right: 0;
    height: 0.5rem;
}
#lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#lang-selector.open svg {
    transform: rotate(180deg);
}

/* Hide elements for Slow Dawn initial state */
.dawn-element {
    opacity: 0;
    transform: translateY(30px);
}
