
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    
    background-color: #0f0f0f;
    color: #f1f1f1;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* CHANGED: Reduced from 10px to 6px to make the bar thinner */
    padding: 6px 24px; 
    background-color: #171717;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 16px; 
    border-bottom: 1px solid #27272a;
}

.logo {
    /* You can actually remove the font-family from here now */
    font-size: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column; 
    align-items: center;
    line-height: 1;
}

/* ADD THIS NEW RULE: It forces the spans to use the arcade font! */
.logo span {
    font-family: 'Russo One', sans-serif;
    
    /* ADD THESE 3 LINES FOR MAXIMUM SHARPNESS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Add this right below the .logo CSS */
.logo-highlight {
    color: #00e676; /* Makes only PlayHub neon green */
}



/* 1. The container becomes the entire rounded "pill" */
.search-container {
    display: flex;
    flex: 1;
    max-width: 400px;
    margin: 0 20px;
    background: #121212; /* The whole bar is now one solid color */
    border: 1px solid #303030; /* One continuous border around the outside */
    border-radius: 40px; /* Fully rounded ends */
}

/* 2. The input box becomes transparent to blend in */
.search-container input {
    flex: 1;
    padding: 6px 16px;
    background: transparent; /* Removes the separate background */
    border: none;
    color: white;
    font-size: 14px;
    min-width: 0;
    outline: none; 
}

.search-container button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: transparent; 
    border: none; 
    cursor: pointer;
    border-radius: 0 40px 40px 0;
}


.search-container button:hover svg {
    stroke: #ffffff; 
}

.login-btn {
    padding: 8px 16px;
    background-color: #00e676; 
    color: #000000;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.main-container {
    max-width: 2200px; 
    margin: 0 auto;
    padding: 24px;
}



.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    row-gap: 10px; 
}

.home-card {
    cursor: pointer;
}

.home-card img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Keeps the perfect square */
    object-fit: cover;
    border-radius: 12px;
    background-color: #202020;
    transition: transform 0.3s ease;
}

.home-card:hover img {
    transform: scale(1.05); /* Zoom effect on hover */

}


.content-wrapper {
    display: grid;
    grid-template-columns: 3fr 1fr; 
    gap: 24px;
    
}

.game-section {
    display: flex;
    flex-direction: column;
    min-width: 0; 
    
}


.game-safe-zone {
    width: 100%;
    aspect-ratio: 16 / 9; 
    background-color: #000;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
     border: 1px solid #3f3f46;
    border-bottom: none;
}


.game-safe-zone iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.game-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #171717;
    padding: 7px 20px;
    border-radius: 0 0 8px 8px; /* Bottom corners only */
     border: 1px solid #3f3f46;
    border-top: none;
}

.bar-title {
    font-size: 14px;
    font-weight: bold;
    color: #00e676;
}

.fullscreen-btn {
    background: none;
    border: none;
    color: #00e676;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s;
}

.fullscreen-btn:hover {
    transform: scale(1.1); /* Slight pop effect on hover */
}




.suggestions-section h3 {
    color: #00e676;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 16px;
}

.suggestions-list {
    display: grid;

    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}

.suggestion-card {
    cursor: pointer;
    transition: transform 0.2s;
}

.suggestion-card:hover {
    transform: scale(1.1); 
}

.suggestion-card img {
    width: 100%; /* Fills the column width perfectly */
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    background-color: #202020;
}


/* ================================
   AUTH MODAL STYLES
   ================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #171717; /* Matches your navbar */
    border-radius: 12px;
    padding: 40px 30px;
    width: 90%;
    max-width: 400px; /* Keeps it exactly the size of your screenshots */
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #00e676; /* Neon Green X */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.2);
}

.modal-content h2 {
    margin-bottom: 24px;
    font-size: 24px;
    color: #fff;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.google-btn img {
    width: 20px;
}

.or-divider {
    color: #00e676; /* Neon green "or" */
    font-weight: bold;
    margin: 20px 0;
}

.auth-input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    background-color: #121212;
    border: 1px solid #303030;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border 0.2s;
}

.auth-input:focus {
    border-color: #00e676; /* Highlights green when typing */
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    margin-top: 8px;
    margin-bottom: 24px;
    transition: opacity 0.2s;
}

.auth-submit-btn:hover {
    opacity: 0.8;
}

.green-btn {
    background-color: #00e676;
    color: #000;
}

.dark-btn {
    background-color: #222222;
    color: #00e676; /* Green text on dark background for Sign Up */
}

.auth-switch {
    color: #aaaaaa;
    font-size: 14px;
}

.switch-link {
    color: #00e676;
    cursor: pointer;
    font-weight: bold;
}

.switch-link:hover {
    text-decoration: underline;
}


/* ================================
   GAME DETAILS BOX
   ================================ */
.game-details-box {
    background-color: #171717; /* Matches your navbar */
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px; /* Space between the game video and this box */
    color: #f1f1f1;
    border: 1px solid #3f3f46; 
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-title {
    color: #00e676;
    font-size: 28px;
    font-weight: 900; 
}

.detail-category {
    border: 1px solid #00e676;
    color: #00e676;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    text-transform: capitalize;
}

.details-meta {
    display: flex;
    gap: 24px;
    color: #aaaaaa;
    font-size: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap; /* Prevents overlap on small mobile screens */
}

.details-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.details-meta strong {
    color: #ffffff;
}

.details-meta svg {
    width: 16px;
    height: 16px;
    fill: #aaaaaa;
}

.details-divider {
    border: 0;
    height: 1px;
    background-color: #303030;
    margin-bottom: 24px;
}

.content-section {
    margin-bottom: 24px;
}

.content-section:last-child {
    margin-bottom: 0;
}

/* This creates the perfect green underline from your picture */
.content-section h3 {
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #00e676; 
}

.content-section h3 svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.content-section p {
    color: #cccccc;
    font-size: 15px;
    line-height: 1.6;
}






/* ================================
   MEDIA QUERIES (Keep these at the very bottom, in this exact order!)
   ================================ */

/* 1. LAPTOP VIEW (Screens smaller than 1400px) */
@media (max-width: 1400px) {
    .navbar {
        padding: 6px 20px; 
    }
    .search-container input {
        padding: 8px 16px; 
    }
    .search-container button {
        padding: 8px 20px; 
    }
    .login-btn {
        padding: 6px 14px; 
    }
}

/* 2. TABLET VIEW (Screens smaller than 1100px) */
@media (max-width: 1100px) {
    .content-wrapper {
        /* This drops the suggestions UNDER the game for tablets and below */
        grid-template-columns: 1fr; 
    }
}

/* 3. MOBILE VIEW (Screens smaller than 800px) */
@media (max-width: 800px) {
    .content-wrapper {
        grid-template-columns: 1fr; 
    }
    .home-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .search-container {
        display: none; 
    }
    .navbar {
        padding: 10px 16px; 
    }
}