/* ============================================= */
/* ---- TEMEL KURULUM VE SİBER-PİKSEL STİLLERİ ---- */
/* ============================================= */
:root {
    --main-purple: #9f50e8;
    --main-blue: #00f0ff;
    --main-yellow: #ff0;
    --bg-dark: #000;
    --bg-dark-trans: rgba(10, 0, 20, 0.8);
    --border-glow: rgba(159, 80, 232, 0.4);
    --border-color: #9f50e8;
    --text-light: #ccc;
    --text-white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(159, 80, 232, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(159, 80, 232, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-white);
    font-family: 'VT323', monospace;
    font-size: 22px;
    line-height: 1.6;
}

img { image-rendering: pixelated; max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section { padding: 80px 0; border-bottom: 2px solid rgba(159, 80, 232, 0.3); }
section.section-alt { background-color: rgba(10, 0, 20, 0.6); }
.pixel-box { background: var(--bg-dark-trans); border: 2px solid var(--border-color); padding: 20px; box-shadow: 0 0 15px var(--border-glow); }

/* ---- NAVİGASYON ---- */
#navbar { background-color: rgba(0, 0, 0, 0.9); border-bottom: 2px solid var(--border-color); padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000; }
#navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.navbar-logo { width: 40px; height: 40px; margin-right: 15px; }
.navbar-title { font-size: 32px; color: var(--text-white); }

.nav-menu { list-style: none; display: flex; align-items: center; }
.nav-menu li { margin-left: 30px; }
.nav-menu a { color: var(--text-white); text-decoration: none; font-size: 24px; padding-bottom: 5px; transition: 0.3s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--main-purple); text-shadow: 0 0 10px var(--main-purple); }

.dropdown { position: relative; display: inline-block; }
.dropdown-content { display: none; position: absolute; background-color: var(--bg-dark); border: 2px solid var(--border-color); min-width: 160px; box-shadow: 0 0 15px var(--border-glow); z-index: 1; top: 100%; }
.dropdown-content a { color: var(--text-white); padding: 12px 16px; display: block; font-size: 20px; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropbtn { color: var(--main-purple); }

.btn-wallet { background: transparent; border: 2px solid var(--main-purple); color: var(--main-purple); padding: 10px 20px; font-size: 20px; cursor: pointer; transition: 0.3s; }
.btn-wallet:hover { background: var(--main-purple); color: var(--text-white); box-shadow: 0 0 15px var(--border-glow); }
.btn-wallet.connected:hover { background-color: rgba(255, 0, 0, 0.1) !important; border-color: #f00 !important; color: #f00 !important; box-shadow: 0 0 15px rgba(255, 0, 0, 0.5); }

.mobile-menu-icon { display: none; cursor: pointer; z-index: 1051; }
.mobile-menu-icon span { display: block; width: 30px; height: 3px; background-color: #fff; margin: 6px 0; transition: 0.4s; }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px); z-index: 1050; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.mobile-menu-overlay.visible { opacity: 1; visibility: visible; }
.mobile-menu-close { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 60px; text-decoration: none; }
.mobile-menu-content { display: flex; flex-direction: column; }
.mobile-menu-link { padding: 15px; font-size: 32px; color: #ccc; display: block; transition: 0.3s; }
.mobile-menu-link:hover { color: var(--main-purple); }
.mobile-menu-content .btn-wallet { font-size: 24px; margin-top: 30px; padding: 15px 30px; }

.btn { display: inline-block; padding: 15px 30px; font-family: 'VT323', monospace; font-size: 24px; border: none; cursor: pointer; margin: 5px; }
.btn-primary { background-color: var(--main-purple); color: #fff; border: 2px solid var(--main-purple); box-shadow: 0 0 15px var(--border-glow); }
.btn-secondary { background-color: #333; color: #ccc; border: 2px solid #555; }
.btn:disabled { background-color: #222; color: #555; border-color: #444; cursor: not-allowed; }

/* ---- ANA SAYFA ---- */
#hero { background: transparent; padding-top: 140px; padding-bottom: 80px; border-bottom: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 50px; }
.hero-image { width: 400px; max-width: 100%; border: 2px solid var(--border-color); box-shadow: 0 0 20px var(--border-glow); }
.hero-content h1 { font-size: 64px; color: #fff; margin-bottom: 10px; line-height: 1.2; text-shadow: 0 0 15px var(--border-glow); }
.hero-content p { font-size: 28px; color: #aaa; margin-bottom: 30px; }
.hero-buttons { display: flex; flex-wrap: wrap; }

#dashboard { padding-top: 40px; padding-bottom: 80px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.stat-box { text-align: center; }
.stat-box h4 { font-size: 24px; color: var(--main-purple); margin-bottom: 10px; }
.stat-box p { font-size: 36px; color: #fff; }

.carousel-container { position: relative; width: 100%; padding: 0 50px; }
.carousel-viewport { width: 100%; overflow: hidden; }
.carousel-slider { display: flex; transition: transform 0.5s ease-in-out; }
.carousel-item { flex: 0 0 350px; max-width: 350px; margin-right: 20px; display: flex; flex-direction: column; height: auto; }
.carousel-image-container { width: 100%; height: 350px; background-color: #000; border: 2px solid #222; margin-bottom: 15px; overflow: hidden; }
.carousel-image-container img { width: 100%; height: 100%; object-fit: cover; }
.carousel-item h4 { font-size: 26px; color: #fff; margin-bottom: 10px; }
.carousel-item p { font-size: 20px; color: #aaa; flex-grow: 1; margin-bottom: 15px; }
.asset-perk { font-size: 22px; color: var(--main-blue); background: #222; padding: 5px 10px; text-align: center; margin-bottom: 5px; }
.asset-cost { font-size: 22px; color: var(--main-yellow); background: #111; padding: 5px 10px; text-align: center; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(159, 80, 232, 0.5); border: 2px solid var(--border-color); color: #fff; font-size: 40px; cursor: pointer; z-index: 10; width: 50px; height: 50px; line-height: 40px; }
.carousel-arrow:hover { background-color: var(--main-purple); }
.carousel-arrow.prev { left: -10px; }
.carousel-arrow.next { right: -10px; }
.carousel-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

.gameplay-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step-card { text-align: center; height: 100%; }
.step-card h3 { font-size: 36px; color: var(--main-purple); margin-bottom: 15px; }
.step-card p { font-size: 24px; color: var(--text-light); }

.tokenomics-content-simple { text-align: center; max-width: 800px; margin: 0 auto; }
.tokenomics-content-simple h3 { font-size: 32px; color: var(--main-purple); margin-bottom: 15px; }
.tokenomics-content-simple p { font-size: 24px; color: var(--text-light); margin-bottom: 15px; }

#community { text-align: center; border-bottom: none; }
#community h2 { font-size: 52px; color: #fff; margin-bottom: 10px; text-shadow: 0 0 15px var(--border-glow); }
#community p { font-size: 28px; color: #aaa; margin-bottom: 30px; }
#community .btn-primary { font-size: 30px; padding: 20px 40px; }

footer { background-color: #000; text-align: center; padding: 20px 0; font-size: 18px; color: #888; border-top: 2px solid var(--border-color); }

#popup-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
#popup-overlay.visible { opacity: 1; visibility: visible; }
.popup-box { text-align: center; max-width: 500px; width: 90%; }
.popup-box h3 { font-size: 36px; color: var(--main-purple); margin-bottom: 15px; }
.popup-box p { font-size: 24px; color: var(--text-light); margin-bottom: 25px; }
.popup-box .btn-secondary { font-size: 22px; }

/* ---- DRILLING SAYFASI (TEMİZ) ---- */
.drilling-page-body { padding-top: 80px; }
.drilling-container { display: grid; grid-template-columns: 350px 1fr; gap: 30px; max-width: 1400px; margin: 40px auto; padding: 0 20px; }

.drilling-stats { padding: 25px; }
.stats-group { margin-bottom: 25px; padding-bottom: 25px; border-bottom: 2px solid #333; }
.stats-group:last-child { border-bottom: none; margin-bottom: 0; }
.stats-group h4 { font-size: 24px; color: var(--main-purple); margin-bottom: 15px; }
.stat-row { display: flex; justify-content: space-between; font-size: 20px; color: var(--text-light); margin-bottom: 5px; }
.stat-row span:last-child { color: #fff; font-weight: bold; }
.stats-group p { font-size: 20px; color: var(--text-light); margin-bottom: 10px; }
.stats-group .btn { width: 100%; margin-top: 10px; }

.drilling-action-area { background-color: #0c0c0c; min-height: 600px; display: flex; justify-content: center; align-items: center; text-align: center; flex-direction: column; }
.action-content h2 { font-size: 42px; color: #fff; margin-bottom: 20px; }
.action-content p { font-size: 24px; color: var(--text-light); margin-bottom: 30px; }
.action-content .btn-primary { font-size: 28px; padding: 18px 35px; }

@media (max-width: 900px) {
    .nav-menu, .nav-wallet { display: none; }
    .mobile-menu-icon { display: block; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-image-container { order: 1; }
    .hero-content { order: 2; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-content h1 { font-size: 48px; }
    .carousel-container { padding: 0; }
    .carousel-arrow { top: auto; bottom: -60px; transform: translateY(0); }
    .carousel-arrow.prev { left: 20px; }
    .carousel-arrow.next { right: 20px; }
    #field-collection, #rig-collection { padding-bottom: 140px; }
    .carousel-item { flex: 0 0 300px; max-width: 300px; }
    .carousel-image-container { height: 300px; }
    .drilling-container { grid-template-columns: 1fr; }
    .drilling-action-area { min-height: 400px; padding: 20px; }
    .action-content h2 { font-size: 32px; }
}