/* Hero Section Styles - Embark Studios Inspired */

/* Custom Font */
@font-face {
    font-family: 'Avero';
    src: url('../assets/AveroRegular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(147, 51, 234, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 60%, rgba(219, 39, 119, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        linear-gradient(
            to right,
            rgba(10, 10, 15, 1) 0%,
            rgba(10, 10, 15, 0.95) 15%,
            rgba(10, 10, 15, 0.7) 40%,
            transparent 100%
        );
    z-index: 2;
}

/* Bottom fade from hero into next section */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, #0F0E0E 0%, rgba(15, 14, 14, 0.8) 30%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-3xl);
}

.hero-left {
    max-width: 600px;
}

/* Game logo image next to title */
.hero-title-row {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.hero-game-logo {
    display: block;
    width: auto;
    height: 7rem;
    flex-shrink: 0;
    margin-top: -0rem;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
}

/* Hero Title */
.hero-title {
    font-family: 'Avero', sans-serif;
    font-size: 9rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--color-white);
}

/* Hero CTA Button */
.btn-hero-cta {
    display: inline-block;
    padding: 1.125rem 2.5rem;
    background-color: var(--color-white);
    color: #0a0a0f;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.btn-hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
    background-color: var(--color-light-gray);
}

.btn-hero-cta:active {
    transform: translateY(0);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    user-select: none;
}

.hero-scroll-label {
    font-family: var(--font-family-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero-scroll-arrow {
    display: block;
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 0 var(--spacing-2xl);
    }
    
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 600px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-xl);
    }

    .hero-left {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 6rem;
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(
            to right,
            rgba(10, 10, 15, 1) 0%,
            rgba(10, 10, 15, 0.9) 30%,
            rgba(10, 10, 15, 0.6) 60%,
            transparent 100%
        );
    }
    
    .btn-hero-cta {
        padding: 1rem 2rem;
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 var(--spacing-lg);
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-gradient-overlay {
        background: linear-gradient(
            to bottom,
            rgba(10, 10, 15, 0.8) 0%,
            rgba(10, 10, 15, 0.9) 50%,
            rgba(10, 10, 15, 0.95) 100%
        );
    }

    .btn-hero-cta {
        width: 100%;
        text-align: center;
    }
}

/* Light Theme Adjustments */
[data-theme="light"] .hero-gradient-overlay {
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 15%,
        rgba(255, 255, 255, 0.7) 40%,
        transparent 100%
    );
}

[data-theme="light"] .btn-hero-cta {
    background-color: var(--color-dark);
    color: var(--color-white);
}

[data-theme="light"] .btn-hero-cta:hover {
    background-color: #1a1a1f;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
