/* =========================================================
   LOONG WAR 2
   MAIN STYLESHEET
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #080909;

    color: #d7cfbd;

    font-family: Georgia, "Times New Roman", serif;

    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1350px;

    margin: 0 auto;

    padding-left: 35px;
    padding-right: 35px;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    height: 82px;

    position: relative;
    z-index: 100;

    background: #070808;

    border-bottom: 1px solid #59431f;
}

.header-inner {
    width: 100%;
    max-width: 1500px;
    height: 82px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;
    align-items: center;
}


/* HEADER LOGO */

.header-logo {
    width: 165px;
    height: 72px;

    flex: 0 0 165px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 45px;

    overflow: hidden;
}

.header-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* NAVIGATION */

.navigation {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 34px;
}

.navigation a {
    padding: 31px 0 27px;

    position: relative;

    color: #d3c8ad;

    font-family: Arial, sans-serif;

    font-size: 12px;

    text-transform: uppercase;

    white-space: nowrap;

    transition: color 0.25s;
}

.navigation a:hover,
.navigation a.active {
    color: #d23a2d;
}

.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #b42b22;
}


/* REGISTER BUTTON */

.header-register {
    margin-left: 30px;

    padding: 13px 26px;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 12px;

    text-transform: uppercase;

    white-space: nowrap;

    border: 1px solid #96372c;

    background:
        linear-gradient(
            #8e261f,
            #4d0e0a
        );

    transition: 0.25s;
}

.header-register:hover {
    background:
        linear-gradient(
            #a93228,
            #64140e
        );
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 700px;

    position: relative;

    overflow: hidden;

    background-image:
        url("../images/war2/hero-bg.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}


/* DARK OVERLAY */

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 5, 5, 0.90) 0%,
            rgba(4, 5, 5, 0.68) 32%,
            rgba(4, 5, 5, 0.20) 62%,
            rgba(4, 5, 5, 0.35) 100%
        );
}


/* HERO INNER */

.hero-inner {
    width: 100%;
    max-width: 1400px;

    min-height: 700px;

    margin: 0 auto;

    padding: 0 50px;

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
}


/* HERO CONTENT */

.hero-content {
    width: 650px;

    position: relative;
    z-index: 5;
}


/* SMALL HERO TEXT */

.hero-small {
    margin-bottom: 2px;

    color: #e3c57d;

    font-family:
        "Times New Roman",
        Georgia,
        serif;

    font-size: 17px;

    font-weight: normal;

    font-style: italic;

    letter-spacing: 3px;

    text-transform: uppercase;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.95);
}


/* BIG HERO LOGO */

.hero-logo {
    width: 590px;
    height: 300px;

    max-width: none;

    margin-top: -5px;
    margin-left: -35px;
    margin-bottom: -5px;

    object-fit: contain;

    object-position: left center;
}


/* GOLD LINE */

.hero-line {
    width: 480px;
    height: 1px;

    margin-bottom: 27px;

    background:
        linear-gradient(
            90deg,
            #a97c32,
            rgba(169, 124, 50, 0)
        );
}


/* HERO TITLE */

.hero-title {
    color: #dfc37d;

    font-size: 36px;

    font-weight: normal;

    letter-spacing: 1px;
}


/* HERO DESCRIPTION */

.hero-description {
    margin-top: 13px;

    color: #d2c7ad;

    font-family: Arial, sans-serif;

    font-size: 13px;

    letter-spacing: 0.3px;
}


/* HERO BUTTONS */

.hero-buttons {
    margin-top: 37px;

    display: flex;

    gap: 20px;
}

.hero-button {
    width: 225px;
    height: 82px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background 0.25s;
}

.hero-button strong {
    font-size: 18px;
}

.hero-button span {
    margin-top: 5px;

    font-family: Arial, sans-serif;

    font-size: 11px;
}

.hero-button-main {
    color: #ffffff;

    border: 1px solid #c49235;

    background:
        linear-gradient(
            #a72b21,
            #650f0b
        );

    box-shadow:
        0 0 25px rgba(171, 43, 27, 0.25);
}

.hero-button-main:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(189, 51, 30, 0.55);
}

.hero-button-dark {
    color: #e3ce9c;

    border: 1px solid #756033;

    background:
        rgba(8, 9, 9, 0.94);
}

.hero-button-dark:hover {
    transform: translateY(-3px);

    background: #1b1710;
}


/* =========================================================
   SERVER STATUS
========================================================= */

.server-status {
    width: 315px;

    position: absolute;

    right: 50px;
    top: 170px;

    z-index: 6;

    padding: 25px;

    background:
        rgba(5, 7, 7, 0.94);

    border: 1px solid #806029;

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.7);
}

.status-title {
    text-align: center;

    color: #b99b60;

    font-size: 11px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.server-online {
    padding: 19px 0;

    text-align: center;

    color: #eadbb8;

    font-size: 21px;

    border-bottom: 1px solid #332d21;
}

.online-dot {
    width: 9px;
    height: 9px;

    display: inline-block;

    margin-right: 10px;

    border-radius: 50%;

    background: #40e34c;

    box-shadow:
        0 0 12px #40e34c;
}

.server-row {
    min-height: 57px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #2b2821;

    color: #a9a49a;

    font-family: Arial, sans-serif;

    font-size: 12px;
}

.server-row strong {
    color: #dec887;
}

.online-number {
    color: #49df4c !important;

    font-size: 21px;
}


/* =========================================================
   SECTION TITLES
========================================================= */

.section-title {
    text-align: center;

    color: #d9c495;

    font-size: 30px;

    font-weight: normal;
}

.section-line {
    width: 400px;
    max-width: 80%;

    height: 1px;

    margin: 12px auto 40px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #9b7533,
            transparent
        );
}


/* =========================================================
   START YOUR JOURNEY
========================================================= */

.start-section {
    padding: 60px 0;

    background: #0b0c0c;

    border-top: 1px solid #342a1c;

    border-bottom: 1px solid #342a1c;
}

.steps {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);
}

.step {
    padding: 20px 45px;

    text-align: center;

    border-right: 1px solid #3a3224;
}

.step:last-child {
    border-right: none;
}

.step-number {
    color: #b78b3f;

    font-size: 43px;
}

.step h3 {
    margin-bottom: 10px;

    color: #d2b66f;

    font-size: 18px;
}

.step p {
    min-height: 52px;

    color: #aaa49a;

    font-family: Arial, sans-serif;

    font-size: 12px;

    line-height: 1.6;
}

.step a {
    display: inline-block;

    margin-top: 20px;

    padding: 9px 30px;

    color: #dac797;

    font-family: Arial, sans-serif;

    font-size: 11px;

    border: 1px solid #745d31;

    transition: 0.25s;
}

.step a:hover {
    color: #ffffff;

    background: #751c15;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.main-content {
    padding: 60px 0;

    background:
        linear-gradient(
            #0d0e0e,
            #080909
        );
}

.content-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;
}

.content-card {
    min-width: 0;

    padding: 25px;

    background:
        rgba(12, 13, 13, 0.97);

    border: 1px solid #554321;
}

.card-heading {
    margin-bottom: 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.card-heading h2 {
    color: #d7c18d;

    font-size: 21px;

    font-weight: normal;
}

.card-heading a {
    color: #ad4030;

    font-family: Arial, sans-serif;

    font-size: 10px;

    text-transform: uppercase;

    transition: color 0.2s;
}

.card-heading a:hover {
    color: #d4604d;
}


/* =========================================================
   NEWS
========================================================= */

.news-item {
    display: flex;

    gap: 15px;

    margin-bottom: 22px;
}

.news-item:last-child {
    margin-bottom: 0;
}

.news-item img {
    width: 105px;
    height: 75px;

    flex: 0 0 105px;

    object-fit: cover;

    border: 1px solid #624e28;
}

.news-item h3 {
    margin-bottom: 4px;

    color: #caa960;

    font-size: 14px;
}

.news-item p {
    margin-bottom: 3px;

    color: #aaa49a;

    font-family: Arial, sans-serif;

    font-size: 11px;

    line-height: 1.45;
}

.news-item time {
    color: #706d66;

    font-family: Arial, sans-serif;

    font-size: 10px;
}


/* =========================================================
   RATING
========================================================= */

.rating-row {
    min-height: 48px;

    padding: 0 13px;

    display: grid;

    grid-template-columns:
        40px 1fr 70px;

    align-items: center;

    border-bottom: 1px solid #332d21;

    font-family: Arial, sans-serif;

    font-size: 12px;
}

.rating-head {
    min-height: 40px;

    color: #8e7a52;

    font-size: 10px;

    text-transform: uppercase;
}

.rating-row strong {
    color: #ceb478;
}

.rating-first {
    background:
        rgba(135, 94, 29, 0.14);
}


/* =========================================================
   WHY WAR 2
========================================================= */

.feature {
    display: flex;

    gap: 17px;

    margin-bottom: 25px;
}

.feature:last-child {
    margin-bottom: 0;
}

.feature-icon {
    width: 40px;

    flex: 0 0 40px;

    color: #c49337;

    font-size: 27px;

    text-align: center;
}

.feature h3 {
    margin-bottom: 3px;

    color: #c8a861;

    font-size: 14px;
}

.feature p {
    color: #99948b;

    font-family: Arial, sans-serif;

    font-size: 11px;

    line-height: 1.5;
}


/* =========================================================
   CLASSES
========================================================= */

.classes-section {
    min-height: 430px;

    position: relative;

    padding: 58px 0;

    background-image:
        url("../images/war2/classes-bg.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;
}

.classes-overlay {
    position: absolute;

    inset: 0;

    background:
        rgba(4, 5, 5, 0.70);
}

.classes-content {
    position: relative;

    z-index: 2;

    text-align: center;
}

.classes-content h2 {
    color: #dfca9c;

    font-size: 36px;

    font-weight: normal;
}

.classes-subtitle {
    margin-top: 5px;

    margin-bottom: 38px;

    color: #c29446;

    font-family: Arial, sans-serif;

    font-size: 12px;

    letter-spacing: 4px;
}

.classes-grid {
    display: grid;

    grid-template-columns:
        repeat(8, minmax(0, 1fr));
}

.class-item {
    min-height: 105px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-right:
        1px solid rgba(165, 125, 54, 0.24);
}

.class-item:last-child {
    border-right: none;
}

.class-icon {
    min-height: 40px;

    margin-bottom: 10px;

    display: flex;

    align-items: center;

    color: #d5a139;

    font-size: 34px;

    line-height: 1;
}

.class-item strong {
    color: #dfbd70;

    font-size: 13px;

    font-weight: normal;
}

.classes-button {
    display: inline-block;

    margin-top: 35px;

    padding: 12px 34px;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 11px;

    border: 1px solid #9a3b2d;

    background:
        linear-gradient(
            #96271f,
            #510d09
        );

    transition: 0.25s;
}

.classes-button:hover {
    background:
        linear-gradient(
            #b33327,
            #69140e
        );
}


/* =========================================================
   FOOTER
   COMPACT VERSION
========================================================= */

.footer {
    background: #070808;

    border-top: 1px solid #46371c;
}

.footer-grid {
    padding-top: 20px;
    padding-bottom: 20px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 32px;

    align-items: center;
}


/* FOOTER LOGO */

.footer-brand img {
    width: 155px;
    height: 70px;

    margin-bottom: 4px;

    object-fit: contain;

    object-position: left center;
}

.footer-brand p,
.footer-column p {
    margin-bottom: 4px;

    color: #89847a;

    font-family: Arial, sans-serif;

    font-size: 11px;

    line-height: 1.4;
}


/* FOOTER COLUMNS */

.footer-column h3 {
    margin-bottom: 10px;

    color: #c0a267;

    font-size: 15px;
}

.footer-column a {
    display: block;

    margin-bottom: 6px;

    color: #89847a;

    font-family: Arial, sans-serif;

    font-size: 11px;

    transition: color 0.2s;
}

.footer-column a:hover {
    color: #c8aa6c;
}


/* COPYRIGHT */

.footer-bottom {
    padding: 9px 30px;

    text-align: center;

    color: #5d5a54;

    font-family: Arial, sans-serif;

    font-size: 9px;

    border-top: 1px solid #24221d;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1150px) {

    .navigation {
        gap: 18px;
    }

    .navigation a {
        font-size: 10px;
    }

    .hero-content {
        width: 560px;
    }

    .hero-logo {
        width: 520px;
    }

    .server-status {
        right: 30px;

        width: 285px;
    }

    .content-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .content-card:last-child {
        grid-column:
            1 / -1;
    }

    .classes-grid {
        grid-template-columns:
            repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            1.5fr 1fr 1fr 1fr;

        gap: 20px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .header {
        height: auto;
    }

    .header-inner {
        min-height: 75px;

        height: auto;

        padding: 8px 20px;
    }

    .header-logo {
        width: 140px;

        flex-basis: 140px;

        margin-right: auto;
    }

    .navigation {
        display: none;
    }

    .header-register {
        margin-left: 15px;
    }

    .hero {
        min-height: 950px;

        background-position:
            65% center;
    }

    .hero-inner {
        min-height: 950px;

        padding: 50px 25px;

        display: block;
    }

    .hero-content {
        width: 100%;
    }

    .hero-small {
        font-size: 14px;

        letter-spacing: 2px;
    }

    .hero-logo {
        width: 470px;
        height: 250px;

        max-width: 95%;

        margin-left: -20px;
    }

    .hero-title {
        font-size: 29px;
    }

    .server-status {
        top: auto;

        bottom: 45px;

        left: 25px;
        right: 25px;

        width: auto;
    }

    .steps {
        grid-template-columns:
            1fr;
    }

    .step {
        border-right: none;

        border-bottom:
            1px solid #3a3224;
    }

    .step:last-child {
        border-bottom: none;
    }

    .content-grid {
        grid-template-columns:
            1fr;
    }

    .content-card:last-child {
        grid-column: auto;
    }

    .classes-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .class-item {
        border-bottom:
            1px solid rgba(165, 125, 54, 0.16);
    }

    .class-item:nth-child(even) {
        border-right: none;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 25px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 550px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-register {
        padding: 11px 15px;

        font-size: 10px;
    }

    .hero-small {
        font-size: 12px;

        letter-spacing: 1.5px;
    }

    .hero-logo {
        width: 400px;

        max-width: 100%;

        margin-left: -15px;
    }

    .hero-title {
        font-size: 25px;
    }

    .hero-description {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-button {
        width: 100%;

        max-width: 320px;
    }

    .classes-content h2 {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns:
            1fr;

        gap: 18px;
    }

    .footer-brand img {
        width: 140px;
    }
}