/* ============================================================
   XAUT — Xtreme Gold on Solana
   Полный файл стилей для всех 11 страниц + 50 000+ функций
   ============================================================ */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { color: #f9a825; text-decoration: none; transition: 0.3s ease; }
a:hover { opacity: 0.8; color: #ffb82e; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== GLOW EFFECTS ===== */
.glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}
.glow-1 { width: 600px; height: 600px; background: #f9a825; top: -200px; right: -100px; }
.glow-2 { width: 500px; height: 500px; background: #f9a825; bottom: -150px; left: -100px; }

/* ===== HEADER ===== */
header {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(10,10,10,0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    transition: 0.3s;
}
.logo img {
    height: 44px;
    width: 44px;
    border-radius: 50%;
    border: 2px solid rgba(249,168,37,0.2);
    transition: 0.3s;
}
.logo:hover img { border-color: #f9a825; }
.logo span { color: #f9a825; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 500;
}
.nav-links a {
    color: #a0a0a0;
    padding: 6px 14px;
    border-radius: 40px;
    transition: 0.3s;
}
.nav-links a:hover { color: #f9a825; background: rgba(249,168,37,0.05); }
.nav-links a.active {
    color: #f9a825;
    background: rgba(249,168,37,0.08);
    font-weight: 600;
}

.btn-connect {
    background: transparent;
    border: 1.5px solid #f9a825;
    color: #f9a825 !important;
    padding: 8px 22px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}
.btn-connect:hover {
    background: #f9a825;
    color: #0a0a0a !important;
    transform: scale(1.02);
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, #f9a825, #e08e0b);
    color: #0a0a0a !important;
    font-weight: 700;
    padding: 14px 44px;
    border-radius: 60px;
    font-size: 1.05rem;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-gold:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 40px rgba(249,168,37,0.35);
    opacity: 1;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #fff !important;
    font-weight: 600;
    padding: 14px 38px;
    border-radius: 60px;
    font-size: 1.05rem;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}
.btn-outline:hover {
    border-color: #f9a825;
    background: rgba(249,168,37,0.05);
    transform: scale(1.02);
}

/* ===== HERO ===== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
    position: relative;
    z-index: 1;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 1;
}
.hero .container { position: relative; z-index: 2; }

.hero-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(249,168,37,0.15);
    border: 3px solid rgba(249,168,37,0.15);
    margin-bottom: 32px;
    transition: 0.5s;
}
.hero-image:hover { transform: scale(1.05); border-color: #f9a825; }

.hero h1 {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 16px;
}
.hero h1 .highlight {
    background: linear-gradient(135deg, #f9a825, #e08e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
}
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #666;
}
.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* ===== STATS / COUNTERS ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    padding: 40px 0 80px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.stat-item {
    text-align: center;
    padding: 24px 20px;
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    transition: 0.3s;
}
.stat-item:hover {
    border-color: rgba(249,168,37,0.2);
    background: rgba(249,168,37,0.03);
}
.stat-item .number {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #f9a825, #e08e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}
.stat-item .label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
    font-weight: 400;
}
.stat-item .live {
    display: inline-block;
    font-size: 0.6rem;
    color: #4caf50;
    background: rgba(76,175,80,0.15);
    padding: 2px 12px;
    border-radius: 40px;
    margin-top: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    animation: pulse-live 2s ease-in-out infinite;
}
@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== CARDS ===== */
.card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 28px 24px;
    transition: 0.4s ease;
}
.card:hover {
    border-color: #f9a825;
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.4);
}
.card-glow {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 20px;
    padding: 28px 24px;
    transition: 0.4s ease;
}
.card-glow:hover {
    border-color: rgba(249,168,37,0.3);
    box-shadow: 0 0 40px rgba(249,168,37,0.03);
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
}
.section-subtitle {
    text-align: center;
    color: #888;
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 300;
    font-size: 1.05rem;
}
.text-gold { color: #f9a825; }
.text-gradient-gold {
    background: linear-gradient(135deg, #f9a825, #e08e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== SECTION PADDING ===== */
.section-padding { padding: 60px 0; }
.section-padding-lg { padding: 80px 0; }
.border-top { border-top: 1px solid rgba(255,255,255,0.04); }

/* ===== CONTRACT ADDRESS ===== */
.contract-box {
    text-align: center;
    padding: 20px 0 40px;
}
.contract-box .label {
    color: #666;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.contract-box code {
    background: rgba(255,255,255,0.03);
    padding: 12px 28px;
    border-radius: 60px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #aaa;
    border: 1px solid rgba(255,255,255,0.04);
    display: inline-block;
    word-break: break-all;
    max-width: 100%;
}
.contract-box .pool-link { margin-top: 12px; }
.contract-box .pool-link a { color: #f9a825; font-weight: 500; }
.contract-box .pool-link a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
    padding: 40px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
    text-align: center;
    color: #444;
    font-size: 0.85rem;
    margin-top: 40px;
}
footer .socials a {
    color: #666;
    margin: 0 16px;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}
footer .socials a:hover { color: #f9a825; transform: translateY(-2px); }

/* ===== 50 000+ ФУНКЦИЙ ===== */
.functions-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.functions-section .subtitle { color: #888; margin-bottom: 40px; font-size: 1.1rem; text-align: center; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.stat-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}
.stat-card .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f9a825;
}
.stat-card .label { color: #888; font-size: 0.85rem; margin-top: 4px; }
.functions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.function-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 16px 20px;
    transition: 0.3s;
    cursor: pointer;
}
.function-card:hover {
    border-color: #f9a825;
    background: rgba(249,168,37,0.03);
    transform: translateY(-2px);
}
.function-card .name {
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
}
.function-card .desc {
    color: #888;
    font-size: 0.8rem;
    margin-top: 4px;
}
.function-card .status {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 12px;
    border-radius: 40px;
    margin-top: 8px;
    background: rgba(76,175,80,0.15);
    color: #4caf50;
}
.function-card .link-icon {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.7rem;
    color: #f9a825;
    opacity: 0.6;
    transition: 0.3s;
}
.function-card:hover .link-icon { opacity: 1; }
.badge {
    display: inline-block;
    background: rgba(249,168,37,0.12);
    color: #f9a825;
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 40px;
    font-weight: 600;
    margin-left: 8px;
}
.generator-info {
    background: rgba(249,168,37,0.05);
    border: 1px solid rgba(249,168,37,0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.generator-info code {
    background: rgba(255,255,255,0.05);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #aaa;
}
.btn-test {
    background: #f9a825;
    color: #0a0a0a;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.btn-test:hover { transform: scale(1.02); opacity: 0.9; }

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 8px;
}
.lang-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: #eef2f8;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
}
.lang-btn:hover {
    background: rgba(249,168,37,0.1);
    border-color: #f9a825;
}
.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #0b0e14;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 6px 0;
    min-width: 160px;
    display: none;
    z-index: 999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lang-dropdown.show { display: block; }
.lang-dropdown button {
    background: none;
    border: none;
    color: #8892b0;
    padding: 6px 18px;
    width: 100%;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.1s;
    font-family: inherit;
}
.lang-dropdown button:hover {
    background: rgba(249,168,37,0.05);
    color: #f9a825;
}
.lang-dropdown button.active {
    color: #f9a825;
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .nav-links a { font-size: 12px; padding: 4px 10px; }
}
@media (max-width: 768px) {
    .header-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .nav-links { justify-content: center; gap: 4px; }
    .nav-links a { font-size: 11px; padding: 4px 8px; }
    .hero { padding: 100px 0 40px; }
    .hero h1 { font-size: 2.4rem; }
    .section-title { font-size: 1.8rem; }
    .stats { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 0 40px; }
    .stat-item .number { font-size: 1.3rem; }
    .btn-gold, .btn-outline { padding: 12px 28px; font-size: 0.95rem; }
    .card { padding: 20px 16px; }
    .generator-info { flex-direction: column; text-align: center; }
    .lang-switcher { margin-left: 0; }
}
@media (max-width: 480px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .hero-image { width: 100px; height: 100px; }
    .contract-box code { font-size: 0.65rem; padding: 8px 16px; }
}
