:root {
    --bg: #000; --card: rgba(12, 12, 12, 0.8); --text: #fff;
    --muted: #888; --border: rgba(255, 255, 255, 0.08);
    --accent: #00a2ff; --glow: 0 0 25px rgba(0, 162, 255, 0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--bg); color: var(--text); overflow-x: hidden; min-height: 100vh; padding-top: 80px; display: flex; flex-direction: column; }
#starfield { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; width: 100%; }

@keyframes tg-float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
.emoji-anim { display: inline-block; animation: tg-float 4s ease-in-out infinite; }

.header { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(0,0,0, 0.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); padding: 18px 0; }
.logo { font-size: 24px; font-weight: 900; text-decoration: none; color: var(--text); letter-spacing: -1.2px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 20px; transition: 0.3s; }

/* Твоя новая кнопка */
.tg-btn-wrap { position: relative; display: inline-block; margin-left: 20px; vertical-align: middle; }
.tg-btn-design {
    background: linear-gradient(135deg, #0088cc, #00a2ff);
    color: #fff; padding: 7px 18px; border-radius: 10px;
    font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 0 15px rgba(0,162,255,0.3); transition: 0.3s;
}
.tg-btn-wrap:hover .tg-btn-design { transform: scale(1.05); box-shadow: 0 0 20px rgba(0,162,255,0.5); }
.tg-invisible-anchor { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.01; z-index: 10; }

.hero-bot-card { background: var(--card); border: 1px solid var(--accent); border-radius: 30px; padding: 30px; box-shadow: var(--glow); display: flex; align-items: center; gap: 25px; margin: 30px 0; }
.btn-neon-main { background: var(--accent); color: #fff; padding: 10px 25px; border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 14px; display: inline-block; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-bottom: 50px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 25px; padding: 25px; text-align: center; transition: 0.3s; text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: var(--glow); }
.btn-mini { margin-top: 15px; padding: 8px; background: rgba(255,255,255,0.05); border-radius: 10px; font-size: 12px; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-bottom: 60px; }
.contact-main { background: var(--card); border: 1px solid var(--accent); border-radius: 30px; padding: 30px; box-shadow: var(--glow); }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; text-decoration: none; color: inherit; margin-bottom: 15px; }
