:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --accent-color: #FFD700;
    /* Gold */
    --accent-secondary: #FFA500;
    /* Orange Gold */
    --surface-color: rgba(255, 215, 0, 0.08);
    /* Slight yellow tint */
    --glass-bg: rgba(255, 215, 0, 0.05);
    /* Yellow tinted glass */
    --glass-border: rgba(255, 215, 0, 0.15);
    /* Yellow tinted border */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at center, #2a2505 0%, #0a0a0a 100%);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: none;
    line-height: 1.6;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.2s;
}

.cursor-follower {
    position: fixed;
    width: 32px;
    height: 32px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.3s, background 0.3s;
}

.cursor.active {
    transform: scale(0);
}

.cursor-follower.active {
    transform: scale(2);
    background: rgba(255, 215, 0, 0.1);
    border-color: transparent;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-display);
    text-transform: uppercase;
}

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

/* Header / Hero */
.hero-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    z-index: 10;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
}

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

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    transition: all 0.3s;
}

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

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 12rem);
    line-height: 0.9;
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.reveal-text {
    display: inline-block;
    background: linear-gradient(to right, #fff, #888);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 3rem;
    opacity: 0.8;
    font-weight: 300;
}

/* Magnetic Button */
.magnetic-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.magnetic-btn .btn-text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.magnetic-btn .btn-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    z-index: 1;
}

.magnetic-btn:hover .btn-fill {
    transform: translateY(0);
}

.magnetic-btn:hover .btn-text {
    color: #000;
}

.large-btn {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 8rem 4rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 5rem;
}

.section-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
}

/* About Section */
.about-content p {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    line-height: 1.4;
    font-weight: 300;
    max-width: 1000px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.1);
    background: rgba(255, 215, 0, 0.08);
}

.card-icon {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--glass-border);
    margin-bottom: 2rem;
    font-weight: 900;
    transition: color 0.3s;
}

.feature-card:hover .card-icon {
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card p {
    opacity: 0.7;
    font-size: 1.1rem;
}

/* Portfolio Section */
.project-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.project-info .project-cat {
    display: block;
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info h3 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.project-info p {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 400px;
}

.link-arrow {
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.link-arrow::after {
    content: '→';
    font-size: 1.2rem;
}

.link-arrow:hover {
    gap: 1rem;
    color: var(--accent-color);
}

.project-visual {
    height: 500px;
    background: var(--glass-bg);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.visual-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #111, #222);
    transition: transform 0.5s;
}

.project-item:hover .visual-placeholder {
    transform: scale(1.05);
}

/* Contact Section */
.contact-wrapper {
    text-align: center;
    padding: 6rem 0;
    background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.05));
    border-radius: 30px;
}

.contact-wrapper h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.contact-wrapper p {
    font-size: 1.2rem;
    opacity: 0.7;
    margin-bottom: 3rem;
}

/* Footer */
footer {
    padding: 3rem 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 900;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-section,
    .section,
    footer {
        padding: 2rem;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-visual {
        height: 300px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile hide for now */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    * {
        cursor: auto;
    }
}

/* Cookie Animation */
#cookie-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    z-index: 9999;
    pointer-events: none;
    /* Let clicks pass through */
    display: flex;
    justify-content: center;
    align-items: center;
}

#yummy-text {
    position: absolute;
    top: -40px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0) translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#yummy-text.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

#cookie-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}