* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
}

p, a, span {
    font-family: 'EB Garamond', serif;
}

:root {
    --primary: #152a5f;
    --gold: #dfb345;
}

.btn {
    display: block;
    width: fit-content;
    padding: 10px 50px;
    margin: 50px auto 0;
    font-size: 20px;
    background-color: var(--gold);
    color: #fff;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    position: relative
}

.btn::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid var(--gold);
    transition: linear .1s;
}

.roadmap-btn {
    display: block;
    padding: 10px 50px;
    width: 100%;
    text-align: center;
    margin: 25px auto 0;
    font-size: 18px;
    background-color: var(--gold);
    color: #fff;
    font-family: 'Cinzel', serif;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

/*.roadmap-btn:after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid var(--gold);
    transition: linear .1s;
}*/

.newsletter .btn:hover::after {
    left: -13px;
    top: -13px;
    width: calc(100% + 26px);
    height: calc(100% + 26px);
}

.divider {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    width: 300px;
    z-index: 0;
}

.newsletter .divider {
    top: -1px;
}

.nav .divider {
    width: 200px;
    top: 0px;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: 0;
}

/*--------------------------
NAV
--------------------------*/
.nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    z-index: 10;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--gold);
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(3px);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 99%);
    display: flex;
    justify-content: center;
}

.nav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    margin: 0 10px;
    padding: 7px 10px;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    transition: linear .1s;
    position: relative;
    z-index: 1;
}

.nav a:hover {
    color: var(--gold);
}

.nav-diamond {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 25px;
    background-color: var(--gold);
    z-index: 11;
}

/*--------------------------
HERO SECTION
--------------------------*/

.hero {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.1)), url('/assets/valley.webp');
    background-size: cover;
    background-position: center;
    text-align: center;
    height: 100vh;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero img {
    width: 800px;
    margin: 50px auto 0;
}

.hero h1 {
    color: #fff;
    font-size: 80px;
    margin: 0;
}

.hero p {
    color: #fff;
    font-size: 32px;
    margin: 0 0 50px;
}

.hero a {
    background-color: transparent;
    padding: 14px 30px;
    display: block;
    height: 70px;
    width: 280px;
    margin: 0 auto;
    transition: linear .1s;
    font-size: 30px;
}

.hero a::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: transparent;
    border: none;
    background-image: url(/crucible/assets/elements/Button_03.svg);
    background-size: cover;
    background-repeat: no-repeat;
}

.hero a:hover {
    transform: scale(1.05)
}

/*--------------------------
REVIVE SECTION
--------------------------*/
.revive {
    height: 100vh;
    background-image: url(/assets/white-blade.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--gold);
}

html .revive-content {
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    text-align: left;
    width: 50%;
    z-index: 1;
}

.revive-content h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.revive-content p {
    font-size: 24px;
    margin: 0 0 50px;
}

.bird {
    position: absolute;
    top: 0;
    right: -10%;
    height: 100%;
    z-index: 0;
}

/*--------------------------
LORE SECTION
--------------------------*/
.lore {
    padding: 150px 0 225px;
    position: relative;
}

.diamond {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 25px;
    height: 25px;
    border: 1px solid var(--gold);
    background-color: var(--gold);
    z-index: 0;
}

.lore-content {
    padding: 100px;
    text-align: left;
    border: 1px solid #000;
    position: relative;
}

.scroll {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    background-color: #fff;
    padding: 10px;
}

.lore-content h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.lore-content p {
    font-size: 24px;
    margin: 0 0 20px;
}

.lore-accent {
    position: absolute;
    bottom: -85%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    opacity: .25;
    animation: spinning 90s linear infinite;
}

.lore-accent-one, .lore-accent-two {
    position: absolute;
    width: 200px;
}

.lore-accent-one {
    top: -24px;
    left: -24px;
    transform: rotate(90deg);
}

.lore-accent-two {
    bottom: -24px;
    right: -24px;
    transform: rotate(270deg);
}

@keyframes spinning {
  from {
    transform: translateX(-50%) rotate(0deg);
  }
  to {
    transform: translateX(-50%) rotate(360deg) ;
  }
}
/*--------------------------
ROADMAP SECTION
--------------------------*/
.roadmap {
    padding: 150px 0;
    background: #000;
    position: relative;
}

.roadmap-content {
    text-align: center;
}

.roadmap h2 {
    text-align: center;
    font-size: 48px;
    margin: 0 0 5px;
    color: var(--gold);
}

.roadmap-content p {
    font-size: 24px;
    margin: 0 0 50px;
    text-align: center;
    color: #fff;
}

.card-item {
    text-align: left;
    padding: 20px 20px 0;
    height: 100%;
    border: 1px solid var(--gold);
    margin: 20px 5px;
    position: relative;
    overflow: hidden;
}

.card-item:hover .roadmap-btn {
    bottom: 10px;
}

.card-item h3 {
    font-size: 24px;
    margin: 0 0 20px;
    padding-bottom: 20px;
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.roadmap .col-lg-6, .roadmap .col-lg-4 {
    margin-bottom: 30px;
}

.card-item p {
    font-size: 22px;
    margin: 0;
    color: #fff;
}

.road-img {
    width: 100%;
    margin: 0 0 20px;
    height: 275px;
    /* aspect-ratio: 2 / 3; */
    object-fit: cover;
}

.mini-divider {
    display: none;
    position: absolute;
    bottom: -217px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.roadmap-badge {
    font-size: 15px;
    padding: 5px 15px 4px;
    border: 2px dashed var(--gold);
    color: #fff;
    text-transform: uppercase;
    font-family: 'Cinzel', serif;
    letter-spacing: .5px;
    display: block;
    width: 100%;
    text-align: center;
}

/*--------------------------
GAME SECTION
--------------------------*/
.game {
    padding: 150px 0;
    background-image: url(/assets/gameside.webp);
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    position: relative;
}

.game h2 {
    text-align: left;
    font-size: 48px;
    margin: 0 0 25px;
    color: #000;
}

.game p {
    font-size: 20px;
    margin: 0 0 20px;
    text-align: left;
    color: #000;
}

.game img {
    width: 100%;
    margin: 0 0 20px
}

/*--------------------------
DISCORD SECTION
--------------------------*/
.newsletter {
    padding: 100px 0;
    position: relative;
    border-top: 2px solid var(--gold);
}

.newsletter-content {
    text-align: center;
}   

.newsletter h2 {
    font-size: 48px;
    margin: 0 0 20px;
}

.newsletter p {
    font-size: 24px;
    margin: 0 0 20px;
    width: 75%;
    margin: 0 auto;
}

form {
    margin: auto;
    font-size: 18px;
}

form input {
    font-size: 18px !important;
}

form span {
    font-family: 'Cinzel', serif;
    font-size: 18px;
}

/*--------------------------
Footer
--------------------------*/

.footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer p {
    font-size: 16px;
    letter-spacing: 1px;
}

.mobile-nav {
    display: none;
}

/*--------------------------
MOBILE
--------------------------*/
@media(max-width: 1400px) {
    .mini-divider {
        bottom: -260px;
    }
}

@media(max-width: 1200px) {
    .mini-divider {
        bottom: -160px;
    }
}

@media(max-width: 1024px) {
    .mini-divider {
        display: none;
    }
}


@media(max-width: 768px) {
    
    .mobile-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px 15px;
        z-index: 999;
        background: #000;
        border-bottom: 1px solid var(--gold);
    }
    .mobile-nav i {
        color: #fff;
        font-size: 30px;;
    }
    .mobile-nav p {
        color: #fff;
        font-family: 'Cinzel';
        font-weight: 600;
        font-size: 25px;
        margin: 0;
    }
    #mobile-menu {
        fill: #fff;
        color: #fff;
        width: 35px;
        stroke: #fff;
    }
    .nav {
        top: -100%;
        left: 0;
        transform: none;
        width: 100%;
        clip-path: none;
        max-width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        background: rgba(0, 0, 0, .9);
        padding: 20px 15px 20px;
        transition: linear .3s;
        border-bottom: 1px solid var(--gold);
    }
    .nav-auth {
        margin: 30px auto;
        width: 100%;
        justify-content: center;
        padding: 10px;
    }
    .menu-slide {
        top: 55px;
    }
    .nav a {
        width: 100%;
        text-align: left;
        margin: 10px 0;
    }
    .nav-auth {
        margin: 30px auto 0;
        margin-left: auto !important;
    }
    .hero {
        height: 100%;
        padding: 125px 0;
    }
    .hero-content {
        position: static;
        transform: none;
        width: 100%;
        padding: 0 20px;
    }
    .hero img {
        width: 100%;
        margin: 20px auto 0;
    }
    .hero h1 {
        font-size: 36px;
        line-height: 1.1;
        margin-bottom: 20px;
    }
    .hero p {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .hero a {
        display: block;
        margin: 0 auto;
        font-size: 24px;
        height: 50px;
        width: 200px;
        padding: 10px;
    }
    .bird {
        right: -20%;
    }
    .revive {
        height: auto;
        padding: 50px 0;
    }
    .revive h2 {
        font-size: 32px;
        line-height: 1.1;
    }
    .revive-content p {
        margin-bottom: 0;
        font-size: 20px;
    }
    .roadmap-content p {
        font-size: 20px;
        margin: 0 0 25px;
    }
    html .revive-content {
        position: static;
        transform: none;
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }
    .revive {
        background-image: none;
    }
    .card-item {
        width: 100%;
        margin: 0 auto 30px;
    }
    .card-item img {
        width: 100%;
    }
    .lore {
        padding: 50px 0;
    }
    .lore-content {
        padding: 20px;
    }
    .lore h2 {
        font-size: 32px;
        line-height: 1.1;
    }
    .lore-content p {
        font-size: 18px;
    }
    .scroll {
        width: 50px;
        padding: 5px;
        bottom: -25px;
    }
    .roadmap {
        padding: 50px 0;
    }
    .card-item p {
        font-size: 18px;
    }
    .roadmap h2 {
        font-size: 32px;
        line-height: 1.1;
    }
    .game {
        padding: 50px 0;
        background-image: none;
    }
    .game h2 {
        font-size: 32px;
        line-height: 1.1;
    }
    .game p {
        font-size: 20px; 
    }
    .newsletter {
        padding: 50px 0;
    }
    .newsletter h2 {
        font-size: 32px;
        line-height: 1.1;   
    }
    .newsletter p {
        font-size: 18px;
        width: 100%;
    }
    .lore-accent {
        display: none;
    }
    p {
        font-size: 16px;
    }
    .footer {
        flex-wrap: wrap;
    }
    .footer p {
        margin: 0;
    }
    .card-item h3 {
        flex-wrap: wrap;
    }
    .roadmap-btn {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 30px auto 0;
        transform: none;
    }
    .lore-accent-one, .lore-accent-two {
        width: 100px;
    }
    .lore-accent-one {
        top: -12px;
        left: -12px;
    }
    .lore-accent-two {
        bottom: -12px;
        right: -12px;
    }
}