.discord {
    background-color: #5765f2;
    border: 1px solid #5765f2;
    border-radius: 25px;
    margin-left: 10px;
}

.discord:hover {
    border-color: white;
}


/* Page css  */

:root {
    --theme-purple: #21132a;
    --nav-purple: #3f2a49;
}

body {
    background-color: var(--theme-purple);
    color: white;
    min-height: 100vh;
}

.navbar {
    background-color: var(--nav-purple) !important;
}

.game {
    text-decoration: none;
    color: white;

}

.game:hover {
    color: gray;
}

.game-card {
    background-color: var(--nav-purple);
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    height: 200px;
    object-fit: cover;
}

.category-text {
    color: #a8a8a8;
}

.footer {
    background-color: var(--nav-purple);
    margin-top: 3rem;
    padding: 2rem 0;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover {
    color: white !important;
}

/* Custom button styles */
.subscribe-btn {
    background-color: #0d6efd;
    border: none;
}

.subscribe-btn:hover {
    background-color: #0b5ed7;
}

/* Input field in dark theme */
.dark-input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.dark-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: none;
}




/* Game css  */

.game-box {
    position: relative;
    display: flex;
    width: 100%;
    height: 80vh;
}

.iframe {
    flex: 0 0 78%;
    max-width: 78%;
    height: 100%;
    background: #000;
    border-radius: 10px;
}

.ads {
    flex: 0 0 25%;
    max-width: 25%;
    height: auto;
    /* Ensure it adjusts based on ad content */
    min-height: 250px;
    /* Set a minimum height for ad display */
    display: flex;
    justify-content: center;
    align-items: center;
}

.resad1 {
    display: block;
    /* Ensures it behaves like a block-level element */
    margin: 0 auto;
    /* Centers the div horizontally */
    text-align: center;
    /* Ensures content inside the div is centered */
    margin-top: 20px;
    margin-bottom: 15px;
}

.resad2 {
    display: block;
    /* Ensures it behaves like a block-level element */
    margin: 0 auto;
    /* Centers the div horizontally */
    text-align: center;
    /* Ensures content inside the div is centered */
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(52, 27, 64, 0.9);
    border-radius: 10px;
    margin: 5px 0;
    width: 78%;
}

.game-title {
    color: white;
    margin: 0;
    font-size: 24px;
}

.fullscreen-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.fullscreen-icon {
    width: 16px;
    height: 16px;
}

/* Fullscreen styles */
.iframe.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    z-index: 9999;
}