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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background-color: #0f0f0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


.game-main {
    padding: 30px 0;
    padding-bottom: 0;
    
}

.game-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}


.game-sidebar {
    flex-shrink: 0;
    width: 230px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2a2a2a;
    display: none;
}

.sidebar-games {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.sidebar-game-card {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1a1a1a;
    aspect-ratio: 1 / 1;
}

.sidebar-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
}


.game-content {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
}


.game-info-header {
    margin-bottom: 20px;
}

.game-title {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.game-rating {
    display: flex;
    gap: 5px;
}

.star {
    color: #ffd700;
    font-size: 20px;
}


.game-description {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.description-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.description-text {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
    margin: 0;
}

.read-more {
    color: #4fc3f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #29b6f6;
    text-decoration: underline;
}


.game-player {
    margin-bottom: 30px;
}

.game-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 40%; 
    background: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    cursor: pointer;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    text-decoration: none;
}

.game-placeholder:hover {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(79, 195, 247, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-placeholder:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(79, 195, 247, 0.6);
}

.game-placeholder p {
    color: #b0b0b0;
    font-size: 16px;
    font-weight: 500;
}


.recommended-section {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    padding: 60px 0;
    border-top: 1px solid #2a2a2a;
}

.recommended-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: left;
}

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

.recommended-game-card {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #1a1a1a;
    aspect-ratio: 1 / 1;
}

.recommended-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recommended-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}


.footer {
    background-color: #1a1a1a;
    border-top: 1px solid #2a2a2a;
    padding: 30px 0;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #666;
    font-size: 14px;
}

.footer-copyright p {
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #4fc3f7;
}

.footer-separator {
    color: #444;
    user-select: none;
}


@media (max-width: 1400px) {
    .game-container {
        gap: 15px;
    }
    
    .game-sidebar {
        width: 190px;
    }
    
    .sidebar-games {
        gap: 10px;
    }
}

@media (max-width: 1200px) {
    .game-sidebar {
        width: 170px;
    }
}

@media (max-width: 992px) {
    .game-sidebar {
        width: 140px;
    }
    
    .sidebar-games {
        
        
    }
    
    .game-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
    }
    
    .game-sidebar {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }
    
    .game-content {
        order: 1;
        margin: 0;
        width: 100%;
    }
    
    .game-sidebar-left {
        order: 2;
    }
    
    .game-sidebar-right {
        order: 3;
        margin-top: 20px;
    }
    
    .sidebar-title {
        display: block;
    }
    
    .sidebar-games {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 12px;
    }
    
    .game-main {
        padding: 20px 0;
    }
    
    .game-title {
        font-size: 26px;
    }
    
    .game-description {
        padding: 15px;
    }
    
    .description-title {
        font-size: 16px;
    }
    
    .description-text {
        font-size: 13px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .recommended-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .recommended-games {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 12px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .game-container {
        padding: 0 20px;
    }
    
    .game-title {
        font-size: 22px;
    }
    
    .star {
        font-size: 16px;
    }
    
    .game-iframe-container {
        padding-bottom: 56.25%; 
    }
    
    .recommended-games {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
    }
    
    .footer {
        padding: 20px 0;
    }
    
    .footer-copyright {
        font-size: 12px;
    }
    
    .footer-link {
        font-size: 12px;
    }
    
    .footer-links {
        gap: 10px;
    }
}



@media screen and (min-width: 769px) {
    
    ::-webkit-scrollbar {
      width: 10px;
    }
  
    ::-webkit-scrollbar-track {
      background: #1a1a1a;
    }
  
    ::-webkit-scrollbar-thumb {
      background: #4fc3f7;
      border-radius: 5px;
    }
  
    ::-webkit-scrollbar-thumb:hover {
      background: #29b6f6;
    }
  }