@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&family=Inter:wght@300;400;500&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #f0ece6;
    overflow-x: hidden;
}

/* ── Hero ── */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* ── Nav ── */
.nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 3rem;
}

.nav-location {
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 1.8;
    color: rgba(240, 236, 230, 0.7);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(240, 236, 230, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #f0ece6;
}

.nav-social a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(240, 236, 230, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-social a:hover {
    color: #f0ece6;
}

/* ── Hero Name ── */
.hero-content {
    position: absolute;
    bottom: 6rem;
    left: 3rem;
    right: 3rem;
    z-index: 10;
}

.hero-name {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: #f0ece6;
}

.hero-accent {
    color: #e8a0bf;
}

/* ── Tags at bottom ── */
.hero-tags {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    right: 3rem;
    z-index: 10;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(240, 236, 230, 0.6);
}

.hero-tag::before {
    content: '( ';
}

.hero-tag::after {
    content: ' )';
}

/* ── Sections ── */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 3rem;
}

section {
    margin-bottom: 6rem;
}

section:last-child {
    margin-bottom: 0;
}

.section-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #e8a0bf;
    margin-bottom: 2rem;
}

h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(240, 236, 230, 0.75);
    max-width: 600px;
}

p + p {
    margin-top: 1rem;
}

/* ── Skills ── */
.skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.skill {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    padding: 0.6rem 1.2rem;
    border: 1px solid rgba(240, 236, 230, 0.15);
    border-radius: 50px;
    color: rgba(240, 236, 230, 0.8);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.skill:hover {
    border-color: #e8a0bf;
    color: #e8a0bf;
    background: rgba(232, 160, 191, 0.08);
}

/* ── Hobby cards ── */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.hobby-card {
    padding: 1.5rem;
    border: 1px solid rgba(240, 236, 230, 0.1);
    border-radius: 4px;
    transition: border-color 0.3s, transform 0.3s;
}

.hobby-card:hover {
    border-color: rgba(232, 160, 191, 0.4);
    transform: translateY(-2px);
}

.hobby-card .hobby-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hobby-card .hobby-name {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ── Quote block ── */
.quote-block {
    border-left: 2px solid #e8a0bf;
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.quote-block p {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(240, 236, 230, 0.85);
}

.quote-block .quote-attr {
    font-size: 0.85rem;
    font-style: normal;
    color: rgba(240, 236, 230, 0.5);
    margin-top: 0.75rem;
}

/* ── Connect links ── */
.connect-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.connect-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #f0ece6;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(240, 236, 230, 0.2);
    border-radius: 50px;
    transition: background 0.3s, border-color 0.3s;
}

.connect-link:hover {
    background: #e8a0bf;
    border-color: #e8a0bf;
    color: #0a0a0a;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid rgba(240, 236, 230, 0.08);
}

footer p {
    font-size: 0.8rem;
    color: rgba(240, 236, 230, 0.35);
    max-width: none;
    margin: 0 auto;
}

footer a {
    color: #e8a0bf;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ── Vinyl Music Player ── */
.vinyl-player {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    z-index: 10;
    width: 72px;
    height: 86px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.vinyl-btn {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 2px solid rgba(232, 160, 191, 0.4);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    background:
        radial-gradient(circle at center, #e8a0bf 5px, transparent 5px),
        radial-gradient(circle at center, #1a1a1a 7px, transparent 7px),
        radial-gradient(circle at center, transparent 12px, rgba(232, 160, 191, 0.15) 12px, rgba(232, 160, 191, 0.15) 13px, transparent 13px),
        radial-gradient(circle at center, transparent 18px, rgba(232, 160, 191, 0.1) 18px, rgba(232, 160, 191, 0.1) 19px, transparent 19px),
        radial-gradient(circle at center, transparent 24px, rgba(232, 160, 191, 0.08) 24px, rgba(232, 160, 191, 0.08) 25px, transparent 25px),
        #1a1a1a;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: pulse 2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vinyl-btn.playing {
    animation: spin 3s linear infinite;
}


/* Tonearm — two-segment arm with bend, like a real turntable */
.tonearm {
    position: absolute;
    top: 0;
    right: 12px;
    width: 3px;
    height: 24px;
    background: linear-gradient(to bottom, transparent 5px, #ccc 5px, #aaa 100%);
    border-radius: 0 0 1px 1px;
    transform-origin: 50% 5px;
    transform: rotate(0deg);
    transition: transform 0.4s ease;
    pointer-events: none;
    z-index: 11;
}

/* Pivot circle */
.tonearm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    border: 1px solid #999;
}

/* Lower angled segment */
.tonearm-lower {
    position: absolute;
    bottom: -20px;
    left: 50%;
    margin-left: -1.5px;
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, #aaa 0%, #888 100%);
    border-radius: 0 0 2px 2px;
    transform: rotate(-25deg);
    transform-origin: top center;
}

/* Needle tip */
.tonearm-lower::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: #e8a0bf;
    border-radius: 50%;
}

.vinyl-player.playing .tonearm {
    transform: rotate(35deg);
}

/* Hover effects */
.vinyl-player::after {
    content: 'click to play';
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    color: rgba(232, 160, 191, 0);
    white-space: nowrap;
    transition: color 0.3s ease;
    pointer-events: none;
}

.vinyl-player.playing::after {
    content: 'click to pause';
}

.vinyl-player:hover::after {
    color: rgba(232, 160, 191, 0.7);
}

.vinyl-player:hover .vinyl-btn {
    box-shadow: 0 0 25px rgba(232, 160, 191, 0.5), 0 0 50px rgba(232, 160, 191, 0.2);
    border-color: rgba(232, 160, 191, 0.8);
}

.vinyl-player:not(.playing):hover .vinyl-btn {
    transform: scale(1.15);
}

.vinyl-player:not(.playing):hover .tonearm {
    transform: rotate(7deg);
}

/* Floating music notes */
.music-notes {
    position: absolute;
    bottom: 40px;
    left: -10px;
    width: 86px;
    height: 140px;
    pointer-events: none;
    z-index: 12;
}

.note {
    position: absolute;
    bottom: 0;
    color: #e8a0bf;
    opacity: 0;
    animation-fill-mode: backwards;
}

.note-1 { left: 8px;  animation: float1 4.4s ease-in-out 0s infinite backwards;   font-size: 0.95rem; }
.note-2 { left: 45px; animation: float2 4.6s ease-in-out 5s infinite backwards;    font-size: 1.2rem; }
.note-3 { left: 28px; animation: float3 4.5s ease-in-out 10s infinite backwards;    font-size: 1rem; }
.note-4 { left: 55px; animation: float4 4.7s ease-in-out 15s infinite backwards;   font-size: 1.1rem; }
.note-5 { left: 18px; animation: float5 4.5s ease-in-out 20s infinite backwards;    font-size: 1.05rem; }

@keyframes float1 {
    0%   { transform: translateY(0) rotate(0deg) scale(0.5); opacity: 0; }
    12%  { opacity: 0.9; }
    60%  { opacity: 0.5; }
    100% { transform: translateY(-85px) rotate(-10deg) scale(1); opacity: 0; }
}

@keyframes float2 {
    0%   { transform: translateY(0) rotate(0deg) scale(0.6); opacity: 0; }
    12%  { opacity: 1; }
    65%  { opacity: 0.4; }
    100% { transform: translateY(-140px) rotate(15deg) scale(1.1); opacity: 0; }
}

@keyframes float3 {
    0%   { transform: translateY(0) rotate(5deg) scale(0.7); opacity: 0; }
    10%  { opacity: 0.85; }
    55%  { opacity: 0.5; }
    100% { transform: translateY(-60px) rotate(-8deg) scale(0.9); opacity: 0; }
}

@keyframes float4 {
    0%   { transform: translateY(0) rotate(-3deg) scale(0.5); opacity: 0; }
    12%  { opacity: 0.9; }
    58%  { opacity: 0.5; }
    100% { transform: translateY(-115px) rotate(12deg) scale(1); opacity: 0; }
}

@keyframes float5 {
    0%   { transform: translateY(0) rotate(2deg) scale(0.6); opacity: 0; }
    14%  { opacity: 0.95; }
    62%  { opacity: 0.45; }
    100% { transform: translateY(-75px) rotate(-14deg) scale(1.05); opacity: 0; }
}


@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(232, 160, 191, 0.6); }
}

/* ── Responsive ── */

/* Wide screens: keep head visible */
@media (min-width: 1200px) {
    .hero-bg {
        object-position: center 5%;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero-bg {
        object-position: 45% 10%; /* 45% from the left, 10% from the top */
    }

    .nav {
        padding: 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-content {
        bottom: 5rem;
        left: 1.5rem;
        right: 1.5rem;
    }

    .hero-tags {
        left: 1.5rem;
        right: 1.5rem;
        gap: 1rem;
    }

    /* Sit higher so the whole button is above the home indicator / screen edge */
    .vinyl-player {
        right: 1.5rem;
        bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
        width: 86px;
        height: 100px;
    }

    .vinyl-btn {
        width: 78px;
        height: 78px;
    }

    .content {
        padding: 4rem 1.5rem;
    }

    section {
        margin-bottom: 4rem;
    }
}
