:root {
    --mc-green: #55FF55;
    --mc-blue: #5555FF;
    --mc-gold: #FFAA00;
    --mc-orange: #FF7700;
    --bg-dark: #121212;
    --bubble-bg: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Minecraftia', sans-serif;
    background-color: var(--bg-dark);
    background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                      url('https://www.transparenttextures.com/patterns/stardust.png');
    background-attachment: fixed;
    animation: bgScroll 100s linear infinite;
    color: white;
    text-align: center;
    overflow-x: hidden;
}

@keyframes bgScroll {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}

.nav-logo { height: 55px; image-rendering: pixelated; transition: 0.2s; display: block; margin: 0 auto; }
.glow-logo { filter: drop-shadow(0 0 5px rgba(255, 170, 0, 0.5)); animation: logoGlow 3s ease-in-out infinite alternate; }
@keyframes logoGlow { from { filter: drop-shadow(0 0 2px var(--mc-gold)); } to { filter: drop-shadow(0 0 15px var(--mc-gold)); } }

.wipe-overlay {
    position: fixed; top: 0; left: -150%; width: 150%; height: 100%;
    background: repeating-linear-gradient(45deg, var(--mc-gold), var(--mc-gold) 100px, #cc8800 100px, #cc8800 200px);
    z-index: 5000; pointer-events: none; transform: skewX(-20deg);
}
.wipe-overlay.active { animation: wipeAnim 1.2s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes wipeAnim { 0% { left: -160%; } 100% { left: 160%; } }

.tab-content { display: none; padding-top: 120px; }
.tab-content.active { display: block; }

nav { position: fixed; top: 20px; width: 100%; z-index: 1000; display: flex; justify-content: center; }
.nav-container { background: rgba(0, 0, 0, 0.92); padding: 15px 45px; border-radius: 60px; border: 3px solid #555; backdrop-filter: blur(10px); }
.nav-bubbles { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; gap: 40px; }
.nav-bubbles a { color: white; text-decoration: none; font-size: 0.9rem; transition: 0.3s; }
.nav-bubbles a:hover { color: var(--mc-orange); }

.gui-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.85); z-index: 2000; justify-content: center; align-items: center; }
.gui-window { width: 420px; padding: 30px; position: relative; text-align: center; background: #1a1a1a; border: 5px solid #333; box-shadow: 10px 10px 0px #000; }

.close-gui { position: absolute; top: 10px; right: 15px; font-size: 2rem; color: #555; cursor: pointer; transition: 0.2s; }
.close-gui:hover { color: var(--mc-orange); }

.gui-btn { background: #333; border: 3px solid #555; color: white; padding: 12px 20px; text-decoration: none; font-size: 0.85rem; box-shadow: 3px 3px 0 #000; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; cursor: pointer; }
.gui-btn:hover { background: var(--mc-orange); border-color: #fff; color: #fff; transform: translateY(-2px); }
.discord-btn { background: #5865F2; border-color: #4752c4; }

.mc-table { width: 100%; border-collapse: collapse; background: #1a1a1a; border: 4px solid #333; }
.mc-table th, .mc-table td { padding: 15px; border: 2px solid #333; text-align: center; }
.mc-table th { background: #333; color: var(--mc-gold); }

/* --- RULES, FAQ, & INFO STYLES --- */
.mc-rules-list { list-style: none; padding: 0; }
.mc-rules-list li, .mc-rules-list p { background: rgba(255,255,255,0.05); padding: 15px; border-left: 4px solid var(--mc-gold); margin-bottom: 10px; font-size: 0.9rem; line-height: 1.5; }
.mc-rules-list li strong { color: var(--mc-gold); display: block; margin-bottom: 5px; }

.social-grid { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 15px; }

.faq-container { margin-top: 20px; }
.faq-item { background: #1a1a1a; border: 3px solid #333; margin-bottom: 12px; overflow: hidden; box-shadow: 4px 4px 0px #000; }
.faq-item summary { padding: 18px; cursor: pointer; list-style: none; font-weight: bold; color: var(--mc-gold); display: flex; align-items: center; justify-content: space-between; transition: 0.3s; }
.faq-item summary:hover { background: #252525; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--mc-gold); transition: 0.4s; }
.faq-item[open] summary::after { content: '-'; transform: rotate(180deg); }

.faq-content { 
    padding: 0 18px 18px 18px; font-size: 0.85rem; line-height: 1.6; color: #bbb;
    animation: slideDown 0.4s ease-out;
}

/* --- TIMER STYLES --- */
.timer-section { margin-top: 60px; padding: 40px; background: rgba(0,0,0,0.3); border-top: 4px dashed #333; }
.timer-display { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.time-block { background: #1a1a1a; border: 3px solid var(--mc-gold); padding: 15px; min-width: 100px; box-shadow: 5px 5px 0px #000; }
.time-block span { font-size: 2rem; color: white; display: block; margin-bottom: 5px; }
.time-block p { font-size: 0.7rem; color: var(--mc-gold); text-transform: uppercase; margin: 0; }

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -------------------------- */

.footer-legal { font-size: 0.7rem; opacity: 0.8; margin-bottom: 5px; }
.footer-credits { font-size: 0.6rem; opacity: 0.6; margin-top: 0; }

header { height: 70vh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('mc-landscape.jpg'); background-size: cover; background-position: center; margin-top: -120px; }
section { padding: 80px 10%; }
.mc-title { text-shadow: 3px 3px #000; color: var(--mc-gold); }
.bust-img { height: 220px; width: auto; image-rendering: pixelated; margin-bottom: 15px; }

.creator-bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 20px auto 0 auto; max-width: 1200px; }
.c-bubble { background: var(--bubble-bg); padding: 12px 25px; border-radius: 50px; display: flex; align-items: center; border: 2px solid #333; transition: all 0.3s ease; cursor: pointer; white-space: nowrap; width: calc(25% - 20px); min-width: 220px; }
.c-bubble:hover { background: var(--mc-orange); transform: translateY(-5px); }
.c-bubble img { width: 35px; border-radius: 4px; margin-right: 12px; }
.c-bubble a { color: white; text-decoration: none; font-size: 0.85rem; pointer-events: none; }
.c-info { display: flex; flex-direction: column; align-items: flex-start; }
.platform-sub { font-size: 0.6rem; color: var(--mc-gold); text-transform: uppercase; margin-top: 2px; }

.founder-card { background: #0d0d0d; padding: 25px; border: 4px solid var(--mc-gold); box-shadow: 8px 8px 0px #000; transition: all 0.3s ease; display: flex; flex-direction: column; align-items: center; position: relative; overflow: hidden; }
.section-divider { flex: 0 0 100%; text-align: center; margin: 60px auto 30px auto; padding: 15px 60px; background: #1a1a1a; border: 3px solid var(--mc-gold); border-radius: 12px; color: white; font-size: 1.1rem; letter-spacing: 4px; text-transform: uppercase; width: fit-content; box-shadow: 0 6px 0px #000; text-shadow: 2px 2px #000; }