/* Reset and base styles */
* {
    user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 400;
    background: transparent;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.orange-text {
    color: #D97706;
}

/* Fixed fluid background covering entire viewport - NEVER MOVES */
#wallpaper-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
    overflow: hidden;
    background: #000;
}

#wallpaper-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    background: transparent;
}

/* Fire watermark in top left */
.fire-watermark {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    pointer-events: none;
}

.fire-watermark img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* Makes SVG white */
    opacity: 0.8;
}

/* Scrollable content overlay - floats above fixed background */
.content-wrapper {
    position: relative;
    z-index: 10;
    background: transparent;
    pointer-events: none; /* Allow mouse to pass through to background */
    will-change: transform; /* Optimize for scrolling */
    transform: translateZ(0); /* Force hardware acceleration */
}

/* Hero section with centered logo - starts in middle of viewport */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
    background: transparent;
    pointer-events: none; /* Let mouse pass through to fluid background */
}

.logo h1 {
    font-family: 'Germania One', serif;
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    color: #fff;
    line-height: 1.1;
}

.tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Social media buttons */
.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
    pointer-events: auto; /* Enable clicks on social buttons */
}

.social-btn {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

.social-btn img {
    width: 64px;
    height: 64px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.8));
}

/* Content section with scrollable content - overlays the fixed background */
.content-section {
    position: relative;
    z-index: 10;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 5%,
        rgba(0, 0, 0, 0.7) 20%,
        rgba(0, 0, 0, 0.9) 40%,
        rgba(0, 0, 0, 0.95) 60%,
        rgba(0, 0, 0, 0.98) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    min-height: 200vh; /* Make it tall enough to scroll */
    pointer-events: none; /* Allow interaction with background, but enable for text selection */
    will-change: transform; /* Optimize for scrolling */
    transform: translateZ(0); /* Force hardware acceleration */
}

.content-container {
    max-width: 680px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    pointer-events: auto; /* Re-enable pointer events for text content */
}

/* Two-column layout structure */
.content-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.heading-column {
    position: sticky;
    top: 2rem;
}

.heading-column h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

/* Underline for headings */
.heading-column h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #D97706, #EA580C);
    border-radius: 1px;
}

.content-column p {
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    line-height: 1.6;
    letter-spacing: 0.002em;
}

.content-column p:last-child {
    margin-bottom: 0;
}

/* Email link styling - chunky orange to match BLAZE brand */
.content-column a {
    color: #D97706;
    font-weight: 600;
    text-decoration: none;
    /* font-family: 'Germania One', serif; */
    font-size: 1.1em;
    background: linear-gradient(135deg, #D97706, #EA580C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.content-column a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    text-shadow: 0 3px 8px rgba(217, 119, 6, 0.5);
}

.content-column a:active {
    transform: scale(0.98);
}

/* Mobile responsive - stack vertically */
@media (max-width: 768px) {
    .content-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .heading-column {
        position: static;
    }
    
    .heading-column h2 {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        margin-bottom: 1rem;
    }
    
    .content-column p {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    }
}

/* FAQ Section - Compact Design */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(217, 119, 6, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.faq-item.active {
    border-color: #D97706;
    background: rgba(217, 119, 6, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question span {
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.faq-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
    color: #D97706;
    background: rgba(217, 119, 6, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: #D97706;
    color: #000;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1rem 1rem 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Mobile FAQ adjustments */
@media (max-width: 768px) {
    .faq-question {
        padding: 0.75rem;
    }
    
    .faq-question span {
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Add extra space at the bottom */
.spacer {
    height: 20vh;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    pointer-events: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Thick white horizontal rule */
.footer-divider {
    width: 100%;
    height: 6px;
    background: #fff;
    margin-bottom: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    padding-bottom: 4rem;
    align-items: center; /* This aligns the logo and sections horizontally */
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the text in its column */
}

.footer-logo h3 {
    font-family: 'Germania One', serif;
    font-size: clamp(3rem, 6vw, 5rem); /* Made larger */
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    margin: 0;
    line-height: 1;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Footer fire icon section */
.footer-fire-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-fire-icon {
    width: 48px;
    height: 48px;
    filter: brightness(0) invert(1); /* Makes SVG white */
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-fire-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.footer-section ul li a:hover {
    color: #D97706;
}

/* Mobile footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-fire-section {
        grid-column: span 2;
        margin-top: 1rem;
    }
    
    .footer-divider {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-fire-section {
        grid-column: span 1;
        margin-top: 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
}

/* Responsive design - Medium.com style */
@media (max-width: 768px) {
    .content-container {
        max-width: 100%;
        padding: 4rem 1.5rem 3rem;
    }
    
    section {
        margin-bottom: 2.5rem;
    }
    
    section ul li {
        padding-left: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0 1rem;
    }
    
    .logo h1 {
        letter-spacing: -0.01em;
    }
    
    .content-container {
        padding: 3rem 1rem 2rem;
    }
    
    section {
        margin-bottom: 2rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar - WebKit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #D97706;
    border-radius: 6px;
    border: none;
}

::-webkit-scrollbar-thumb:hover {
    background: #EA580C;
}

::-webkit-scrollbar-corner {
    background: #000000;
}

/* Custom scrollbar - Firefox */
html {
    scrollbar-width: auto;
    scrollbar-color: #D97706 #000000;
}

/* Firefox scrollbar hover (experimental) */
@supports (scrollbar-color: red blue) {
    html:hover {
        scrollbar-color: #EA580C #000000;
    }
}

/* Utility classes for different container configurations */
.wallpaper-inline {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    touch-action: none;
}

.wallpaper-inline canvas {
    display: block;
    width: 100%;
    height: 100%;
}

/* Loading state */
.wallpaper-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 1rem;
}

.wallpaper-loading::after {
    content: '';
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
