/* Game Quester site theme. Loaded after style.css on every page.
   Colors come from the Game Quester logo: deep navy, electric blue, flame orange. */

:root {
    --gq-bg: #050b16;
    --gq-bg-2: #08111f;
    --gq-card: #0d1829;
    --gq-card-2: #122038;
    --gq-border: #1a2a47;
    --gq-blue: #2d9bff;
    --gq-blue-light: #6cc4ff;
    --gq-orange: #ff7a1a;
    --gq-gold: #ffb23f;
    --gq-white: #ffffff;
    --gq-text: #e8eef8;
    --gq-muted: #93a3bd;
    --gq-gradient: linear-gradient(90deg, #2d9bff 0%, #6cc4ff 45%, #ffb23f 70%, #ff7a1a 100%);
    --gq-btn-gradient: linear-gradient(135deg, #ffb23f 0%, #ff7a1a 55%, #f0520f 100%);
}

/* Base */
body.body__bg {
    background-color: var(--gq-bg);
    background-image:
        radial-gradient(900px 600px at 10% -10%, rgba(45, 155, 255, 0.18), transparent 60%),
        radial-gradient(800px 600px at 100% 10%, rgba(255, 122, 26, 0.13), transparent 60%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--gq-text);
}
p {
    color: var(--gq-text);
}
a:hover {
    color: var(--gq-orange);
}
::selection {
    background: var(--gq-orange);
    color: var(--gq-white);
}

/* Header */
.header_section {
    padding: 18px 0;
}
.sticky-header.sticky {
    background: rgba(5, 11, 22, 0.92);
    border-bottom: 1px solid var(--gq-border);
    backdrop-filter: blur(10px);
    padding: 10px 0;
}
.gq_brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.gq_brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
}
.gq_brand_text {
    font-family: "Exo", sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--gq-white);
}
.gq_brand_text span {
    background: linear-gradient(180deg, #ffb23f, #ff7a1a 60%, #f0520f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.main_menu nav > ul > li {
    margin-left: 34px;
}
.main_menu nav > ul > li > a::before {
    display: none;
}
.main_menu nav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: var(--gq-btn-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
}
.main_menu nav > ul > li:hover > a,
.main_menu nav > ul > li.active > a {
    color: var(--gq-gold);
}
.main_menu nav > ul > li:hover > a::after,
.main_menu nav > ul > li.active > a::after {
    transform: scaleX(1);
}

/* Mobile menu */
.gq_menu_toggle {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--gq-border);
    background: var(--gq-card);
    color: var(--gq-white);
    font-size: 24px;
    line-height: 1;
}
.gq_menu_toggle:hover {
    border-color: var(--gq-orange);
    color: var(--gq-orange);
}
.offcanvas {
    background: var(--gq-bg-2);
    border-right: 1px solid var(--gq-border);
}
.offcanvas .btn-close {
    filter: invert(1);
}
.offcanvas_main_menu li a {
    display: block;
    padding: 12px 0;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gq-white);
    border-bottom: 1px solid var(--gq-border);
}
.offcanvas_main_menu li.active a,
.offcanvas_main_menu li a:hover {
    color: var(--gq-gold);
}

/* Buttons */
.gq_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 50px;
    background: var(--gq-btn-gradient);
    color: var(--gq-white);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(255, 122, 26, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gq_btn:hover {
    color: var(--gq-white);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 122, 26, 0.5);
}
.gq_btn i {
    font-size: 24px;
}
.gq_btn_outline {
    background: transparent;
    border: 2px solid var(--gq-blue);
    color: var(--gq-blue-light);
    box-shadow: none;
}
.gq_btn_outline:hover {
    background: rgba(45, 155, 255, 0.12);
    color: var(--gq-white);
    box-shadow: 0 8px 24px rgba(45, 155, 255, 0.3);
}
.gq_btn_sm {
    padding: 9px 20px;
    font-size: 14px;
}

/* Hero */
.gq_hero {
    padding: 150px 0 80px;
    text-align: center;
}
.gq_hero_logo {
    width: 100%;
    max-width: 560px;
    height: auto;
}
.gq_hero h1 {
    font-weight: 800;
    font-size: 64px;
    line-height: 74px;
    margin: 24px 0 12px;
}
.gq_hero_tagline {
    font-size: 21px;
    line-height: 34px;
    color: var(--gq-muted);
    max-width: 660px;
    margin: 18px auto 34px;
}
.gq_hero_actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}
.gq_gradient_text {
    background: var(--gq-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Sections */
.gq_section {
    padding: 70px 0;
}
.gq_section_title {
    text-align: center;
    margin-bottom: 45px;
}
.gq_section_title h2 {
    font-size: 44px;
    line-height: 56px;
}
.gq_section_title p {
    color: var(--gq-muted);
}

/* Cards */
.gq_card {
    height: 100%;
    padding: 32px 26px;
    border-radius: 20px;
    background: linear-gradient(180deg, var(--gq-card-2), var(--gq-card));
    border: 1px solid var(--gq-border);
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.gq_card:hover {
    transform: translateY(-6px);
    border-color: var(--gq-orange);
    box-shadow: 0 14px 40px rgba(255, 122, 26, 0.15);
}
.gq_card_emoji {
    font-size: 48px;
    line-height: 60px;
    margin-bottom: 12px;
}
.gq_card h3 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 10px;
}
.gq_card p {
    color: var(--gq-muted);
    font-size: 15px;
    line-height: 26px;
}

/* Game cards (home page) */
.gq_game_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.gq_game_icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 28px;
    filter: drop-shadow(0 10px 24px rgba(45, 155, 255, 0.35));
}
.gq_game_icon_font {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--gq-white);
    font-size: 60px;
}
.gq_game_card p {
    flex-grow: 1;
    margin-bottom: 22px;
}
.gq_game_links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 16px;
    font-size: 14px;
}
.gq_game_links a {
    color: var(--gq-muted);
}
.gq_game_links a:hover {
    color: var(--gq-gold);
}

/* Legal / text pages */
.legal_section {
    padding-top: 150px;
}
.legal_section .blog_details_inner {
    padding: 44px 40px;
    border-radius: 24px;
    background: rgba(13, 24, 41, 0.75);
    border: 1px solid var(--gq-border);
}
.legal_section h2 {
    font-size: 46px;
    line-height: 58px;
}
.legal_section .blog_details_desc h3 {
    font-size: 21px;
    line-height: 32px;
    margin: 34px 0 12px;
    color: var(--gq-blue-light);
}
.legal_section .blog_details_desc p,
.legal_section .blog_details_desc li {
    color: var(--gq-text);
}
.legal_section .blog_details_desc ul {
    list-style: disc;
    padding-left: 22px;
    margin-bottom: 16px;
}
.legal_section .blog_details_desc a {
    color: var(--gq-gold);
}
.legal_updated {
    color: var(--gq-muted);
    font-size: 15px;
}

/* Footer */
.gq_footer {
    margin-top: 40px;
    padding: 40px 0 30px;
    border-top: 1px solid var(--gq-border);
    background: rgba(8, 17, 31, 0.8);
    text-align: center;
}
.gq_footer .gq_brand {
    margin-bottom: 18px;
}
.gq_footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    margin-bottom: 12px;
}
.gq_footer a {
    color: var(--gq-muted);
}
.gq_footer a:hover {
    color: var(--gq-gold);
}
.gq_footer p {
    font-size: 14px;
    color: var(--gq-muted);
}

@media only screen and (max-width: 991px) {
    .gq_hero h1 {
        font-size: 48px;
        line-height: 58px;
    }
}
@media only screen and (max-width: 767px) {
    .gq_brand img {
        width: 44px;
        height: 44px;
    }
    .gq_brand_text {
        font-size: 21px;
    }
    .gq_hero {
        padding: 120px 0 50px;
    }
    .gq_hero h1 {
        font-size: 36px;
        line-height: 44px;
    }
    .gq_hero_tagline {
        font-size: 17px;
        line-height: 28px;
    }
    .gq_section {
        padding: 50px 0;
    }
    .gq_section_title h2 {
        font-size: 30px;
        line-height: 40px;
    }
    .legal_section {
        padding-top: 120px;
    }
    .legal_section .blog_details_inner {
        padding: 28px 20px;
    }
    .legal_section h2 {
        font-size: 30px;
        line-height: 40px;
    }
}
@media only screen and (max-width: 575px) {
    /* style.css centres the logo full-width on phones; keep brand + menu button on one row */
    .main_header {
        flex-direction: row;
        align-items: center !important;
    }
    .header_logo {
        width: auto;
    }
}
