* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
    max-width: 100%;
}

html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
}

body {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background: rgba(10, 10, 10, 0.95);
    color: #00ffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #00ffff;
}

.navbar {
    width: 100%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff;
    font-weight: bold;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #00ffff;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff00ff;
    transition: width 0.3s;
    box-shadow: 0 0 10px #ff00ff;
}

.nav-menu a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #00ffff;
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px #00ffff;
}

/* Hero Section */
.hero {
    background: url('../images/hero-cover.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: white;
    padding: 6rem 0;
    padding-top: 140px;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 100%);
    z-index: 1;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.7);
    padding: 3rem 4rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    max-width: 90%;
    margin: 0 auto;
    text-align: center;
    border: 2px solid #00ffff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff;
    color: #00ffff;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    opacity: 0.95;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    color: #e0e0e0;
}

/* Game Categories */
.game-categories {
    padding: 4rem 0;
}

.game-categories > .container > h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 3rem;
    color: #00ffff;
    text-shadow: 0 0 15px #00ffff;
    letter-spacing: 2px;
}

.category {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
    transform: perspective(1000px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.category:hover {
    transform: perspective(1000px) translateZ(10px);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.4);
}

.category h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #00ffff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ff00ff;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}

.category > p {
    margin-bottom: 2rem;
    color: #b0b0b0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.game-card {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.1) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid rgba(0, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s;
}

.game-card:hover::before {
    animation: shine 1s;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.3);
    border-color: #00ffff;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: block;
    border: 2px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s;
}

.game-card:hover img {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.game-card h4 {
    color: #00ffff;
    margin-bottom: 0.5rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.game-card p {
    color: #b0b0b0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* Info Section */
.info-section {
    background: rgba(10, 10, 10, 0.9);
    padding: 4rem 0;
    margin-top: 3rem;
    border-top: 2px solid #00ffff;
    border-bottom: 2px solid #00ffff;
}

.info-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #00ffff;
    margin-bottom: 2rem;
    text-shadow: 0 0 15px #00ffff;
    letter-spacing: 2px;
}

.info-section p {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: #b0b0b0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
    line-height: 1.8;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.95);
    color: #00ffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 2px solid #00ffff;
    box-shadow: 0 -5px 20px rgba(0, 255, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 1px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-section a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    color: #808080;
}

/* Page Content Styles */
.page-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.article-meta {
    color: #808080;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.article-image {
    text-align: center;
    margin: 2rem 0;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.page-content h1 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    text-shadow: 0 0 10px #00ffff;
}

.page-content h2 {
    color: #ff00ff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.page-content p {
    margin-bottom: 1rem;
    color: #b0b0b0;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #b0b0b0;
}

.page-content li {
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ffff;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(10, 10, 10, 0.8);
    color: #e0e0e0;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn {
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
        padding: 2rem 0;
        border-bottom: 2px solid #00ffff;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding: 2rem 0;
        padding-top: 100px !important;
        margin-top: 60px;
        background-size: cover;
        background-position: center top !important;
    }

    .hero .container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        padding: 2rem;
        max-width: 95%;
        margin: 0 auto;
        text-align: center;
    }

    .game-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .category {
        padding: 1.5rem;
    }
}
