:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-orange-start: #ff5100;
    --accent-orange-end: #ffb700;
    --btn-green: #22c55e;
    --btn-green-hover: #16a34a;
    --radius: 12px;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* HEADER */
header {
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo span { color: var(--accent-orange-end); }

.auth-buttons { display: flex; gap: 10px; }

.btn {
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: none;
    display: inline-block; /* Added for <a> tags to respect padding */
    text-align: center;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn-login:hover { color: var(--btn-green); }

.btn-signup {
    background-color: var(--btn-green);
    color: #fff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-signup:hover { background-color: var(--btn-green-hover); transform: translateY(-1px); }

/* HERO SECTION */
.hero {
    max-width: var(--container-width);
    margin: 30px auto;
    padding: 0 20px;
}

.hero-banner {
    background: linear-gradient(105deg, var(--accent-orange-start) 0%, var(--accent-orange-end) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    overflow: hidden;
    min-height: 380px;
}

.hero-content {
    z-index: 2;
    max-width: 60%; /* Increased width to accommodate longer H1 */
}

.hero h1 {
    font-size: 42px; /* Adjusted size slightly for longer text */
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero p {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    opacity: 0.95;
}

.hero-image {
    position: absolute;
    right: 5%;
    bottom: 0;
    height: 95%;
    width: auto;
    z-index: 1;
    display: flex;
    align-items: flex-end;
}

.hero-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

/* GAMES GRID */
.games-section {
    max-width: var(--container-width);
    margin: 50px auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background: var(--accent-orange-end);
    border-radius: 2px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    group: cursor;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    z-index: 2;
}

.game-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.game-info {
    padding: 12px;
    text-align: center;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.game-card:hover .game-title { color: #fff; }

/* SEO CONTENT BLOCK (Article Style) */
.seo-content {
    background: #1a1a1a;
    padding: 60px 0;
    margin-top: 80px;
    border-top: 1px solid #333;
}

.article-container {
    max-width: 800px; /* Optimal reading width */
    margin: 0 auto;
    padding: 0 20px;
}

.seo-content h2 { 
    color: var(--accent-orange-end); 
    margin-top: 40px; 
    margin-bottom: 20px;
    font-size: 28px;
}
.seo-content h3 { 
    margin: 30px 0 15px; 
    color: #fff; 
    font-size: 20px;
}
.seo-content p { 
    color: var(--text-secondary); 
    margin-bottom: 15px; 
    font-size: 16px; 
    text-align: justify;
}
.seo-content ul, .seo-content ol { 
    list-style: disc; 
    padding-left: 20px; 
    color: var(--text-secondary); 
    margin-bottom: 20px; 
}
.seo-content ol {
    list-style: decimal;
}
.seo-content li { 
    margin-bottom: 10px; 
}

/* Table Styles for Content */
.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 15px;
    text-align: left;
    background: #252529;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.content-table th, .content-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #333;
    color: #ddd;
}
.content-table th {
    background-color: #151515;
    color: var(--accent-orange-end);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
}
.content-table tr:last-child td {
    border-bottom: none;
}
.content-table tr:hover {
    background-color: #2a2a2e;
}

/* Responsive Tables */
@media (max-width: 650px) {
    .content-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* APP BANNER */
.app-cta {
    background: linear-gradient(to right, #11998e, #38ef7d);
    border-radius: var(--radius);
    padding: 30px;
    margin: 40px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* FOOTER */
footer {
    background: #0a0a0a;
    padding: 60px 0 30px;
    margin-top: 0;
    border-top: 1px solid #222;
    color: #666;
    font-size: 13px;
}

.footer-grid {
    max-width: var(--container-width);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-col h4 { color: #fff; margin-bottom: 20px; }
.footer-col a { display: block; margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent-orange-end); }

.disclaimer {
    text-align: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 20px;
    border-top: 1px solid #222;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px 0;
        min-height: auto;
    }
    .hero-content { max-width: 100%; margin-bottom: 10px; z-index: 2; }
    .hero h1 { font-size: 32px; }
    .hero-image { 
        position: relative; 
        width: 100%; 
        height: auto; 
        right: auto; 
        margin-top: -20px;
        justify-content: center;
    }
    .hero-image img {
        height: auto;
        max-width: 100%;
        max-height: 380px;
        display: block;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}