:root {
    --primary-bg: #0f121e;
    --secondary-bg: #1e2337;
    --accent-pink: #ff0055;
    --accent-pink-hover: #d90048;
    --text-white: #ffffff;
    --text-gray: #8d98b0;
    --header-bg: #141824;
    --font-main: 'Roboto', sans-serif;
    --container-width: 1300px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--primary-bg);
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: var(--header-bg);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo img {
    height: 32px;
}

.nav-menu ul {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    color: var(--text-white);
}

.nav-menu a:hover {
    color: var(--accent-pink);
}

.nav-menu a.active {
    color: var(--accent-pink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    padding: 0 20px;
    height: 36px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-login {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
}

.btn-login:hover {
    border-color: var(--text-white);
}

.btn-register {
    background-color: #00cc66;
    /* Green for registration */
    color: var(--text-white);
}

.btn-register:hover {
    background-color: #00b359;
}

.promo-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(90deg, #ff0055 0%, #ff4d88 100%);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

/* Sub-Header / Categories */
.sub-header {
    background-color: var(--secondary-bg);
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-header::-webkit-scrollbar {
    height: 4px;
}

.sub-header::-webkit-scrollbar-thumb {
    background: var(--accent-pink);
    border-radius: 2px;
}

.categories-list {
    display: flex;
    gap: 25px;
    align-items: center;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

.category-item:hover,
.category-item.active {
    color: var(--text-white);
}

.category-item img,
.category-item i {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    margin-top: 20px;
    margin-bottom: 30px;
}

.hero-banner {
    width: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, #1e2337 0%, #0f121e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* Placeholder for actual banner image */
    background-image: url('Fish Day placeholder.svg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    text-align: center;
    z-index: 2;
}

/* Game Grid */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-title h2 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

.view-all {
    font-size: 12px;
    color: var(--accent-pink);
    font-weight: 700;
    text-transform: uppercase;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1/1;
    /* Square cards commonly used or 4:3 */
    transition: transform 0.2s;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    gap: 10px;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    background-color: var(--accent-pink);
    color: white;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
    transition: transform 0.2s;
}

.play-btn:hover {
    background-color: var(--accent-pink-hover);
    transform: scale(1.05);
}

.demo-btn {
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.demo-btn:hover {
    color: white;
}

/* Game Tags */
.game-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 2;
}

.tag-hot {
    background-color: #ff3300;
    color: white;
}

.tag-buy-bonus {
    background-color: #ffd700;
    color: #000;
}

.game-fav-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 2;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}

.game-fav-icon:hover {
    color: var(--accent-pink);
}


/* FooterStyles */
.footer {
    background-color: #0b0d15;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: var(--text-white);
}

.partners-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.partner-logo {
    height: 40px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner-logo:hover {
    opacity: 1;
}

.context-row {
    text-align: center;
    color: #4a536b;
    font-size: 11px;
    margin-top: 20px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.payment-icon {
    height: 30px;
    background: #fff;
    border-radius: 4px;
    padding: 2px 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --container-width: 960px;
    }

    .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    .header-top {
        flex-direction: row;
        /* Keep logo and actions inline */
        height: auto;
        padding: 15px 0;
        gap: 15px;
        justify-content: space-between;
    }

    /* Removed nav-menu styles as the menu is deleted */

    .hero-banner {
        min-height: 200px;
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-col {
        width: 100%;
    }

    .seo-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 100px;
        height: auto;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 5px;
    }

    .btn {
        padding: 0 10px;
        font-size: 11px;
    }

    .promo-btn {
        display: none;
        /* Hide promo button on very small screens if needed */
    }

    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-row {
        gap: 15px;
    }

    .partner-logo {
        height: 30px;
    }

    .section-title h2 {
        font-size: 16px;
    }
}

/* SEO Section Styling */
.seo-section {
    padding: 40px 10px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
}

.seo-section h1,
.seo-section h2,
.seo-section h3,
.seo-section h4 {
    color: var(--text-white);
    margin-top: 35px;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-section h1 {
    font-size: 28px;
    margin-top: 10px;
}

.seo-section h2 {
    font-size: 24px;
}

.seo-section h3 {
    font-size: 20px;
}

.seo-section p {
    margin-bottom: 20px;
}

.seo-section ul,
.seo-section ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.seo-section ul li {
    margin-bottom: 10px;
    position: relative;
}

.seo-section ul {
    list-style-type: none;
}

.seo-section ul li::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-pink);
    border-radius: 50%;
}

.seo-section ol {
    list-style-type: decimal;
}

.seo-section ol li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Article Images */
.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* SEO Tables */
.seo-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    /* Responsive table */
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.seo-section th,
.seo-section td {
    padding: 15px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-section th {
    background-color: rgba(255, 0, 85, 0.1);
    color: var(--accent-pink);
    font-weight: bold;
}

.seo-section tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.seo-section tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
    .seo-section table {
        display: table;
        white-space: normal;
    }
}