/* --- Variables --- */
:root {
    --bg: #ffffff; 
    --text: #111; 
    /* Cards need to be more opaque in light mode to read text over the rainbow */
    --card-bg: rgba(255, 255, 255, 0.6); 
    --accent: #2563eb; 
    --highlight: #2563eb; 
    --border: rgba(0,0,0,0.1);
    --footer-bg: rgba(255, 255, 255, 0.7);
    --footer-legal: #666;
    
    /* LIGHT MODE GRADIENT COLORS (Red, Orange, Yellow, Green - Pastel/Soft) */
    --lava-gradient: linear-gradient(-45deg, #ff9a9e, #fecfef, #f6d365, #84fab0);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #050505; 
        --text: #f0f0f0; 
        /* Cards need transparency to let the dark aurora show through */
        --card-bg: rgba(20, 20, 20, 0.4); 
        --accent: #3b82f6; 
        --highlight: #60a5fa; 
        --border: rgba(255,255,255,0.1);
        --footer-bg: rgba(10, 10, 10, 0.6);
        --footer-legal: #888;
        
        /* DARK MODE GRADIENT COLORS (Blue, Purple, Dark Green - Deep/Space) */
        --lava-gradient: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #4b1248, #0f3443);
    }
}

body { 
    background: var(--bg); 
    color: var(--text); 
    font-family: "Wanted Sans Variable", sans-serif; 
    margin: 0; line-height: 1.6; 
}

/* --- THE LAVA BACKGROUND --- */
.lava-background {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    
    /* Use the variable defined in :root/media query */
    background: var(--lava-gradient);
    
    background-size: 400% 400%;
    
    /* Lower opacity makes it subtle/faded instead of strong */
    opacity: 0; 
    
    /* Animation: Flow moves colors, FadeEntry brings it in slowly */
    animation: lavaFlow 20s ease infinite, fadeEntry 3s ease-out forwards;
}

/* Smooth movement of the gradient blob */
@keyframes lavaFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fade in after site load */
@keyframes fadeEntry {
    0% { opacity: 0; }
    100% { opacity: 0.6; } /* Max opacity 0.6 to keep it subtle */
}

/* --- Nav --- */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; }
.logo { font-size: 2.5rem; font-weight: 900; letter-spacing: -2px; }
.menu { list-style: none; display: flex; gap: 30px; padding: 0; align-items: center; }
.menu a { text-decoration: none; color: var(--text); font-weight: 500; }
.lang-dropdown { position: relative; }
.lang-icon { cursor: pointer; display: flex; align-items: center; }
.lang-content { 
    display: none; position: absolute; top: 100%; right: 0; 
    background: var(--card-bg); border: 1px solid var(--border); 
    min-width: 120px; z-index: 9999; border-radius: 6px; 
    margin-top: 10px; backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
}
.lang-content.show { display: block; } 
.lang-content a { display: block; padding: 10px 15px; color: var(--text); text-decoration: none; }
.lang-content a:hover { background: rgba(128,128,128,0.1); }

/* --- Hero --- */
.hero-split { display: flex; align-items: center; min-height: 70vh; padding: 0 8vw; gap: 40px; }
.hero-left { flex: 1; }
.hero-left h1 { font-size: 3.5rem; line-height: 1.1; margin: 0; }
.light-text { font-weight: 300; }
.asn-id { color: var(--highlight); font-weight: 800; font-style: italic; }
.asn-name { color: #888; font-weight: 400; font-style: italic; }
.hero-right { flex: 1; text-align: center; }
.image-container img { width: 100%; max-width: 500px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.hero-banner { text-align: center; padding: 40px 20px; font-size: 1.5rem; font-weight: 300; opacity: 0.8; border-bottom: 1px solid var(--border); }

/* --- Sections --- */
section { padding: 80px 20px; max-width: 1200px; margin: 0 auto; }
h2 { text-align: center; font-size: 2rem; margin-bottom: 50px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }

/* Cards Glassmorphism */
.card { 
    background: var(--card-bg); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    padding: 30px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    text-align: center; 
    transition: 0.2s; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 15px rgba(0,0,0,0.1); }
.card h3 { margin-top: 0; font-size: 1.2rem; }

.split-section { display: flex; gap: 50px; align-items: center; }
.text-side, .img-side { flex: 1; }
.img-side img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

/* --- Footer --- */
footer { 
    margin-top: 100px; padding: 80px 10%; 
    background: var(--footer-bg); 
    border-top: 1px solid var(--border); 
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.footer-container { display: flex; gap: 60px; }
.footer-left { flex: 1; text-align: left; }
.footer-left h2 { text-align: left; font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-links a { color: var(--text); text-decoration: none; font-size: 1.1rem; font-weight: bold; }
.legal-info { margin-top: 30px; color: var(--footer-legal); font-family: monospace; font-size: 0.85rem; }
.footer-right { flex: 1; display: flex; align-items: center; }
.footer-right p { font-size: 1.4rem; font-style: italic; font-weight: 300; color: var(--text); opacity: 0.9; }

/* Mobile */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 6px; }
.hamburger span { width: 30px; height: 3px; background-color: var(--text); }
@media (max-width: 768px) {
    .hero-split, .split-section, .footer-container { flex-direction: column; }
    .hamburger { display: flex; }
    .menu { display: none; width: 100%; position: absolute; top: 70px; left: 0; background: var(--bg); flex-direction: column; padding: 20px 0; border-bottom: 1px solid var(--border); z-index: 1000; }
    .menu.active { display: flex; }
    .grid { grid-template-columns: 1fr; }
}


/* --- TYPOGRAPHY FIXES --- */

/* 1. Force Bold to be EXTRA THICK (Weight 900) */
strong, b {
    font-weight: 900 !important;
    color: var(--text); /* Ensures it stays visible */
}

/* 2. Force Light text to be THIN (Weight 300) */
.light-text {
    font-weight: 300 !important;
    opacity: 0.9;
}

/* 3. Strikethrough Style (Use <s> tag) */
s, .strike {
    text-decoration: line-through;
    text-decoration-thickness: 2px; /* Make the line visible */
    opacity: 0.5; /* Make it slightly faded like a correction */
    color: #888;
}

/* Ensure the Hero H1 allows these changes */
.hero-left h1 {
    font-weight: 300; /* Default to thin, so Bold pops out */
}