/* ==========================================================
   RAMPAGE GAMING COMMUNITY - COMMUNITY PAGE
========================================================== */

.com-page {
    background: #07090b;
    color: #fff;
}

.com-container {
    width: min(1500px, calc(100% - 80px));
    margin: auto;
}


/* HERO */

.com-hero {
    min-height: 520px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        url("/assets/hero-wardogs.jpg")
        center 40% / cover no-repeat;

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.com-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3,5,7,.97) 0%,
            rgba(3,5,7,.83) 40%,
            rgba(3,5,7,.35) 73%,
            rgba(3,5,7,.60) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3,5,7,.70),
            transparent 50%
        );
}

.com-hero-content {
    position: relative;
    z-index: 2;
}

.com-label {
    color: #e31932;

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 3px;
}

.com-hero h1 {
    max-width: 900px;

    margin: 9px 0 0;

    font-size:
        clamp(65px, 8vw, 125px);

    font-weight: 1000;

    line-height: .80;

    letter-spacing: -5px;
}

.com-hero h1 span {
    color: #e31932;
}

.com-hero h2 {
    margin: 25px 0 0;

    font-size:
        clamp(21px, 2vw, 34px);

    font-weight: 900;
}

.com-hero p {
    max-width: 650px;

    margin: 13px 0 0;

    color: #a4adb2;

    font-size: 16px;
    line-height: 1.7;
}

.com-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


/* BUTTONS */

.com-button {
    min-height: 47px;

    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .8px;

    border:
        1px solid rgba(255,255,255,.14);

    transition:
        transform .2s ease,
        background .2s ease;
}

.com-button:hover {
    transform:
        translateY(-2px);
}

.com-button-red {
    background: #e31932;

    border-color: #ef2940;
}

.com-button-red:hover {
    background: #f0203a;
}

.com-button-dark {
    background:
        rgba(6,9,11,.84);
}

.com-button-black {
    background: #07090b;

    border-color: #07090b;
}


/* STRIP */

.com-strip {
    background: #0d1013;

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.com-strip-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);
}

.com-strip-grid > div {
    min-height: 82px;

    padding: 18px 26px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right:
        1px solid rgba(255,255,255,.07);
}

.com-strip-grid > div:first-child {
    border-left:
        1px solid rgba(255,255,255,.07);
}

.com-strip strong {
    font-size: 12px;
    font-weight: 900;
}

.com-strip span {
    margin-top: 4px;

    color: #68737a;

    font-size: 11px;
}


/* GENERAL SECTION */

.com-section {
    padding: 85px 0;

    background: #080b0e;
}

.com-section-dark {
    background: #050709;
}

.com-section-heading {
    max-width: 760px;

    margin-bottom: 38px;
}

.com-section-heading h2,
.com-games-heading h2 {
    margin: 7px 0;

    font-size:
        clamp(35px, 4vw, 58px);

    font-weight: 1000;

    line-height: .9;
}

.com-section-heading > p {
    max-width: 620px;

    color: #7f8990;

    line-height: 1.7;
}


/* ABOUT CARDS */

.com-about-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.com-about-card {
    min-height: 300px;

    position: relative;

    padding: 27px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #12171b,
            #090c0f
        );

    border:
        1px solid rgba(255,255,255,.08);

    transition:
        transform .2s ease,
        border-color .2s ease;
}

.com-about-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(227,25,50,.50);
}

.com-about-card::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #e31932;

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform .25s ease;
}

.com-about-card:hover::after {
    transform: scaleX(1);
}

.com-number {
    color: #5e686f;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.com-icon {
    margin-top: 35px;

    color: #e31932;

    font-size: 28px;
}

.com-about-card h3 {
    margin: 20px 0 9px;

    font-size: 18px;
    font-weight: 1000;
}

.com-about-card p {
    margin: 0;

    color: #7b858c;

    font-size: 13px;
    line-height: 1.65;
}


/* GAMES */

.com-games-heading {
    margin-bottom: 28px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
}

.com-text-link {
    color: #fff;

    text-decoration: none;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;
}

.com-games-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.com-game-card {
    min-height: 330px;

    position: relative;

    overflow: hidden;

    display: flex;
    align-items: flex-end;

    color: #fff;

    text-decoration: none;

    background-size: cover;
    background-position: center;

    border:
        1px solid rgba(255,255,255,.08);

    transition:
        transform .25s ease;
}

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

.com-game-wardogs {
    background-image:
        url("/assets/game-wardogs.jpg");
}



.com-game-arma {
    background-image:
        url("/assets/game-arma3.jpg");
}

.com-game-squad {
    background-image:
        url("/assets/game-squad.jpg");
}

.com-game-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3,5,7,.04),
            rgba(3,5,7,.12) 38%,
            rgba(3,5,7,.96)
        );
}

.com-game-content {
    position: relative;
    z-index: 2;

    width: 100%;

    padding: 22px;
}

.com-game-content > span {
    color: #e31932;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.8px;
}

.com-game-content h3 {
    margin: 5px 0;

    font-size: 27px;
    font-weight: 1000;
}

.com-game-content p {
    margin: 0;

    color: #8b959b;

    font-size: 11px;
}

.com-game-content strong {
    position: absolute;

    right: 22px;
    bottom: 23px;

    color: #fff;

    font-size: 10px;
}


/* DISCORD */

.com-discord {
    padding: 90px 0;

    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(227,25,50,.18),
            transparent 33%
        ),
        #0b0e11;

    border-top:
        1px solid rgba(255,255,255,.07);

    border-bottom:
        1px solid rgba(255,255,255,.07);
}

.com-discord-grid {
    display: grid;

    grid-template-columns:
        1.4fr .7fr;

    gap: 16px;
}

.com-discord-main,
.com-discord-side {
    min-height: 430px;

    padding: 43px;

    border:
        1px solid rgba(255,255,255,.08);
}

.com-discord-main {
    background:
        linear-gradient(
            145deg,
            #12171b,
            #090c0f
        );
}

.com-discord-main h2 {
    margin: 8px 0;

    font-size:
        clamp(40px, 5vw, 72px);

    font-weight: 1000;

    line-height: .85;
}

.com-discord-main h2 span {
    color: #e31932;
}

.com-discord-main > p {
    max-width: 670px;

    color: #828d94;

    line-height: 1.7;
}

.com-discord-features {
    margin: 28px 0;

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px;
}

.com-discord-features > div {
    color: #aab2b7;

    font-size: 13px;
}

.com-discord-features b {
    margin-right: 7px;

    color: #e31932;
}

.com-discord-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(227,25,50,.19),
            #080b0e
        );
}

.com-discord-mark {
    width: 105px;
    height: 105px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    color: #fff;

    background: #e31932;

    font-size: 37px;
    font-weight: 1000;

    transform: rotate(-4deg);
}

.com-discord-side > span {
    color: #777f85;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.com-discord-side > strong {
    margin-top: 8px;

    font-size: 17px;
}

.com-discord-side > p {
    color: #e31932;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


/* VALUES */

.com-values {
    border-top:
        1px solid rgba(255,255,255,.08);
}

.com-values > div {
    min-height: 125px;

    display: grid;

    grid-template-columns:
        70px 1fr;

    align-items: center;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

.com-values > div > span {
    color: #e31932;

    font-size: 11px;
    font-weight: 900;
}

.com-values section {
    display: grid;

    grid-template-columns:
        260px 1fr;

    align-items: center;

    gap: 30px;
}

.com-values h3 {
    margin: 0;

    font-size: 21px;
    font-weight: 1000;
}

.com-values p {
    max-width: 620px;

    margin: 0;

    color: #79848b;

    line-height: 1.6;
}


/* FINAL */

.com-final {
    padding: 65px 0;

    background:
        linear-gradient(
            90deg,
            #b50d25,
            #e31932
        );
}

.com-final-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.com-final-inner > div > span {
    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.com-final h2 {
    margin: 6px 0 0;

    font-size:
        clamp(35px, 4vw, 60px);

    font-weight: 1000;

    line-height: .9;
}

.com-final h2 strong {
    color: #080a0c;
}


/* FOOTER */

.com-footer {
    padding: 50px 0 20px;

    background: #030506;
}

.com-footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;
}

.com-footer-logo {
    font-size: 19px;
    font-weight: 1000;
}

.com-footer-logo span {
    color: #e31932;
}

.com-footer p {
    color: #5f696f;

    font-size: 11px;
}

.com-footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 23px;
}

.com-footer-links a {
    color: #7e888e;

    text-decoration: none;

    font-size: 10px;
    font-weight: 900;
}

.com-footer-links a:hover {
    color: #fff;
}

.com-footer-bottom {
    margin-top: 30px;

    padding-top: 17px;

    color: #485158;

    border-top:
        1px solid rgba(255,255,255,.06);

    font-size: 9px;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .com-about-grid,
    .com-games-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .com-discord-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 800px) {

    .com-container {
        width:
            calc(100% - 36px);
    }

    .com-strip-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .com-values section {
        grid-template-columns: 1fr;

        gap: 6px;
    }

}


@media (max-width: 600px) {

    .com-section {
        padding: 60px 0;
    }

    .com-about-grid,
    .com-games-grid,
    .com-strip-grid,
    .com-discord-features {
        grid-template-columns: 1fr;
    }

    .com-games-heading,
    .com-final-inner,
    .com-footer-grid {
        align-items: flex-start;

        flex-direction: column;
    }

    .com-discord-main,
    .com-discord-side {
        padding: 26px;
    }

    .com-values > div {
        grid-template-columns:
            45px 1fr;

        padding: 20px 0;
    }

    .com-button {
        width: 100%;
    }

}



/* ==========================================================
   CORRECT RGC LOGO 20260917
   ========================================================== */


/* HEADER - keep logo compact */

.rgc-image-logo {
    width: 190px !important;
    height: 65px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    overflow: hidden !important;
    padding: 0 !important;
}

.rgc-image-logo img {
    display: block !important;

    width: 185px !important;
    height: 62px !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
}


/* COMMUNITY / STORE / DISCORD LOGO */

.rgc-brand-image {
    display: block !important;

    width: 250px !important;
    max-width: 90% !important;
    height: auto !important;

    object-fit: contain !important;

    margin: 0 auto !important;
}


/* FOOTER */

.rgc-footer-image-logo {
    width: 220px !important;
    height: 80px !important;

    display: flex !important;
    align-items: center !important;

    overflow: hidden !important;
}

.rgc-footer-image-logo img {
    display: block !important;

    width: 210px !important;
    height: 75px !important;

    object-fit: contain !important;
    object-position: left center !important;
}


/* IMPORTANT:
   remove the giant profile logo completely */

.rgc-profile-logo-wrap,
.rgc-profile-main-logo {
    display: none !important;
}


/* STAFF PANEL */

.rgc-staff-main-logo {
    display: block !important;

    width: 210px !important;
    max-width: 90% !important;
    height: auto !important;

    object-fit: contain !important;

    margin: 0 auto 15px !important;
}


/* MOBILE */

@media (max-width: 800px) {

    .rgc-image-logo {
        width: 155px !important;
        height: 55px !important;
    }

    .rgc-image-logo img {
        width: 150px !important;
        height: 52px !important;
    }

    .rgc-brand-image {
        width: 200px !important;
    }
}
