:root {
    --bg-dark: #0a0a0c;
    --text-light: #f5f5f7;
    --accent-color: #d4af37;
    --accent-glow: rgba(212, 175, 55, 0.6);
    --gold: #d4af37;
    --glass-bg: rgba(20, 20, 25, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
}

/* Intro Screen */
.intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: radial-gradient(circle at center, #1a1a24 0%, var(--bg-dark) 100%);
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
}

.intro-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.intro-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/hero_bg.png');
    /* We will generate this */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    filter: blur(8px);
    z-index: -1;
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    0% {
        transform: scale(1);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.25;
    }
}

.intro-content {
    text-align: center;
    max-width: 800px;
    padding: 3rem;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.headline {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, var(--gold), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.intro-body {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 2.5rem;
}

.photographer-note {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.4rem;
}

.minting-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: fit-content;
    margin-inline: auto;
}

.minting-text {
    font-size: 1rem;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.opensea-logo {
    height: 24px;
    width: auto;
}

.opensea-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Buttons */
.glow-btn {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--accent-color);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--accent-glow);
}

.glow-btn:hover {
    background: var(--accent-color);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.main-content.visible {
    opacity: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(45deg, #fff, var(--gold), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#desktop-nav {
    display: flex;
    align-items: center;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 300;
    transition: color 0.3s ease;
    padding: 0.5rem 1.5rem;
}

nav a:hover {
    color: var(--accent-color);
}

.connect-wallet {
    border: 1px solid var(--gold);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    color: var(--gold) !important;
}

.connect-wallet:hover {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.5rem 1.5rem;
}

/* Application Closed badge — desktop nav */
.application-closed-badge {
    margin-left: 2rem;
    cursor: default;
    user-select: none;
}

.application-closed-badge:hover {
    background: transparent;
}


/* Application Closed row — mobile nav */
.application-closed-mobile {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.x-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
}

.x-icon {
    width: 16px;
    height: 16px;
    fill: var(--gold);
    transition: fill 0.3s ease;
}

/* Gallery Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem 2rem;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, var(--gold), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #aaaaaa;
    font-weight: 300;
}

.gallery-container {
    padding: 2rem 5% 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.nft-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
}

.nft-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
}

.nft-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.nft-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.nft-card:hover .nft-image-wrapper img {
    transform: scale(1.08);
}

.nft-info {
    padding: 1.5rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.nft-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.nft-number {
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 1px;
}

/* Keep the description hidden on card, show in modal */
.nft-desc {
    display: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background: var(--bg-dark);
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: var(--accent-color);
}

.modal-layout {
    display: flex;
    flex-wrap: wrap;
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.modal-info {
    flex: 1;
    min-width: 300px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-info .edition {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.separator {
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin-bottom: 1.5rem;
}

.modal-desc {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--glass-border);
    color: #666;
    font-size: 0.9rem;
}

/* Quest Modal */
.quest-panel {
    max-width: 500px;
    padding: 0;
}

.quest-header {
    padding: 2.5rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.quest-title {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--accent-color);
}

.quest-x-icon {
    width: 20px;
    height: 20px;
    fill: var(--accent-color);
}

.quest-subtitle {
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.progress-bar-container {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
    transition: width 0.3s ease;
}

.quest-body {
    padding: 2rem;
    min-height: 300px;
}

.quest-step {
    transition: opacity 0.3s ease;
}

.quest-step.hidden {
    display: none;
    opacity: 0;
}

.quest-label {
    display: block;
    font-size: 0.85rem;
    color: #aaaaaa;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.quest-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    color: #fff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    outline: none;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.quest-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.quest-input.error {
    border-color: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2);
}

.quest-error {
    display: block;
    color: #ff5555;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    min-height: 1.2rem;
    /* Reserves space so height doesn't break when text added */
    font-weight: 300;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.quest-continue-btn {
    width: 100%;
    background: var(--accent-color);
    color: #000;
    font-weight: 600;
    border: none;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.quest-continue-btn:hover {
    background: #ebd28e;
}

.quest-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.quest-back-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #888;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.quest-back-btn:hover {
    color: #fff;
}

/* Action Cards */
.action-card {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-card.follow-card,
.action-card.favorite-card {
    margin-bottom: 1rem;
}

.action-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.action-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 1rem;
}

.action-x-icon {
    width: 24px;
    height: 24px;
}

.icon-bg-dark {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--gold);
}

.icon-bg-accent {
    background: rgba(212, 175, 55, 0.1);
    /* Changed to gold alternative */
    color: var(--gold);
    /* Changed to gold */
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Changed to gold alternative */
}

.icon-bg-gold {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.action-info {
    flex: 1;
}

.action-info h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-family: 'Outfit', sans-serif;
}

.action-info p {
    font-size: 0.85rem;
    color: #aaa;
}

.action-btn {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--gold);
    border: 1px solid var(--gold);
    background: transparent;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(212, 175, 55, 0.1);
}

.action-btn.accent {
    color: var(--text-light);
    border-color: var(--accent-color);
}

.action-btn.accent:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-glow);
}

.quest-hint {
    font-size: 0.85rem;
    color: #888;
}

.highlight-border {
    border: 1px solid var(--accent-color);
}

/* Success Step */
.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.checkmark-svg {
    width: 40px;
    height: 40px;
    stroke: var(--gold);
}

.success-title {
    font-size: 2rem;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.success-desc {
    color: #ccc;
    font-size: 1.1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.quest-hint-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.example-text {
    margin-top: 0.5rem;
    color: #ccc;
    font-style: italic;
    font-family: monospace;
}

.highlight {
    color: var(--accent-color);
    font-weight: 600;
}

/* ============================================================
   RESPONSIVE — Mobile-first breakpoints
   ============================================================ */

/* ---- Hamburger button ---- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
    position: relative;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---- Mobile Nav Overlay (Side Drawer Style) ---- */
.mobile-nav-overlay {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 75%;
    max-width: 300px;
    background: #111216;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    visibility: hidden;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.close-mobile-nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
}

/* Individual nav links inside overlay */
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1.2rem 0;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

/* Icon Container Styling (matching the screenshot boxes) */
.nav-icon-container {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.nav-icon-svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px;
    color: var(--text-light);
    stroke: currentColor;
    display: block;
}

.mobile-x-svg {
    fill: currentColor;
    stroke: none;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px;
    min-height: 18px;
    display: block;
}

/* ---- Tablet (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .intro-content {
        max-width: 680px;
        padding: 2.5rem;
    }

    .headline {
        font-size: 3.8rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 2rem;
    }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    #desktop-nav {
        display: none;
    }

    header {
        padding: 1.5rem 5%;
    }

    .intro-content {
        max-width: 92%;
        padding: 2.2rem 1.8rem;
        border-radius: 16px;
    }

    .headline {
        font-size: 2.6rem;
        margin-bottom: 1rem;
    }

    .intro-body {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
    }

    .photographer-note {
        font-size: 1.1rem;
    }

    .glow-btn {
        padding: 0.9rem 2.2rem;
        font-size: 1rem;
    }

    .minting-info {
        padding: 0.65rem 1.4rem;
        gap: 0.5rem;
    }

    .opensea-text {
        font-size: 1rem;
    }

    .hero-section {
        padding: 3rem 1.5rem 1rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .gallery-container {
        padding: 1.5rem 4% 4rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .modal-content {
        width: 96%;
        max-height: 92vh;
        overflow-y: auto;
        border-radius: 16px;
    }

    .modal-layout {
        flex-direction: column;
    }

    .modal-image-container img {
        aspect-ratio: 1 / 1;
    }

    .modal-info {
        padding: 1.6rem;
    }

    .modal-info h3 {
        font-size: 1.8rem;
    }

    .modal-desc {
        font-size: 1rem;
        margin-bottom: 1.4rem;
    }

    .close-btn {
        font-size: 2rem;
        top: 0.9rem;
        right: 1.1rem;
    }

    .quest-panel {
        max-width: 96%;
        margin: auto;
    }

    .quest-header {
        padding: 1.8rem 1.4rem 1rem;
    }

    .quest-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .quest-body {
        padding: 1.3rem;
        min-height: unset;
    }

    .action-card {
        padding: 0.85rem;
    }

    .action-info h4 {
        font-size: 0.95rem;
    }

    .action-info p {
        font-size: 0.8rem;
    }

    #about-modal .modal-content {
        padding: 2.5rem 1.5rem !important;
    }

    #about-modal h3 {
        font-size: 2rem !important;
    }

    footer {
        padding: 2rem 1.5rem;
        font-size: 0.82rem;
    }
}

/* ---- Small phones (≤ 480px) ---- */
@media (max-width: 480px) {
    .headline {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nft-card {
        border-radius: 14px;
    }

    .intro-content {
        padding: 1.6rem 1.2rem;
    }

    .modal {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        border-radius: 20px 20px 0 0;
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 2rem;
        /* Give some breathing room at the very bottom */
    }
}

/* ---- Very small phones (≤ 360px) ---- */
@media (max-width: 360px) {
    .headline {
        font-size: 1.75rem;
    }

    .logo {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .glow-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.2rem;
    }

    .quest-title {
        font-size: 0.95rem;
    }
}