* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F8F8F8;
    color: #111111;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background-color: #111111;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    color: #FFCB05;
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #FFCB05;
}

/* =========================
   HERO
========================= */

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-bg.jpg') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #FFCB05;
}

.hero p {
    margin: 20px 0;
}

/* BUTTON STYLE (Universal) */
.btn {
    background-color: #E3350D;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #FFCB05;
    color: black;
}

/* =========================
   COLLECTION
========================= */

.collection {
    padding: 80px 10%;
    text-align: center;
}

.collection h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 40px;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(227, 53, 13, 0.3);
}

.card img {
    width: 120px;
    margin-bottom: 15px;
}

/* Make card links look like buttons */
.card .btn {
    margin-top: 15px;
}

/* =========================
   LORE
========================= */

.lore {
    background-color: #111111;
    color: white;
    padding: 80px 10%;
}

.lore-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.lore-text {
    flex: 1;
}

.lore-text h2 {
    font-family: 'Orbitron', sans-serif;
    color: #FFCB05;
    margin-bottom: 20px;
}

.lore-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
}

/* =========================
   ORIGINAL POKÉ BALL PAGE
========================= */

.ball-hero {
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
                url("images/hero-bg.jpg") center/cover;
    padding: 120px 20px;
    text-align: center;
    color: white;
}

.ball-hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: #FFCB05;
}

.ball-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 10%;
}

.ball-image img {
    max-width: 300px;
}

.ball-info {
    max-width: 500px;
}

.ball-info h2 {
    font-family: 'Orbitron', sans-serif;
    margin-top: 20px;
    color: #E3350D;
}

.ball-info ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* =========================
   FOOTER
========================= */

footer {
    background-color: #E3350D;
    color: white;
    text-align: center;
    padding: 20px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .lore-content,
    .ball-details {
        flex-direction: column;
        text-align: center;
    }

    .hero h1,
    .ball-hero h1 {
        font-size: 2.2rem;
    }
}
/* =========================
   POKÉDEX UI THEME (ADD-ON)
========================= */

/* Pokedex wrapper panel */
.pokedex {
    width: min(980px, 92%);
    margin: -60px auto 70px;
    background: #E3350D;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 22px 50px rgba(0,0,0,0.25);
    position: relative;
    overflow: hidden;
}

/* Inner bezel */
.pokedex::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(0,0,0,0.08));
    pointer-events: none;
}

/* Top “lights” bar */
.pokedex-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 18px;
    position: relative;
    z-index: 1;
}

.pokedex-light-big {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #9BE7FF, #2B8FD9 70%, #0B3D66);
    border: 4px solid rgba(255,255,255,0.4);
    box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

.pokedex-lights {
    display: flex;
    gap: 10px;
}

.pokedex-light {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: inset 0 2px 3px rgba(255,255,255,0.35), 0 6px 10px rgba(0,0,0,0.25);
}

.pokedex-light.red { background: #ff4b4b; }
.pokedex-light.yellow { background: #ffd84a; }
.pokedex-light.green { background: #45e06f; }

/* Main grid */
.pokedex-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 18px;
    padding: 0 14px 14px;
}

/* “Screen” panel */
.dex-screen {
    background: #111111;
    border-radius: 18px;
    padding: 16px;
    border: 4px solid rgba(255,255,255,0.25);
    box-shadow: inset 0 0 0 3px rgba(0,0,0,0.35);
}

.dex-screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.dex-title {
    font-family: 'Orbitron', sans-serif;
    color: #FFCB05;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}

.dex-chip {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.dex-image-frame {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(0,0,0,0.25));
    border-radius: 16px;
    padding: 18px;
    display: grid;
    place-items: center;
    min-height: 260px;
}

.dex-image-frame img {
    width: min(280px, 80%);
    filter: drop-shadow(0 20px 18px rgba(0,0,0,0.35));
}

/* Right info panel */
.dex-panel {
    background: #F8F8F8;
    border-radius: 18px;
    padding: 16px;
    border: 4px solid rgba(0,0,0,0.08);
}

.dex-panel h2 {
    font-family: 'Orbitron', sans-serif;
    color: #111111;
    margin: 6px 0 10px;
}

.dex-panel p {
    line-height: 1.55;
    margin-bottom: 12px;
}

/* Stat bars (Pokédex style) */
.dex-stats {
    display: grid;
    gap: 10px;
    margin: 14px 0 10px;
}

.stat-row {
    display: grid;
    grid-template-columns: 110px 1fr 48px;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.stat-name {
    font-weight: 600;
    color: #111111;
}

.stat-bar {
    height: 12px;
    background: #e9e9e9;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08);
}

.stat-fill {
    height: 100%;
    width: var(--w, 50%);
    background: linear-gradient(90deg, #E3350D, #FFCB05);
}

.stat-val {
    text-align: right;
    font-weight: 600;
}

/* Info grid (like dex readouts) */
.dex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0 14px;
}

.dex-cell {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 10px 12px;
}

.dex-cell span {
    display: block;
    font-size: 0.78rem;
    color: rgba(0,0,0,0.6);
    margin-bottom: 4px;
}

.dex-cell strong {
    color: #111111;
}

/* Dex buttons row */
.dex-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

/* Reuse your .btn but make it fit this UI */
.dex-actions .btn {
    border-radius: 14px;
    padding: 10px 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .pokedex-body {
        grid-template-columns: 1fr;
    }
    .pokedex {
        margin-top: -40px;
    }
}
