* { 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;
}

/* =========================
   RIGHT SIDE STACK (BANNERS ONLY)
   ========================= */

/* Κοινά χαρακτηριστικά για όλα τα δεξιά banners */
.l2votes-banner,
.l2network-banner,
.l2jbrasil-banner,
.itopz-banner,
.hopzone-banner,
.hopzone-fixed-banner {
    position: fixed;
    right: 20px;
    width: 200px; /* Σταθερό πλάτος */
    z-index: 2000;
    /* ΑΦΑΙΡΕΣΑΜΕ background, box-shadow και border για διαφανές look */
    border-radius: 4px; /* Λίγο rounding στις εικόνες μόνο */
    animation: slideUp 0.5s ease-out;
    background: transparent;
}

/* Στυλ εικόνας για να μην έχει περιθώρια */
.l2votes-banner img,
.l2network-banner img,
.l2jbrasil-banner img,
.itopz-banner img,
.hopzone-banner img,
.hopzone-fixed-banner img {
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5); /* Ελαφριά σκιά μόνο στην εικόνα */
}

/* 
   ΣΤΟΙΧΙΣΗ ΑΠΟ ΚΑΤΩ (BOTTOM) 
*/

/* 6. L2.HOPZONE.NET - ΤΕΛΕΥΤΑΙΟ (ΚΑΤΩ) */
.hopzone-fixed-banner {
    bottom: 20px !important; 
    top: auto !important; 
    height: 90px !important;
    width: 200px !important;
    z-index: 2000 !important;
}
.hopzone-fixed-banner img { width: 100% !important; height: 100% !important; object-fit: contain; border: 0 !important; }

/* 5. HOPZONE.EU */
.hopzone-banner {
    bottom: 120px; /* 20 + 90 + 10px κενό */
    top: auto;
    height: 80px;
    z-index: 2001;
}
.hopzone-banner img { width: 100%; height: 100%; object-fit: contain; }

/* 4. ITOPZ */
.itopz-banner {
    bottom: 210px; /* 120 + 80 + 10px κενό */
    top: auto;
    height: 80px;
    z-index: 2002;
}
.itopz-banner img { width: 100%; height: 100%; object-fit: contain; }

/* 3. L2JBRASIL */
.l2jbrasil-banner {
    bottom: 300px; /* 210 + 80 + 10px κενό */
    top: auto;
    height: 80px;
    z-index: 2003;
}
.l2jbrasil-banner img { width: 100%; height: 100%; object-fit: contain; }

/* 2. L2NETWORK */
.l2network-banner {
    bottom: 390px; /* 300 + 80 + 10px κενό */
    top: auto;
    height: 80px;
    z-index: 2004;
}
.l2network-banner img { width: 100%; height: 100%; object-fit: contain; }

/* 1. L2VOTES */
.l2votes-banner {
    bottom: 480px; /* 390 + 80 + 10px κενό */
    top: auto;
    height: 80px;
    z-index: 2005;
}
.l2votes-banner img { width: 100%; height: 100%; object-fit: contain; }


@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* LAYOUT WRAPPER */
.main-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
}

/* STATUS BOX TOP-LEFT */
.status-box {
    position: absolute;
    top: 25px;
    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; }

/* MODALS */
.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;
}
.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;
}
#startModal .modal-inner { max-width: 500px; margin: 4rem auto; }
#featuresModal .modal-inner { max-width: 1100px; margin: 3rem auto; }
.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; }

.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 { 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; }

@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; }
}

/* REGISTER ALERT */
.reg-alert {
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 26px;
    border-radius: 22px;
    font-size: 0.95rem;
    z-index: 2500;
    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); }
}

/* Discord widget - ΚΑΤΩ ΑΡΙΣΤΕΡΑ */
.discord-widget {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.9);
    border-radius: 8px;
    overflow: hidden;
}

/* START MODAL */
.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; }

/* MOBILE RESPONSIVE TWEAKS */
@media (max-width: 768px) {
    body { overflow-y: auto; }
    .main-wrapper {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding: 130px 0 160px 0;
    }
    .center-panel, .status-box, .live-box { position: static; transform: none; }
    .status-box { order: 1; width: 90%; max-width: 360px; padding: 8px 10px; font-size: 0.8rem; }
    .center-panel { order: 2; align-items: center; gap: 12px; }
    .live-box { order: 3; width: 90%; max-width: 360px; }
    .lotus-logo img { width: 50vw; max-width: 200px; }
    .countdown-row { gap: 0.4rem; margin-bottom: 4px; }
    .cd-box { padding: 6px 8px; min-width: 60px; }
    .cd-box span { font-size: 1rem; }
    .cd-box small { font-size: 0.65rem; }
    .menu-btn { min-width: 210px; padding: 8px 16px; font-size: 0.8rem; letter-spacing: 0.1em; }

    /* MOBILE BANNERS - Προσαρμογή μεγέθους και θέσης */
    .l2votes-banner,
    .l2network-banner,
    .l2jbrasil-banner,
    .itopz-banner,
    .hopzone-banner,
    .hopzone-fixed-banner {
        right: 10px; /* Πιο κοντά στην άκρη σε κινητά */
        width: 140px !important; /* Πιο στενά */
    }
    
    /* Σε mobile τα βάζουμε να ξεκινάνε από πάνω για να φαίνονται με το scroll */
    .l2votes-banner { top: 120px; bottom: auto; height: 60px; }
    .l2network-banner { top: 190px; bottom: auto; height: 60px; }
    .l2jbrasil-banner { top: 260px; bottom: auto; height: 60px; }
    .itopz-banner { top: 330px; bottom: auto; height: 60px; }
    .hopzone-banner { top: 400px; bottom: auto; height: 60px; }
    .hopzone-fixed-banner { top: 470px !important; bottom: auto !important; height: 70px !important; }

    .discord-widget { display: none !important; }
}
