* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-10 {
    margin-bottom: 2.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-2>*+* {
    margin-left: 0.5rem;
}

.space-x-4>*+* {
    margin-left: 1rem;
}

.space-x-8>*+* {
    margin-left: 2rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-8>*+* {
    margin-top: 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.rounded-md {
    border-radius: 0.375rem;
}

.border-t {
    border-top-width: 1px;
}

.border-zinc-800 {
    border-color: #27272a;
}

.bg-black {
    background-color: #000000;
}

.bg-zinc-700 {
    background-color: #3f3f46;
}

.bg-zinc-800 {
    background-color: #27272a;
}

.bg-zinc-900 {
    background-color: #18181b;
}

.bg-red-500 {
    background-color: #ef4444;
}

.bg-red-600 {
    background-color: #dc2626;
}

.text-white {
    color: #ffffff;
}

.text-zinc-300 {
    color: #d4d4d8;
}

.text-zinc-400 {
    color: #a1a1aa;
}

.text-zinc-500 {
    color: #71717a;
}

.text-red-500 {
    color: #ef4444;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.lowercase {
    text-transform: lowercase;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.z-10 {
    z-index: 10;
}

.z-20 {
    z-index: 20;
}

.z-50 {
    z-index: 50;
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.h-screen {
    height: 100vh;
}

.max-w-md {
    max-width: 28rem;
}

.max-w-lg {
    max-width: 32rem;
}

.max-w-xl {
    max-width: 36rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-6xl {
    max-width: 72rem;
}

.object-cover {
    object-fit: cover;
}

.object-contain {
    object-fit: contain;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    padding: 0.75rem 0;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: #ffffff;
    font-weight: 600;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ef4444;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ef4444;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: #ef4444;
}

.nav-link.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-menu-link {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.mobile-menu-link:hover {
    color: #ef4444;
}

.close-menu-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 0.4s;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    color: #ef4444;
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #d4d4d8;
    max-width: 48rem;
    margin: 0 auto 4rem;
    text-align: center;
}

/* Blog Styles */
.blog-section {
    background: linear-gradient(to bottom, #000000, #18181b);
    padding: 5rem 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-main {
    width: 100%;
}

.blog-sidebar {
    width: 100%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.blog-card {
    background-color: #27272a;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #3f3f46;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.active {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: #ef4444;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.blog-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    display: inline-block;
    background-color: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #a1a1aa;
    font-size: 0.875rem;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-excerpt {
    color: #d4d4d8;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-weight: bold;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
}

.featured-post {
    background-color: #27272a;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 3rem;
    border: 1px solid #3f3f46;
    opacity: 0;
    transform: translateY(20px);
}

.featured-post.active {
    opacity: 1;
    transform: translateY(0);
}

.featured-post:hover {
    border-color: #ef4444;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.featured-image-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post:hover .featured-image {
    transform: scale(1.05);
}

.featured-content {
    padding: 2rem;
}

.featured-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.featured-excerpt {
    color: #d4d4d8;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

/* Sidebar Styles */
.sidebar-widget {
    background-color: #27272a;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #3f3f46;
    opacity: 0;
    transform: translateY(20px);
}

.sidebar-widget.active {
    opacity: 1;
    transform: translateY(0);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ef4444;
    display: inline-block;
}

.categories-list {
    list-style: none;
}

.category-item {
    margin-bottom: 0.75rem;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #d4d4d8;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #ef4444;
}

.category-count {
    background-color: #18181b;
    color: #a1a1aa;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.category-link:hover .category-count {
    background-color: #ef4444;
    color: white;
}

.recent-post {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.recent-post:last-child {
    margin-bottom: 0;
}

.recent-post-image {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 0.25rem;
}

.recent-post-content {
    flex: 1;
}

.recent-post-title {
    font-size: 0.875rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #a1a1aa;
}

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: #18181b;
    border: 1px solid #3f3f46;
    border-radius: 0.375rem;
    color: white;
    font-size: 0.875rem;
}

.search-input:focus {
    outline: none;
    border-color: #ef4444;
}

.search-button {
    padding: 0.75rem 1rem;
    background-color: #ef4444;
    color: white;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #dc2626;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #18181b;
    color: #a1a1aa;
    font-size: 0.75rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #ef4444;
    color: white;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #27272a;
    border-radius: 0.375rem;
    color: #d4d4d8;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-item:hover {
    background-color: #3f3f46;
}

.page-item.active {
    background-color: #ef4444;
    color: white;
}

.page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer Styles */
.footer {
    background-color: #18181b;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-description {
    color: #a1a1aa;
    max-width: 28rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #a1a1aa;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: #ef4444;
    transform: translateY(-5px);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #a1a1aa;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ef4444;
}

.footer-bottom {
    border-top: 1px solid #27272a;
    padding-top: 2rem;
    text-align: center;
}

.copyright {
    color: #71717a;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Game CTA Button (for search results) */
.game-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #dc2626;
    color: white;
    font-weight: bold;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.game-cta:hover {
    background-color: #b91c1c;
    transform: scale(1.05);
}

/* Responsive Styles */
@media (min-width: 640px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .hero-title {
        font-size: 5rem;
    }

    .hero-subtitle {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    .blog-layout {
        grid-template-columns: 2fr 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .featured-image-container {
        height: 250px;
    }
}