:root {
    --bg-dark: #0a0c10;
    --bg-accent: #16181d;
    --gold: #c5a059;
    --gold-dim: #a68545;
    --text-white: #f8f9fa;
    --text-gray: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-med: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default for custom cursor */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: 'Playfair Display', serif;
}

/* Custom Cursor - Hidden on Touch */
@media (hover: hover) and (pointer: fine) {

    #cursor,
    #cursor-follower {
        position: fixed;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
    }

    #cursor {
        width: 8px;
        height: 8px;
        background: var(--gold);
    }

    #cursor-follower {
        width: 35px;
        height: 35px;
        border: 1px solid var(--gold);
    }

    * {
        cursor: none;
    }
}

@media (max-width: 1024px) {
    * {
        cursor: auto !important;
    }

    #cursor,
    #cursor-follower {
        display: none !important;
    }
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 1000;
    background: transparent;
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: var(--transition-med);
}

#navbar.scrolled {
    padding: 1.5rem 5rem;
    background: rgba(10, 12, 16, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition-med);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--gold);
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    margin: 0 2rem;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    transition: var(--transition-med);
    position: relative;
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

.nav-cta {
    display: block;
}

.btn-premium {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.8rem 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    transition: var(--transition-med);
    font-weight: 600;
    border-radius: 4px;
}

.btn-premium:hover {
    background: var(--gold);
    color: var(--bg-dark);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
}

/* Global Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.text-center {
    text-align: center;
}

/* Buttons Global */
.btn-main {
    background: var(--gold);
    color: var(--bg-dark);
    padding: 1.5rem 3.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 4px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-white);
    padding: 1.5rem 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    border-radius: 4px;
}

.btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.3);
    background: #e5c37f;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-white);
    transform: translateY(-3px);
}

/* Typography Helpers */
.tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2rem;
    font-weight: 600;
}

.accent {
    color: var(--gold);
    font-style: italic;
    font-family: 'Playfair Display', serif;
}

/* Reveal Text Helper */
.reveal-text {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.reveal-text-sub {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Footer Global */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 10rem 5rem 3rem;
    background: linear-gradient(to bottom, var(--bg-dark), #000);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8rem;
}

.footer-logo {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 8px;
}

.footer-cols {
    display: flex;
    gap: 8rem;
}

.col h4 {
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    color: var(--gold);
    font-size: 0.9rem;
}

.col ul {
    list-style: none;
}

.col ul li {
    margin-bottom: 1.2rem;
}

.col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-med);
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.col ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.socials {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.socials a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-med);
}

.socials a:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations Trigger Classes */
.parallax-layer {
    will-change: transform;
}

@media (max-width: 1024px) {
    #navbar {
        padding: 1.5rem 2rem;
    }

    #navbar.scrolled {
        padding: 1.5rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: black;
        backdrop-filter: blur(40px);
        flex-direction: column;
        align-items: center;
        transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1000;
        padding: 5rem 2rem;
    }

    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }

    .nav-links::before {
        content: 'Yōkoso';
        position: absolute;
        top: 8%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 15vw;
        font-weight: 900;
        color: rgba(255, 255, 255, 0.123);
        z-index: -1;
        letter-spacing: 20px;
        font-family: 'Playfair Display', serif;
    }

    .nav-links a {
        opacity: 1 !important;
        margin: 1rem 0;
        font-size: 1.1rem;
        color: var(--text-white);
        text-transform: uppercase;
        letter-spacing: 5px;
        position: relative;
        transition: var(--transition-med);
        font-family: 'Playfair Display', serif;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        width: 0;
        height: 1px;
        background: var(--gold);
        transition: var(--transition-med);
        transform: translateX(-50%);
    }

    .nav-links a.active::after,
    .nav-links a:hover::after {
        width: 40px;
    }

    .sidebar-footer p {
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: var(--text-gray);
        margin-bottom: 2rem;
    }

    .sidebar-socials {
        display: flex;
        justify-content: center;
        gap: 3rem;
    }

    .sidebar-socials a {
        font-size: 0.8rem !important;
        letter-spacing: 2px !important;
        color: var(--gold) !important;
        margin: 0 !important;
        opacity: 0.6;
    }

    .sidebar-socials a::after {
        display: none;
    }

    .sidebar-socials a:hover {
        opacity: 1;
    }

    .nav-cta {
        display: none;
    }

    .container {
        padding: 0 2rem;
    }

    footer {
        padding: 6rem 2rem 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 5rem;
        text-align: center;
    }

    .footer-logo {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .footer-cols {
        flex-direction: column;
        gap: 4rem;
        align-items: center;
    }

    .col h4 {
        margin-bottom: 1.5rem;
    }

    .socials {
        justify-content: center;
    }
}