* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body { 
    font-family: 'Titillium Web', sans-serif;
    background: #000;
    color: #fff; 
    overflow: hidden; /* full-screen */
}

/* BACKGROUND */
.bg-overlay {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(0,0,0,0.7), rgba(0,0,0,0.25)),
        url("background.jpg") center center / cover no-repeat fixed;
    z-index: -1;
}

/* LAYOUT WRAPPER */
.main-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* STATUS BOX TOP-LEFT */
.status-box {
    position: absolute;
    top: 40px;
    left: 40px;
    background: rgba(10,10,10,0.85);
    border-radius: 10px;
    padding: 16px 24px;
    border: 1px solid #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.status-title {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.status-live {
    color: #18e018;
    font-weight: 700;
    margin-top: 6px;
}

.status-opening {
    margin-top: 8px;
    color: #ffd65c;
    font-size: 0.95rem;
}

/* CENTER PANEL */
.center-panel {
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

/* LOGO */
.lotus-logo {
    text-align: center;
    margin-bottom: 8px;
}

.lotus-logo img {
    max-width: 260px;
    width: 22vw;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 25px rgba(0,0,0,0.9));
}

.lotus-sub {
    display: block;
    margin-top: 10px;
    color: #54f2ff;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

/* COUNTDOWN BOXES */
.countdown-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 8px;
}

.cd-box {
    background: rgba(0,0,0,0.9);
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid #555;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
}

.cd-box span {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.cd-box small {
    display: block;
    font-size: 0.8rem;
    margin-top: 2px;
    letter-spacing: 0.08em;
}

/* MENU BUTTONS COLUMN */
.button-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.menu-btn {
    min-width: 260px;
    padding: 10px 24px;
    border-radius: 6px;
    border: 1px solid #555;
    background: rgba(15,15,15,0.92);
    color: #f5f5f5;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-indent: 0.15em;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9);
    transition: all 0.2s ease;
}

.menu-btn.primary {
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    color: #141414;
    border-color: #ffcf6b;
    box-shadow: 0 12px 30px rgba(0,0,0,0.9),
                0 0 20px rgba(249,178,76,0.4);
}

.menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.95);
    background: rgba(40,40,40,0.97);
}

.menu-btn.primary:hover {
    background: linear-gradient(90deg, #ffd36b, #ff9a3b);
}

/* LIVE BOX BOTTOM LEFT */
.live-box {
    position: absolute;
    left: 40px;
    bottom: 40px;
    background: rgba(10,10,10,0.85);
    border-radius: 10px;
    padding: 14px 20px;
    border: 1px solid #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.live-title {
    font-weight: 700;
    margin-bottom: 4px;
}

.live-text {
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.live-link {
    font-size: 0.9rem;
    color: #4ecdc4;
    text-decoration: none;
}

/* =========================
   MODAL – BASE
   ========================= */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

/* Βασικό στυλ για όλα τα modals */
.modal-inner {
    background: #0f0f0f;
    color: #f5e4c3;
    border-radius: 10px;
    max-width: 800px;
    margin: 4rem auto;
    padding: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,0.95);
    border: 1px solid #444;
}

/* START modal (PLAY NOW) – πιο στενό */
#startModal .modal-inner {
    max-width: 500px;
    margin: 4rem auto;
}

/* FEATURES modal – πιο φαρδύ και λίγο πιο ψηλά */
#featuresModal .modal-inner {
    max-width: 1100px;
    margin: 3rem auto;
}

/* header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.4rem;
    border-bottom: 1px solid #333;
    background: #181818;
}

.modal-title-left h2 {
    font-size: 1.6rem;
    color: #ffd27f;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #bbbbbb;
    margin-top: 0.25rem;
}

.modal-close {
    font-size: 2rem;
    cursor: pointer;
    color: #ffb347;
}

.modal-close:hover {
    color: #ffffff;
}

/* tabs */
.modal-tabs {
    display: flex;
    gap: 0.4rem;
    padding: 0.8rem 2.4rem;
    border-bottom: 1px solid #333;
    background: #141414;
}

.tab-btn {
    background: #1c1c1c;
    border: 1px solid #333;
    color: #f5e4c3;
    padding: 0.45rem 1.0rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
}

.tab-btn.active {
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    border-color: #ffcf6b;
    color: #141414;
}

/* modal body */
.modal-body {
    padding: 2.0rem 2.6rem 2.4rem 2.6rem;
    font-size: 1.0rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 1.7rem;
    color: #ffb347;
    margin-bottom: 1.1rem;
    text-align: center;
}

.tab-content ul {
    list-style: disc;
    padding-left: 2rem;
    font-size: 1.0rem;
    line-height: 2.0;
}

.donation-note {
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #d3c0a0;
}

/* responsive */
@media (max-width: 1024px) {
    .modal-inner {
        max-width: 96%;
        margin: 2rem auto;
    }
    .modal-header,
    .modal-tabs,
    .modal-body {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) { 
    .modal-inner {
        max-width: 96%;
        margin: 2rem auto;
    }

    .modal-header,
    .modal-tabs,
    .modal-body {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .modal-tabs {
        flex-wrap: wrap;
    }

    .center-panel {
        transform: translate(-50%, -52%);
    }
}

/* =========================
   ACCOUNT PAGE
   ========================= */
.account-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-card {
    width: 100%;
    max-width: 520px;
    background: rgba(10, 10, 10, 0.95);
    border-radius: 10px;
    border: 1px solid #444;
    box-shadow: 0 18px 40px rgba(0,0,0,0.9);
    padding: 1.8rem 2.2rem 1.6rem 2.2rem;
}

/* header */
.account-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
}

.account-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.9));
}

.account-title h1 {
    font-size: 1.2rem;
    letter-spacing: 0.15em;
    text-indent: 0.15em;
}

.account-title p {
    font-size: 0.8rem;
    color: #bbbbbb;
    margin-top: 0.2rem;
}

/* tabs */
.account-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.account-tab {
    flex: 1;
    padding: 0.45rem 0.8rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #cccccc;
    cursor: pointer;
}

.account-tab.active {
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    border-color: #ffcf6b;
    color: #111;
}

/* forms */
.account-body {
    margin-bottom: 1rem;
}

.account-section {
    display: none;
}

.account-section.active {
    display: block;
}

.field {
    margin-bottom: 0.9rem;
}

.field label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
    color: #cccccc;
}

.field input {
    width: 100%;
    padding: 0.5rem 0.55rem;
    border-radius: 4px;
    border: 1px solid #444;
    background: #111;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 0.85rem;
}

.field input:focus {
    outline: none;
    border-color: #f9b24c;
    box-shadow: 0 0 0 1px rgba(249,178,76,0.4);
}

/* row */
.field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    cursor: pointer;
}

.checkbox input {
    accent-color: #f9b24c;
}

.link-small {
    font-size: 0.8rem;
    color: #4ecdc4;
    text-decoration: none;
}

/* button */
.btn-account {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border-radius: 4px;
    border: 1px solid #555;
    background: #222;
    color: #f5f5f5;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9);
    transition: all 0.2s ease;
}

.btn-account.primary {
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    border-color: #ffcf6b;
    color: #141414;
}

.btn-account:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.95);
}

/* footer */
.account-footer {
    border-top: 1px solid #333;
    padding-top: 0.7rem;
    text-align: right;
}

.account-footer .link-small {
    color: #888;
}

/* responsive */
@media (max-width: 600px) {
    .account-card {
        max-width: 90%;
        padding: 1.4rem 1.3rem 1.2rem 1.3rem;
    }

    .account-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Discord widget */
.discord-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    border-radius: 8px;
    overflow: hidden;
}

/* =========================
   START MODAL (PLAY NOW)
   ========================= */
.tab-btn-start {
    background: #1c1c1c;
    border: 1px solid #333;
    color: #f5e4c3;
    padding: 0.45rem 1.0rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    margin-right: 0.4rem;
}

.tab-btn-start.active {
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    border-color: #ffcf6b;
    color: #141414;
}

.tab-content-start {
    display: none;
    margin-top: 1rem;
}

.tab-content-start.active {
    display: block;
}

#startModal .modal-body form input {
    width: 100%;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}

.start-download h3 {
    margin-bottom: 4px;
}

.start-download p {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 8px;
}

/* =========================
   SMALL LOGIN STATUS BOX
   ========================= */
.small-login-status {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 260px;
    color: #fff;
    font-size: 0.85rem;
    font-family: 'Titillium Web', sans-serif;
}

.sl-top {
    background: rgba(10,10,10,0.50);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.15);
    padding: 12px 14px 10px 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.7);
}

.sl-avatar {
    text-align: center;
    margin-bottom: 8px;
}

.sl-avatar img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(0,0,0,0.9));
}

/* inputs */
#small-login-form input {
    width: 100%;
    margin-bottom: 6px;
    padding: 7px 8px;
    border-radius: 4px;
    border: 1px solid #333;
    background: #111;
    color: #f5f5f5;
    font-size: 0.8rem;
}

/* login button */
.sl-btn {
    width: 100%;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ffcf6b;
    background: linear-gradient(90deg, #f9b24c, #e97b26);
    color: #141414;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9);
    transition: all 0.15s ease;
}

.sl-btn:hover {
    background: linear-gradient(90deg, #ffd36b, #ff9a3b);
}

.sl-forgot {
    display: block;
    margin-top: 6px;
    font-size: 0.78rem;
    color: #ddd;
    text-decoration: none;
    text-align: center;
}

.sl-forgot:hover {
    color: #fff;
}

/* status bar */
.sl-bottom {
    margin-top: 8px;
    padding: 6px 9px;
    border-radius: 6px;
    border: 1px solid #444;
    background: rgba(10,10,10,0.9);
    font-size: 0.78rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sl-label {
    color: #ccc;
}

.sl-status {
    color: #ff5c5c;
    font-weight: 700;
}

.sl-online {
    color: #5cff5c;
    font-weight: 700;
}

/* =========================
   REGISTER ALERT
   ========================= */
.reg-alert {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 26px;
    border-radius: 22px;
    font-size: 0.95rem;
    z-index: 2000;
    box-shadow: 0 0 30px rgba(0,0,0,0.95);
    text-shadow: 0 0 6px rgba(0,0,0,0.8);
    letter-spacing: 0.06em;
    text-indent: 0.06em;
}

.reg-alert.ok {
    background: linear-gradient(90deg, #3cffb0, #0ba96a);
    border: 1px solid #9dffe0;
    color: #081b11;
}

.reg-alert.fail {
    background: linear-gradient(90deg, #ff5c5c, #b11010);
    border: 1px solid #ffd0d0;
    color: #fff5f5;
}

.reg-alert.ok,
.reg-alert.fail {
    animation: regPulse 1.2s ease-out 0s 2;
}

@keyframes regPulse {
    0%   { transform: translateX(-50%) scale(1); }
    40%  { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}
