/* =============================================================================
   UNFUKBL - LEGENDARY EXPERIMENTAL ART PORTAL STYLES
   Professional CSS for manual deployment
   ============================================================================= */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== RADIAL BACKGROUND SYSTEM ===== */
.radial-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 102, 0, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: -2;
    pointer-events: none;
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
}

/* ===== HEADER SECTION ===== */
.header-section {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

/* Dancing Sizzle Logo */
.sizzle-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sizzle-logo {
    width: 120px;
    height: auto;
    animation: sizzleDance 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.6));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sizzle-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 140, 0, 0.8));
}

@keyframes sizzleDance {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-10px) rotate(2deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(-1deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(1deg); 
    }
}

/* Main Heading */
h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ff8c00, #ffa500, #ff6347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 140, 0, 0.5);
    letter-spacing: 0.05em;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffa500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.subtitle {
    font-size: 1rem;
    color: #cccccc;
    font-style: italic;
}

/* ===== STICKY BURN COUNTER ===== */
.burn-counter {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffa500;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.burn-counter:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 140, 0, 0.4);
}

/* ===== FLOATING BACKGROUND EMOJIS ===== */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-emoji {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: floatUpward 8s linear infinite;
}

.floating-emoji:nth-child(odd) {
    animation-duration: 10s;
    opacity: 0.08;
}

.floating-emoji:nth-child(3n) {
    animation-duration: 12s;
    opacity: 0.06;
}

@keyframes floatUpward {
    0% { 
        transform: translateY(100vh) rotate(0deg);
        opacity: 0.1;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% { 
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== PORTAL GRID SYSTEM ===== */
.portals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* ===== INDIVIDUAL PORTAL STYLING ===== */
.portal {
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.2);
    opacity: 0;
    transform: translateY(30px);
}

/* Scroll Reveal Animation */
.portal.visible {
    opacity: 1;
    transform: translateY(0);
}

.portal:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 140, 0, 0.4);
}

/* Portal Image Container */
.portal-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.portal-bg-quad {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1.0) contrast(1.1) saturate(1.05) sepia(0.05);
}

.portal:hover .portal-bg-quad {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.2) saturate(1.15) drop-shadow(0 0 15px rgba(255, 140, 0, 0.3));
}

/* Frosted Fire-Glass Text Overlay */
.portal-text {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1rem 2rem;
    text-align: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.portal-text h2 {
    font-family: 'Anton', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1em;
    margin: 0;
}

.portal:hover .portal-text {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) scale(1.05);
}

/* Flame Description Boxes */
.flame-box {
    background: linear-gradient(135deg, 
        rgba(255, 140, 0, 0.1) 0%, 
        rgba(255, 102, 0, 0.08) 50%, 
        rgba(255, 87, 34, 0.06) 100%);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 0 0 20px 20px;
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.flame-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

/* ===== FOOTER SECTION ===== */
.footer-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 140, 0, 0.2);
    margin-top: 2rem;
}

.footer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffa500;
    margin-bottom: 1rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ff8c00, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .main-container {
        padding: 1rem 0.5rem;
    }
    
    .header-section {
        margin-bottom: 3rem;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .portals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .portal-image-container {
        height: 200px;
    }
    
    .portal-text {
        padding: 0.8rem 1.5rem;
    }
    
    .portal-text h2 {
        font-size: 1.5rem;
    }
    
    .flame-box {
        padding: 1rem;
    }
    
    .flame-box p {
        font-size: 0.9rem;
    }
    
    .burn-counter {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .floating-emoji {
        font-size: 1.2rem;
    }
    
    .sizzle-logo {
        width: 80px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .portal-text h2 {
        font-size: 1.3rem;
    }
    
    .portal-text {
        padding: 0.6rem 1rem;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
@media (prefers-reduced-motion: reduce) {
    .sizzle-logo {
        animation: none;
    }
    
    .floating-emoji {
        animation: none;
    }
    
    .portal {
        transition: none;
    }
}