@font-face {
    font-family: 'Chantal_Bold';
    src: url('assets/fonts/Chantal/Chantal_Bold.eot');
    src: url('assets/fonts/Chantal/Chantal_Bold.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/Chantal/Chantal_Bold.woff2') format('woff2'),
         url('assets/fonts/Chantal/Chantal_Bold.woff') format('woff'),
         url('assets/fonts/Chantal/Chantal_Bold.ttf') format('truetype'),
         url('assets/fonts/Chantal/Chantal_Bold.svg#Chantal_Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

body {
    margin: 0;
    background-color: #111;
    font-family: "Gotham", "Montserrat", sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Prevent any scrolling when space is pressed */
body.no-scroll {
    overflow: hidden;
}

.header {
    background: #000;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid #333;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: 500;
}

.header-logo {
    height: 60px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-logo:hover {
    opacity: 1;
}

.header-logo:nth-child(3) {
    transform: scaleX(-1);
}

.nav {
    background: #000;
    padding: 10px;
    text-align: center;
    border-bottom: 2px solid #333;
    overflow-x: auto;
    white-space: nowrap;
}

.nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 20px;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: inline-block;
}

.nav a:hover {
    opacity: 1;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 20px;
}

.content-sidebar {
    width: 160px;
    flex-shrink: 0;
}

.banner-area {
    background: #000;
    border: 1px solid #333;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    letter-spacing: 1px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.promo-section {
    background: #000;
    border: 1px solid #333;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
    font-size: 12px;
    letter-spacing: 1px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.header-banner, .footer-banner {
    width: 100%;
    max-width: 728px;
    margin: 20px auto;
    background: #000;
    border: 1px solid #333;
    text-align: center;
    color: #666;
    font-size: 12px;
    letter-spacing: 1px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-banner img, .footer-banner img {
    max-width: 100%;
    height: auto;
}

.game-container {
    flex-grow: 1;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.game-title {
    font-size: 20px;
    color: #fff;
    margin: 20px 0;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 500;
}

.game-wrapper {
    background: #000;
    padding: 10px;
    border: 1px solid #333;
    margin: 20px auto;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

#game {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    max-width: 100%;
}

#game canvas {
    max-width: 100%;
    height: auto !important;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-button {
    background: #000;
    padding: 8px 20px;
    cursor: pointer;
    border: 1px solid #333;
    font-size: 14px;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-button:hover {
    opacity: 1;
}

.comments {
    background: #000;
    border: 1px solid #333;
    padding: 20px;
    margin-top: 30px;
}

.comments h3 {
    margin-top: 0;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    font-weight: 500;
    letter-spacing: 2px;
}

.comment {
    border-bottom: 1px solid #222;
    padding: 15px 0;
    font-size: 14px;
    opacity: 0.7;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    flex-shrink: 0;
    overflow: hidden;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment strong {
    color: #fff;
    display: block;
    margin-bottom: 5px;
}

.new-tag {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 10px;
    letter-spacing: 1px;
}

.hot-games {
    background: #000;
    padding: 15px;
    border: 1px solid #333;
    margin-top: 20px;
}

.hot-games h3 {
    color: #fff;
    margin-top: 0;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 14px;
}

.hot-game-item {
    padding: 8px;
    border-bottom: 1px solid #222;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.hot-game-item:hover {
    opacity: 1;
}

.footer {
    background: #000;
    border-top: 1px solid #333;
    padding: 30px 20px;
    margin-top: 50px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.7;
    margin: 10px 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.footer a:hover {
    opacity: 1;
}

canvas {
    display: block;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        justify-content: center;
    }
    
    .content-sidebar {
        order: 2;
    }
    
    .game-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .header {
        gap: 15px;
    }
    
    .header h1 {
        font-size: 20px;
    }
    
    .header-logo {
        height: 52px;
    }
    
    .nav a {
        margin: 0 10px;
        font-size: 12px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .game-title {
        font-size: 18px;
    }
    
    .social-button {
        padding: 6px 15px;
        font-size: 12px;
    }

    .footer {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .header {
        gap: 10px;
    }
    
    .header h1 {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .header-logo {
        height: 45px;
    }
    
    .container {
        padding: 0 5px;
    }
    
    .comments {
        padding: 10px;
    }
    
    .social-buttons {
        gap: 10px;
    }

    .comment {
        gap: 10px;
    }

    .comment-avatar {
        width: 30px;
        height: 30px;
    }
}
