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

/* Body */
body {
    font-family: 'Arial', sans-serif;
    background-color: #000000; /* Black background */
    color: white; /* White text */
    padding: 0;
    margin: 0;
}

/* Header with Navigation */
.header-nav {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.nav-games {
    display: flex;
    gap: 30px;
}

.game-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.game-link:hover {
    color: #ff6f61;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.ad-bubble {
    background: linear-gradient(45deg, #ff4444, #ff6666);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    animation: pulse 2s infinite;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    white-space: nowrap;
    /* PC端：显示在按钮下方 */
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.ad-bubble:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.ad-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-bottom: 8px solid #ff4444;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.ad-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 68, 68, 0.8);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
    }
}

/* Full Page Ad Modal */
.full-page-ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1419 100%);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.full-page-ad-modal.active {
    opacity: 1;
    visibility: visible;
}

.full-page-ad-content {
    position: relative;
    width: 95%;
    max-width: 800px;
    height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.full-page-ad-modal.active .full-page-ad-content {
    transform: scale(1);
}

.ad-iframe-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#adIframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

.ad-close-container {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.ad-countdown {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulse-countdown 1s infinite;
}

.countdown-text {
    font-size: 12px;
    opacity: 0.8;
}

.countdown-number {
    font-size: 16px;
    font-weight: 900;
    color: #ff6f61;
    min-width: 20px;
    text-align: center;
}

.countdown-sec {
    font-size: 12px;
    opacity: 0.8;
}

@keyframes pulse-countdown {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.close-full-page-ad {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-full-page-ad:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}


/* Responsive Design for Full Page Ad */
@media (max-width: 768px) {
    .full-page-ad-content {
        width: 80%;
        height: 80vh;
        margin: 10px;
    }
    
    .ad-close-container {
        top: 15px;
        right: 15px;
    }
    
    .ad-countdown {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .countdown-number {
        font-size: 14px;
    }
    
    .close-full-page-ad {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .full-page-ad-content {
        width: 80%;
        height: 80vh;
        margin: 10px;
        border-radius: 20px;
    }
    
    #adIframe {
        border-radius: 20px;
    }
    
    .ad-close-container {
        top: 10px;
        right: 10px;
    }
    
    .ad-countdown {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .countdown-number {
        font-size: 12px;
    }
    
    .close-full-page-ad {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
}

.header-actions a {
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-login {
    background-color: #4CAF50;
}

.btn-login:hover {
    background-color: #45a049;
    transform: translateY(-1px);
}

.btn-register {
    background-color: #ff6f61;
}

.btn-register:hover {
    background-color: #e55a4f;
    transform: translateY(-1px);
}

.nav-my-games {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-my-games:hover {
    color: #ff6f61;
    text-decoration: none;
}

.heart-icon {
    position: relative;
    display: inline-block;
}

.heart {
    font-size: 18px;
    color: white;
    display: block;
}

.notification-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
}

.nav-menu-icon {
    display: flex;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    padding: 5px;
}

.nav-menu-icon span {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

.nav-menu-icon:hover span {
    background: #ff6f61;
}

/* Sidebar Menu */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-sidebar {
    background: #1a1a2e;
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-sidebar:hover {
    background: #ff6f61;
    transform: scale(1.1);
}

.sidebar-content {
    padding: 20px 0;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section h3 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 20px;
}

/* Sidebar About */
.about-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 20px;
}

.about-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: #ff6f61;
    color: #ff6f61;
}

.menu-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 16px;
}

.new-badge {
    background: #ffd700;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 30px;
    text-align: center;
}

.menu-text {
    font-size: 14px;
    font-weight: 500;
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Top Navigation */
.mobile-top-nav {
    display: none; /* Hidden by default, shown only on mobile */
}

/* Responsive Header */
@media (max-width: 768px) {
    .mobile-top-nav {
        display: block;
        background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .mobile-nav-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 20px;
    }
    
    .mobile-logo {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .mobile-logo-img {
        max-height: 70px;
        width: auto;
    }
    
    .mobile-nav-games {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-game-link {
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 8px 6px;
        border-radius: 6px;
        transition: all 0.3s ease;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-game-link:hover {
        color: #ff6f61;
        background-color: rgba(255, 255, 255, 0.1);
    }
    .header-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        padding: 10px 0;
    }
    
    .header-content {
        flex-wrap: nowrap;
        gap: 10px;
        justify-content: space-between;
        padding: 0 15px;
    }
    
    .logo {
        display: none; /* Hide logo on mobile bottom nav */
    }
    
    .nav-games {
        display: none; /* Hide game links on mobile */
    }
    
    .header-right {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }
    
    .nav-my-games {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-my-games:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .my-games-text {
        font-size: 10px;
        font-weight: 500;
    }
    
    .heart-icon {
        position: relative;
    }
    
    .heart {
        font-size: 18px;
    }
    
    .notification-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        top: -6px;
        right: -6px;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .ad-bubble {
        padding: 4px 8px;
        font-size: 10px;
        border-radius: 15px;
        /* 手机端：显示在按钮上方 */
        bottom: auto;
        top: -35px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ad-bubble:hover {
        transform: translateX(-50%) scale(1.05);
    }
    
    .ad-bubble::before {
        top: auto;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        border-bottom: none;
        border-top: 6px solid #ff4444;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
    }
    
    .header-actions a {
        padding: 8px 12px;
        font-size: 20px;
        border-radius: 6px;
        min-width: 60px;
        text-align: center;
    }
    
    .nav-menu-icon {
        display: flex;
        flex-direction: column;
        gap: 3px;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu-icon:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu-icon span {
        width: 20px;
        height: 2px;
        background: white;
        border-radius: 1px;
    }
    
    /* Add bottom padding to body to prevent content from being hidden behind fixed header */
    body {
        padding-bottom: 80px;
    }
    
    /* Adjust game section for mobile bottom nav */
    #game {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .mobile-top-nav {
        padding: 12px 0;
    }
    
    .mobile-nav-content {
        padding: 0 15px;
        gap: 12px;
    }
    
    .mobile-logo-img {
        max-height: 60px;
    }
    
    .mobile-nav-games {
        gap: 10px;
        max-width: 280px;
    }
    
    .mobile-game-link {
        font-size: 10px;
        padding: 6px 4px;
        letter-spacing: 0.3px;
    }
    
    .header-nav {
        padding: 8px 0;
    }
    
    .header-content {
        padding: 0 10px;
        gap: 8px;
    }
    
    .nav-my-games {
        padding: 6px;
        gap: 3px;
    }
    
    .my-games-text {
        font-size: 9px;
    }
    
    .heart {
        font-size: 16px;
    }
    
    .notification-badge {
        width: 14px;
        height: 14px;
        font-size: 8px;
        top: -5px;
        right: -5px;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .ad-bubble {
        padding: 3px 6px;
        font-size: 9px;
        border-radius: 12px;
        /* 小屏幕手机端：显示在按钮上方 */
        bottom: auto;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ad-bubble:hover {
        transform: translateX(-50%) scale(1.05);
    }
    
    .ad-bubble::before {
        top: auto;
        bottom: -5px;
        left: 50%;
        transform: translateX(-50%);
        border-bottom: none;
        border-top: 5px solid #ff4444;
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
    }
    
    .header-actions a {
        padding: 6px 10px;
        font-size: 15px;
        min-width: 50px;
    }
    
    .nav-menu-icon {
        padding: 6px;
    }
    
    .nav-menu-icon span {
        width: 18px;
        height: 2px;
    }
    
    /* Adjust body padding for smaller screens */
    body {
        padding-bottom: 70px;
    }
    
    #game {
        margin-bottom: 70px;
    }
}

/* Hero Section */
#hero {
    /* background: url('https://letreco.com.br/PG-Slot-scaled-1.webp') no-repeat center center/cover; */
    color: black;
    /* padding: 2px 0; */
    /* text-align: center; */
    /* margin-bottom: 100px; */
    margin-bottom: 20px;

}

/* Game Section */
#game {
    text-align: center;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #0a0a0a;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .breadcrumb-content {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .breadcrumb-icon {
        display: none; /* Hide breadcrumb icon on mobile */
    }
    
    .add-to-games {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    
    .add-text {
        display: none; /* Hide add text on mobile */
    }
}

@media (max-width: 480px) {
    .breadcrumb-nav {
        padding: 8px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .breadcrumb-content {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 3px;
    }
    
    .breadcrumb-icon {
        display: none; /* Hide breadcrumb icon on mobile */
    }
    
    .add-to-games {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 3px;
    }
    
    .add-text {
        display: none; /* Hide add text on mobile */
    }
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb-item:hover {
    color: #ff6f61;
}

.breadcrumb-icon {
    font-size: 16px;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.breadcrumb-current {
    color: #ff6f61;
    font-size: 14px;
    font-weight: 500;
}

.add-to-games {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.add-to-games:hover {
    color: #ff6f61;
}

.add-to-games.added {
    color: #ff6f61;
}

.add-to-games.added .heart-icon {
    color: #ff6f61;
}

.heart-icon {
    font-size: 16px;
}

/* Game Container with Border */
.game-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 40px auto;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.9) 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

@media (max-width: 768px) {
    .game-container {
        margin: 10px auto;
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .game-container {
        margin: 5px auto;
        max-width: calc(100% - 10px);
    }
}

#game h2{
    padding-bottom: 10px;
}

#game iframe {
    border: none;
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    height: 75vh;
    min-height: 600px;
    max-height: 800px;
    aspect-ratio: 16/9;
}

/* Game Footer */
.game-footer {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
}

.game-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

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

.star.half {
    background: linear-gradient(90deg, #ffd700 50%, rgba(255, 255, 255, 0.3) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-number {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.game-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ff6f61;
    transform: translateY(-2px);
}

.action-icon {
    font-size: 16px;
}

/* My Games Page Styles */
#my-games {
    background: #0a0a0a;
    min-height: 100vh;
    padding: 40px 20px;
}

.my-games-container {
    max-width: 1200px;
    margin: 0 auto;
}

.my-games-header {
    text-align: center;
    margin-bottom: 40px;
}

.my-games-header h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: bold;
}

.my-games-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.game-card {
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.9) 100%);
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: #ff6f61;
}

.game-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.game-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.play-btn, .remove-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.play-btn {
    background: #4CAF50;
    color: white;
}

.play-btn:hover {
    background: #45a049;
    transform: scale(1.1);
}

.remove-btn {
    background: #ff6f61;
    color: white;
}

.remove-btn:hover {
    background: #e55a4f;
    transform: scale(1.1);
}

.game-card-content {
    padding: 20px;
}

.game-card-content h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.game-card-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9em;
    margin-bottom: 15px;
    line-height: 1.4;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-card-rating .stars {
    color: #ffd700;
    font-size: 1.1em;
}

.game-card-rating .rating-number {
    color: white;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 10px;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6f61, #ff8a80);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #ff8a80, #ffab91);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.4);
}

/* Active state for My Games in header */
.nav-my-games.active .heart {
    color: #ff6f61;
}

.nav-my-games.active .my-games-text {
    color: #ff6f61;
}

/* Share Modal Styles */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.active {
    opacity: 1;
    visibility: visible;
}

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.share-modal-content {
    background: white;
    border-radius: 15px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10001;
}

.share-modal.active .share-modal-content {
    transform: scale(1);
}

.share-modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-share-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-share-modal:hover {
    background: #f5f5f5;
    color: #666;
}

.share-modal-body {
    padding: 25px 30px 30px;
}

.share-input-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-url-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    outline: none;
    transition: border-color 0.2s ease;
}

.share-url-input:focus {
    border-color: #ff6f61;
    background: white;
}

.copy-link-btn {
    padding: 12px 20px;
    background: #ff6f61;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: #ff5252;
    transform: translateY(-1px);
}

.copy-link-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Share Modal */
@media (max-width: 768px) {
    .share-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .share-modal-header {
        padding: 20px 25px 15px;
    }
    
    .share-modal-header h3 {
        font-size: 18px;
    }
    
    .share-modal-body {
        padding: 20px 25px 25px;
    }
    
    .share-input-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .share-url-input {
        width: 100%;
    }
    
    .copy-link-btn {
        width: 100%;
        padding: 15px;
    }
}

/* Responsive design for My Games */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .my-games-header h1 {
        font-size: 2em;
    }
    
    .game-card-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .my-games-header h1 {
        font-size: 1.8em;
    }
    
    .my-games-header p {
        font-size: 1em;
    }
}

/* Pre-game Ad Container */
.pregame-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pregame-background {
    position: absolute;
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    top: 30px;
    left: 30px;
    background: url('./game/Megabot-Robot-Car-Transform.jpg') center / cover no-repeat;
    filter: blur(30px);
    opacity: 1.0;
    z-index: 5;
    border-radius: 10px;
}

.pregame-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.ad-title {
    text-align: center;
    color: white;
}

.play-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 20;
}

.play-button-container:hover {
    transform: scale(1.05);
}

.game-thumbnail {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.game-thumbnail:hover {
    border-color: #ff6f61;
    box-shadow: 0 12px 35px rgba(255, 111, 97, 0.4);
}

.play-button {
    width: 250px;
    height: 50px;
    background: linear-gradient(45deg, #ff6f61, #ff8a80);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    pointer-events: auto;
    position: relative;
    z-index: 25;
}

.play-button:hover {
    background: linear-gradient(45deg, #ff8a80, #ffab91);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.6);
}

.play-button:active {
    transform: translateY(0);
}

.play-icon {
    transition: transform 0.3s ease;
}

.play-button:hover .play-icon {
    transform: scale(1.1);
}

.GameNameText {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

.rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 16px;
    color: #ffd700;
}

.rating-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}



/* Responsive Design for Game */
@media (max-width: 1200px) {
    #game iframe {
        max-width: 100%;
        height: 70vh;
    }
    
    .game-container {
        margin: 20px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 768px) {
    .breadcrumb-content {
        flex-wrap: wrap;
    }
    
    .pregame-container {
        height: 500px;
    }
    
    .game-thumbnail {
        width: 250px;
        height: 150px;
    }
    
    .play-button {
        width: 200px;
        height: 45px;
        font-size: 16px;
    }
    
    .GameNameText {
        font-size: 20px;
    }
    
    .pregame-content {
        padding: 20px;
    }
    
    .game-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .game-actions {
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .breadcrumb-item {
        font-size: 12px;
    }
    
    .add-to-games {
        font-size: 12px;
    }
    
    .pregame-container {
        height: 400px;
    }
    
    .game-thumbnail {
        width: 200px;
        height: 120px;
    }
    
    .play-button {
        width: 180px;
        height: 40px;
        font-size: 14px;
    }
    
    .GameNameText {
        font-size: 18px;
    }
    
    .game-footer {
        padding: 10px 15px;
    }
    
    .game-title {
        font-size: 14px;
    }
    
    .action-btn {
        width: 35px;
        height: 35px;
    }
    
    .action-icon {
        font-size: 14px;
    }
}


/* Game Description Section */
#description {
    background-color: #1a1a1a; /* Dark background */
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}

#description h2 {
    color: #ff6f61;
    font-size: 2em;
    margin-bottom: 20px;
}

/* Videos Section */
#videos {
    text-align: center;
    margin-bottom: 30px;
}

#videos iframe {
    width: 30%;
    height: 300px;
    margin: 10px;
    border-radius: 8px;
}

.video-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Reviews Section */
#reviews {
    background-color: #1a1a1a; /* Dark background */
    padding: 20px;
    margin-top: 30px;
}

#reviews h2{
    padding-bottom: 20px;
}

.review {
    background-color: #333; /* Darker card background */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}


.review p {
    font-size: 1.1em;
}

.review ul{
    padding: 10px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

footer a:hover {
    text-decoration: underline;
}

.social-links a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu ul {
        display: block;
    }

    .nav-menu ul li {
        margin-bottom: 15px;
    }

    #videos iframe {
        width: 80%;
        height: 250px;
        margin: 10px 0;
    }

    button {
        font-size: 1.2em;
    }

    #hero h2 {
        font-size: 2.5em;
    }

    #hero p {
        font-size: 1.8em;
    }
}

/* Blog Section */
#blog {
    margin-top: 100px; /* Space for header */
    padding: 20px;
}

.blog-post {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
}

.blog-title {
    font-size: 2.5em;
    margin-bottom: 10px;
    /* text-align: center; */
}

.blog-meta {
    color: #ccc;
    font-size: 1em;
    margin-bottom: 20px;
}

.blog-meta .author, .blog-meta .date {
    margin-right: 10px;
}

.blog-image {
    text-align: center;
    margin-bottom: 30px;
}

.blog-image img {
    width: 100%;
    /* height: 50%; */
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.blog-content {
    font-size: 1.2em;
}

.blog-content h2 {
    margin-top: 20px;
    color: #ff6f61;
}

.comments {
    margin-top: 40px;
}

.comment {
    background-color: #333;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1.1em;
    border-radius: 5px;
    margin-bottom: 10px;
}

.comment-form button {
    background-color: #ff6f61;
    color: white;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.comment-form button:hover {
    background-color: #e55a4f;
}
/* Floating "Iniciar Jogo" Button */
.floating-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #ff6f61;
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 1em;
    text-align: center;
}

.floating-button a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    display: block;
}

.floating-button:hover {
    background-color: #e55a4f;
}

/* Recommended Games Section */
.recommended-games {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 20px;
    margin: 40px 0;
}

.recommended-games h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.game-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: #2a2a3e;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.game-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.game-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.game-card:hover .game-thumbnail {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: white;
}

.game-overlay h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.game-overlay p {
    font-size: 0.9em;
    opacity: 0.9;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Responsive Design for Recommended Games */
@media (max-width: 768px) {
    .recommended-games {
        padding: 40px 15px;
    }
    
    .recommended-games h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .game-thumbnail {
        height: 180px;
    }
    
    .game-overlay {
        padding: 15px;
    }
    
    .game-overlay h3 {
        font-size: 1.1em;
    }
    
    .game-overlay p {
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .game-thumbnail {
        height: 160px;
    }
    
    .game-overlay {
        padding: 12px;
    }
    
    .game-overlay h3 {
        font-size: 1em;
    }
    
    .game-overlay p {
        font-size: 0.75em;
    }
}