:root {
    --bg-color: #0c0c0c;
    --surface-color: #161616;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #FFD700;
    /* Yellow Primary */
    --accent-glow: rgba(255, 215, 0, 0.4);
    --font-heading: 'Space Grotesque', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --spacing-section: 60px;
    /* Reduced from 80px/120px */
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.section {
    padding: var(--spacing-section) 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    /* Reduced height further */
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    /* Transparent for canvas visibility */
}

.profile-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.profile-pic {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    box-shadow: 0 0 40px var(--accent-glow);
    transition: transform 0.3s ease;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px var(--accent-glow);
}

.hero h1 {
    font-size: 4rem;
    letter-spacing: -2px;
    margin-bottom: 0.2rem;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.contact-email {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Highlight section tight spacing */
#highlight {
    padding-top: 0;
}

/* Video Containers */
.video-container {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    background: #000;
    border: 1px solid #222;
}

.video-info {
    padding: 1.2rem;
    background: var(--surface-color);
    border-top: 1px solid #333;
}

.video-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Grids */
.making-of-grid,
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.insta-item {
    background: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border: 1px solid #222;
}

.insta-item blockquote {
    margin: 0 !important;
    width: 100% !important;
}

/* ArtStation Grid (New) */
.artstation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* Using simple images instead of iframes for better performance/look */
.art-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 16/9;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.8);
    cursor: pointer;
}

.art-item-img:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
    /* Subtle yellow glow */
}

.artstation-cta {
    text-align: center;
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 12px 35px;
    background-color: transparent;
    color: var(--accent-color);
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: #000;
    /* Black text on yellow button */
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-2px);
}

/* Contact */
.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 60vh;
    }

    .making-of-grid,
    .social-grid,
    .artstation-grid {
        grid-template-columns: 1fr;
    }

    .profile-pic {
        width: 140px;
        height: 140px;
    }
}