/* ------------------------------
   GLOBAL STYLES
------------------------------ */

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #ffffff;
    color: #111;
    overflow-x: hidden;
}

img {
    user-select: none;
}

h1, h2, h3 {
    margin: 0;
}

/* Accent color */
:root {
    --accent: #e63946; /* FunBytes Red */
    --radius: 14px;
}

/* ------------------------------
   NAVIGATION BAR
------------------------------ */

.navbar {
    width: 100%;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 2px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 40px;
}

.nav-title {
    font-size: 22px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-right: 40px;
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: color 0.2s;
    flex-wrap: wrap;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ------------------------------
   HERO SECTION
------------------------------ */

.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero-logo {
    width: 160px;
    margin-bottom: 20px;
}

.tagline {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 18px;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: #c92f3b;
    transform: scale(1.05);
}

/* ------------------------------
   FEATURED GAMES
------------------------------ */

.featured {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.game-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.game-card {
    width: 260px;
    padding: 20px;
    border-radius: var(--radius);
    background: #fafafa;
    border: 2px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.game-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

/* ------------------------------
   PILLARS SECTION
------------------------------ */

.pillars {
    padding: 60px 20px;
    text-align: center;
}

.pillar-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pillar-card {
    width: 260px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    border: 2px solid #eee;
    transition: transform 0.2s;
}

.pillar-card:hover {
    transform: scale(1.05);
}

/* ------------------------------
   FOOTER
------------------------------ */

.footer {
    text-align: center;
    padding: 20px;
    background: #fafafa;
    border-top: 2px solid #eee;
    margin-top: 40px;
}

/* -----------------------------
   LEGAL LINKS
----------------------------- */

.legal-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.legal-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.legal-links a:hover {
    opacity: 0.7;
}

.legal {
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    text-align: left;
}

.legal .section-title {
    text-align: center;
}

.legal ul {
    padding-left: 20px;
}

.legal h3 {
    margin-top: 25px;
}

/* --------------------------
   GAME CARD STYLING
-------------------------- */

.games-list {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
}

.game-banner {
    display: flex;
    background: #fafafa;
    border: 2px solid #eee;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.banner-img {
    width: 50%;
    object-fit: cover;
}

.banner-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.banner-info h2 {
    margin: 0;
    font-size: 24px;
}

.banner-info p {
    margin: 0;
    color: #444;
}