/* ===== HULORA STUDIO ===== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --c-bg:    #07070c;
    --c-surf:  rgba(255,255,255,.03);
    --c-surf2: rgba(255,255,255,.05);
    --c-line:  rgba(255,255,255,.06);
    --c-line2: rgba(255,255,255,.10);
    --c-text:  #e8e8ec;
    --c-dim:   #7c7c8a;
    --c-muted: #44444f;
    --c-accent:#5bc9ff;
    --c-accent-a:.25;
    --star-color: 200,220,255;
    --radius:  14px;
    --ease:    cubic-bezier(.4,0,.2,1);
}

html[data-theme="light"] {
    --c-bg:    #f6f6f9;
    --c-surf:  rgba(0,0,0,.025);
    --c-surf2: rgba(0,0,0,.045);
    --c-line:  rgba(0,0,0,.06);
    --c-line2: rgba(0,0,0,.10);
    --c-text:  #111118;
    --c-dim:   #66667a;
    --c-muted: #a0a0b2;
    --star-color: 40,80,130;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    font-size: clamp(15px, 0.95vw + 6px, 17px);
    transition: background .5s var(--ease), color .5s var(--ease);
}

/* Deep-space ambient — pure CSS, no DOM elements */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(60,90,160,.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 85% 80%, rgba(100,50,140,.04) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 60%, rgba(50,100,170,.03) 0%, transparent 50%);
    transition: opacity .6s var(--ease);
}
html[data-theme="light"] body::before { opacity: 0; }

#stars {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main, footer { position: relative; z-index: 1; }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 36px);
}

/* ===== Focus ===== */
:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
}

/* ===== Theme toggle ===== */
.theme-toggle {
    position: fixed;
    top: clamp(16px, 3vh, 24px);
    right: clamp(16px, 3vw, 24px);
    z-index: 50;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    background: rgba(12,12,18,.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--c-dim);
    cursor: pointer;
    transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover {
    color: var(--c-text);
    border-color: var(--c-line2);
    transform: scale(1.06);
}
.theme-toggle:active { transform: scale(.95); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun  { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.5); }

/* ===== Hero ===== */
.hero {
    padding: clamp(100px, 18vh, 180px) 0 clamp(20px, 4vh, 40px);
    text-align: center;
}

.logo-wrap {
    display: inline-block;
    width: clamp(72px, 10vw, 96px);
    height: clamp(72px, 10vw, 96px);
    margin-bottom: clamp(28px, 4vh, 44px);
    animation: float 7s ease-in-out infinite;
}
.logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: clamp(16px, 2.5vw, 24px);
    transition: filter .4s var(--ease);
}
.logo-wrap:hover img {
    filter: drop-shadow(0 0 20px rgba(91,201,255,.18));
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.hero h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
    margin-bottom: clamp(12px, 2vh, 20px);
}

.hero__sub {
    font-size: clamp(.88rem, 1.6vw, 1.05rem);
    color: var(--c-dim);
    font-weight: 400;
    line-height: 1.65;
    max-width: 420px;
    margin: 0 auto;
}
.hero__sub em {
    font-style: normal;
    color: var(--c-accent);
    font-weight: 500;
}

/* ===== Word scroll ===== */
.word-scroll {
    padding: clamp(4px, 1vh, 12px) 0 clamp(28px, 5vh, 56px);
}

.word-scroll__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35em;
    font-size: clamp(1.2rem, 3.2vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.3;
}

.word-scroll__prefix { color: var(--c-dim); }

.word-scroll__slot {
    height: 1.3em;
    overflow: hidden;
    position: relative;
}

.word-scroll__track {
    display: flex;
    flex-direction: column;
    animation: slide-words 14s cubic-bezier(.45,0,.55,1) infinite;
}

.word-scroll__track span {
    height: 1.3em;
    display: flex;
    align-items: center;
    color: var(--c-accent);
    white-space: nowrap;
}

@keyframes slide-words {
    0%,  8%  { transform: translateY(0); }
    12%, 20% { transform: translateY(-12.5%); }
    24%, 32% { transform: translateY(-25%); }
    36%, 44% { transform: translateY(-37.5%); }
    48%, 56% { transform: translateY(-50%); }
    60%, 68% { transform: translateY(-62.5%); }
    72%, 80% { transform: translateY(-75%); }
    84%, 92% { transform: translateY(-87.5%); }
    96%,100% { transform: translateY(0); }
}

/* ===== Tags ===== */
.tags { padding-bottom: clamp(28px, 5vh, 56px); }

.tags__row {
    display: flex;
    gap: clamp(6px, 1vw, 10px);
    flex-wrap: wrap;
    justify-content: center;
}

.tag {
    padding: clamp(6px, .8vw, 10px) clamp(14px, 2vw, 20px);
    font-size: clamp(.72rem, 1vw, .8rem);
    font-weight: 500;
    color: var(--c-dim);
    border: 1px solid var(--c-line);
    border-radius: 100px;
    background: var(--c-surf);
    transition: color .25s var(--ease), border-color .25s var(--ease);
    user-select: none;
}
.tag:hover {
    color: var(--c-text);
    border-color: var(--c-line2);
}

/* ===== Section heading ===== */
.section-heading {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--c-muted);
    margin-bottom: clamp(16px, 2.5vh, 28px);
}

/* ===== Work / App cards ===== */
.work { padding-bottom: clamp(32px, 5vh, 56px); }

.work__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: clamp(10px, 1.5vw, 14px);
}

.card {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    padding: clamp(16px, 2.5vw, 24px);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-surf);
    color: var(--c-text);
    text-decoration: none;
    transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.card:hover {
    border-color: var(--c-line2);
    background: var(--c-surf2);
    transform: translateY(-2px);
}

.card__icon {
    width: clamp(44px, 5vw, 52px);
    height: clamp(44px, 5vw, 52px);
    border-radius: clamp(10px, 1.4vw, 14px);
    flex-shrink: 0;
    object-fit: cover;
}

.card__body { flex: 1; min-width: 0; }
.card__body h3 {
    font-size: clamp(.88rem, 1.4vw, .96rem);
    font-weight: 600;
    letter-spacing: -.01em;
    margin-bottom: 3px;
}
.card__body p {
    font-size: clamp(.74rem, 1.1vw, .8rem);
    color: var(--c-dim);
    line-height: 1.45;
}

.card__arrow {
    position: absolute;
    top: clamp(14px, 2vw, 20px);
    right: clamp(14px, 2vw, 20px);
    font-size: .8rem;
    color: var(--c-muted);
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.card:hover .card__arrow {
    opacity: 1;
    transform: translate(0, 0);
    color: var(--c-accent);
}

/* ===== Socials ===== */
.socials { padding-bottom: clamp(40px, 6vh, 64px); }

.socials__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 1vw, 10px);
}

.soc {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 14px);
    flex: 1 1 clamp(170px, 28%, 240px);
    max-width: 260px;
    min-width: 0;
    padding: clamp(12px, 1.8vw, 16px) clamp(14px, 2vw, 20px);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    background: var(--c-surf);
    text-decoration: none;
    color: var(--c-text);
    font-size: clamp(.78rem, 1.1vw, .85rem);
    font-weight: 500;
    overflow: hidden;
    transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.soc:hover {
    background: var(--c-surf2);
    transform: translateY(-2px);
}
.soc svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: color .25s var(--ease);
}
.soc__name { flex-shrink: 0; }
.soc__handle {
    margin-left: auto;
    color: var(--c-muted);
    font-size: clamp(.65rem, .9vw, .72rem);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* Social hover accents — border + icon only, no glow spam */
.soc[data-accent="instagram"] svg  { color: #e1306c; }
.soc[data-accent="tiktok"] svg     { color: #ff0050; }
.soc[data-accent="youtube"] svg    { color: #ff0000; }
.soc[data-accent="x"] svg          { color: var(--c-dim); }
.soc[data-accent="email"] svg      { color: #34d399; }

.soc[data-accent="instagram"]:hover { border-color: rgba(225,48,108,.25); }
.soc[data-accent="tiktok"]:hover    { border-color: rgba(255,0,80,.25); }
.soc[data-accent="youtube"]:hover   { border-color: rgba(255,0,0,.25); }
.soc[data-accent="x"]:hover         { border-color: var(--c-line2); }
.soc[data-accent="email"]:hover     { border-color: rgba(52,211,153,.25); }

/* ===== Footer ===== */
footer {
    padding: clamp(40px, 6vh, 60px) 0 clamp(44px, 7vh, 72px);
    text-align: center;
    border-top: 1px solid var(--c-line);
}
footer p {
    font-size: clamp(.68rem, .9vw, .74rem);
    color: var(--c-muted);
    letter-spacing: .04em;
}
footer strong {
    color: var(--c-dim);
    font-weight: 600;
}

/* ===== Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    #stars { display: none; }
    body::before { display: none; }
}

/* ===== Selection ===== */
::selection {
    background: rgba(91,201,255,.15);
    color: var(--c-text);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.08); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.15); }

/* ===== Responsive ===== */
@media (min-width: 1200px) { .container { max-width: 740px; } }
@media (min-width: 1800px) { .container { max-width: 800px; } }

@media (max-width: 768px) {
    .theme-toggle { width: 38px; height: 38px; }
    .work__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .socials__grid { flex-direction: column; }
    .soc { max-width: 100%; flex-basis: auto; }
}

@media (max-width: 380px) {
    .hero h1 { font-size: 1.5rem; }
    .tag { padding: 5px 12px; }
}
/* ===== HULORA STUDIO — Global Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #5bc9ff;
    --accent-dim: rgba(91, 201, 255, 0.12);
    --accent-glow: rgba(91, 201, 255, 0.25);
    --accent-strong: rgba(91, 201, 255, 0.5);
    --bg: #050507;
    --bg-card: rgba(12, 12, 18, 0.65);
    --bg-card-hover: rgba(18, 18, 28, 0.8);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(91, 201, 255, 0.25);
    --text: #eaeaef;
    --text-secondary: #8a8a9a;
    --text-muted: #4a4a60;
    --radius: 18px;
    --radius-sm: 12px;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.5s var(--ease);
    --constellation-color: 91, 201, 255;
    --nebula-1: rgba(91, 201, 255, 0.04);
    --nebula-2: rgba(120, 80, 255, 0.03);
}

/* ===== Light theme ===== */
html[data-theme="light"] {
    --bg: #f4f4f8;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(235, 235, 240, 0.85);
    --border: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(91, 201, 255, 0.3);
    --text: #14142b;
    --text-secondary: #606078;
    --text-muted: #9898b0;
    --constellation-color: 50, 120, 170;
    --nebula-1: rgba(91, 201, 255, 0.06);
    --nebula-2: rgba(120, 80, 255, 0.04);
}

html {
    scroll-behavior: smooth;
    font-size: clamp(15px, 1vw, 17px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* ===== Nebula background ===== */
.nebula {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.nebula__layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
    transition: background var(--transition-slow);
}

.nebula__layer--1 {
    width: min(700px, 80vw);
    height: min(700px, 80vw);
    background: var(--nebula-1);
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    animation: nebulaDrift1 30s ease-in-out infinite;
}

.nebula__layer--2 {
    width: min(500px, 60vw);
    height: min(500px, 60vw);
    background: var(--nebula-2);
    bottom: 10%;
    right: -10%;
    animation: nebulaDrift2 35s ease-in-out infinite;
}

.nebula__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 100%);
}

@keyframes nebulaDrift1 {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
    50% { transform: translateX(-45%) translateY(30px) scale(1.05); }
}

@keyframes nebulaDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(1.08); }
}

/* ===== Constellation canvas ===== */
#constellation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== All content above canvas ===== */
.hero, .word-scroll-section, .platforms, .apps-section, .socials-section, footer {
    position: relative;
    z-index: 1;
}

/* ===== Focus states ===== */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ===== Theme toggle ===== */
.theme-toggle {
    position: fixed;
    top: clamp(16px, 3vh, 28px);
    right: clamp(16px, 3vw, 28px);
    z-index: 100;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--accent);
    transform: rotate(20deg) scale(1.08);
    box-shadow: 0 0 24px var(--accent-glow), 0 0 60px rgba(91, 201, 255, 0.06);
}

.theme-toggle:active {
    transform: rotate(20deg) scale(0.95);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ===== Layout ===== */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 32px);
}

/* ===== Hero ===== */
.hero {
    padding: clamp(80px, 14vh, 140px) 0 clamp(16px, 3vh, 32px);
    text-align: center;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(80px, 14vw, 120px);
    height: clamp(80px, 14vw, 120px);
    margin-bottom: clamp(24px, 4vh, 40px);
    border-radius: clamp(20px, 3vw, 30px);
    background: transparent;
    border: none;
    overflow: visible;
    transition: filter 0.4s ease, transform 0.4s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo-wrapper:hover {
    filter: drop-shadow(0 0 30px var(--accent-glow)) drop-shadow(0 0 60px rgba(91, 201, 255, 0.1));
    animation-play-state: paused;
    transform: translateY(-5px) scale(1.06);
}

.logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.hero h1 {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: clamp(10px, 1.5vh, 16px);
    background: linear-gradient(135deg, var(--text) 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}

.hero .tagline span {
    color: var(--accent);
    font-weight: 500;
}

/* ===== Section labels ===== */
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: clamp(16px, 2vh, 24px);
    padding-left: 2px;
}

/* ===== Word scroll ===== */
.word-scroll-section {
    padding: clamp(8px, 1.5vh, 16px) 0 clamp(24px, 4vh, 44px);
}

.word-scroll-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.3rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.3;
    text-align: center;
}

.word-scroll-prefix {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.word-scroll-slot {
    height: 1.3em;
    overflow: hidden;
    position: relative;
}

.word-scroll-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: wordSlide 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.word-scroll-list li {
    height: 1.3em;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

@keyframes wordSlide {
    0%, 8%    { transform: translateY(0); }
    12%, 20%  { transform: translateY(-12.5%); }
    24%, 32%  { transform: translateY(-25%); }
    36%, 44%  { transform: translateY(-37.5%); }
    48%, 56%  { transform: translateY(-50%); }
    60%, 68%  { transform: translateY(-62.5%); }
    72%, 80%  { transform: translateY(-75%); }
    84%, 92%  { transform: translateY(-87.5%); }
    96%, 100% { transform: translateY(0); }
}

/* ===== Platform pills ===== */
.platforms {
    padding: 0 0 clamp(28px, 4vh, 48px);
}

.platforms-row {
    display: flex;
    gap: clamp(8px, 1.2vw, 12px);
    flex-wrap: wrap;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 22px);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: clamp(0.72rem, 1.2vw, 0.82rem);
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pill:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: var(--bg-card-hover);
    box-shadow: 0 0 20px rgba(91, 201, 255, 0.06);
}

.pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===== Apps grid ===== */
.apps-section {
    padding: clamp(16px, 2vh, 24px) 0 clamp(32px, 4vh, 48px);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: clamp(12px, 1.5vw, 16px);
}

.app-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 20px);
    padding: clamp(18px, 2.5vw, 26px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, var(--accent-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.app-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(91, 201, 255, 0.08);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card-icon {
    position: relative;
    width: clamp(44px, 6vw, 54px);
    height: clamp(44px, 6vw, 54px);
    border-radius: clamp(12px, 1.5vw, 16px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card-content {
    position: relative;
    min-width: 0;
    flex: 1;
}

.app-card-content h3 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.app-card-content p {
    font-size: clamp(0.75rem, 1.2vw, 0.82rem);
    color: var(--text-secondary);
    line-height: 1.5;
}

.app-card .arrow {
    position: absolute;
    top: clamp(14px, 2vw, 20px);
    right: clamp(14px, 2vw, 20px);
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: var(--transition);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 300;
}

.app-card:hover .arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Socials ===== */
.socials-section {
    padding: 0 0 clamp(32px, 4vh, 48px);
}

.socials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 12px);
}

.social-link {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 14px);
    padding: clamp(14px, 2vw, 18px) clamp(16px, 2.5vw, 22px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    font-size: clamp(0.8rem, 1.2vw, 0.88rem);
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    flex: 1 1 clamp(180px, 30%, 260px);
    max-width: 280px;
    min-width: 0;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* ===== Social glow colors ===== */
.social-link[data-glow="instagram"]:hover {
    border-color: rgba(255, 140, 50, 0.4);
    box-shadow: 0 0 24px rgba(255, 140, 50, 0.15), 0 0 60px rgba(255, 140, 50, 0.05);
    background: var(--bg-card-hover);
}
.social-link[data-glow="instagram"] svg { color: #ff8c32; }

.social-link[data-glow="tiktok"]:hover {
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 0 24px rgba(255, 0, 128, 0.15), 0 0 60px rgba(255, 0, 128, 0.05);
    background: var(--bg-card-hover);
}
.social-link[data-glow="tiktok"] svg { color: #ff0080; }

.social-link[data-glow="youtube"]:hover {
    border-color: rgba(255, 48, 48, 0.4);
    box-shadow: 0 0 24px rgba(255, 48, 48, 0.15), 0 0 60px rgba(255, 48, 48, 0.05);
    background: var(--bg-card-hover);
}
.social-link[data-glow="youtube"] svg { color: #ff3030; }

.social-link[data-glow="twitter"]:hover {
    border-color: rgba(160, 160, 180, 0.3);
    box-shadow: 0 0 24px rgba(120, 120, 140, 0.1), 0 0 60px rgba(100, 100, 120, 0.04);
    background: var(--bg-card-hover);
}
.social-link[data-glow="twitter"] svg { color: var(--text); }

.social-link[data-glow="email"]:hover {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 24px rgba(52, 211, 153, 0.15), 0 0 60px rgba(52, 211, 153, 0.05);
    background: var(--bg-card-hover);
}
.social-link[data-glow="email"] svg { color: #34d399; }

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.social-link span {
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: auto;
    font-size: clamp(0.68rem, 1vw, 0.76rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* ===== Footer ===== */
footer {
    padding: clamp(40px, 6vh, 64px) 0 clamp(48px, 8vh, 80px);
    text-align: center;
    margin-top: clamp(16px, 2vh, 24px);
}

.footer__divider {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-hover), transparent);
    margin: 0 auto clamp(24px, 3vh, 36px);
    opacity: 0.6;
}

footer p {
    font-size: clamp(0.7rem, 1vw, 0.78rem);
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

footer .accent {
    color: var(--accent);
    font-weight: 500;
}

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    #constellation { display: none; }
    .nebula { display: none; }
}

/* ===== Selection ===== */
::selection {
    background: rgba(91, 201, 255, 0.2);
    color: var(--text);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(91, 201, 255, 0.12);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 201, 255, 0.25);
}

/* =========================================
   RESPONSIVE BREAKPOINTS
   ========================================= */

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 780px;
    }
}

/* Ultrawide */
@media (min-width: 1600px) {
    .container {
        max-width: 840px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding-top: clamp(64px, 12vh, 100px);
    }

    .socials-grid {
        flex-direction: column;
    }

    .social-link {
        max-width: 100%;
        flex-basis: auto;
    }

    .app-card {
        flex-direction: row;
        align-items: center;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .word-scroll-wrap {
        font-size: 1.1rem;
    }

    .pill {
        padding: 7px 12px;
        font-size: 0.72rem;
    }
}
/* ===== HULORA STUDIO — Global Styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #5bc9ff;
    --accent-dim: rgba(91, 201, 255, 0.15);
    --accent-glow: rgba(91, 201, 255, 0.25);
    --bg: #060608;
    --bg-card: rgba(14, 14, 18, 0.7);
    --bg-card-hover: rgba(20, 20, 26, 0.8);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(91, 201, 255, 0.2);
    --text: #f0f0f0;
    --text-secondary: #8a8a9a;
    --text-muted: #55556a;
    --radius: 16px;
    --radius-sm: 10px;
    --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --constellation-color: 91, 201, 255;
}

/* ===== Light theme ===== */
html[data-theme="light"] {
    --bg: #f5f5f7;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(240, 240, 242, 0.85);
    --border: rgba(0, 0, 0, 0.07);
    --border-hover: rgba(91, 201, 255, 0.35);
    --text: #1a1a2e;
    --text-secondary: #6b6b80;
    --text-muted: #9b9bb0;
    --constellation-color: 60, 130, 180;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ===== Constellation canvas ===== */
#constellation {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ===== All content above canvas ===== */
.hero, .word-scroll-section, .platforms, .apps-section, .socials-section, footer {
    position: relative;
    z-index: 1;
}

/* ===== Theme toggle ===== */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--accent);
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: var(--transition);
}

.theme-toggle .icon-sun {
    display: none;
}

html[data-theme="light"] .theme-toggle .icon-sun {
    display: block;
}

html[data-theme="light"] .theme-toggle .icon-moon {
    display: none;
}

/* ===== Layout ===== */
.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Hero ===== */
.hero {
    padding: 100px 0 24px;
    text-align: center;
}

.logo-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    margin-bottom: 36px;
    border-radius: 28px;
    background: transparent;
    border: none;
    overflow: visible;
    transition: filter 0.4s ease, transform 0.4s ease;
    animation: logoFloat 5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-wrapper:hover {
    filter: drop-shadow(0 0 25px var(--accent-glow));
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.05);
}

.logo-wrapper img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 28px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .tagline {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.7;
    max-width: 440px;
    margin: 0 auto;
}

.hero .tagline span {
    color: var(--accent);
    font-weight: 500;
}

/* ===== Section headers ===== */
.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-left: 2px;
}

/* ===== Apps grid ===== */
.apps-section {
    padding: 20px 0 40px;
}

.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.app-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.app-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, var(--accent-dim) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
}

.app-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.app-card:hover::before {
    opacity: 1;
}

.app-card-icon {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.app-card-content {
    position: relative;
}

.app-card-content h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.app-card-content p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

.app-card .arrow {
    position: absolute;
    top: 18px;
    right: 18px;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: var(--transition);
    color: var(--accent);
    font-size: 0.85rem;
}

.app-card:hover .arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Word scroll ===== */
.word-scroll-section {
    padding: 12px 0 36px;
}

.word-scroll-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-align: center;
}

.word-scroll-prefix {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.word-scroll-slot {
    height: 1.3em;
    overflow: hidden;
    position: relative;
}

.word-scroll-list {
    list-style: none;
    padding: 0;
    margin: 0;
    animation: wordSlide 14s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.word-scroll-list li {
    height: 1.3em;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

@keyframes wordSlide {
    0%, 8%    { transform: translateY(0); }
    12%, 20%  { transform: translateY(-12.5%); }
    24%, 32%  { transform: translateY(-25%); }
    36%, 44%  { transform: translateY(-37.5%); }
    48%, 56%  { transform: translateY(-50%); }
    60%, 68%  { transform: translateY(-62.5%); }
    72%, 80%  { transform: translateY(-75%); }
    84%, 92%  { transform: translateY(-87.5%); }
    96%, 100% { transform: translateY(0); }
}

/* ===== Platform pills ===== */
.platforms {
    padding: 0 0 40px;
}

.platforms-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pill:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: var(--bg-card-hover);
}

.pill svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===== Socials ===== */
.socials-section {
    padding: 0 0 40px;
}

.socials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex: 1 1 200px;
    max-width: 280px;
    min-width: 0;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-2px);
}

/* ===== Social glow colors ===== */
.social-link[data-glow="instagram"]:hover {
    border-color: rgba(255, 140, 50, 0.4);
    box-shadow: 0 0 20px rgba(255, 140, 50, 0.2), 0 0 40px rgba(255, 140, 50, 0.08);
    background: var(--bg-card-hover);
}
.social-link[data-glow="instagram"] svg { color: #ff8c32; }

.social-link[data-glow="tiktok"]:hover {
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.2), 0 0 40px rgba(255, 0, 128, 0.08);
    background: var(--bg-card-hover);
}
.social-link[data-glow="tiktok"] svg { color: #ff0080; }

.social-link[data-glow="youtube"]:hover {
    border-color: rgba(255, 48, 48, 0.4);
    box-shadow: 0 0 20px rgba(255, 48, 48, 0.2), 0 0 40px rgba(255, 48, 48, 0.08);
    background: var(--bg-card-hover);
}
.social-link[data-glow="youtube"] svg { color: #ff3030; }

.social-link[data-glow="twitter"]:hover {
    border-color: rgba(180, 180, 180, 0.35);
    box-shadow: 0 0 20px rgba(120, 120, 120, 0.15), 0 0 40px rgba(100, 100, 100, 0.06);
    background: var(--bg-card-hover);
}
.social-link[data-glow="twitter"] svg { color: var(--text); }

.social-link[data-glow="email"]:hover {
    border-color: rgba(52, 211, 153, 0.4);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.2), 0 0 40px rgba(52, 211, 153, 0.08);
    background: var(--bg-card-hover);
}
.social-link[data-glow="email"] svg { color: #34d399; }

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.social-link span {
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: auto;
    font-size: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* ===== Footer ===== */
footer {
    padding: 48px 0 64px;
    text-align: center;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

footer p {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

footer .accent {
    color: var(--accent);
}

/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Selection ===== */
::selection {
    background: rgba(91, 201, 255, 0.2);
    color: var(--text);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(91, 201, 255, 0.15);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 201, 255, 0.3);
}

/* ===== Responsive ===== */

/* Tablets & small laptops */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .theme-toggle {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hero {
        padding: 60px 0 20px;
    }

    .hero h1 {
        font-size: 1.9rem;
    }

    .hero .tagline {
        font-size: 0.92rem;
    }

    .logo-wrapper {
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }

    .logo-wrapper img {
        width: 90px;
        height: 90px;
        border-radius: 22px;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .socials-grid {
        flex-direction: column;
    }

    .social-link {
        max-width: 100%;
    }

    .container {
        padding: 0 16px;
    }

    .platforms-row {
        gap: 8px;
    }

    .pill {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    .word-scroll-wrap {
        font-size: 1.3rem;
    }

    .app-card {
        padding: 18px;
    }
}

/* Very small screens */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero .tagline {
        font-size: 0.85rem;
    }

    .word-scroll-wrap {
        font-size: 1.1rem;
    }

    .logo-wrapper {
        width: 74px;
        height: 74px;
        border-radius: 18px;
    }

    .logo-wrapper img {
        width: 74px;
        height: 74px;
        border-radius: 18px;
    }

    .social-link {
        padding: 14px 16px;
        font-size: 0.8rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        max-width: 780px;
    }
}

/* Very large screens */
@media (min-width: 1600px) {
    html {
        font-size: 17px;
    }
}
