:root {
    --p: #00ff00;
    --p-rgb: 0, 255, 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    min-height: 100vh;
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #fff;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    display: none;
    transition: border-radius 0.3s;
}

@media (min-width: 1024px) {
    #cursor {
        display: block;
    }
}

.bento-grid {
    display: grid;
    width: 95%;
    max-width: 1200px;
    gap: 15px;
    padding: 20px;
    grid-template-areas: "hero" "info" "tech" "stat" "ui";
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-areas: "hero hero info" "hero hero tech" "stat ui ui";
        grid-template-columns: 1fr 1fr 1.2fr;
        height: 85vh;
        gap: 20px;
    }
}

.card {
    grid-area: auto;
    padding: 24px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 130px;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(var(--p-rgb), 0.1);
}

.card-hero {
    grid-area: hero;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-info {
    grid-area: info;
}

.card-tech {
    grid-area: tech;
}

.card-stats {
    grid-area: stat;
}

.card-ui {
    grid-area: ui;
}

header {
    font-family: 'JetBrains Mono';
    font-size: 10px;
    opacity: 0.6;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 0.9;
}

h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 1px;
}

ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

li {
    font-size: 11px;
    padding: 5px 10px;
    border: 1px solid currentColor;
    border-radius: 4px;
    white-space: nowrap;
}

/* --- SLIDER FIX (Sarı Uyarıyı Yok Eder) --- */
input[type=range] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: rgba(var(--p-rgb), 0.2);
    border-radius: 10px;
}

input[type=range]::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--p);
    border: 3px solid #fff;
    margin-top: -9px;
    box-shadow: 0 0 15px var(--p);
}

/* ERAS */
body.era-1990 {
    background: #008080;
}

body.era-1990 .card {
    background: #c0c0c0;
    border: 3px outset #fff;
    box-shadow: 4px 4px 0 #000;
    color: #000;
    border-radius: 0;
}

body.era-1990 .card:hover {
    transform: none;
}

body.era-1990 header {
    background: #000080;
    color: #fff;
    padding: 3px 6px;
    width: 100%;
}

body.era-2000 {
    background: #1e3c72;
}

body.era-2000 .card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
}

body.era-2013 {
    background: #f4f4f4;
}

body.era-2013 .card {
    background: #fff;
    border: 1px solid #ddd;
    color: #222;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.era-2023 {
    background: #080808;
}

body.era-2023 .card {
    background: rgba(var(--p-rgb), 0.03);
    border: 1px solid var(--p);
    border-radius: 30px;
    color: var(--p);
}

.lang-nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.lang-nav button {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 8px 15px;
    font-family: 'JetBrains Mono';
    font-size: 13px;
    transition: 0.3s;
}

.lang-nav button.active {
    background: var(--p);
    color: #000;
    border-color: var(--p);
}