/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        linear-gradient(
            rgba(5, 4, 3, 0.20),
            rgba(5, 4, 3, 0.25)
        ),
        url("../images/everforge-forge.png")
        center top / cover
        fixed
        no-repeat;

    color: #eee9e1;

    font-family: 'Oswald', sans-serif;

    overflow-x: hidden;
}

a {
    transition: 0.3s ease;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(8, 7, 6, 0.94);

    border-bottom: 1px solid #3b2a1e;

    z-index: 1000;
}

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    color: #f1ebe3;

    text-decoration: none;

    font-family: 'Cinzel', serif;

    font-size: 23px;

    font-weight: 900;

    letter-spacing: 4px;
}

.brand img {
    width: 60px;

    height: 60px;

    object-fit: contain;
}

.brand:hover {
    color: #ff6500;
}

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;

    margin: 0;

    padding: 0;

    list-style: none;
}

.nav-links a {
    color: #c5bbaa;

    text-decoration: none;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;
}

.nav-links a:hover,
.nav-links a.is-active {
    color: #ff6500;
}

.menu-toggle {
    display: none;

    border: none;

    background: none;

    color: #ff6500;

    font-size: 28px;

    cursor: pointer;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    padding: 150px 8vw 100px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(4, 3, 2, 0.65),
            rgba(4, 3, 2, 0.20),
            rgba(4, 3, 2, 0.35)
        );
}

.hero::after {
    content: "";

    position: absolute;

    right: -200px;

    top: 15%;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 101, 0, 0.12),
            transparent 65%
        );

    pointer-events: none;
}

.hero-vertical {
    position: absolute;

    left: 20px;

    top: 50%;

    transform:
        translateY(-50%)
        rotate(-90deg);

    color: #665348;

    font-family: 'Cinzel', serif;

    font-size: 9px;

    letter-spacing: 5px;
}

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;
}

.hero-kicker {
    margin: 0 0 30px;

    color: #ff6500;

    font-size: 10px;

    letter-spacing: 4px;
}

.hero h1 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(75px, 11vw, 155px);

    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -5px;
}

.hero h1 span {
    color: #ff6500;
}

.hero-rule {
    width: 250px;

    height: 2px;

    margin: 45px 0 25px;

    background:
        linear-gradient(
            90deg,
            #ff6500,
            transparent
        );
}

.hero-copy {
    margin: 0 0 35px;

    color: #d0c5bb;

    font-family: 'Cinzel', serif;

    font-size: 19px;

    font-weight: 700;

    letter-spacing: 4px;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}


/* =========================================================
   PLAY SHIELD
========================================================= */

.shield-button {
    display: inline-block;

    width: 260px;

    text-decoration: none;

    transition:
        transform 0.3s ease;
}

.shield-button img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;
}

.shield-button:hover {
    transform:
        translateY(-5px)
        scale(1.03);
}


/* =========================================================
   STANDARD BUTTONS
========================================================= */

.main-button,
.secondary-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 17px 28px;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}

.secondary-button {
    border: 1px solid #806b5d;

    color: #eee6df;

    background: rgba(5, 4, 3, 0.55);
}

.secondary-button:hover {
    border-color: #ff6500;

    color: #ff6500;

    transform: translateY(-3px);
}


/* =========================================================
   FORGED NAVIGATION STRIP
========================================================= */

.impact-strip {
    position: relative;

    width: 100%;

    min-height: 125px;

    padding: 8px 4vw;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    align-items: center;

    gap: 8px;

    background:
        rgba(5, 4, 3, 0.90);

    border-top:
        1px solid
        #3a2519;

    border-bottom:
        1px solid
        #3a2519;

    overflow: hidden;

    z-index: 50;
}


/* =========================================================
   FORGED NAV BUTTON
========================================================= */

.forged-nav {
    position: relative;

    width: 100%;

    height: 110px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


/* =========================================================
   FORGED BUTTON IMAGE
========================================================= */

.nav-button-image {
    display: block;

    width: 100%;

    max-width: 230px;

    height: 105px;

    object-fit: contain;

    pointer-events: none;

    user-select: none;
}


/* =========================================================
   FORGED BUTTON HOVER
========================================================= */

.forged-nav:hover {
    transform:
        translateY(-4px)
        scale(1.04);

    filter:
        brightness(1.15)
        contrast(1.08);

}


/* =========================================================
   STATEMENT
========================================================= */

.statement {
    position: relative;

    min-height: 650px;

    padding: 140px 9vw;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 60px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 4, 3, 0.60),
            rgba(5, 4, 3, 0.20)
        );

    overflow: hidden;
}

.statement-left p {
    margin: 0;

    color: #a08f82;

    font-family: 'Cinzel', serif;

    font-size: 30px;

    letter-spacing: 2px;
}

.statement-left h2,
.statement-right h2 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(55px, 7vw, 105px);

    line-height: 0.85;
}

.statement-right {
    padding-left: 40px;

    border-left:
        1px solid
        rgba(255, 101, 0, 0.45);
}

.statement-right h2 span {
    color: #ff6500;
}

.statement-right p {
    max-width: 420px;

    margin: 35px 0 0;

    color: #b0a39a;

    font-size: 16px;

    line-height: 1.8;
}


/* =========================================================
   FORGED CONTENT
========================================================= */

.content-section {
    position: relative;

    padding: 140px 8vw;

    background: transparent;
}

.content-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 75px;
}

.content-header h2 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(50px, 7vw, 95px);

    line-height: 0.85;
}

.content-header h2 span {
    color: #ff6500;
}

.section-number {
    margin-bottom: 18px;

    color: #ff6500;

    font-size: 10px;

    letter-spacing: 4px;
}

.content-list {
    border-top:
        1px solid
        rgba(255, 101, 0, 0.45);

    background:
        rgba(5, 4, 3, 0.35);
}

.content-item {
    min-height: 150px;

    display: grid;

    grid-template-columns:
        minmax(300px, 2fr)
        minmax(200px, 1fr);

    align-items: center;

    gap: 30px;

    padding: 0 30px;

    border-bottom:
        1px solid
        rgba(255, 101, 0, 0.25);

    transition: 0.3s ease;
}

.content-item:hover {
    padding-left: 45px;

    background:
        rgba(255, 101, 0, 0.10);
}

.item-title {
    font-family: 'Cinzel', serif;

    font-size:
        clamp(24px, 3vw, 40px);

    font-weight: 800;

    color: #fff4eb;
}

.item-description {
    color: #d0c0b4;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   PLAY
========================================================= */

.play {
    position: relative;

    min-height: 600px;

    padding: 130px 8vw;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background: transparent;

    overflow: hidden;
}

.play-text {
    position: relative;

    z-index: 2;
}

.play-text h2 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(80px, 12vw, 160px);

    line-height: 0.8;
}

.play-text h2 span {
    color: #ff6500;
}

.play-text > p:last-child {
    margin-top: 30px;

    color: #d0c5bb;

    font-size: 17px;
}

.download-button {
    position: relative;

    z-index: 2;

    min-width: 280px;

    padding: 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    background: #ff6500;

    color: #110704;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.download-button:hover {
    background: #ff8333;

    transform: translateX(-8px);
}

.download-button span {
    font-size: 24px;
}


/* =========================================================
   HI-SCORES
========================================================= */

.hiscores {
    position: relative;

    padding: 150px 8vw;

    display: grid;

    grid-template-columns:
        0.8fr 1.2fr;

    align-items: center;

    gap: 100px;

    background:
        rgba(10, 9, 8, 0.55);
}

.hiscore-title h2 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(60px, 8vw, 105px);

    line-height: 0.85;
}

.hiscore-title h2 span {
    color: #ff6500;
}

.hiscore-title > p:last-child {
    max-width: 350px;

    margin-top: 30px;

    color: #d0c5bb;

    line-height: 1.7;
}

.ranking {
    border-top:
        2px solid
        #ff6500;

    background:
        rgba(5, 4, 3, 0.35);
}

.ranking-heading,
.ranking-row {
    display: grid;

    grid-template-columns:
        80px 1fr 100px;

    align-items: center;

    padding: 20px 15px;

    border-bottom:
        1px solid
        rgba(255, 101, 0, 0.25);
}

.ranking-heading {
    color: #ff6500;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 2px;
}

.ranking-row {
    min-height: 75px;

    color: #e0d5cc;

    font-size: 13px;
}

.ranking-row strong {
    color: #d39a56;

    font-family: 'Cinzel', serif;

    font-size: 18px;
}

.ranking-row b {
    color: #ff6500;

    text-align: right;
}

.ranking-link {
    display: block;

    padding: 20px 15px;

    color: #ff6500;

    text-decoration: none;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   COMMUNITY
========================================================= */

.community {
    position: relative;

    min-height: 650px;

    padding: 150px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background:
        rgba(8, 7, 6, 0.58);
}

.community h2 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size:
        clamp(70px, 11vw, 145px);

    line-height: 0.8;
}

.community h2 span {
    color: #ff6500;
}

.community-copy {
    margin: 35px 0;

    color: #d0c5bb;

    font-family: 'Cinzel', serif;

    font-size: 18px;
}

.community-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    justify-content: center;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 50px 8vw 30px;

    background:
        rgba(5, 4, 3, 0.90);
}

.footer-brand {
    color: #eee8e0;

    font-family: 'Cinzel', serif;

    font-size: 22px;

    font-weight: 900;

    letter-spacing: 3px;
}

.footer-links {
    display: flex;

    flex-wrap: wrap;

    gap: 14px 22px;

    margin-bottom: 8px;
}

.footer-links a {
    color: #c5bbaa;

    text-decoration: none;

    font-size: 11px;

    letter-spacing: 1.5px;
}

.footer-links a:hover {
    color: #ff6500;
}

.footer-line {
    height: 1px;

    margin: 30px 0;

    background:
        linear-gradient(
            90deg,
            #ff6500,
            #33271f,
            transparent
        );
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    color: #8c7768;

    font-size: 8px;

    letter-spacing: 2px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 45px;

    height: 45px;

    border: 1px solid #ff6500;

    background: #0d0805;

    color: #ff6500;

    cursor: pointer;

    opacity: 0;

    visibility: hidden;

    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;

    visibility: visible;
}

.back-to-top:hover {
    background: #ff6500;

    color: #100704;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .impact-strip {
        min-height: 180px;

        padding: 10px 3vw;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 5px;
    }

    .forged-nav {
        height: 95px;
    }

    .nav-button-image {
        max-width: 190px;

        height: 90px;
    }

    .impact-strip a:nth-child(4) {
        grid-column: 1 / 2;
    }

    .impact-strip a:nth-child(5) {
        grid-column: 2 / 3;
    }


    .statement {
        grid-template-columns: 1fr;

        padding-left: 12vw;

        padding-right: 12vw;
    }

    .statement-right {
        padding-left: 0;

        padding-top: 40px;

        border-left: none;

        border-top:
            1px solid
            rgba(255, 101, 0, 0.45);
    }


    .play {
        flex-direction: column;

        align-items: flex-start;
    }


    .hiscores {
        grid-template-columns: 1fr;

        gap: 60px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar {
        height: 72px;

        padding: 0 20px;
    }

    .brand {
        font-size: 16px;

        letter-spacing: 2px;
    }

    .brand img {
        width: 50px;

        height: 50px;
    }

    .nav-links {
        display: none;

        position: absolute;

        top: 72px;

        left: 0;

        right: 0;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: rgba(8, 7, 6, 0.97);

        border-bottom: 1px solid #3b2a1e;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;

        padding: 16px 24px;
    }

    .menu-toggle {
        display: block;
    }


    .hero {
        min-height: 850px;

        padding-left: 25px;

        padding-right: 25px;
    }

    .hero h1 {
        font-size: 65px;

        letter-spacing: -2px;
    }

    .hero-copy {
        font-size: 15px;

        letter-spacing: 2px;
    }

    .shield-button {
        width: 210px;
    }


    /* FORGED NAVIGATION */

    .impact-strip {
        min-height: 240px;

        padding: 8px;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 4px;
    }

    .forged-nav {
        height: 105px;
    }

    .nav-button-image {
        width: 100%;

        max-width: 180px;

        height: 95px;
    }

    .impact-strip a:nth-child(4),
    .impact-strip a:nth-child(5) {
        grid-column: auto;
    }


    .content-section,
    .hiscores {
        padding-left: 25px;

        padding-right: 25px;
    }


    .content-item {
        min-height: 120px;

        grid-template-columns: 1fr;

        gap: 8px;

        padding: 20px;
    }

    .content-item:hover {
        padding-left: 25px;
    }

    .item-title {
        font-size: 24px;
    }


    .ranking-heading,
    .ranking-row {
        grid-template-columns:
            55px 1fr 70px;

        padding-left: 10px;

        padding-right: 10px;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 15px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .impact-strip {
        min-height: 210px;
    }

    .forged-nav {
        height: 90px;
    }

    .nav-button-image {
        max-width: 155px;

        height: 82px;
    }

    .hero h1 {
        font-size: 55px;
    }

}


/* =========================================================
   INNER PAGES
========================================================= */

.inner-page .navbar {
    position: fixed;
}

.inner-main {
    padding: 140px 8vw 80px;
    min-height: 70vh;
}

.play-hero,
.vote-hero {
    max-width: 820px;
}

.play-hero h1,
.vote-hero h1 {
    margin: 0;

    font-family: 'Cinzel', serif;

    font-size: clamp(48px, 8vw, 92px);

    line-height: 0.85;
}

.play-hero h1 span,
.vote-hero h1 span {
    color: #ff6500;
}

.play-lead {
    max-width: 620px;

    margin: 28px 0 40px;

    color: #d0c5bb;

    font-size: 17px;

    line-height: 1.7;
}

.download-stack,
.play-extra {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 24px;
}

.download-stack .download-button {
    min-width: 320px;
}

.play-note {
    color: #8c7768;

    font-size: 13px;

    letter-spacing: 1px;
}

.vote-hero {
    max-width: 920px;
}

.vote-panel {
    position: relative;

    overflow: hidden;

    max-width: 720px;

    padding: 42px 36px 28px;

    border: 1px solid #6a3a16;

    background:
        radial-gradient(
            ellipse at top,
            rgba(255, 101, 0, 0.16),
            transparent 55%
        ),
        rgba(8, 6, 4, 0.78);

    box-shadow:
        0 0 40px rgba(255, 80, 0, 0.12),
        inset 0 0 40px rgba(0, 0, 0, 0.45);
}

.vote-panel-glow {
    position: absolute;

    left: 50%;

    bottom: -80px;

    width: 380px;

    height: 160px;

    transform: translateX(-50%);

    background: #ff5000;

    filter: blur(70px);

    opacity: 0.22;

    pointer-events: none;
}

.vote-kicker {
    display: block;

    margin-bottom: 22px;

    color: #ff6500;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}

.vote-sites {
    position: relative;

    z-index: 1;

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin-bottom: 22px;
}

.vote-site {
    display: grid;

    grid-template-columns: 52px 1fr auto;

    align-items: center;

    min-height: 64px;

    padding: 0 22px;

    border: 1px solid #5a3a22;

    background:
        linear-gradient(
            90deg,
            rgba(20, 12, 8, 0.92),
            rgba(10, 8, 6, 0.88)
        );

    color: #eee6df;

    text-decoration: none;

    font-family: 'Oswald', sans-serif;

    letter-spacing: 2px;

    transition: 0.25s ease;
}

.vote-site:hover {
    border-color: #ff6500;

    color: #fff;

    transform: translateX(6px);

    box-shadow:
        0 0 22px rgba(255, 101, 0, 0.28);
}

.vote-site-index {
    color: #ff6500;

    font-family: 'Cinzel', serif;

    font-size: 18px;

    font-weight: 800;
}

.vote-site-name {
    font-size: 15px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.vote-site-go {
    color: #ff8333;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;
}

.vote-site:hover .vote-site-go {
    color: #fff;
}

.vote-site.is-done,
.vote-site.is-done:hover {
    opacity: 0.55;

    cursor: default;

    transform: none;

    box-shadow: none;

    border-color: #3b2a1e;
}

.vote-site.is-done .vote-site-go {
    color: #8c7768;
}

.vote-as {
    position: relative;

    z-index: 1;

    margin: 8px 0 18px;

    color: #9a8b7c;

    font-size: 12px;

    letter-spacing: 2px;
}

.vote-as strong {
    color: #ff6500;

    font-family: 'Cinzel', serif;
}

.vote-reward {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 16px 10px 4px;

    border-top: 1px solid #3b2a1e;

    color: #d39a56;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

    text-align: center;
}

.vote-reward span {
    color: #ff6500;
}

.vote-form {
    position: relative;

    z-index: 1;
}

.vote-form label {
    display: block;

    margin-bottom: 10px;

    color: #ff6500;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}

.vote-form-row {
    display: flex;

    gap: 10px;

    flex-wrap: wrap;
}

.vote-form input {
    flex: 1;

    min-width: 220px;

    padding: 16px 18px;

    border: 1px solid #5a3a22;

    background: rgba(8, 7, 6, 0.92);

    color: #eee9e1;

    font-family: inherit;

    font-size: 15px;

    letter-spacing: 1px;
}

.vote-form input:focus {
    outline: none;

    border-color: #ff6500;

    box-shadow: 0 0 16px rgba(255, 101, 0, 0.25);
}

.vote-form button {
    padding: 16px 24px;

    border: 0;

    background: #ff6500;

    color: #110704;

    font-family: inherit;

    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;
}

.vote-form button:hover {
    background: #ff8333;
}

.vote-error {
    min-height: 1.2em;

    color: #ff8a5a;
}

@media (max-width: 1100px) {

    .nav-links {
        display: none;

        position: absolute;

        top: 82px;

        left: 0;

        right: 0;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: rgba(8, 7, 6, 0.97);

        border-bottom: 1px solid #3b2a1e;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;

        padding: 16px 24px;
    }

    .menu-toggle {
        display: block;
    }

}