
:root {
    --bg-main: #0a0215;
    --purple: #a855f7;
    --text-main: #e9d5ff;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Orbitron', sans-serif; }
body {
    position: relative;
    background: radial-gradient(circle at top, #1a0433, #05000d);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://mini-mine.online/back.png') center/cover no-repeat;
    opacity: 0.18;
    z-index: -1;
}
header {
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10,2,21,0.8);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--purple);
    position: relative;
}
header .logo { font-size: 26px; font-weight: 800; color: var(--purple); text-shadow: 0 0 15px var(--purple); }
nav ul { display: flex; gap: 20px; list-style: none; }
nav a { text-decoration: none; color: var(--text-main); padding: 8px 14px; border-radius: 6px; transition: 0.3s; border: 1px solid transparent; }
nav a:hover { background: rgba(168,85,247,0.15); border-color: var(--purple); transform: translateY(-2px); }
.burger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.burger div { width: 25px; height: 3px; background: var(--purple); transition: 0.3s; }
nav.mobile-menu { display: none; flex-direction: column; gap: 15px; padding: 20px; background: rgba(10,2,21,0.95); width: 100%; }

.hero { text-align: center; padding: 100px 20px 60px; overflow: hidden; position: relative; }
.hero-slide { display: none; position: absolute; top:0; left:0; width: 100%; height: 100%; }
.hero-slide.active { display: block; animation: fadeSlide 1s ease-in-out; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero h1 { font-size: 48px; color: var(--purple); text-shadow: 0 0 20px var(--purple); margin-bottom: 20px; }
.hero p { font-size: 16px; max-width: 600px; margin: 0 auto 30px; opacity: 0.9; }
.btn-hero { font-size: 16px; padding: 12px 28px; border: 1px solid var(--purple); border-radius: 6px; color: #fff; text-decoration: none; box-shadow: 0 0 10px rgba(168,85,247,0.4); transition: 0.3s; }
.btn-hero:hover { background: var(--purple); box-shadow: 0 0 20px var(--purple); }

.stats-section, .table-section, .nft-section, .carousel-section { margin: 50px 20px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.stat-box { background: linear-gradient(180deg,#120322,#080012); border-radius: 14px; padding: 25px; text-align: center; border: 1px solid rgba(168,85,247,0.5); box-shadow: 0 0 20px rgba(168,85,247,0.4); }
.stat-box h4 { margin-bottom: 10px; text-shadow: 0 0 8px var(--purple); }

.table-section { display: flex; justify-content: center; }
.table-section .tables-container {
    display: flex;
    gap: 30px;
    overflow-x: auto; /* теперь контейнер тоже может скроллиться */
    padding-bottom: 10px;
}

.table-wrapper {
    min-width: 300px;
    flex: 0 0 auto; /* таблицы не сжимаются */
    overflow-x: auto; /* скролл внутри таблицы */
}


table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border: 1px solid rgba(168,85,247,0.4); text-align: center; }
th { background: rgba(168,85,247,0.2); }

.nft-section { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 50px; }
.nft-box { flex: 1; min-width: 300px; max-width: 400px; background: linear-gradient(180deg,#120322,#080012); border-radius: 14px; padding: 25px; text-align: center; border: 1px solid rgba(168,85,247,0.5); box-shadow: 0 0 20px rgba(168,85,247,0.4); }
.nft-box h3 { margin-bottom: 10px; text-shadow: 0 0 8px var(--purple); }

.carousel { overflow-x: auto; display: flex; gap: 20px; scroll-snap-type: x mandatory; justify-content: center; flex-wrap: wrap; }
.carousel-item { min-width: 220px; background: linear-gradient(180deg,#120322,#080012); border-radius: 12px; padding: 20px; text-align: center; border: 1px solid rgba(168,85,247,0.5); box-shadow: 0 0 15px rgba(168,85,247,0.5); scroll-snap-align: center; }

form.contact-form { display: flex; flex-direction: column; gap: 15px; max-width: 400px; margin: 30px auto; }
form.contact-form input, form.contact-form textarea { padding: 10px; border-radius: 6px; border: 1px solid rgba(168,85,247,0.5); background: rgba(18,3,34,0.8); color: #fff; }
form.contact-form button { padding: 12px; border: none; border-radius: 6px; background: var(--purple); color: #fff; cursor: pointer; transition: 0.3s; }
form.contact-form button:hover { box-shadow: 0 0 15px var(--purple); }

@media(max-width: 768px) {
    .burger { display: flex; cursor: pointer; flex-direction: column; gap: 5px; }

    nav ul.mobile-menu {
        display: none; /* изначально скрыто */
        position: absolute; /* поверх всего */
        top: 100%; /* сразу под хедером */
        left: 0;
        width: 100%;
        background: rgba(10,2,21,0.95);
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        z-index: 999; /* поверх всего */
        border-top: 1px solid var(--purple);
    }
}
/* Login Page */
.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.login-box {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, #120322, #080012);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 0 25px rgba(168,85,247,0.6);
    border: 1px solid rgba(168,85,247,0.6);
    text-align: center;
}

.login-box h2 {
    margin-bottom: 25px;
    font-size: 26px;
    text-shadow: 0 0 12px var(--purple);
}

.login-form .form-group {
    text-align: left;
    margin-bottom: 18px;
}

.login-form label {
    font-size: 13px;
    opacity: 0.8;
}

.login-form input {
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(168,85,247,0.5);
    border-radius: 6px;
    color: #fff;
    outline: none;
}

.login-form input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 10px var(--purple);
}

.login-btn {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    font-size: 15px;
}

.login-links {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.login-links a {
    color: var(--purple);
    text-decoration: none;
    transition: 0.3s;
}

.login-links a:hover {
    text-shadow: 0 0 8px var(--purple);
}
