:root {
    --bg: #f8fbff;
    --bg-secondary: #eef6ff;
    --bg-soft: #ffffff;
    --panel: rgba(255, 255, 255, 0.9);
    --panel-strong: rgba(226, 241, 255, 0.92);
    --text: #244366;
    --text-strong: #102844;
    --muted: #6683a4;
    --line: rgba(62, 132, 199, 0.2);
    --accent: #29a8ff;
    --accent-strong: #1679ff;
    --accent-soft: rgba(41, 168, 255, 0.14);
    --accent-peach: #ff8f70;
    --accent-lime: #b7f04a;
    --accent-pink: #ff7eb6;
    --shadow: 0 18px 42px rgba(34, 91, 148, 0.14);
    --shadow-soft: 0 12px 24px rgba(54, 116, 176, 0.1);
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max-width: 1040px;
    --header-height: 58px;
    --transition: 220ms ease;
    --transition-slow: 700ms cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: "Montserrat", sans-serif;
    --font-body: "Montserrat", sans-serif;
    --font-nav: "Outfit", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: var(--font-body);
    color: var(--text);
    background:
        linear-gradient(120deg, rgba(255, 143, 112, 0.16) 0 12%, transparent 12% 100%),
        linear-gradient(150deg, rgba(183, 240, 74, 0.16) 0 16%, transparent 16% 100%),
        linear-gradient(180deg, #f7fcff 0%, #e9f7ff 42%, #f8fbff 100%);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(22, 121, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 121, 255, 0.055) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
    z-index: 0;
}

body.menu-open,
body.menu-open .site-nav {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    background: none;
    border: 0;
    color: inherit;
}

main {
    position: relative;
}

.page-glow {
    display: none;
}

.glow-left {
    top: -10%;
    left: -10%;
    width: 36vw;
    height: 36vw;
    background: rgba(78, 166, 255, 0.22);
}

.glow-right {
    top: 22%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(111, 207, 255, 0.16);
}

.section-shell,
.hero-grid,
.nav-shell {
    width: min(calc(100% - clamp(28px, 5vw, 48px)), var(--max-width));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: clamp(38px, 5vw, 60px) 0;
    z-index: 1;
}

.section-dark {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(235, 247, 255, 0.98)),
        linear-gradient(135deg, rgba(255, 143, 112, 0.08), rgba(183, 240, 74, 0.08));
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--accent-strong);
    font-size: clamp(0.66rem, 0.95vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-bottom: 20px;
}

.section-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.35vw, 2.05rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text-strong);
}

.section-copy {
    margin: 0 0 12px;
    max-width: 580px;
    color: var(--muted);
    font-size: clamp(0.84rem, 1.05vw, 0.92rem);
}

.icon {
    width: 15px;
    height: 15px;
    stroke-width: 2.25px;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding: 10px 0;
    transition: background var(--transition), padding var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
    padding: 7px 0;
    background: rgba(248, 253, 255, 0.78);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(41, 168, 255, 0.16);
    box-shadow: 0 14px 32px rgba(36, 100, 160, 0.1);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    position: relative;
    z-index: 2;
    color: var(--text-strong);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-shadow: 8px 8px 0 rgba(183, 240, 74, 0.26);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 24px);
    color: rgba(22, 49, 77, 0.8);
}

.nav-link {
    position: relative;
    padding: 7px 10px;
    border-radius: 999px;
    font-family: var(--font-nav);
    font-size: clamp(0.68rem, 0.9vw, 0.76rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color var(--transition), background var(--transition), transform var(--transition);
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-link.is-current {
    color: var(--text-strong);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 0 0 1px rgba(41, 168, 255, 0.14);
}

.nav-link:hover {
    transform: translateY(-1px) rotate(-1deg);
}

.nav-toggle {
    position: relative;
    z-index: 2;
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(41, 168, 255, 0.2);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--text-strong);
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle span:first-child {
    transform: translateY(-4px);
}

.nav-toggle span:last-child {
    transform: translateY(4px);
}

.nav-toggle.is-open span:first-child {
    transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: auto;
    padding: calc(var(--header-height) + clamp(22px, 4vw, 42px)) 0 clamp(28px, 4vw, 42px);
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(41, 168, 255, 0.08) 0 38%, transparent 38% 100%),
        linear-gradient(160deg, rgba(255, 143, 112, 0.16) 0 12%, transparent 12% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(233, 247, 255, 0.7));
    z-index: 0;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(146, 190, 230, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(146, 190, 230, 0.14) 1px, transparent 1px);
    background-size: 96px 96px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 84%);
    opacity: 0.68;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: clamp(24px, 4vw, 46px);
    min-height: clamp(430px, 62svh, 600px);
}

.hero-copy {
    max-width: 500px;
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 3.35vw, 2.95rem);
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: var(--text-strong);
    text-wrap: balance;
}

.hero-copy h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, var(--accent-strong) 0%, #1fb6ff 58%, #0a8cff 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-description {
    max-width: 440px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: clamp(0.84rem, 1vw, 0.9rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-2px) rotate(-1deg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-strong), #1fb6ff 62%, #80ddff);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(41, 168, 255, 0.28);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-strong), #67c7ff);
}

.btn-secondary {
    border: 1px solid rgba(255, 143, 112, 0.22);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text-strong);
    box-shadow: var(--shadow-soft);
}

.btn-secondary:hover {
    border-color: rgba(255, 143, 112, 0.44);
    color: #d45f42;
}

.btn-block {
    width: 100%;
}

.hero-visual {
    position: relative;
    min-height: clamp(290px, 32vw, 370px);
    isolation: isolate;
}

.visual-frame {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    background: var(--bg-soft);
}

.visual-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: inherit;
    pointer-events: none;
}

.visual-frame img {
    height: 100%;
    object-fit: cover;
}

.visual-main {
    inset: 0 clamp(22px, 3vw, 36px) clamp(42px, 4vw, 54px) 0;
    transform: rotate(-1.6deg);
}

.visual-side {
    right: 0;
    bottom: 0;
    width: 44%;
    height: 44%;
    transform: rotate(4deg);
    border: 6px solid rgba(255, 255, 255, 0.78);
}

.hero-note {
    position: absolute;
    left: clamp(14px, 2vw, 22px);
    bottom: clamp(14px, 2vw, 22px);
    max-width: min(250px, calc(100% - 28px));
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(41, 168, 255, 0.16);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    transform: rotate(1.4deg);
    z-index: 4;
}

.hero-sticker {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 40, 68, 0.08);
    background: #ffffff;
    color: var(--text-strong);
    box-shadow: 0 14px 24px rgba(34, 91, 148, 0.12);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-sticker strong {
    color: #d45f42;
}

.hero-sticker svg {
    width: 15px;
    height: 15px;
    color: var(--accent-strong);
}

.hero-sticker-top {
    top: 18px;
    right: 18px;
    transform: rotate(5deg);
    background: linear-gradient(135deg, #ffffff, #fff2db);
}

.hero-sticker-bottom {
    left: 42%;
    bottom: 10px;
    transform: rotate(-4deg);
    background: linear-gradient(135deg, #faffef, #ffffff);
}

.hero-note span,
.portfolio-meta span,
.timeline-year {
    display: inline-block;
    color: var(--accent-strong);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-note strong {
    display: block;
    margin-top: 6px;
    color: var(--text-strong);
    font-size: 0.95rem;
}

.hero-note p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 0.78rem;
}

.hero-marquee {
    position: relative;
    z-index: 1;
    margin-top: clamp(18px, 3vw, 28px);
    overflow: hidden;
    border-top: 1px solid rgba(122, 170, 214, 0.18);
    border-bottom: 1px solid rgba(122, 170, 214, 0.18);
    background: rgba(255, 255, 255, 0.5);
}

.hero-marquee-track {
    display: flex;
    gap: clamp(28px, 5vw, 48px);
    width: max-content;
    padding: 10px 0;
    animation: marquee 22s linear infinite;
}

.hero-marquee-track span {
    color: rgba(22, 49, 77, 0.66);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.66rem;
    font-weight: 700;
}

.page-hero {
    position: relative;
    padding: calc(var(--header-height) + clamp(42px, 6vw, 62px)) 0 clamp(22px, 3vw, 32px);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 22%, rgba(78, 166, 255, 0.16), transparent 22%),
        radial-gradient(circle at 82% 12%, rgba(111, 207, 255, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(238, 246, 255, 0.82));
    z-index: 0;
}

.page-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: clamp(20px, 3vw, 32px);
    align-items: end;
}

.page-hero-copy {
    max-width: 700px;
}

.page-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.45vw, 3rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--text-strong);
}

.page-description {
    max-width: 560px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 0.86rem;
}

.page-hero-stats,
.page-hero-panel {
    padding: 16px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(240, 248, 255, 0.88));
    border: 1px solid rgba(122, 170, 214, 0.18);
    box-shadow: var(--shadow-soft);
}

.page-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.page-hero-stats div {
    padding: 12px 10px;
    border-radius: 18px;
    background: rgba(242, 248, 255, 0.9);
    border: 1px solid rgba(122, 170, 214, 0.16);
}

.page-hero-stats strong,
.page-hero-panel strong {
    display: block;
    color: var(--text-strong);
}

.page-hero-stats strong {
    font-size: 1.05rem;
}

.page-hero-stats span,
.page-hero-panel p {
    color: var(--muted);
    font-size: 0.82rem;
}

.page-hero-panel {
    max-width: 320px;
    justify-self: end;
}

.page-hero-panel p {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.page-hero-panel strong {
    font-size: 1rem;
    line-height: 1.35;
}

.about-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(22px, 3.5vw, 40px);
    align-items: center;
    padding: clamp(14px, 2.4vw, 22px);
    border: 1px solid rgba(41, 168, 255, 0.14);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.story-grid,
.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.story-card,
.detail-card {
    padding: clamp(15px, 1.8vw, 18px);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 252, 255, 0.9));
    border: 1px solid rgba(41, 168, 255, 0.16);
    box-shadow: var(--shadow-soft);
}

.story-card span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--accent-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.story-card h3,
.detail-card h3 {
    margin: 0 0 10px;
    color: var(--text-strong);
    font-size: 1.1rem;
    line-height: 1.15;
}

.story-card p,
.detail-card p {
    margin: 0;
    color: var(--muted);
}

.detail-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.detail-list li {
    position: relative;
    padding-left: 18px;
}

.detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #9ad9ff);
    transform: translateY(-50%);
}

.portfolio-grid-wide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portrait-wrap {
    position: relative;
    border-radius: calc(var(--radius-lg) + 4px);
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotate(1.4deg);
    border: 8px solid rgba(255, 255, 255, 0.58);
}

.portrait-wrap::after {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 24px;
    pointer-events: none;
}

.about-media {
    position: relative;
}

.about-badge {
    position: absolute;
    right: -10px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-lime), #f5ffcf);
    color: var(--text-strong);
    box-shadow: 0 14px 24px rgba(34, 91, 148, 0.14);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transform: rotate(-5deg);
}

.about-badge svg {
    width: 15px;
    height: 15px;
}

.portrait-wrap img {
    min-height: clamp(240px, 30vw, 330px);
    object-fit: cover;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.about-stats div {
    padding: 12px 12px;
    border: 1px solid rgba(41, 168, 255, 0.16);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 252, 255, 0.82));
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), border-color var(--transition);
}

.about-stats div:nth-child(2) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 239, 229, 0.78));
}

.about-stats div:nth-child(3) {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(246, 255, 220, 0.78));
}

.about-stats div:hover {
    transform: translateY(-3px) rotate(-1deg);
    border-color: rgba(41, 168, 255, 0.3);
}

.about-stats strong {
    display: block;
    color: var(--text-strong);
    font-size: clamp(1.1rem, 1.9vw, 1.35rem);
    font-weight: 800;
}

.about-stats span {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.music-showcase .section-heading {
    margin-bottom: 22px;
}

.spotify-panel {
    position: relative;
    z-index: 1;
}

.spotify-window-bar {
    display: flex;
    justify-content: center;
    padding-bottom: 10px;
}

.spotify-window-pill {
    width: min(100%, 760px);
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-peach), var(--accent), var(--accent-lime));
}

.spotify-card {
    overflow: hidden;
    border-radius: 22px;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 22px 52px rgba(18, 28, 39, 0.24), 0 0 0 8px rgba(255, 255, 255, 0.42);
}

.spotify-hero {
    display: grid;
    grid-template-columns: clamp(112px, 13vw, 150px) minmax(0, 1fr);
    gap: clamp(14px, 2.2vw, 22px);
    align-items: end;
    padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px) clamp(14px, 2vw, 18px);
    background:
        linear-gradient(120deg, rgba(255, 143, 112, 0.2) 0 22%, transparent 22% 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.1)),
        linear-gradient(180deg, #bca3c8 0%, #8b6f96 48%, #60465f 100%);
}

.spotify-cover-wrap {
    max-width: 150px;
}

.spotify-cover {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.28);
    transform: rotate(-2deg);
}

.spotify-copy {
    padding-bottom: 4px;
}

.spotify-type {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
}

.spotify-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.55rem, 3.35vw, 2.75rem);
    line-height: 0.98;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-wrap: balance;
}

.spotify-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.spotify-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.spotify-meta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.76rem;
    font-weight: 600;
}

.spotify-meta strong {
    color: #ffffff;
}

.spotify-meta span {
    margin: 0 4px;
}

.spotify-body {
    background:
        linear-gradient(180deg, rgba(120, 82, 118, 0.22) 0%, rgba(18, 18, 18, 0) 18%),
        linear-gradient(180deg, #241d28 0%, #161616 20%, #121212 100%);
}

.spotify-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: clamp(13px, 2vw, 18px) clamp(16px, 2.4vw, 22px) 12px;
}

.spotify-actions-left,
.spotify-actions-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.spotify-play-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1ed760, var(--accent-lime));
    color: #000000;
    cursor: pointer;
    transition: transform var(--transition), filter var(--transition);
}

.spotify-play-button:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.spotify-play-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 3px;
}

.spotify-art-button {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #0f0f0f;
}

.spotify-art-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.spotify-icon-button,
.spotify-search-button,
.spotify-order-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b3b3b3;
    transition: color var(--transition), transform var(--transition), background var(--transition);
}

.spotify-icon-button,
.spotify-search-button {
    width: 32px;
    height: 32px;
    cursor: pointer;
    border-radius: 999px;
}

.spotify-icon-button:hover,
.spotify-search-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.spotify-icon-button svg,
.spotify-search-button svg,
.spotify-order-button svg {
    width: 21px;
    height: 21px;
    stroke-width: 2.2px;
}

.spotify-icon-button.is-active {
    color: #1ed760;
    filter: drop-shadow(0 0 10px rgba(30, 215, 96, 0.22));
}

.shuffle-status {
    color: #b3b3b3;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.shuffle-status.is-active {
    color: #1ed760;
}

.spotify-order-button {
    gap: 8px;
    padding: 0 4px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

.spotify-table {
    padding: 0 clamp(16px, 2.4vw, 22px) 14px;
}

.spotify-table-head,
.spotify-track-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1.7fr) minmax(110px, 0.9fr) 50px;
    align-items: center;
    gap: clamp(10px, 2vw, 18px);
}

.spotify-table-head {
    padding: 7px 10px 10px;
    color: #b3b3b3;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.spotify-col-index {
    text-align: center;
}

.spotify-col-time {
    display: inline-flex;
    justify-content: flex-end;
}

.spotify-col-time svg {
    width: 19px;
    height: 19px;
    stroke-width: 2.1px;
}

.spotify-tracks {
    display: grid;
    padding-top: 8px;
}

.spotify-track-row {
    padding: 7px 10px;
    border-radius: 6px;
    color: #ffffff;
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
    text-align: left;
}

.spotify-track-row:hover,
.spotify-track-row.is-active {
    background: rgba(255, 255, 255, 0.08);
}

.spotify-track-col-index {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3b3b3;
    font-size: 0.94rem;
}

.spotify-track-index {
    display: block;
}

.spotify-track-play-icon {
    display: none;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.spotify-track-row:hover .spotify-track-index {
    display: none;
}

.spotify-track-row:hover .spotify-track-play-icon {
    display: block;
    color: #ffffff;
}

.spotify-track-row.is-playing-current .spotify-track-index {
    display: none;
}

.spotify-track-row.is-playing-current .spotify-track-play-icon {
    display: block;
    color: currentColor;
}

.spotify-track-row.is-playing-current .spotify-track-copy strong {
    color: #1ed760;
}

.spotify-track-row.is-playing-current .spotify-track-col-index {
    color: #1ed760;
}

.spotify-track-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.spotify-track-main img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.spotify-track-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.spotify-track-copy strong,
.spotify-track-copy span,
.spotify-track-album,
.spotify-track-time {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spotify-track-copy strong {
    font-size: 0.84rem;
    font-weight: 500;
}

.spotify-track-artist {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.spotify-explicit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #b3b3b3;
    color: #121212;
    font-size: 0.55rem;
    font-weight: 800;
    width: 14px;
    height: 14px;
    border-radius: 2px;
    font-style: normal;
    flex-shrink: 0;
}

.spotify-track-copy span,
.spotify-track-album {
    color: #b3b3b3;
    font-size: 0.76rem;
    font-weight: 400;
}

.spotify-track-copy span:hover,
.spotify-track-album:hover {
    color: #ffffff;
    text-decoration: underline;
}

.spotify-track-time {
    text-align: right;
    color: #b3b3b3;
    font-weight: 700;
    font-size: 0.76rem;
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid rgba(41, 168, 255, 0.18);
    border-radius: 999px;
    color: rgba(22, 49, 77, 0.72);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
    font-size: 0.78rem;
}

.filter-btn:hover,
.filter-btn.is-active {
    background: linear-gradient(135deg, rgba(41, 168, 255, 0.16), rgba(183, 240, 74, 0.28));
    border-color: rgba(41, 168, 255, 0.34);
    color: var(--accent-strong);
    transform: translateY(-1px);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.portfolio-item {
    position: relative;
    min-height: clamp(220px, 26vw, 300px);
    overflow: hidden;
    border-radius: 24px;
    background: #dceeff;
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    transition: transform var(--transition-slow), opacity var(--transition), box-shadow var(--transition);
}

.portfolio-item.is-hidden {
    display: none;
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    transition: transform 900ms ease;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(41, 168, 255, 0.08), rgba(255, 143, 112, 0.18)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 18%, rgba(12, 38, 64, 0.86) 100%);
}

.portfolio-item:hover {
    transform: translateY(-6px) rotate(-1deg);
    box-shadow: 0 22px 42px rgba(34, 91, 148, 0.18);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-meta {
    position: absolute;
    inset: auto clamp(14px, 2vw, 20px) clamp(14px, 2vw, 20px);
    z-index: 1;
    color: #ffffff;
}

.portfolio-meta h3 {
    margin: 6px 0 8px;
    max-width: 340px;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1.22;
}

.portfolio-meta a {
    display: inline-flex;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: #0f2a45;
    background: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 0.78rem;
}

.timeline {
    position: relative;
    display: grid;
    gap: 12px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 128px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-peach), rgba(183, 240, 74, 0.35));
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 20px;
    padding: 12px 0 12px 20px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 121px;
    top: 31px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-lime));
    box-shadow: 0 0 0 8px rgba(41, 168, 255, 0.12);
}

.timeline-body {
    padding: clamp(13px, 1.8vw, 16px);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 253, 255, 0.88));
    border: 1px solid rgba(41, 168, 255, 0.15);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition), border-color var(--transition);
}

.timeline-body:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 143, 112, 0.3);
}

.timeline-body h3 {
    margin: 0 0 8px;
    color: var(--text-strong);
    font-size: 1rem;
}

.timeline-place {
    margin: 0 0 8px;
    color: var(--accent-strong);
    font-weight: 700;
}

.timeline-body p:last-child {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    padding: 32px 0 18px;
    background:
        linear-gradient(135deg, rgba(41, 168, 255, 0.14), transparent 34%),
        linear-gradient(180deg, #102844, #0b223a);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid transparent;
}

.footer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding-bottom: 20px;
    align-items: start;
}

.site-footer .brand {
    color: #ffffff;
    text-shadow: none;
}

.footer-brand-col p {
    max-width: 340px;
    margin: 0;
    color: inherit;
}

.footer-social-group {
    margin-top: 18px;
}

.footer-social-group h4 {
    margin: 0 0 12px;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col h4 {
    margin: 0 0 12px;
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: inherit;
    font-weight: 500;
}

.footer-links a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
    color: #fff;
    transform: translateY(-2px);
}

.social-links a svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5px;
}

.footer-bottom {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.76rem;
    font-weight: 500;
}

/* Floating Player (Dynamic Island) */
.floating-player {
    position: fixed;
    left: 50%;
    bottom: 20px;
    width: min(680px, calc(100vw - 40px));
    height: 76px;
    padding: 10px 16px 10px 10px;
    overflow: hidden;
    transform: translateX(-50%) translateY(120px) scale(0.94);
    opacity: 0;
    visibility: hidden;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 100;
    transition:
        left 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        bottom 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.4s ease,
        visibility 0.4s ease,
        background 0.4s ease,
        box-shadow 0.4s ease;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.floating-player.is-visible {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.floating-player.is-collapsed {
    left: 20px;
    width: 70px;
    height: 70px;
    padding: 8px;
    border-radius: 22px;
    justify-content: center;
    gap: 0;
    background: rgba(12, 12, 12, 0.76);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.38);
}

.floating-player.is-visible.is-collapsed {
    transform: translateX(0) translateY(0) scale(1);
}

.fp-track {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    flex-shrink: 0;
    transition: min-width 0.55s cubic-bezier(0.16, 1, 0.3, 1), gap 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.fp-cover-button {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1), height 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s ease, box-shadow 0.35s ease;
}

.fp-cover-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
}

.fp-cover-button:hover {
    transform: scale(1.03);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.fp-cover-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fp-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-info strong {
    font-size: 0.8rem;
    font-weight: 600;
}

.fp-info span {
    font-size: 0.68rem;
    color: #b3b3b3;
}

.fp-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 240px;
    flex: 1 1 auto;
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.fp-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.fp-controls button {
    color: #b3b3b3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, transform 0.2s;
}

.fp-controls button:hover {
    color: #fff;
}

.fp-controls button.is-active {
    color: #1ed760;
}

.fp-play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: #000 !important;
}

.fp-play-btn:hover {
    transform: scale(1.05);
}

.fp-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.fp-time {
    font-size: 0.64rem;
    color: #b3b3b3;
    min-width: 32px;
    text-align: center;
}

.fp-progress-bar, .fp-vol-bar {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fp-progress-bar { flex-grow: 1; }
.fp-vol-bar { width: 68px; }

.fp-progress-fill, .fp-vol-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
}
.fp-vol-fill { width: 60%; }

.fp-progress-bar:hover .fp-progress-fill, .fp-vol-bar:hover .fp-vol-fill {
    background: #1ed760;
}

.fp-progress-thumb, .fp-vol-thumb {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    left: 0%;
    margin-left: -5px;
    opacity: 0;
    transition: opacity 0.2s;
}
.fp-vol-thumb { left: 60%; }

.fp-progress-bar:hover .fp-progress-thumb,
.fp-vol-bar:hover .fp-vol-thumb,
.fp-progress-bar.is-dragging .fp-progress-thumb,
.fp-vol-bar.is-dragging .fp-vol-thumb {
    opacity: 1;
}

.fp-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 96px;
    justify-content: flex-end;
    color: #b3b3b3;
    transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), width 0.55s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-player.is-collapsed .fp-track {
    width: 100%;
    min-width: 0;
    justify-content: center;
    gap: 0;
}

.floating-player.is-collapsed .fp-cover-button {
    width: 54px;
    height: 54px;
    border-radius: 18px;
}

.floating-player.is-collapsed .fp-info,
.floating-player.is-collapsed .fp-core,
.floating-player.is-collapsed .fp-volume {
    flex: 0 0 0;
    width: 0;
    min-width: 0;
    margin: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(18px);
}

.icon-sm { width: 16px; height: 16px; stroke-width: 2px;}

.reveal,
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 700ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal,
.reveal-up {
    transform: translateY(42px);
}

.reveal-left {
    transform: translateX(-48px);
}

.reveal-right {
    transform: translateX(48px);
}

.reveal-visible {
    opacity: 1;
    transform: translate(0, 0);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1080px) {
    .hero-grid,
    .page-hero-layout,
    .about-layout {
        grid-template-columns: 1fr;
    }

    .spotify-hero {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
        align-items: start;
    }

    .hero-visual {
        min-height: clamp(280px, 40vw, 380px);
    }

    .timeline::before {
        left: 32px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 50px;
    }

    .timeline-item::before {
        left: 25px;
    }
}

@media (max-width: 860px) {
    body {
        cursor: auto;
    }

    .site-nav {
        position: fixed;
        inset: 0 clamp(16px, 4vw, 24px) auto;
        top: calc(var(--header-height) + 10px);
        display: grid;
        gap: 4px;
        padding: 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(122, 170, 214, 0.16);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 11px 6px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero {
        padding-top: calc(var(--header-height) + 22px);
    }

    .hero-copy h1 {
        font-size: clamp(1.75rem, 7.8vw, 2.7rem);
    }

    .visual-main {
        inset: 0 18px 70px 0;
    }

    .visual-side {
        width: 48%;
    }

    .about-stats,
    .page-hero-stats,
    .story-grid,
    .detail-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid-wide {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spotify-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .spotify-actions-left {
        justify-content: flex-start;
    }

    .spotify-actions-right {
        justify-content: space-between;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

}

@media (max-width: 720px) {
    .spotify-title {
        font-size: clamp(1.55rem, 8vw, 2.45rem);
    }

    .page-title {
        font-size: clamp(1.65rem, 7.8vw, 2.5rem);
    }

    .spotify-actions,
    .spotify-table {
        padding-left: 14px;
        padding-right: 14px;
    }

    .spotify-play-button {
        width: 46px;
        height: 46px;
    }

    .spotify-table-head {
        display: none;
    }

    .spotify-track-row {
        grid-template-columns: 26px minmax(0, 1fr) 42px;
        gap: 9px;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        border-radius: 0;
    }

    .spotify-track-album {
        display: none;
    }

    .spotify-track-main img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 620px) {
    .section {
        padding: 28px 0;
    }

    .section-shell,
    .hero-grid,
    .nav-shell {
        width: min(calc(100% - 24px), var(--max-width));
    }

    .page-hero {
        padding-top: calc(var(--header-height) + 42px);
    }

    .page-hero-panel {
        max-width: none;
        justify-self: stretch;
    }

    .hero-grid {
        min-height: auto;
        gap: 18px;
    }

    .hero-visual {
        min-height: 212px;
    }

    .visual-main {
        inset: 0 0 42px 0;
    }

    .visual-side {
        display: none;
    }

    .hero-note {
        left: 10px;
        right: 10px;
        bottom: 0;
        max-width: none;
    }

    .hero-marquee {
        display: none;
    }

    .spotify-cover-wrap {
        max-width: 124px;
    }

    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .about-stats div {
        padding: 10px 9px;
    }

    .about-stats span {
        font-size: 0.76rem;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 13px;
    }

    .brand {
        letter-spacing: 0.12em;
    }

    .hero {
        padding-top: calc(var(--header-height) + 18px);
    }

    .hero-actions {
        display: flex;
        gap: 8px;
    }

    .btn {
        width: auto;
        flex: 1 1 145px;
    }

    .hero-visual {
        min-height: 198px;
    }

    .hero-note p {
        display: none;
    }

    .section-title {
        font-size: clamp(1.2rem, 6.5vw, 1.72rem);
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .portfolio-item {
        min-height: 210px;
        border-radius: 16px;
    }

    .spotify-hero {
        padding: 14px 12px 14px;
    }

    .spotify-cover-wrap {
        max-width: 108px;
    }

    .spotify-meta p {
        font-size: 0.72rem;
    }

    .spotify-actions {
        padding-left: 12px;
        padding-right: 12px;
    }

    .spotify-actions-left {
        gap: 6px;
    }

    .spotify-icon-button,
    .spotify-search-button {
        width: 30px;
        height: 30px;
    }

    .spotify-order-button span {
        display: none;
    }

    .spotify-table {
        padding-left: 12px;
        padding-right: 12px;
    }

    .spotify-track-row {
        grid-template-columns: 22px minmax(0, 1fr) 38px;
        gap: 7px;
    }

    .spotify-track-copy strong {
        font-size: 0.8rem;
    }

    .spotify-track-copy span,
    .spotify-track-time {
        font-size: 0.72rem;
    }

    /* Responsive Dynamic Island */
    .floating-player {
        left: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
        height: 68px;
        padding: 8px 10px 8px 8px;
        border-radius: 18px;
        gap: 8px;
        transform: translateX(0) translateY(120px) scale(0.96);
    }

    .floating-player.is-visible {
        transform: translateX(0) translateY(0) scale(1);
    }

    .floating-player.is-collapsed {
        width: 60px;
        height: 60px;
        left: 10px;
        bottom: 10px;
        padding: 7px;
        border-radius: 18px;
    }

    .fp-core {
        min-width: auto;
        flex-grow: 1;
        gap: 5px;
    }
    .fp-volume {
        display: none;
    }
    .fp-track {
        min-width: auto;
        max-width: 92px;
        gap: 7px;
    }

    .fp-cover-button {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .fp-info strong {
        font-size: 0.72rem;
    }

    .fp-info span {
        font-size: 0.62rem;
    }

    .fp-controls {
        gap: 10px;
    }

    .fp-time {
        min-width: 25px;
        font-size: 0.6rem;
    }

    .fp-info strong, .fp-info span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0ms !important;
        transition-delay: 0ms !important;
    }

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
    }
}
