@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Cormorant:wght@700&display=swap");

:root {
    --page-bg: #15213f;
    --text-main: #ffffff;
    --text-gold: #ffefc9;
    --text-muted: #ccd8ed;
    --line: rgba(255, 255, 255, 0.12);
    --shell: 1400px;
}

@font-face {
    font-family: "Intro Book";
    src: url("../fonts/intro/Intro-Regular.woff.html") format("woff");
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--page-bg);
    color: var(--text-main);
    font-family: "Cormorant Garamond", serif;
}

html,
body.slides-mode {
    min-height: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.home-page {
    background:
        url("../home-assets/bg.jpg") center top / cover no-repeat,
        var(--page-bg);
    min-height: 100vh;
}

.slides {
    min-height: 100vh;
}

.slide-screen {
    min-height: calc(100vh - 95px);
}

.shell {
    width: min(var(--shell), calc(100% - 64px));
    margin: 0 auto;
}

.site-header,
.news-screen,
.community-screen,
.site-footer {
    border-top: 1px solid transparent;
}

.site-header {
    height: auto;
    border-bottom: 1px solid var(--line);
}

.site-header .shell {
    width: calc(100% - 88px);
    max-width: none;
}

.header-inner {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 19px;
    padding-bottom: 19px;
}

.mini-logo {
    width: 84px;
    height: 84px;
    flex: 0 0 auto;
    margin-left: -18px;
    transform: translateY(3px);
    object-fit: contain;
    object-position: center;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(18, 30, 56, 0.84);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-gold);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;                 /* was 78px — too wide once separators were added */
    justify-content: flex-start;
    margin-right: auto;
    transform: translateX(20px); /* was 61px — reduced so it doesn't push into header-right */
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.main-nav a img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

/* === Header right-side layout === */
.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* === Nav separator dots === */
.nav-sep {
    width: auto;
    margin: 0;                 /* was 0 14px — gap on .main-nav already spaces things now */
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 760px) {
    .nav-sep {
        display: none;
    }
}

.main-nav {
    display: flex;
    align-items: center;
}

/* === Discord icon circle with decoration === */
.icon-circle {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle img:not(.icon-decoration) {
    width: 18px;
    height: 18px;
    z-index: 2;
    position: relative;
}

.icon-circle i {
    font-size: 18px;
    color: #fff;
    z-index: 2;
    position: relative;
    transition: transform 0.25s ease, color 0.25s ease;
}

.icon-decoration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.icon-circle:hover .icon-decoration {
    filter: brightness(1.6) saturate(1.2);
    opacity: 1;
    transform: scale(1.06);
}

.icon-circle:hover i {
    color: var(--text-gold);
    transform: scale(1.1);
}

/* === Dashboard link === */
.dashboard-link {
    color: #fff;
    font-size: 14px;
    font-family: "Intro Book", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.dashboard-link:hover {
    opacity: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    transform: none;
    justify-content: flex-end;
    flex-shrink: 0;             /* new — stops it from being squeezed/overlapped by main-nav */
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #e6edf7;
    font-size: 18px;
}

.header-lang {
    color: #e6edf7;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}

.sign-in-btn,
.image-button {
    position: relative;
    display: inline-block;
    transition: transform 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
    will-change: transform;
}

.sign-in-btn img {
    width: 262px;
    transform: translateY(-4px);
}

.sign-in-btn span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fffaf0;
    transform: translateY(-2px);
}

.hero-screen,
.news-screen,
.community-screen {
    min-height: calc(100vh - 95px);
}

.hero-screen {
    border-bottom: 1px solid var(--line);
}

.hero-inner {
    min-height: calc(100vh - 95px);
    display: flex;
    justify-content: flex-end;  /* κράτα το ίδιο */
    align-items: center;
    padding-top: 112px;
    position: relative;
    gap: 40px;
}

.hero-timers {
    position: absolute;
    top: 590px;
    left: -136px;
    width: 910px;
    display: flex;
    justify-content: space-between;
    gap: 34px;
    z-index: 1;
}

.hero-timer {
    width: 438px;
    min-height: 79px;
    padding: 12px 18px 10px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(11, 18, 35, 0.12);
    backdrop-filter: blur(6px);
}

.hero-timer--blue {
    background: rgba(101, 143, 196, 0.74);
}

.hero-timer--gold {
    background: rgba(174, 136, 86, 0.82);
}

.hero-timer__title {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 700;
    color: #efd089;
}

.hero-timer__time,
.hero-timer__live,
.hero-timer__end {
    margin-top: 2px;
    font-family: "Intro Book", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-timer__time span,
.hero-timer__live span {
    font-family: inherit;
    font-size: 18px;
    color: #ffffff;
}

.hero-timer__end {
    font-size: 18px;
    color: #ffffff;
}

.hero-copy {
    width: 660px;
    margin-right: 86px;
    text-align: center;
    transform: translateX(100px) translateY(-50px) scale(0.9);
    transform-origin: top center;
    position: relative;
    z-index: 1;
}

.hero-copy.reveal {
    opacity: 0;
    transform: translateX(100px) translateY(-16px) scale(0.9);
}

.hero-copy.reveal.is-visible {
    opacity: 1;
    transform: translateX(100px) translateY(-50px) scale(0.9);
}

.hero-copy::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -36px;
    width: 760px;
    height: 640px;
    transform: translateX(-50%);
    background:
        radial-gradient(ellipse at center, rgba(21, 33, 63, 0.72) 0%, rgba(21, 33, 63, 0.52) 36%, rgba(21, 33, 63, 0.18) 64%, rgba(21, 33, 63, 0) 100%);
    filter: blur(22px);
    pointer-events: none;
    z-index: -1;
}

.hero-logo {
    width: 352px;
    margin: 0 auto 20px;
    transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg);
    transform-style: preserve-3d;
    will-change: transform, filter;
    transition:
        transform 0.28s ease-out,
        filter 0.28s ease-out;
    cursor: pointer;
}

.hero-logo.is-parallax-active {
    filter: drop-shadow(0 10px 22px rgba(120, 170, 255, 0.18));
}

.hero-copy h1,
.section-title h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 65px;
    line-height: 1;
    font-weight: 600;
    color: #ffffff;
}

.hero-copy p {
    margin: 18px auto 0;
    max-width: 515px;
    font-family: "Intro Book", sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #f0f2f8;
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.image-button img {
    width: 100%;
}

.image-button span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 700;
    pointer-events: none;
}

.image-button--start {
    width: 422px;
}

.image-button--start span {
    font-family: "Cormorant", serif;
    font-size: 25px;
    color: #ffffff;
    transform: translateY(10px);
}

.hero-link {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-screen {
    border-bottom: 1px solid var(--line);
    padding-top: 74px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 28px;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(216, 226, 245, 0.6);
}

.section-title--news {
    width: 760px;
    margin: 0 auto 72px;
    transform: translateX(-300px);
}

.section-title--news.reveal {
    opacity: 0;
    transform: translateX(-300px) translateY(34px);
}

.section-title--news.reveal.is-visible {
    opacity: 1;
    transform: translateX(-300px) translateY(0);
}

.news-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 22px;
    padding-top: 0;
}

.news-card {
    width: 318px;
    height: 318px;
    margin-top: 107px;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(122, 137, 185, 0.18);
    box-shadow: inset 0 0 0 1px rgba(220, 230, 255, 0.08);
    transition:
        height 0.88s cubic-bezier(0.12, 0.9, 0.22, 1),
        margin-top 0.88s cubic-bezier(0.12, 0.9, 0.22, 1),
        box-shadow 0.62s ease;
}

.news-card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    border: 1px solid rgba(214, 224, 248, 0.12);
    pointer-events: none;
}

.news-card:hover {
    z-index: 2;
    height: 533px;
    margin-top: 0;
    box-shadow: 0 20px 55px rgba(8, 14, 28, 0.35), inset 0 0 0 1px rgba(220, 230, 255, 0.1);
}

.news-card__image {
    width: 100%;
    height: 318px;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: 215px;
    padding: 88px 22px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(61, 74, 108, 0) 0%, rgba(61, 74, 108, 0.42) 16%, rgba(61, 74, 108, 0.9) 34%, rgba(61, 74, 108, 0.985) 100%);
    transition:
        background 0.7s ease,
        padding 0.7s ease;
}

.news-card:hover .news-card__content {
    padding-top: 88px;
    background: linear-gradient(180deg, rgba(46, 58, 85, 0) 0%, rgba(46, 58, 85, 0.68) 10%, rgba(46, 58, 85, 0.96) 26%, rgba(46, 58, 85, 0.998) 100%);
}

.news-card__content h3 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 33px;
    line-height: 1.02;
    font-weight: 700;
    color: #f6f1eb;
    text-transform: uppercase;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card__content p {
    margin: 12px 0 0;
    font-family: "Intro Book", sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    color: #f2f4f8;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-height 0.7s cubic-bezier(0.12, 0.9, 0.22, 1),
        opacity 0.45s ease 0.12s;
}

.news-card:hover .news-card__content p {
    max-height: 190px;
    opacity: 1;
}

.news-card:not(:hover) .news-card__content p {
    pointer-events: none;
}

.image-button--small {
    width: 210px;
    margin-top: auto;
    margin-bottom: 8px;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.image-button--small span {
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #ffffff;
    transform: translateY(6px);
}

.news-grid .news-card:nth-child(2) .image-button--small span {
    transform: translateY(6px);
}

.image-button__img {
    width: 100%;
}

.image-button__img--hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.image-button--small:hover .image-button__img--hover {
    opacity: 1;
}


.community-screen {
    padding-top: 88px;
    padding-bottom: 32px;
    min-height: calc(100vh - 95px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title--center {
    display: block;
    text-align: center;
}

.section-title--center::after {
    display: none;
}

.section-subtitle {
    margin-top: 6px;
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: #f3f0eb;
}

.community-copy {
    max-width: 980px;
    margin: 30px auto 0;
    text-align: center;
    font-family: "Intro Book", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    color: #f2f4f8;
}

.community-grid {
    margin-top: 74px;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: nowrap;
    align-items: center;
}

.community-card {
    width: 322px;
    transition: transform 0.25s ease;
    flex: 0 0 322px;
}

.community-card img {
    width: 322px;
    max-width: 322px;
}

.community-card:hover,
.sign-in-btn:hover,
.image-button:hover,
.main-nav a:hover,
.footer-links a:hover,
.footer-socials a:hover {
    transform: translateY(-2px);
}

.community-card.reveal {
    transform: translateY(34px);
}

.community-card.reveal.is-visible {
    transform: translateY(0);
}

.community-card.reveal.is-visible:hover {
    transform: translateY(-6px) scale(1.02);
    filter: brightness(1.04);
}

.sign-in-btn:hover,
.image-button:hover {
    transform: translateY(-3px) scale(1.035);
    filter: brightness(1.06);
}

.sign-in-btn:active,
.image-button:active {
    transform: translateY(-1px) scale(0.99);
    filter: brightness(0.98);
}

.site-footer {
    padding: 24px 0 28px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    display: none;
}

.footer-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 0;
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 18px;
    max-width: 760px;
}

.footer-links a {
    color: #f0f2f8;
    font-family: "Cormorant Garamond", serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.footer-socials {
    display: flex;
    justify-content: flex-end;
    gap: 26px;
    color: #e6edf7;
    font-size: 16px;
    flex: 0 0 auto;
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-toprow,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.community-card:last-child {
    width: 322px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-card:last-child img {
    width: 322px;
    max-width: 322px;
}

.footer-copy strong,
.footer-copy span {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
}

.footer-copy strong {
    font-size: 14px;
    color: #ffffff;
}

.footer-copy span {
    margin-top: 7px;
    font-size: 10px;
    color: #d4dceb;
    text-transform: uppercase;
}

.footer-top {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
}

.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal-delay-4 {
    transition-delay: 0.32s;
}

@media (max-width: 1480px) {
    .shell {
        width: min(var(--shell), calc(100% - 40px));
    }

    .site-header .shell {
        width: calc(100% - 40px);
    }

    .main-nav {
        gap: 20px;
        transform: none;
    }

    .hero-timers {
        left: 32px;
        width: min(calc(100% - 64px), 910px);
    }

    .hero-copy {
        margin-right: 24px;
    }

    .news-grid,
    .community-grid {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 1240px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px 24px;
    }

    .mini-logo {
        margin-left: 0;
    }

    .main-nav {
        order: 3;
        width: 100%;
        margin-right: 0;
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px 22px;
    }

    .header-right {
        margin-left: 0;
    }

    .hero-inner {
        padding-top: 96px;
        justify-content: center;
    }

    .hero-copy {
        margin-right: 0;
        transform: translateX(0) translateY(0) scale(0.88);
    }

    .hero-copy.reveal {
        transform: translateY(24px) scale(0.88);
    }

    .hero-copy.reveal.is-visible {
        transform: translateX(0) translateY(0) scale(0.88);
    }

    .hero-timers {
        top: auto;
        bottom: 48px;
        left: 50%;
        transform: translateX(-50%);
        width: min(calc(100% - 40px), 910px);
    }

    .news-screen,
    .community-screen {
        padding: 64px 0;
    }
}

@media (max-width: 1080px) {
    .site-header {
        height: auto;
        padding: 18px 0;
    }

    .header-inner {
        justify-content: center;
    }

    .main-nav,
    .header-right {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-inner {
        min-height: auto;
        padding: 132px 0 96px;
    }

    .hero-copy {
        width: 100%;
        max-width: 680px;
        transform: none;
    }

    .hero-copy.reveal,
    .hero-copy.reveal.is-visible {
        transform: none;
    }

    .hero-timers {
        position: relative;
        top: auto;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        margin: 0 0 36px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-timer {
        width: min(100%, 438px);
    }

    .section-title--news {
        width: 100%;
    }

    .site-footer {
        padding-top: 80px;
    }

    .community-grid {
        gap: 22px;
    }

    .footer-toprow {
        flex-direction: column;
        align-items: center;
    }

    .footer-links,
    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .home-page,
    .subpage-home,
    .wrapper {
        background: #15213f !important;
    }

    .shell {
        width: calc(100% - 24px);
    }

    .site-header .shell {
        width: calc(100% - 24px);
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .mini-logo {
        width: 60px;
        height: 60px;
        transform: none;
    }

    .main-nav {
        display: none;
        order: 4;
        width: 100%;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-right: 0;
        transform: none;
        padding-top: 12px;
        margin-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .main-nav a,
    .footer-links a {
        font-size: 15px;
    }

    .main-nav a {
        justify-content: flex-start;
        padding: 10px 12px;
        background: rgba(18, 30, 56, 0.78);
        border-radius: 12px;
    }

    .header-right {
        display: none;
        margin-left: 0;
    }

    .site-header.is-menu-open .main-nav {
        display: grid;
    }

    .site-header.is-menu-open .header-right {
        display: flex;
        order: 5;
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .site-header.is-menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header.is-menu-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-timers {
        display: none !important;
    }

    .hero-logo {
        width: min(100%, 360px);
    }

    .hero-copy h1,
    .section-title h2 {
        font-size: 42px;
    }

    .hero-timer,
    .hero-timer__title,
    .hero-timer__time,
    .hero-timer__live,
    .hero-timer__end,
    .hero-timer__time span,
    .hero-timer__live span {
        font-size: 16px;
    }

    .hero-copy p,
    .community-copy,
    .news-card__content p {
        font-size: 16px;
        line-height: 22px;
    }

    .image-button--start {
        width: min(100%, 340px);
    }

    .sign-in-btn img {
        width: 220px;
    }

    .sign-in-btn span,
    .main-nav a span {
        font-size: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .news-card,
    .news-card:hover {
        width: min(100%, 320px);
    }

    .news-card__content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .community-card,
    .community-card:last-child {
        width: min(100%, 320px);
    }

    .community-card img,
    .community-card:last-child img {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 14px 0;
    }

    .header-inner {
        gap: 12px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .main-nav {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .main-nav a {
        gap: 8px;
        font-size: 14px;
    }

    .main-nav a img {
        width: 22px;
        height: 22px;
    }

    .sign-in-btn img {
        width: 190px;
    }

    .hero-screen,
    .news-screen,
    .community-screen {
        min-height: auto;
    }

    .hero-inner {
        padding: 88px 0 64px;
    }

    .hero-logo {
        width: min(100%, 280px);
        margin-bottom: 12px;
    }

    .hero-copy h1,
    .section-title h2 {
        font-size: 34px;
    }

    .hero-copy p,
    .community-copy,
    .news-card__content p {
        font-size: 15px;
        line-height: 21px;
    }

    .image-button--start {
        width: min(100%, 300px);
    }

    .hero-actions {
        gap: 12px;
        align-items: center;
    }

    .hero-link {
        font-size: 16px;
    }

    .hero-timer {
        min-height: 70px;
        padding: 10px 14px;
        border-radius: 12px;
    }

    .section-title--news {
        margin-bottom: 28px;
    }

    .news-grid,
    .community-grid {
        gap: 18px;
    }

    .news-card,
    .news-card:hover {
        min-height: 318px;
        height: auto;
        transform: none;
    }

    .news-card__image {
        height: 100%;
    }

    .news-card__content {
        padding-bottom: 20px;
    }

    .news-card__content p,
    .news-card:hover .news-card__content p,
    .news-card:not(:hover) .news-card__content p {
        opacity: 1;
        max-height: none;
        margin-top: 10px;
    }

    .news-card::after {
        opacity: 1;
    }

    .news-card__content h3 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 22px;
    }

    .footer-links {
        gap: 10px 14px;
    }

    .footer-socials {
        gap: 18px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .news-card,
    .news-card:hover {
        width: 318px;
        height: 318px;
        min-height: 318px;
        transform: none;
    }

    .news-card__content {
        min-height: 170px;
    }

    .news-card__content p,
    .news-card:hover .news-card__content p,
    .news-card:not(:hover) .news-card__content p {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }

    .news-card::after {
        opacity: 0.9;
    }

    .image-button:hover,
    .sign-in-btn:hover {
        transform: none;
        filter: none;
    }
}

.download1{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3% 0 1.7%;
}
.section1__title{
    font-size: 35px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 54px;
    text-transform: uppercase;
}
.download1__list{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 68%;
}
.download1__row{
    width: 100%;
    background-color: rgba(11, 9, 12, .8);
    margin-bottom: 20px;
    padding: 10px;
    position: relative;
}
.download1__row-wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #3f3d40;
    padding: 23px;
    gap: 30px;
}
.download1__row-info{
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}
.download1__row-title{
    font-size: 25px;
    font-weight: bold;
}
.download1__row-text{
    font-size: 15px;
    line-height: 1.6;
    color: #c9c9c9;
}
.download1__buttons{
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 8px;
}
.download1__row-note{
    font-size: 13px;
    line-height: 1.5;
    color: #9a9a9a;
    text-align: left;
    font-style: italic;
}

.download1__buttons{
    display: flex;
    align-items: center;
}
.download1__button{
    background-image: url(../images/second-button.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 228px;
    aspect-ratio: 228 / 49;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 8px;
    text-transform: uppercase;
    transition: transform 0.3s ease-in-out;
}
.download1__button:last-child{
    margin-right: 0;
}
.download1__button:hover{
    transform: scale(1.04);
}
.btn12 {
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.create1{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}
.create1__button{
    background-image: url(../images/main-button-active.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 388px;
    aspect-ratio: 388 / 83;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
    position: relative;
    transition: transform 0.3s ease-in-out;
}
.create1__button:hover{
    transform: scale(1.04);
}

/* ===== LAPTOP / SMALL DESKTOP ===== */
@media (max-width: 1440px){
    .download1__list{
        width: 85%;
    }
}

/* ===== TABLET ===== */
@media (max-width: 1024px){
    .download1__list{
        width: 92%;
    }
    .section1__title{
        font-size: 30px;
        margin-bottom: 36px;
    }
    .download1__row-wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }
    .download1__buttons{
        width: 100%;
        justify-content: flex-start;
    }
    .download1__row-note{
        text-align: left;
        padding: 8px 20px 0;
    }
    .create1__button{
        width: 320px;
        height: 68px;
        font-size: 20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 640px){
    .download1{
        padding: 8% 0 5%;
    }
    .download1__list{
        width: 94%;
    }
    .section1__title{
        font-size: 22px;
        margin-bottom: 24px;
        text-align: center;
    }
    .download1__row{
        padding: 8px;
        margin-bottom: 14px;
    }
    .download1__row-wrapper{
        padding: 16px;
        gap: 12px;
    }
    .download1__row-title{
        font-size: 18px;
    }
    .download1__row-text{
        font-size: 13px;
        line-height: 1.5;
    }
    .download1__buttons{
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .download1__button{
        width: 100%;
        max-width: 280px;
        margin-right: 0;
    }
    .download1__row-note{
        font-size: 12px;
        padding: 6px 16px 0;
    }
    .create1__button{
        width: 100%;
        max-width: 280px;
        font-size: 16px;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 380px){
    .download1__row-title{
        font-size: 16px;
    }
    .create1__button{
        font-size: 14px;
        height: 54px;
    }
}

.hero-screen {
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* --- Wrap --- */
#ssp-wrap {
  position: absolute;
  left: 20px;
  top: 35%;
  transform: translateY(-50%);
  width: 280px;
  z-index: 5;
}


/* --- Heading --- */
.ssp-heading {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #d4d4d4;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ssp-heading__icon {
  width: 6px;
  height: 6px;
  background: #d4d4d4;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.ssp-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(212,212,212,0.35), transparent);
}

/* --- Card --- */
.ssp-card {
  background: rgba(3, 8, 22, 0.82);
  border: 1px solid rgba(212,212,212,0.18);
  border-left: 2px solid #d4d4d4;
  border-radius: 3px;
  padding: 12px 14px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ssp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, rgba(212,212,212,0.45), transparent);
}

/* --- Card header row --- */
.ssp-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.ssp-card__name {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  color: #f0f0f0;
  letter-spacing: 0.04em;
}

/* --- Badge --- */
.ssp-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 2px;
}
.ssp-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ssp-badge--online  { background: rgba(15,51,32,0.9);  color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.ssp-badge--online  .ssp-badge__dot { background: #4ade80; box-shadow: 0 0 5px rgba(74,222,128,0.6); animation: ssp-pulse 2s infinite; }
.ssp-badge--offline { background: rgba(42,16,16,0.9);  color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.ssp-badge--offline .ssp-badge__dot { background: #f87171; }
.ssp-badge--soon    { background: rgba(28,28,28,0.9);  color: #d4d4d4; border: 1px solid rgba(212,212,212,0.25); }
.ssp-badge--soon    .ssp-badge__dot { background: #d4d4d4; }

@keyframes ssp-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(74,222,128,0.6); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px rgba(74,222,128,0.2); }
}

/* --- Meta row --- */
.ssp-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 8px;
}
.ssp-meta__item {
  font-size: 12px;
  color: #8a8a8a;
}
.ssp-meta__item strong {
  color: #d4d4d4;
  font-weight: 600;
}

/* --- Divider --- */
.ssp-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(212,212,212,0.18), transparent);
  margin: 4px 0 10px;
}

/* --- Players block (visible when online) --- */
.ssp-players {
  display: flex;
  align-items: baseline;
  gap: 5px;
}
.ssp-players__count {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: #f0f0f0;
  line-height: 1;
  transition: color 0.4s;
}
.ssp-players__label {
  font-size: 11px;
  color: #8a8a8a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Offline message --- */
.ssp-online-msg {
  font-size: 12px;
  color: #ffffff;
  font-style: italic;
}

/* --- Offline message --- */
.ssp-offline-msg {
  font-size: 12px;
  color: #8a8a8a;
  font-style: italic;
}

/* --- Countdown block (visible when soon) --- */
.ssp-countdown__label {
  font-size: 10px;
  color: #8a8a8a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ssp-countdown__boxes {
  display: flex;
  gap: 5px;
}
.ssp-countdown__box {
  background: rgba(212,212,212,0.07);
  border: 1px solid rgba(212,212,212,0.22);
  border-radius: 3px;
  text-align: center;
  padding: 5px 0;
  flex: 1;
}
.ssp-countdown__num {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  color: #d4d4d4;
  line-height: 1;
}
.ssp-countdown__unit {
  font-size: 9px;
  color: #8a8a8a;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}
.ssp-open-date {
  font-size: 11px;
  color: #8a8a8a;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ssp-open-date::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: rgba(212,212,212,0.5);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Tablet: 900px–1200px*/
@media (max-width: 1200px) {
  #ssp-wrap {
    width: 240px;
  }
}


@media (max-width: 1100px) {
  #ssp-wrap {
    position: static;
    transform: none;
    width: 90%;
    max-width: 420px;
    margin: 54px auto 28px;
  }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
  }
}

@media (max-width: 480px) {
  #ssp-wrap {
    max-width: 100%;
  }
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;900&display=swap');

/* ===== L2Escape Grand Opening Popup ===== */
.esc-pop{
  --esc-font:'Cinzel','Trajan Pro',serif;
  --esc-gold:#e6c57f; --esc-gold-2:#b98a3e;
  --esc-ice:#9cc8ff;  --esc-ice-2:#5f93e8;
  --esc-text:#c3d1e8; --esc-line:rgba(140,185,255,.26);
  position:fixed; inset:0; z-index:100000;
  display:flex; align-items:center; justify-content:center; padding:16px;
  visibility:hidden; opacity:0;
  transition:opacity .35s ease, visibility 0s linear .35s;
}
.esc-pop.is-open{visibility:visible; opacity:1; transition:opacity .35s ease;}
html.esc-pop-lock{overflow:hidden;}

.esc-pop__backdrop{
  position:absolute; inset:0;
  background:radial-gradient(ellipse at center, rgba(25,55,110,.55), rgba(3,8,18,.9));
  backdrop-filter:blur(5px);
}

/* ---- dialog ---- */
.esc-pop__dialog{
  position:relative; width:min(900px,100%); max-height:calc(100vh - 32px); overflow:auto;
  display:grid; grid-template-columns:1.15fr .85fr;
  background:linear-gradient(135deg,#0c1a36 0%,#070f20 55%,#0d1e40 100%);
  border:1px solid var(--esc-line);
  box-shadow:0 30px 90px rgba(0,0,0,.7), 0 0 70px rgba(70,130,255,.2), inset 0 0 0 1px rgba(255,255,255,.03);
  transform:translateY(20px) scale(.97);
  transition:transform .5s cubic-bezier(.2,.8,.2,1);
}
.esc-pop.is-open .esc-pop__dialog{transform:none;}

.esc-pop__dialog::before{
  content:""; position:absolute; left:8%; right:8%; top:-1px; height:2px; z-index:3;
  background:linear-gradient(90deg,transparent,var(--esc-ice),transparent);
}
.esc-pop__dialog::after{
  content:""; position:absolute; top:-6px; left:50%; width:10px; height:10px; z-index:3;
  transform:translateX(-50%) rotate(45deg);
  background:#dbeaff; box-shadow:0 0 14px var(--esc-ice);
}

.esc-pop__x{
  position:absolute; top:14px; right:14px; z-index:5;
  width:38px; height:38px; border-radius:50%;
  border:1px solid var(--esc-line); background:rgba(8,16,34,.75);
  color:#dbe7ff; font-size:22px; line-height:1; cursor:pointer;
  transition:border-color .2s, box-shadow .2s, transform .2s;
}
.esc-pop__x:hover{border-color:var(--esc-ice); box-shadow:0 0 14px rgba(156,200,255,.45); transform:rotate(90deg);}

/* ---- left content ---- */
.esc-pop__body{position:relative; z-index:2; padding:42px 40px 36px;}

.esc-pop__guild{display:flex; align-items:center; gap:14px; margin-bottom:24px;}
.esc-pop__guild-icon{
  width:56px; height:56px; flex:0 0 56px; object-fit:contain;
  filter:drop-shadow(0 0 12px rgba(110,165,255,.55));
}
.esc-pop__guild-name{font:700 13px/1.2 var(--esc-font); letter-spacing:.18em; text-transform:uppercase; color:var(--esc-gold);}
.esc-pop__guild-sub{margin-top:5px; font:500 11px/1 var(--esc-font); letter-spacing:.16em; text-transform:uppercase; color:#7f93b6;}

.esc-pop__title{
  margin:0 0 14px; font:900 clamp(30px,4.3vw,48px)/1.05 var(--esc-font);
  text-transform:uppercase; letter-spacing:.02em;
  background:linear-gradient(180deg,#fff3d6 0%,var(--esc-gold) 55%,var(--esc-gold-2) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.6));
}
.esc-pop__title span{
  background:linear-gradient(180deg,#ffffff 0%,var(--esc-ice) 60%,var(--esc-ice-2) 100%);
  -webkit-background-clip:text; background-clip:text;
}
.esc-pop__text{margin:0 0 24px; max-width:420px; color:var(--esc-text); font-size:15px; line-height:1.65;}

/* ---- timer ---- */
.esc-pop__timer-label{
  display:flex; align-items:center; gap:8px; margin-bottom:10px;
  font:700 11px/1 var(--esc-font); letter-spacing:.24em; text-transform:uppercase; color:#8fa6cc;
}
.esc-pop__timer-label i{width:7px; height:7px; transform:rotate(45deg); background:var(--esc-ice); box-shadow:0 0 8px var(--esc-ice);}

.esc-pop__timer{display:grid; grid-template-columns:repeat(4,1fr); gap:8px; max-width:400px;}
.esc-pop__box{
  text-align:center; padding:10px 4px 8px;
  border:1px solid var(--esc-line);
  background:linear-gradient(180deg,rgba(120,170,255,.08),rgba(255,255,255,.01));
}
.esc-pop__box b{display:block; font:700 28px/1 var(--esc-font); color:#fff; text-shadow:0 0 14px rgba(156,200,255,.55);}
.esc-pop__box small{display:block; margin-top:6px; font:600 9px/1 var(--esc-font); letter-spacing:.2em; text-transform:uppercase; color:#7f93b6;}

.esc-pop__date{margin-top:12px; font-size:20px; line-height:1.5; color:#9fb3d6;}
.esc-pop__date b{color:#fff; font-weight:600;}
.esc-pop__date em{margin:0 8px; font-style:normal; font-size:10px; color:var(--esc-ice);}

/* ---- discord stats ---- */
.esc-pop__discord{
  display:flex; align-items:center; gap:12px; margin:22px 0 4px; min-height:30px;
  opacity:0; transform:translateY(6px); transition:opacity .5s, transform .5s;
}
.esc-pop.has-discord .esc-pop__discord{opacity:1; transform:none;}
.esc-pop__avatars{display:flex;}
.esc-pop__avatars:empty{display:none;}
.esc-pop__avatars img,.esc-pop__avatars span{
  width:28px; height:28px; border-radius:50%; margin-left:-8px;
  border:2px solid #0a1530; object-fit:cover; background:#1a2b52;
}
.esc-pop__avatars img:first-child{margin-left:0;}
.esc-pop__avatars span{display:grid; place-items:center; font-size:10px; font-weight:700; color:#dbe7ff;}
.esc-pop__stats{font-size:14px; color:var(--esc-text);}
.esc-pop__stats b{color:#fff;}
.esc-pop__stats em{margin:0 8px; font-style:normal; color:var(--esc-ice); font-size:9px;}
.esc-pop__dot{
  display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%;
  background:#3ba55d; box-shadow:0 0 0 0 rgba(59,165,93,.6); animation:escPulse 2s infinite;
}
@keyframes escPulse{70%{box-shadow:0 0 0 8px rgba(59,165,93,0);}100%{box-shadow:0 0 0 0 rgba(59,165,93,0);}}

/* ---- buttons ---- */
.esc-pop__actions{display:flex; align-items:center; gap:24px; margin-top:22px; flex-wrap:wrap;}

.esc-pop__btn{
  position:relative; display:inline-block; width:300px; max-width:100%;
  text-decoration:none; transition:filter .25s, transform .25s;
}
.esc-pop__btn img{display:block; width:100%; height:auto;}
.esc-pop__btn span{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center; gap:10px;
  padding-top:13px;
  color:#fff; font:700 15px/1 var(--esc-font); letter-spacing:.08em; text-transform:uppercase;
  text-shadow:0 1px 6px rgba(10,30,80,.8);
}
.esc-pop__btn i{font-size:18px; margin-top:-2px;}
.esc-pop__btn:hover{filter:brightness(1.15) drop-shadow(0 0 14px rgba(156,200,255,.6)); transform:translateY(-2px);}

.esc-pop__later{
  background:none; border:0; padding:4px 0; cursor:pointer;
  color:#cfe0ff; font:700 13px/1 var(--esc-font); letter-spacing:.12em; text-transform:uppercase;
  text-decoration:underline; text-underline-offset:5px;
}
.esc-pop__later:hover{color:#fff; text-shadow:0 0 10px rgba(156,200,255,.7);}

/* ---- right art panel ---- */
.esc-pop__art{
  position:relative; display:grid; place-items:center; overflow:hidden;
  min-height:100%; background:#081128;
}
.esc-pop__art::before{
  content:""; position:absolute; inset:0;
  background:var(--esc-art-bg, none) center/cover no-repeat;
  animation:escZoom 20s ease-in-out infinite alternate;
}
.esc-pop__art::after{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg,#070f20 0%,rgba(7,15,32,.55) 30%,rgba(7,15,32,.2) 100%),
    radial-gradient(circle at 50% 45%,rgba(90,150,255,.3),transparent 60%);
}
.esc-pop__art img{
  position:relative; z-index:1; width:82%; max-width:340px;
  filter:drop-shadow(0 0 30px rgba(110,165,255,.55));
  animation:escFloat 6s ease-in-out infinite;
}
@keyframes escFloat{50%{transform:translateY(-10px);}}
@keyframes escZoom{to{transform:scale(1.08);}}

/* ---- mobile ---- */
@media (max-width:760px){
  .esc-pop__dialog{grid-template-columns:1fr;}
  .esc-pop__art{order:-1; min-height:170px;}
  .esc-pop__art::after{background:linear-gradient(0deg,#070f20 0%,rgba(7,15,32,.3) 70%);}
  .esc-pop__art img{width:56%;}
  .esc-pop__body{padding:22px 20px 26px;}
  .esc-pop__box b{font-size:22px;}
  .esc-pop__actions{flex-direction:column; align-items:center; gap:14px;}
  .esc-pop__btn{width:100%; max-width:320px;}
}

@media (prefers-reduced-motion:reduce){
  .esc-pop,.esc-pop__dialog,.esc-pop__discord{transition:none;}
  .esc-pop__art img,.esc-pop__art::before,.esc-pop__dot{animation:none;}
}

.esc-pop__dialog:focus{outline:none;}
.esc-pop__btn:focus{outline:none;}
.esc-pop__btn:focus-visible{outline:none; filter:brightness(1.15) drop-shadow(0 0 14px rgba(156,200,255,.6));}