:root {
    --coral-primary: #FD6E51;
    --coral-secondary: #FD7A5E;
    --text-light: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: linear-gradient(135deg, var(--coral-primary) 0%, var(--coral-secondary) 100%);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Center focus gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Animated background element */
.background-float {
    position: fixed;
    bottom: -30%;
    left: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 107, 73, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Main content */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 4rem 0;
}

h1 {
    font-family: 'Source Serif 4', serif;
    font-size: clamp(2.75rem, 8vw, 6.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

p {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 700px;
    color: var(--text-light);
}

p:nth-of-type(1) {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s backwards;
}

p:nth-of-type(2) {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s backwards;
}

/* Links section */
.links {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    align-items: center;
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s backwards;
}

.link-item {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    display: inline-block;
}

.link-item:hover {
    border-bottom-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px) scale(1.01);
}

.link-separator {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    user-select: none;
    padding: 0 0.25rem;
    line-height: 1;
}

/* Decorative circles */
.decorative-circle {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    top: -300px;
    right: -200px;
}

.circle-2 {
    bottom: -250px;
    left: -250px;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        margin-bottom: 1rem;
    }

    p {
        margin-bottom: 1rem;
    }

    p:nth-of-type(2) {
        margin-bottom: 1.25rem;
    }

    .decorative-circle {
        opacity: 0.6;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: clamp(2.5rem, 10vw, 3rem);
    }

    .decorative-circle {
        opacity: 0.5;
    }
}

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

/* Focus styles */
.link-item:focus {
    outline: 2px solid var(--text-light);
    outline-offset: 4px;
    border-radius: 2px;
}

.link-item:focus:not(:focus-visible) {
    outline: none;
}
