/* --- BITBO CORE VARIABLES --- */
:root {
    --color-green: #47A942;
    --color-yellow: #FFC100;
    --color-purple: #5B3F99;
    --color-dark: #121217;
    --color-white: #fafafa;
    --font-pixel: 'VT323', monospace;
    --font-mono: 'VT323', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-mono); background: var(--color-purple); color: var(--color-white); overflow-x: hidden; line-height: 1.6; width: 100%; }

/* --- EFFECTS --- */
#parallax-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2; pointer-events: none; }
@keyframes crt-flicker { 0% { opacity: 0.4; } 5% { opacity: 0.45; } 10% { opacity: 0.4; } 100% { opacity: 0.4; } }
body::before {
    content: " "; display: block; position: fixed; top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.15) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 999; background-size: 100% 4px, 3px 100%; pointer-events: none; animation: crt-flicker 0.1s infinite;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* --- HEADER --- */
header { background: rgba(18, 18, 23, 0.98); border-bottom: 4px solid var(--color-yellow); padding: 20px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 0 rgba(0,0,0,0.5); }
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-pixel); color: var(--color-green); text-decoration: none; font-size: 1.5rem; text-shadow: 3px 3px 0 #000; letter-spacing: 2px; }
.brand-logo { height: 32px; width: auto; image-rendering: pixelated; }
.nav-right { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; }
.nav-links a { color: var(--color-white); text-decoration: none; margin-left: 30px; font-size: 1.2rem; font-family: var(--font-pixel); transition: 0.2s; }
.nav-links a:hover { color: var(--color-yellow); }
.lang-switcher { display: flex; gap: 8px; background: #000; padding: 6px; border: 2px solid var(--color-green); margin-left: 30px; }
.lang-btn { background: none; border: none; color: #555; font-family: var(--font-pixel); font-size: 1rem; cursor: pointer; }
.lang-btn.active { color: var(--color-yellow); }

/* --- HERO --- */
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; padding: 80px 0; align-items: start; }
.hero-text h1 { font-family: var(--font-pixel); font-size: 4.5rem; color: var(--color-yellow); margin-bottom: 25px; text-shadow: 5px 5px 0 #000; line-height: 1.1; }
.intro-p { font-size: 1.05rem; margin-bottom: 20px; }
.mechanics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 30px 0; }
.mech-item { background: rgba(0, 0, 0, 0.6); border-left: 4px solid var(--color-yellow); padding: 15px; box-shadow: 8px 8px 0 rgba(0,0,0,0.3); }
.mech-header { font-family: var(--font-pixel); font-size: 1.2rem; color: var(--color-yellow); margin-bottom: 10px; }
.mech-list { list-style: none; font-size: 0.85rem; color: #ccc; }
.mech-list li { margin-bottom: 5px; padding-left: 15px; position: relative; }
.mech-list li::before { content: "»"; position: absolute; left: 0; color: var(--color-green); }
.building-img { width: 100%; max-width: 100%; border: 8px solid var(--color-dark); box-shadow: 20px 20px 0px rgba(0,0,0,0.5); image-rendering: pixelated; }
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--color-green); color: var(--color-dark); padding: 22px 35px; font-family: var(--font-pixel); font-size: 1.3rem; text-decoration: none; border: 4px solid var(--color-dark); box-shadow: 8px 8px 0 #000; transition: 0.2s; }
.btn-icon { margin-right: 15px; font-size: 1.4rem; }
.btn:hover { background: var(--color-yellow); transform: translate(-2px, -2px); box-shadow: 10px 10px 0 #000; }

/* --- FEATURES --- */
.features { background: rgba(250, 250, 250, 0.98); color: #121217; padding: 100px 0; border-top: 12px solid #121217; }
.section-title { font-family: var(--font-pixel); font-size: 2.5rem; text-align: center; margin-bottom: 50px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: var(--color-purple); padding: 40px 30px; border: 6px solid #000; color: #fff; box-shadow: 12px 12px 0 #000; transition: 0.3s; cursor: pointer; }
.feature-card:hover, .feature-card.active-tap { transform: translateY(-10px); background: #6347a6; box-shadow: 16px 16px 0px rgba(0,0,0,0.8); }
.feature-icon { font-size: 2.5rem; color: var(--color-yellow); display: block; margin-bottom: 15px; }
.feature-card h3 { font-family: var(--font-pixel); font-size: 1.4rem; color: var(--color-yellow); margin-bottom: 20px; }
.bar-bg { width: 100%; background: #000; height: 24px; margin: 20px 0; padding: 4px; border: 2px solid #000; }
.bar-fill { height: 100%; transition: width 0.8s ease, background-color 0.4s; }
.feature-card:hover .bar-fill, .feature-card.active-tap .bar-fill { width: 100% !important; background-color: var(--color-green) !important; }

/* --- GALLERY --- */
.gallery { padding: 100px 0; background: #121217; border-top: 8px solid var(--color-green); display: flex; flex-direction: column; align-items: center; }
.smartphone-case { width: 100%; max-width: 360px; aspect-ratio: 9 / 19; background: #1a1a1a; border: 12px solid #333; border-radius: 40px; position: relative; box-shadow: 15px 15px 0 rgba(0,0,0,0.6); margin: 0 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 6px; }
.smartphone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 30%; height: 20px; background: #111; border-radius: 15px; z-index: 10; }
.smartphone-screen { width: 100%; height: 100%; background: #000; border-radius: 25px; overflow: hidden; position: relative; }
.gallery-track { display: flex; height: 100%; width: fit-content; }
.gallery-item { height: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; user-select: none; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.phone-controls { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 15px; z-index: 20; }
.phone-btn { background: rgba(0, 0, 0, 0.7); color: #fff; border: 1px solid rgba(255,255,255,0.2); width: 40px; height: 40px; border-radius: 50%; font-family: var(--font-pixel); font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.indicator-panel { display: flex; gap: 4px; background: rgba(0,0,0,0.6); padding: 6px 10px; border-radius: 15px; flex-wrap: nowrap; }
.dot { width: 5px; height: 5px; background: rgba(255,255,255,0.3); border-radius: 50%; }
.dot.active { background: #fff; transform: scale(1.2); }

/* --- FOOTER & NEW SOCIAL GROUP --- */
footer { background: #000; padding: 60px 20px; text-align: center; border-top: 6px solid var(--color-yellow); }
.footer-logo-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 40px; }
.footer-logo { font-family: var(--font-pixel); color: var(--color-green); font-size: 2.2rem; text-shadow: 2px 2px 0 #333; }

/* Grouped Social Media Styling */
.social-group {
    display: flex; justify-content: center; gap: 40px; 
    margin-bottom: 50px; flex-wrap: wrap;
    background: rgba(255,255,255,0.03); padding: 30px; 
    border: 2px dashed var(--color-purple); border-radius: 20px;
    max-width: 800px; margin-left: auto; margin-right: auto;
}
.social-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.social-btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    background: #111; color: var(--color-white); border: 2px solid var(--color-purple); 
    width: 55px; height: 55px; border-radius: 10px; 
    font-size: 1.6rem; text-decoration: none; transition: 0.2s; box-shadow: 4px 4px 0 var(--color-purple); 
}
.social-btn:hover { background: var(--color-purple); color: var(--color-yellow); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--color-yellow); }
.social-handle { font-family: var(--font-pixel); font-size: 1rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    .nav-content, .nav-right { flex-direction: column; gap: 15px; }
    .social-group { gap: 25px; padding: 20px; }
}
@media (max-width: 600px) {
    .hero-text h1 { font-size: 3rem; }
    .social-handle { font-size: 0.8rem; }
    .social-group { flex-direction: column; align-items: center; }
}
