:root {
    --bg-deep: #05070a;
    --accent-blue: #24A1DE;
    --accent-purple: #8a2be2;
    --gold-premium: #f59e0b;
    --text-main: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(138, 43, 226, 0.2);
    --card-hover: rgba(255, 255, 255, 0.07);
    --transition-speed: 0.4s;
    --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-deep);
    /* Твой оригинальный фон */
    background-image:
        radial-gradient(circle at 50% 50%, rgba(36, 161, 222, 0.05) 0%, transparent 50%),
        url('https://www.transparenttextures.com/patterns/stardust.png');
    color: var(--text-main);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    padding-top: 120px;
    overflow-x: hidden;
}

/* --- ПРЕЛОАДЕР (ТВОЙ КОД) --- */
#loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #020617; display: flex; justify-content: center; align-items: center;
    z-index: 9999; transition: opacity 1s var(--easing), visibility 1s;
}
.loader-content {
    position: relative; width: 450px; height: 450px;
    display: flex; justify-content: center; align-items: center;
    animation: cosmic-zoom 2.5s ease-out forwards;
}
@keyframes cosmic-zoom { 0% { transform: scale(0.8); opacity: 0; } 20% { opacity: 1; } 100% { transform: scale(1.1); } }

.sun { width: 35px; height: 35px; background: radial-gradient(circle, #ffcc00 0%, #f59e0b 100%); border-radius: 50%; box-shadow: 0 0 50px rgba(245, 158, 11, 0.8); z-index: 10; }
.orbit { position: absolute; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 50%; animation: rotate-system linear infinite; }
.planet-dot { position: absolute; top: 50%; left: -5px; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }

.mercury { width: 70px; height: 70px; animation-duration: 1.5s; } .mercury .planet-dot { width: 4px; height: 4px; background: #94a3b8; }
.venus { width: 100px; height: 100px; animation-duration: 2.5s; } .venus .planet-dot { width: 6px; height: 6px; background: #eab308; }
.earth { width: 140px; height: 140px; animation-duration: 4s; } .earth .planet-dot { width: 7px; height: 7px; background: #24A1DE; box-shadow: 0 0 10px #24A1DE; }
.mars { width: 180px; height: 180px; animation-duration: 6s; } .mars .planet-dot { width: 5px; height: 5px; background: #ef4444; }
.jupiter { width: 230px; height: 230px; animation-duration: 10s; } .jupiter .planet-dot { width: 12px; height: 12px; background: #d6d3d1; }
.saturn-loader { width: 290px; height: 290px; animation-duration: 15s; } .saturn-loader .planet-dot { width: 10px; height: 10px; background: #fde68a; }
.uranus { width: 340px; height: 340px; animation-duration: 22s; } .uranus .planet-dot { width: 8px; height: 8px; background: #7dd3fc; }
.neptune { width: 390px; height: 390px; animation-duration: 30s; } .neptune .planet-dot { width: 8px; height: 8px; background: #3b82f6; }

@keyframes rotate-system { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loader-hidden { opacity: 0; visibility: hidden; }
.loading-text { position: absolute; bottom: -80px; color: rgba(255,255,255,0.3); font-size: 10px; letter-spacing: 8px; text-transform: uppercase; animation: pulse-text 2s infinite; }
@keyframes pulse-text { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.6; } }

/* --- HEADER --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 50px;
    backdrop-filter: blur(20px);
    background: rgba(5, 7, 10, 0.85);
    border-bottom: 1px solid var(--glass-border);
    position: fixed; top: 0; width: 100%; z-index: 1000;
}

.logo-group { display: flex; align-items: center; text-decoration: none; cursor: pointer; }
.saturn-container { position: relative; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.planet { width: 22px; height: 22px; background: radial-gradient(circle at 30% 30%, #ffffff 0%, #94a3b8 40%, #1e293b 100%); border-radius: 50%; z-index: 2; transition: all var(--transition-speed) var(--easing); }
.rings-svg { position: absolute; width: 75px; height: 75px; transform: rotate(-15deg); z-index: 1; pointer-events: none; }
.ring-layer { fill: none; stroke: white; stroke-linecap: round; }
.ring-main { stroke-width: 0.6; opacity: 0.3; }
.ring-gap { stroke-width: 1.2; opacity: 0.1; }
.orbit-active { fill: none; stroke: var(--accent-blue); stroke-width: 1.5; stroke-dasharray: 450; stroke-dashoffset: 450; transition: stroke-dashoffset var(--transition-speed) var(--easing); }
.logo-text { color: white; font-size: 22px; font-weight: 600; letter-spacing: 8px; margin-left: 15px; transition: all var(--transition-speed) var(--easing); width: 110px; overflow: hidden; white-space: nowrap;}
.logo-group:hover .logo-text { width: 0; opacity: 0; margin-left: 0; }
.logo-group:hover .planet { box-shadow: 0 0 25px rgba(36, 161, 222, 0.6); transform: scale(1.1); }
.logo-group:hover .orbit-active { stroke-dashoffset: 0; }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a {
    text-decoration: none; color: rgba(255,255,255,0.5);
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s; padding-bottom: 5px;
}
nav a:hover, nav a.active { color: white; border-bottom: 1px solid var(--accent-blue); }
.nav-premium { color: var(--gold-premium) !important; opacity: 0.8; }
.nav-premium:hover { opacity: 1; border-bottom-color: var(--gold-premium); }

.btn-connect {
    background: var(--accent-blue); color: white; border: none;
    padding: 10px 20px; border-radius: 20px; font-weight: 600; cursor: pointer;
    transition: transform 0.2s;
}
.btn-connect:hover { transform: scale(1.05); box-shadow: 0 0 15px rgba(36,161,222,0.4); }

/* --- ОБЩИЕ СТИЛИ СЕКЦИЙ --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.content-section { display: none; animation: fadeIn 0.5s ease; }
.content-section.active-section { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; margin-bottom: 10px; }
.section-header p { color: rgba(255,255,255,0.6); }

/* --- КАРТОЧКИ --- */
.auction-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; padding-bottom: 50px; }

.asset-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 25px;
    position: relative; transition: 0.3s;
}
.asset-card:hover { transform: translateY(-7px); border-color: var(--accent-blue); background: var(--card-hover); }

.asset-status { font-size: 12px; text-transform: uppercase; opacity: 0.7; letter-spacing: 1px; }
.asset-name { display: block; font-size: 22px; font-weight: 600; margin: 15px 0; }
.asset-price { font-size: 18px; color: var(--accent-blue); margin-bottom: 15px; }

.btn-bid {
    width: 100%; padding: 12px; border-radius: 12px;
    background: transparent; border: 1px solid var(--accent-blue); color: var(--accent-blue);
    cursor: pointer; font-weight: 600; transition: 0.3s;
}
.btn-bid:hover { background: var(--accent-blue); color: white; }

/* --- STARS --- */
.stars-card { border-color: rgba(255, 215, 0, 0.3); }
.stars-card:hover { box-shadow: 0 0 20px rgba(255, 215, 0, 0.15); border-color: #ffd700; }
.star-icon { font-size: 40px; margin-bottom: 10px; text-shadow: 0 0 15px rgba(255,215,0,0.5); }
.btn-gold { border-color: #ffd700; color: #ffd700; }
.btn-gold:hover { background: #ffd700; color: black; }

/* --- PREMIUM --- */
.premium-card { border-color: rgba(138, 43, 226, 0.4); }
.premium-card:hover { box-shadow: 0 0 25px rgba(138, 43, 226, 0.2); border-color: #d946ef; }
.btn-premium { background: linear-gradient(45deg, #6a11cb, #2575fc); border: none; color: white; }
.btn-premium:hover { filter: brightness(1.2); box-shadow: 0 0 15px rgba(106, 17, 203, 0.5); }