/* Подключаем футуристичные шрифты */
@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #06090e; /* Ультра-темный футуристичный фон */
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    /* Изумрудный Web3-градиент */
    background-image: 
        radial-gradient(at 10% 20%, rgba(0, 243, 172, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(123, 97, 255, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* КРИТЧЕСКИ ВАЖНО: Запрещаем монетам ломать экран и вылетать за рамки */
    overflow-x: hidden; 
    position: relative;
}

/* ==========================================================================
   💥 СТИЛИ ДЛЯ КРУГЛЫХ 3D-МОНЕТ (ДВИЖЕНИЕ СТРОГО ВНУТРИ БОКОВЫХ ПОЛЕЙ)
   ========================================================================== */
.crypto-coin {
    position: absolute; /* Привязка к высоте страницы, чтобы не вылетали за поле */
    border-radius: 50%;
    /* Фирменный изумрудный градиент Tether */
    background: radial-gradient(circle, rgba(0, 185, 133, 0.12) 0%, rgba(11, 17, 28, 0.98) 75%);
    border: 6px solid rgba(0, 243, 172, 0.25);
    /* Глубокие тени для эффекта объема реальной монеты */
    box-shadow: 
        inset 0 0 35px rgba(0, 243, 172, 0.45),
        inset 0 0 15px rgba(255, 255, 255, 0.1),
        0 20px 45px rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -10; /* Уводим строго под кнопки и текст */
    pointer-events: none; /* Мышка кликает сквозь монеты */
}

/* Левая большая монета */
.coin-left {
    width: 260px;
    height: 260px;
    animation: floatLeftCoin 25s ease-in-out infinite alternate;
}

/* Правая средняя монета */
.coin-right {
    width: 180px;
    height: 180px;
    border-width: 4px;
    animation: floatRightCoin 20s ease-in-out infinite alternate;
}

/* Настройки встроенного SVG кругового текста (выравнивание букв вдоль дуги) */
.crypto-coin svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Центр монеты (Знак Т и надпись USDT) */
.coin-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 5;
}

.coin-symbol {
    font-size: 4.5rem;
    font-weight: 900;
    color: #00f3ac;
    text-shadow: 0 0 25px rgba(0, 243, 172, 0.6);
    line-height: 1;
    font-family: 'Orbitron', sans-serif;
}

.coin-left .coin-symbol { font-size: 6rem; }

.coin-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 3px;
    margin-top: 5px;
    font-family: 'Orbitron', sans-serif;
}

/* 🔄 ТРАЕКТОРИИ: УРЕЗАНЫ ДИАПАЗОНЫ (ПРОЦЕНТЫ), ЧТОБЫ МОНЕТЫ ЛЕТАЛИ ВНУТРИ ПОЛЯ */
@keyframes floatLeftCoin {
    0% { 
        top: 5%; 
        left: 2%; 
        transform: rotate(0deg) scale(0.95); 
    }
    50% { 
        top: 40%; 
        left: 5%; 
        transform: rotate(180deg) scale(1.03); /* Вращение без выхода за левый край */
    }
    100% { 
        top: 75%; 
        left: 2%; 
        transform: rotate(360deg) scale(0.95); 
    }
}

@keyframes floatRightCoin {
    0% { 
        top: 80%; 
        right: 2%; 
        transform: rotate(0deg) scale(1); 
    }
    50% { 
        top: 45%; 
        right: 6%; 
        transform: rotate(-180deg) scale(1.05); /* Вращение без выхода за правый край */
    }
    100% { 
        top: 10%; 
        right: 2%; 
        transform: rotate(-360deg) scale(0.95); 
    }
}

/* ==========================================================================
   КОНТЕНТНАЯ ЧАСТЬ (СТРУКТУРА НА ПЕРЕДНЕМ ПЛАНЕ)
   ========================================================================== */
.navigation-container, .page-container {
    position: relative;
    z-index: 2; 
}

header, .dash-header {
    width: 100%;
    max-width: 1200px;
    padding: 50px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 243, 172, 0.1);
    margin-bottom: 40px;
    background: linear-gradient(180deg, rgba(0, 243, 172, 0.02) 0%, transparent 100%);
    position: relative;
    z-index: 5;
}

header h1, .dash-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #00f3ac, #00a884, #8a73ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(0, 243, 172, 0.3);
}

header p {
    color: #a2b4cc;
    margin-top: 12px;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.navigation-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px 60px 20px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.menu-card, .content-card, .level-card {
    background: rgba(11, 17, 28, 0.88); 
    border: 1px solid rgba(0, 243, 172, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.menu-card:hover, .level-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 243, 172, 0.5);
    box-shadow: 0 20px 50px rgba(0, 243, 172, 0.25);
}

.menu-card h3, .content-card h2, .level-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.menu-card p {
    color: #92a5bc;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.menu-btn, .main-action-btn, .close-btn, .back-link, .connect-btn, .buy-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 16px 28px;
    background: linear-gradient(90deg, #00b985, #00f3ac);
    color: #06090e;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 243, 172, 0.2);
    position: relative;
    z-index: 10; 
}

.menu-btn:hover, .main-action-btn:hover, .connect-btn:hover, .buy-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 30px rgba(0, 243, 172, 0.6);
    transform: scale(1.02);
}

.page-container {
    width: 100%;
    max-width: 850px;
    padding: 40px 20px;
}

.content-card hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 243, 172, 0.2), transparent);
    margin: 25px 0;
}

.faq-box {
    background: rgba(0, 243, 172, 0.02);
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
    border-left: 4px solid #00b985;
}

.faq-box h4 {
    color: #00f3ac;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.faq-box p {
    color: #abbecf;
    font-size: 1.05rem;
    line-height: 1.6;
}

.price-tag {
    font-size: 2.8rem;
    font-family: 'Orbitron', sans-serif;
    color: #00f3ac;
    font-weight: 800;
    margin: 25px 0;
    text-shadow: 0 0 25px rgba(0, 243, 172, 0.4);
}

.status-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 30px;
    color: #a2b4cc;
    font-family: monospace;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 243, 172, 0.05);
}

.stats-row .label {
    color: #92a5bc;
}

.stats-row .value {
    font-family: monospace;
    color: #ffffff;
    background: rgba(0, 243, 172, 0.05);
    border: 1px solid rgba(0, 243, 172, 0.1);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 1rem;
}

.value-status {
    font-weight: 700;
    letter-spacing: 1px;
}

.ref-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.input-group {
    display: flex;
    width: 100%;
    gap: 12px;
}

.input-group input {
    flex: 1;
    background: #0d131f;
    border: 1px solid rgba(0, 243, 172, 0.15);
    border-radius: 10px;
    padding: 15px;
    color: #ffffff;
    font-family: monospace;
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.input-group input:focus {
    outline: none;
    border-color: #00f3ac;
    box-shadow: 0 0 15px rgba(0, 243, 172, 0.2);
}

.copy-btn {
    background: #00b985;
    color: #06090e;
    border: none;
    border-radius: 10px;
    padding: 0 25px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    z-index: 10;
}

.copy-btn:hover {
    background: #00f3ac;
    box-shadow: 0 0 15px rgba(0, 243, 172, 0.4);
}

.close-btn, .back-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #92a5bc;
    margin-top: 25px;
}

.close-btn:hover, .back-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    box-shadow: none;
}

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