:root {
    --bg-dark: #0b0711;
    --bg-grad-top: #13091d;
    --bg-grad-bottom: #050308;
    --accent-ember: #ffca67;
    --accent-rose: #d48aa3;
    --accent-lilac: #b89ae8;
    --text-main: #f5edf9;
    --text-muted: #bda9d6;
    --card-bg: rgba(20, 10, 35, 0.8);
    --radius-lg: 18px;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 40px rgba(246, 208, 135, 0.45);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: radial-gradient(circle at top, var(--bg-grad-top), var(--bg-grad-bottom));
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 10%, var(--accent-ember), #7e3f52);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-circle::before {
    content: "";
    background-image: url("apple-touch-icon.png");
    background-position: center;
    background-size: contain;
    width: 100%;
    height: 100%;
    filter: brightness(25%);
}

.brand-text h1 {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}

.brand-text span {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    margin-top: -2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

nav a:hover {
    color: var(--accent-ember);
}

.pill {
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background-color: rgba(5, 3, 12, 0.65);
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}

@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }
}

.hero-text h2 {
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    margin-bottom: 14px;
}

.hero-text h2 span {
    background: linear-gradient(120deg, var(--accent-ember), var(--accent-lilac));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    max-width: 32rem;
    margin-bottom: 22px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.8rem;
    color: var(--accent-lilac);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-ember), var(--accent-rose));
    color: #1c0510;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 32px rgba(246, 208, 135, 0.6);
}

.btn-ghost {
    background: rgba(10, 6, 20, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}

.btn-ghost:hover {
    border-color: var(--accent-lilac);
    color: var(--accent-lilac);
}

.hero-visual {
    position: relative;
    min-height: 220px;
}

.hero-card {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: radial-gradient(circle at 20% 0%, rgba(246, 208, 135, 0.18), transparent),
        radial-gradient(circle at 80% 100%, rgba(184, 154, 232, 0.18), transparent),
        var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-card .tagline {
    font-size: 0.95rem;
    color: var(--accent-ember);
    margin-bottom: 4px;
}

.hero-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent-ember);
    box-shadow: 0 0 12px rgba(246, 208, 135, 0.9);
    margin-right: 6px;
    display: inline-block;
}

/* Sections */
section {
    margin-bottom: 56px;
}

.section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.section-card {
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow-soft);
    padding: 22px 24px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 28px;
}

@media (max-width: 800px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-grid p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-highlight {
    font-size: 0.9rem;
    color: var(--accent-rose);
    margin-bottom: 8px;
}

.lantern-block {
    border-radius: 18px;
    background: radial-gradient(circle at 25% 0%, rgba(246, 208, 135, 0.2), transparent),
        radial-gradient(circle at 70% 100%, rgba(212, 138, 163, 0.28), transparent),
        rgba(10, 5, 22, 0.9);
    padding: 16px 18px;
    font-size: 0.85rem;
    color: var(--text-main);
}

.lantern-block h4 {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

/* Projects */
.project-card {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 24px;
    align-items: flex-start;
}

@media (max-width: 800px) {
    .project-card {
        grid-template-columns: 1fr;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(246, 208, 135, 0.08);
    color: var(--accent-ember);
    margin-bottom: 8px;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.project-meta {
    font-size: 0.82rem;
    color: var(--accent-lilac);
    margin-top: 8px;
}

.preview-video {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* disables clicks = hides controls */
}

/* Newsletter / footer */
.newsletter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
}

.newsletter-row input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 3, 13, 0.85);
    color: var(--text-main);
    font-size: 0.85rem;
    outline: none;
}

.newsletter-row input::placeholder {
    color: rgba(189, 169, 214, 0.7);
}

/* LINKS SECTION */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    padding: 20px 8px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(20, 10, 35, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    text-align: center;
    transition: 0.2s ease;
}

.link-item:hover {
    border-color: var(--accent-ember);
    box-shadow: 0 0 18px rgba(246, 208, 135, 0.35);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 1.4rem;
    color: var(--accent-ember);
    text-shadow: 0 0 6px rgba(246, 208, 135, 0.7);
    background-position: center;
    background-size: contain;
    width: 75px;
    height: 75px;
    filter: drop-shadow(0 0 6px rgba(246, 208, 135, 0.7))
}

.link-icon.twitter {
    background-image: url("img/ll_link_twitter.png");
}
.link-icon.patreon {
    background-image: url("img/ll_link_patreon.png");
}
.link-icon.subscribestar {
    background-image: url("img/ll_link_substar.png");
}
.link-icon.discord {
    background-image: url("img/ll_link_discord.png");
}

.link-item span {
    font-size: 0.92rem;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .link-item {
        padding: 14px 10px;
    }
}

footer {
    margin-top: 40px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 16px;
}

.footer-links {
    display: flex;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--accent-ember);
}