﻿.video-popup-window .mfp-iframe-holder .mfp-content {
    max-width: 800px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.video-popup-window .mfp-close {
    top: -15px;
    right: -15px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #fff;
    color: #000;
    border-radius: 50%;
    opacity: 1;
}

.white-red-glow {
    color: #fff;
    text-shadow: 0 0 5px var(--gt-theme), 0 0 10px var(--gt-theme);
    animation: redGlow 2s ease-in-out infinite;
}

@keyframes redGlow {
    0%, 100% {
        text-shadow: 0 0 5px var(--gt-theme), 0 0 10px var(--gt-theme);
    }

    50% {
        text-shadow: 0 0 15px var(--gt-theme), 0 0 20px var(--gt-theme);
    }
}

.glow-text {
    color: #fff;
    background-color: transparent;
    font-size: 1em;
}

    .glow-text p {
        margin: 0;
    }

.online-color-cycle {
    font-size: 1em;
    animation: onlineColorCycle 3s linear infinite;
}

/* Override hero span styling so online numbers have no red background */
.gt-hero-content .online-color-cycle {
    background-color: transparent !important;
    padding: 0 !important;
}

.player-stats {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

@keyframes onlineColorCycle {
    0% {
        color: red;
    }

    33% {
        color: yellow;
    }

    66% {
        color: lime;
    }

    100% {
        color: red;
    }
}

/* Escapism Moments thumbnail size */
.moment-thumb {
    width: 330px;
    height: 352px;
    object-fit: cover;
}

/* Discord widget styling */
.discord-widget-section {
    background-color: var(--gt-bg-2);
    padding: 60px 0;
}

.discord-widget-text {
    color: #fff;
    margin-bottom: 20px;
}

.discord-widget-title {
    margin-bottom: 10px;
    font-size: 28px;
}

.discord-widget-description {
    font-size: 18px;
}

.discord-widget-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
}

/* Ensure equal width for feature boxes without overflow */
.gt-service-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-right: 0;
    gap: 0;
    overflow: visible;
}

    .gt-service-wrapper .gt-service-box {
        flex: 1 1 20%;
        max-width: 20%;
        padding: 40px 20px;
        box-sizing: border-box;
        margin-top: 0;
    }

        .gt-service-wrapper .gt-service-box:first-child {
            padding-right: 0;
        }

@media (max-width: 767px) {
    .gt-service-wrapper .gt-service-box {
        flex: 1 1 100%;
        max-width: 100%;
    }

        .gt-service-wrapper .gt-service-box .gt-title {
            font-size: 24px;
            line-height: 1.3;
        }
}

/* Discord Section New Design */
.discord-section {
    background: linear-gradient(135deg, var(--gt-bg-2) 0%, var(--gt-bg) 100%);
    color: #fff;
    padding: 80px 0 110px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .discord-section::before,
    .discord-section::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255, 8, 8, 0.4) 0%, transparent 70%);
        z-index: 0;
    }

    .discord-section::before {
        top: -60px;
        left: -60px;
    }

    .discord-section::after {
        bottom: -60px;
        right: -60px;
    }

    .discord-section .container > * {
        position: relative;
        z-index: 1;
    }

    .discord-section .gt-section-title-area {
        justify-content: center;
    }

    .discord-section .gt-section-title {
        text-align: center;
    }

    .discord-section .discord-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .discord-section .discord-description {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .discord-section .social-links {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
    }

    .discord-section .social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 1px solid var(--gt-white);
        color: var(--gt-white);
        font-size: 20px;
        transition: all 0.3s ease;
    }

        .discord-section .social-link:hover {
            background: var(--gt-theme);
            color: #fff;
            box-shadow: 0 0 10px var(--gt-theme);
        }


    .discord-section .discord-iframe {
        width: 100%;
        max-width: 600px;
        height: 500px;
        border: none;
        border-radius: 12px;
        margin-top: 30px;
    }

/* Responsive fix for contact section */
@media (max-width: 768px) {
    .gt-contacts-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

        .gt-contacts-wrapper .gt-contact-content {
            width: 100%;
            margin-bottom: 15px;
        }

        .gt-contacts-wrapper .gt-contact-item {
            justify-content: center;
            width: 100%;
        }
}

/* clickable icon area for contact links */
.gt-contacts-wrapper .gt-contact-item .icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ensure feature boxes align vertically */
.gt-about-box-item .gt-about-box {
    flex: 1 0 50%;
}

.gt-about-box-item .gt-about-box .icon i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 32px;
    color: #ff0000;
    transform: scale(1.1);
    transition: all 0.4s ease-in-out;
}

@media (max-width: 470px) {
    .gt-about-box-item .gt-about-box {
        flex-basis: 100%;
    }
}

/* footer download button */
.gt-footer-app .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    background: linear-gradient(180deg, #333, #111);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.gt-footer-app .app-image {
    display: inline-block;
}

.gt-footer-app .download-btn i {
    font-size: 20px;
    color: var(--gt-theme);
}

/* Oyun Bilgi Kutusu için ekran boyutuna duyarlı stiller */
.game-info-container {
    /* Varsayılan olarak hiçbir scroll yok */
    overflow-y: visible;
}

/* 1920px'den küçük ekranlar için scroll ekle */
@media (max-width: 1920px) {
    .game-info-container {
        overflow-y: auto;
        max-height: none; /* Doğal yükseklikte */
    }
}

/* 1440px'den küçük ekranlar için scroll ekle */
@media (max-width: 1440px) {
    .game-info-container {
        overflow-y: auto;
        max-height: none; /* Doğal yükseklikte */
    }
}

/* 1080px'den küçük ekranlar için scroll ekle */
@media (max-width: 1080px) {
    .game-info-container {
        overflow-y: auto;
        max-height: none; /* Doğal yükseklikte */
    }
}

/* Scroll çubuğu stilleri */
.game-info-container::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.game-info-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.game-info-container::-webkit-scrollbar-thumb {
    background: var(--gt-theme, #0095eb);
    border-radius: 4px;
}

.game-info-container::-webkit-scrollbar-corner {
    background: transparent;
}

.game-info-container {
    scrollbar-width: thin;
    scrollbar-color: var(--gt-theme) rgba(255, 255, 255, 0.05);
    -webkit-overflow-scrolling: touch;
}
/* Align About page team section with vision and mission */
.gt-gaming-feature-wrapper .gt-gaming-feature-content .gt-icon-list {
    align-items: flex-start;
}

    .gt-gaming-feature-wrapper .gt-gaming-feature-content .gt-icon-list li {
        flex: 1 1 33.333%;
        max-width: 33.333%;
    }

@media (max-width: 1199px) {
    .gt-gaming-feature-wrapper .gt-gaming-feature-content .gt-icon-list li {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Commands page table styling */
.command-table {
    background-color: #202025;
    color: #ddd;
}
.command-table th {
    color: var(--gt-theme);
    font-weight: 600;
}
.command-table td {
    vertical-align: middle;
}

/* Commands list styling */
.command-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.command-list li {
    display: flex;
    gap: 10px;
    padding: 6px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-family: "Chakra Petch", sans-serif;
    font-size: 16px;
    color: #ddd;
}
.command-list li:last-child {
    border-bottom: none;
}
.command-list .cmd {
    display: inline-block;
    min-width: 150px;
    color: #4CAF50;
    font-weight: 600;
    text-align: left;
}

@media (max-width: 575px) {
    .command-list .cmd {
        min-width: 120px;
    }
}

/* Background image should not cover entire section */
.bg-contain {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
}

/* Keep FAQ accordion headers the same height when opened */
.gt-faq-wrapper .accordion-button,
.gt-faq-wrapper .accordion-button.collapsed {
    padding: 20px;
}

/* Command accordion header styling */
#commandAccordion .accordion-button,
#commandAccordion .accordion-button.collapsed {
    color: #fff;
    white-space: nowrap;
}

/* Lighter overlay for the commands section */
#commandSection.gt-bg-wrapper::before {
    background: rgba(28, 29, 32, 0.6);
}

/* Smoother accordion animation for the commands list */
#commandSection .collapsing {
    transition: height 0.7s ease !important;
}

/* Times page tweaks */
.times-section .gt-trending-match-items {
    border: 2px solid rgba(255, 8, 8, 0.4);
    max-width: 850px;
    padding: 20px 24px;
    margin: 0 auto 30px;
    align-items: stretch;
}
.times-section .gt-match-logo {
    gap: 16px;
    justify-content: center;
    flex: 0 0 30%;
    max-width: 30%;
}

.times-section .gt-trending-match-items .gt-match-content {
    border-left: 1px solid rgba(255, 8, 8, 0.4);
    border-right: 1px solid rgba(255, 8, 8, 0.4);
    padding: 0 24px;
    flex: 0 0 40%;
    max-width: 38;
}
.times-section .gt-trending-match-items .gt-match-content h3 {
    font-weight: 700;
}
.times-section .gt-date-list li {
    font-size: 14px;
}

.times-section .gt-match-thumb img {
    width: 168px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.times-section .event-counter {
    color: var(--gt-theme);
    font-weight: 700;
    font-size: 20px;
}
.times-section .event-counter.active {
    color: #11f376;
}
.times-section .event-counter .num {
    background: #222;
    padding: 2px 6px;
    border-radius: 4px;
    margin: 0 2px;
}

.times-section .event-counter .unit {
    color: var(--gt-theme);
    text-transform: lowercase;
}

.times-section .timer-box {
    align-self: center;
    text-align: center;
    flex: 0 0 30%;
    max-width: 30%;
}
.times-section .time-box {
    align-self: center;
    text-align: right;
    flex: 0 0 30%;
    max-width: 30%;
}
.times-section .gt-watch-now-list {
    justify-content: center;
}
.times-section .gt-watch-now-list li {
    justify-content: center;
}

.times-section #events .time-box,
.times-section #bosses .time-box {
    text-align: center;
}
.times-section #events .gt-trending-match-items .gt-match-content,
.times-section #bosses .gt-trending-match-items .gt-match-content {
    text-align: center;
}

/* Bosses tab layout tweaks */
.times-section #bosses .gt-trending-match-items .gt-match-content {
    border-right: none;
}

.times-section .gt-section-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    margin: 0 auto 40px;
    max-width: 850px;
}

.times-section .gt-section-title-area .nav {
    gap: 20px;
    margin-top: 15px;
}

@media (max-width: 575px) {
    .times-section .gt-trending-match-items {
        flex-direction: column;
        text-align: center;
    }
    .times-section .gt-match-logo,
    .times-section .gt-trending-match-items .gt-match-content,
    .times-section .timer-box,
    .times-section .time-box {
        flex-basis: 100%;
        max-width: 100%;
        width: 100%;
    }
    .times-section .gt-match-logo {
        margin-bottom: 15px;
    }
    .times-section .timer-box {
        align-self: center;
        margin-top: 15px;
    }
}

.hero-register-btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 150px;
    margin-left: 0;
    margin-top: 10px;
}

/* Live Market table styling */
.live-market-table-wrapper {
    overflow-x: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.container-market {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1850px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
    box-sizing: border-box;
}

.market-table {
    --bs-table-bg: transparent;
    background-color: transparent;
    backdrop-filter: blur(8px);
    width: 100%;
    min-width: 720px;
    display: table;
    margin-top: 20px;
    box-sizing: border-box;
}

.market-table th,
.market-table td {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    vertical-align: middle;
    text-align: center;
}

.market-table th {
    color: #E50914;
    font-weight: 700;
    text-transform: uppercase;
}

.market-table tbody tr {
    background-color: rgba(0, 0, 0, 0.15);
}

.market-table .market-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.market-table .item-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.red-divider {
    border-right: 2px solid #ff4b4b;
}

.table-scroll {
    max-height: 600px;
    min-height: 600px;
    overflow-y: scroll;
    padding-bottom: 0;
    margin-bottom: 0;
    scrollbar-gutter: stable;
}

.filter-col {
    flex: 0 0 200px;
}

.filter-col .gt-glass-card {
    background-color: transparent;
    backdrop-filter: blur(8px);
}

.map-col {
    flex: 0 0 250px;
}

.market-col .gt-glass-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.market-col {
    flex: 1 1 auto;
}

.market-table td {
    white-space: nowrap;
    height: 50px;
    color: #ffffff;
}

.price-cell {
    text-align: right;
}

.market-intro {
    margin-top: 16px;
    margin-bottom: 50px;
}

@media (max-width: 991.98px) {
    .container-market {
        flex-direction: column;
        align-items: center;
    }

    .filter-col,
    .market-col,
    .map-col {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .market-col .gt-glass-card {
        width: 100%;
    }
}

@media (max-width: 1919.98px) {
    .live-market-table-wrapper {
        overflow-x: auto;
        width: 100%;
    }
    .market-table {
        width: 100%;
        min-width: 720px;
    }
}


/* Server gate overlay */
.server-gate-section {
    position: fixed;
    inset: 0;
    z-index: 9999998;
    display: none;
    align-items: center;
    justify-content: center;
}
.server-gate-section .gt-gaming-bg-wrapper {
    width: 100%;
}
.server-gate-section .disabled {
    pointer-events: none;
    opacity: 0.6;
}
/* Custom gradient for the server gate overlay */
#serverGate::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(299deg, rgba(11, 14, 19, 0) 0%, #FE0808 100%);
    clip-path: polygon(68% 0, 100% 0, 100% 100%, 32% 100%);
}

/* News Section Image Styles */
.gt-news-section-3 .gt-news-left-items .gt-news-image {
    height: 220px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.gt-news-section-3 .gt-news-left-items .gt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image {
    height: 110px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

.gt-news-section-3 .gt-news-box-items {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 8, 8, 0.1);
}

.gt-news-section-3 .gt-news-box-items:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 8, 8, 0.3);
}

.news-card:hover,
.gt-news-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.news-card:hover .gt-theme-btn.gt-style-border,
.gt-news-card-item:hover .gt-theme-btn.gt-style-border {
    background: rgba(50, 50, 50, 0.3);
}

.news-card:hover .fa-arrow-right,
.gt-news-card-item:hover .fa-arrow-right {
    transform: translateX(5px);
}

.gt-news-section-3 .gt-news-left-items {
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.gt-news-section-3 .gt-news-left-items:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* News Content Padding */
.gt-news-section-3 .gt-news-content {
    padding: 10px 20px 15px;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-content {
    padding: 12px 15px;
}

.gt-news-section-3 .gt-news-content p {
    margin-bottom: 10px;
    color: #d1d1d1;
    font-size: 14px;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-content p {
    margin-bottom: 5px;
    font-size: 13px;
}

.gt-news-section-3 .gt-date-list {
    margin-bottom: 5px;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-content h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.gt-news-section-3 .gt-news-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .gt-news-section-3 .gt-news-right-items {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .gt-news-section-3 .gt-news-left-items .gt-news-image {
        height: 180px;
    }

    .gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image {
        height: 110px;
    }

    .gt-news-section .gt-news-card-item .gt-news-image {
        height: 160px;
    }
}

@media (max-width: 575px) {
    .gt-news-section-3 .gt-news-left-items .gt-news-image {
        height: 160px;
    }

    .gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image {
        height: 100px;
    }

    .gt-news-section .gt-news-card-item .gt-news-image {
        height: 140px;
    }
}

.gt-news-section-3 .gt-date-list {
    margin-bottom: 10px;
}

.gt-news-section-3 .gt-news-content p {
    margin-bottom: 15px;
    color: #d1d1d1;
    font-size: 14px;
}

/* News Section Styles */
.gt-news-section-3 .gt-news-left-items .gt-news-image {
    height: 220px;
    overflow: hidden;
}

.gt-news-section-3 .gt-news-left-items .gt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image {
    height: 110px;
    overflow: hidden;
}

.gt-news-section-3 .gt-news-right-items .gt-news-box-items .gt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-news-section .gt-news-card-item .gt-news-image {
    height: 180px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.gt-news-section .gt-news-card-item .gt-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gt-news-section .gt-news-card-item .gt-news-content {
    padding: 15px 20px;
}

.gt-news-section .gt-news-card-item .gt-news-content h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.gt-news-section .gt-news-card-item .gt-news-content p {
    font-size: 14px;
    margin-bottom: 8px;
}

.gt-news-section .gt-news-card-item {
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.gt-news-section .gt-news-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
