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

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

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


/* HERO */

.evt-hero {
    min-height: 480px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        url("/assets/game-squad.jpg")
        center 43% / cover no-repeat;

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

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

    background:
        linear-gradient(
            90deg,
            rgba(3,5,7,.98),
            rgba(3,5,7,.78) 43%,
            rgba(3,5,7,.38) 74%,
            rgba(3,5,7,.65)
        ),
        linear-gradient(
            0deg,
            rgba(3,5,7,.65),
            transparent 50%
        );
}

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

.evt-label {
    color: #e31932;

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

    letter-spacing: 3px;
}

.evt-hero h1 {
    max-width: 1000px;

    margin: 9px 0 0;

    font-size:
        clamp(62px, 7vw, 115px);

    font-weight: 1000;

    line-height: .81;

    letter-spacing: -5px;
}

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

.evt-hero h2 {
    margin: 22px 0 0;

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

    font-weight: 1000;
}

.evt-hero p {
    max-width: 620px;

    margin-top: 11px;

    color: #a0a9ae;

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

.evt-buttons {
    margin-top: 25px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* BUTTONS */

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

    padding: 0 20px;

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

    color: #fff;

    text-decoration: none;

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

    letter-spacing: .9px;

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

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

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

.evt-button-red {
    background: #e31932;
    border-color: #ed2940;
}

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

.evt-button-dark {
    background: #090c0f;
}


/* STRIP */

.evt-strip {
    background: #0d1013;

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

.evt-strip-grid {
    display: grid;

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

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

    padding: 18px 25px;

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

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

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

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

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

    color: #68737a;

    font-size: 11px;
}


/* SECTIONS */

.evt-section {
    padding: 85px 0;

    background: #080b0e;
}

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

.evt-heading {
    margin-bottom: 32px;

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

    gap: 40px;
}

.evt-heading h2,
.evt-centred-heading h2 {
    margin: 6px 0 0;

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

    font-weight: 1000;

    line-height: .9;
}

.evt-heading > p {
    max-width: 470px;

    margin: 0;

    color: #79848b;

    line-height: 1.6;
}


/* FEATURED EVENT */

.evt-featured {
    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    min-height: 500px;

    background: #0d1114;

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

.evt-featured-image {
    position: relative;

    min-height: 500px;

    background:
        url("/assets/game-wardogs.jpg")
        center / cover no-repeat;
}

.evt-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(3,5,7,.10),
            rgba(3,5,7,.18) 45%,
            rgba(3,5,7,.96)
        );
}

.evt-featured-badge {
    position: absolute;

    top: 20px;
    left: 20px;

    padding: 8px 10px;

    color: #fff;

    background: #e31932;

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

    letter-spacing: 1.3px;
}

.evt-featured-title {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 27px;
}

.evt-featured-title span {
    color: #e31932;

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

    letter-spacing: 2px;
}

.evt-featured-title h3 {
    margin: 5px 0 0;

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

    font-weight: 1000;

    line-height: .9;
}

.evt-featured-info {
    padding: 40px;

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

.evt-featured-info > h3 {
    margin: 8px 0;

    font-size:
        clamp(31px, 3vw, 48px);

    font-weight: 1000;

    line-height: .92;
}

.evt-featured-info > h3 strong {
    color: #e31932;
}

.evt-featured-info > p {
    color: #879198;

    line-height: 1.7;
}

.evt-info-grid {
    margin: 24px 0;

    display: grid;

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

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

.evt-info-grid > div {
    min-height: 72px;

    padding: 13px;

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

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

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

.evt-info-grid > div:nth-child(2n) {
    border-right: 0;
}

.evt-info-grid span {
    color: #5f6a71;

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

    letter-spacing: 1.2px;
}

.evt-info-grid strong {
    margin-top: 5px;

    font-size: 11px;
}

.evt-featured-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


/* EVENT TYPES */

.evt-centred-heading {
    margin-bottom: 35px;

    text-align: center;
}

.evt-type-grid {
    display: grid;

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

    gap: 12px;
}

.evt-type-card {
    min-height: 280px;

    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;
}

.evt-type-card:hover {
    transform: translateY(-4px);

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

.evt-type-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;
}

.evt-type-card:hover::after {
    transform: scaleX(1);
}

.evt-number {
    color: #5d676e;

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

    letter-spacing: 2px;
}

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

    color: #e31932;

    font-size: 26px;
}

.evt-type-card h3 {
    margin: 18px 0 9px;

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

.evt-type-card p {
    margin: 0;

    color: #778289;

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


/* STEPS */

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

.evt-step {
    min-height: 140px;

    display: grid;

    grid-template-columns:
        90px 1fr;

    align-items: center;

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

.evt-step > strong {
    color: #e31932;

    font-size: 13px;
}

.evt-step section {
    display: grid;

    grid-template-columns:
        90px 280px 1fr;

    align-items: center;

    gap: 25px;
}

.evt-step section > span {
    color: #5d686f;

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

    letter-spacing: 1.5px;
}

.evt-step h3 {
    margin: 0;

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

.evt-step p {
    max-width: 570px;

    margin: 0;

    color: #778289;

    line-height: 1.6;
}


/* DISCORD CTA */

.evt-discord {
    padding: 70px 0;

    background:
        radial-gradient(
            circle at 78% 40%,
            rgba(227,25,50,.23),
            transparent 31%
        ),
        #0c1013;

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

.evt-discord-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.evt-discord h2 {
    margin: 7px 0;

    font-size:
        clamp(38px, 5vw, 68px);

    font-weight: 1000;

    line-height: .88;
}

.evt-discord h2 strong {
    color: #e31932;
}

.evt-discord p {
    max-width: 600px;

    color: #7b858c;

    line-height: 1.6;
}


/* FOOTER */

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

    background: #030506;
}

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

    gap: 30px;
}

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

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

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

    font-size: 11px;
}

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

    gap: 23px;
}

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

    text-decoration: none;

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

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

.evt-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) {

    .evt-featured {
        grid-template-columns: 1fr;
    }

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

}


@media (max-width: 800px) {

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

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

    .evt-step section {
        grid-template-columns: 1fr;

        gap: 7px;

        padding: 25px 0;
    }

}


@media (max-width: 600px) {

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

    .evt-strip-grid,
    .evt-type-grid,
    .evt-info-grid {
        grid-template-columns: 1fr;
    }

    .evt-heading,
    .evt-discord-inner,
    .evt-footer-grid {
        align-items: flex-start;

        flex-direction: column;
    }

    .evt-featured-info {
        padding: 25px;
    }

    .evt-info-grid > div {
        border-right: 0;
    }

    .evt-step {
        grid-template-columns:
            45px 1fr;
    }

    .evt-button {
        width: 100%;
    }

}


/* =========================================================
   EVENTS HERO - FINAL BACKGROUND FIX
   Remove old SQUAD artwork
   ========================================================= */

html body .evt-hero,
html body .events-hero,
html body section.evt-hero,
html body section.events-hero {
    position: relative !important;
    overflow: hidden !important;

    height: 430px !important;
    min-height: 430px !important;

    background: #05080b url("/assets/discord-background.png?v=11000")
                center center / contain no-repeat !important;
}

html body .evt-hero::before,
html body .evt-hero::after,
html body .events-hero::before,
html body .events-hero::after {
    background-image: none !important;
}

html body .evt-hero-overlay,
html body .events-hero-overlay {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;

    background:
        linear-gradient(
            90deg,
            rgba(3,7,10,.82) 0%,
            rgba(3,7,10,.40) 35%,
            rgba(3,7,10,.08) 65%,
            rgba(3,7,10,0) 100%
        ) !important;
}

html body .evt-hero-content,
html body .events-hero-content {
    position: relative !important;
    z-index: 5 !important;
}


/* ==========================================================
   RAMPAGE PUBLIC LIVE EVENTS
   ========================================================== */

#publicEventsList {
    display: grid;
    gap: 28px;
    margin-top: 6px;
}

.evt-live-card {
    display: grid;
    grid-template-columns: minmax(340px, 55%) 1fr;
    min-height: 420px;
    border: 1px solid rgba(255,255,255,.10);
    background: #090d10;
    overflow: hidden;
}

.evt-live-image {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: #050709;
}

.evt-live-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evt-live-image-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.08) 20%,
            rgba(0,0,0,.82) 100%
        );
}

.evt-live-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    padding: 9px 12px;
    background: #ed1b35;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.evt-live-image-title {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
}

.evt-live-image-title span {
    display: block;
    margin-bottom: 7px;
    color: #ed1b35;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.evt-live-image-title h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 44px);
    line-height: .98;
    text-transform: uppercase;
}

.evt-live-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 38px;
}

.evt-live-info > h3 {
    margin: 8px 0 18px;
    color: #fff;
    font-size: clamp(25px, 2.4vw, 38px);
    line-height: 1;
    text-transform: uppercase;
}

.evt-live-description {
    max-height: 185px;
    margin-bottom: 25px;
    overflow-y: auto;
    white-space: pre-line;
    color: #9ba8b3;
    font-size: 13px;
    line-height: 1.7;
    padding-right: 8px;
}

.evt-live-description::-webkit-scrollbar {
    width: 5px;
}

.evt-live-description::-webkit-scrollbar-thumb {
    background: #ed1b35;
}

.evt-live-info .evt-info-grid {
    grid-template-columns: repeat(2, 1fr);
}

.evt-live-loading,
.evt-live-empty {
    border: 1px solid rgba(255,255,255,.10);
    background: #090d10;
    padding: 55px 30px;
    text-align: center;
    color: #8f9aa3;
}

.evt-live-empty span {
    display: block;
    margin-bottom: 8px;
    color: #ed1b35;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
}

.evt-live-empty h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 28px;
}

.evt-live-empty p {
    margin: 0 auto 24px;
    max-width: 560px;
}

@media (max-width: 900px) {
    .evt-live-card {
        grid-template-columns: 1fr;
    }

    .evt-live-image {
        min-height: 360px;
    }

    .evt-live-info {
        padding: 28px 22px;
    }
}

@media (max-width: 560px) {
    .evt-live-image {
        min-height: 300px;
    }

    .evt-live-info .evt-info-grid {
        grid-template-columns: 1fr;
    }
}

