:root {
    --color-primary: #7f45df;
    --color-secondary: #34e5d8;
    --color-bg: #1a0b2e;
    --color-header: #100b14;
    --color-text: #e8e6f0;
    --color-text-muted: #b0a8c4;
    --font-main: 'Orbitron', monospace;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.g4k9x2p {
    min-height: 100vh;
}

.wp-site-wrapper {
    position: relative;
}

.elementor-section {
    position: relative;
}

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

.site-header {
    background: var(--color-header);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
    gap: 20px;
}

.logo-img {
    display: block;
    max-width: 180px;
    height: auto;
}

.desktop-nav {
    display: flex;
    justify-content: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.online-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #00ff00;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.online-text strong {
    color: var(--color-secondary);
}

.desktop-btns {
    display: flex;
    gap: 10px;
}

.btn-header {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
}

.btn-login {
    background: var(--color-primary);
    color: #fff;
}

.btn-login:hover {
    background: #9965ee;
    transform: translateY(-2px);
}

.btn-signup {
    background: var(--color-secondary);
    color: #000;
}

.btn-signup:hover {
    background: #4ef5e6;
    transform: translateY(-2px);
}

.mobile-header-btns {
    display: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-line {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    background: var(--color-header);
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-menu {
    list-style: none;
}

.mobile-nav-item {
    margin-bottom: 15px;
}

.mobile-nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px;
}

.hero-section {
    background: linear-gradient(135deg, #2d1b4e 0%, #1a0b2e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    background: url('/atom-banner.png') center center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    position: relative;
    padding: 40px 20px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 11, 46, 0.7);
    border-radius: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--color-secondary);
}

.btn-hero-cta {
    display: inline-block;
    padding: 18px 45px;
    background: var(--color-secondary);
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(52, 229, 216, 0.4);
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 229, 216, 0.6);
}

.breadcrumbs-wrapper {
    background: var(--color-bg);
    padding: 15px 0;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--color-text-muted);
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb-sep {
    margin: 0 10px;
}

.breadcrumb-item.current {
    color: var(--color-text);
}

.main-content {
    padding: 40px 0 80px;
}

section {
    margin-bottom: 40px;
}

.box-style-1 {
    background: rgba(45, 27, 78, 0.5);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(127, 69, 223, 0.3);
}

.box-style-2 {
    background: rgba(16, 11, 20, 0.6);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(52, 229, 216, 0.2);
}

.section-header {
    margin-bottom: 25px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.update-time {
    font-size: 14px;
    color: var(--color-secondary);
}

.table-responsive {
    overflow-x: auto;
}

.mirrors-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    text-align: left;
}

.mirrors-table thead th {
    background: rgba(127, 69, 223, 0.3);
    padding: 15px;
    font-weight: 600;
    color: #fff;
    border: none;
}

.mirrors-table tbody tr {
    background: rgba(45, 27, 78, 0.3);
    transition: all 0.3s;
}

.mirrors-table tbody tr:hover {
    background: rgba(45, 27, 78, 0.5);
    transform: scale(1.01);
}

.mirrors-table tbody td {
    padding: 15px;
    border: none;
}

.mirror-url {
    font-weight: 600;
    color: var(--color-text);
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
}

.speed-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.speed-badge.fast {
    background: rgba(52, 229, 216, 0.2);
    color: var(--color-secondary);
}

.speed-badge.medium {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
}

.btn-mirror {
    padding: 8px 20px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-mirror:hover {
    background: #9965ee;
    transform: translateY(-2px);
}

.winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.winner-card {
    background: rgba(45, 27, 78, 0.4);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(127, 69, 223, 0.2);
    transition: all 0.3s;
}

.winner-card:hover {
    border-color: var(--color-secondary);
    transform: translateX(5px);
}

.winner-rank {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 40px;
}

.winner-name {
    flex: 1;
    font-size: 14px;
    color: var(--color-text);
}

.winner-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-secondary);
}

.app-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.app-table {
    width: 100%;
    border-collapse: collapse;
}

.app-table tr {
    border-bottom: 1px solid rgba(127, 69, 223, 0.2);
}

.app-table td {
    padding: 12px;
}

.app-label {
    font-weight: 600;
    color: var(--color-text-muted);
    width: 40%;
}

.app-value {
    color: var(--color-text);
}

.app-download {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.app-download-text {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.btn-download-app {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    justify-content: center;
}

.ios-btn {
    background: rgba(127, 69, 223, 0.8);
    color: #fff;
}

.android-btn {
    background: rgba(52, 229, 216, 0.8);
    color: #000;
}

.apk-btn {
    background: rgba(255, 165, 0, 0.8);
    color: #fff;
}

.btn-download-app:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.game-card {
    background: rgba(45, 27, 78, 0.5);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(127, 69, 223, 0.2);
    transition: all 0.3s;
}

.game-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
}

.game-logo img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.game-name {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.game-provider {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.btn-game-play {
    display: inline-block;
    padding: 10px 25px;
    background: var(--color-secondary);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-game-play:hover {
    background: #4ef5e6;
    transform: scale(1.05);
}

.slot-machine {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px;
}

.slot-reels {
    display: flex;
    gap: 20px;
}

.reel {
    width: 100px;
    height: 100px;
    background: rgba(16, 11, 20, 0.8);
    border: 3px solid var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    animation: reelIdle 3s infinite;
}

@keyframes reelIdle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.btn-spin-slot {
    padding: 15px 40px;
    background: var(--color-secondary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-main);
}

.btn-spin-slot:hover {
    background: #4ef5e6;
    transform: scale(1.05);
}

.btn-spin-slot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slot-result {
    font-size: 20px;
    font-weight: 700;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.minigame-desc {
    text-align: center;
    color: var(--color-text-muted);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(45, 27, 78, 0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(127, 69, 223, 0.2);
}

.faq-question {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: rgba(45, 27, 78, 0.5);
}

.faq-icon {
    font-size: 12px;
    transition: transform 0.3s;
    color: var(--color-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.article-author {
    background: rgba(127, 69, 223, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid var(--color-secondary);
}

.author-label {
    font-size: 12px;
    color: var(--color-text-muted);
    margin-bottom: 5px;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.author-bio {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
}

.author-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 14px;
}

.author-link:hover {
    text-decoration: underline;
}

.text-content {
    line-height: 1.8;
}

.text-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-top: 25px;
    margin-bottom: 12px;
}

.text-content p {
    margin-bottom: 15px;
    color: var(--color-text);
}

.text-content ul, .text-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.text-content li {
    margin-bottom: 8px;
    color: var(--color-text);
}

.text-content strong {
    color: var(--color-secondary);
    font-weight: 700;
}

.text-content em {
    color: var(--color-text-muted);
    font-style: italic;
}

.text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.text-content table th,
.text-content table td {
    padding: 12px;
    border: 1px solid rgba(127, 69, 223, 0.3);
    text-align: left;
}

.text-content table th {
    background: rgba(127, 69, 223, 0.3);
    font-weight: 600;
}

.site-footer {
    background: var(--color-header);
    padding: 50px 0 20px;
    border-top: 2px solid var(--color-primary);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 160px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
}

.footer-menu-item {
    margin-bottom: 12px;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-secondary);
}

.license-text {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 15px;
}

.age-restriction {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 0, 0, 0.3);
    color: #ff4444;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    border: 2px solid #ff4444;
}

.footer-payment,
.footer-providers {
    margin-bottom: 30px;
}

.footer-payment-title,
.footer-providers-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 15px;
}

.payment-logos,
.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.payment-logo,
.provider-logo {
    height: 40px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.payment-logo:hover,
.provider-logo:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(127, 69, 223, 0.2);
    padding-top: 25px;
}

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

.copyright-p {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 10px;
}

.legal-text {
    font-size: 12px;
    color: var(--color-text-muted);
}

.widget-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 998;
}

.widget-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.widget-text {
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.widget-btn-reg {
    padding: 12px 30px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    white-space: nowrap;
}

.widget-btn-reg:hover {
    background: #222;
    transform: scale(1.05);
}

.x2k8p4s { display: none; }
.m9k3x7s { visibility: hidden; }
.p4s7k9x { opacity: 0; position: absolute; }


/* =========================
   INF PAGE (PRO)
   вставити в кінець CSS
========================= */

:root{
    --inf-card: rgba(255,255,255,.03);
    --inf-border: rgba(255,255,255,.10);
    --inf-muted: rgba(232,232,232,.78);
}

/* контейнер */
.container.inf{
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 70px;

    background:
            radial-gradient(900px 320px at 15% 0%, rgba(127,69,223,.14), transparent 60%),
            radial-gradient(900px 320px at 90% 10%, rgba(52,229,216,.10), transparent 55%);
    border-radius: 22px;
}

/* базова типографіка */
.container.inf p{
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(232,232,232,.92);
}

/* strong / акценти */
.container.inf strong{
    color: #fff;
    font-weight: 900;
}

/* h2 */
.container.inf h2{
    margin: 28px 0 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.08);

    font-size: clamp(18px, 2.2vw, 26px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: .2px;
    color: #fff;

    display: flex;
    align-items: center;
    gap: 10px;
}

.container.inf h2:first-of-type{
    border-top: 0;
    padding-top: 0;
}

.container.inf h2::before{
    content:"";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--color-primary, var(--color-login)), var(--color-secondary, var(--color-signup)));
    box-shadow: 0 0 0 4px rgba(127,69,223,.12);
}

/* h3 (FAQ/підрозділи) */
.container.inf h3{
    margin: 18px 0 10px;
    font-size: clamp(16px, 1.9vw, 20px);
    line-height: 1.3;
    font-weight: 900;
    color: rgba(255,255,255,.96);

    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;

    background: rgba(127,69,223,.10);
    border: 1px solid rgba(127,69,223,.18);
}

/* посилання + довгі URL */
.container.inf a{
    color: var(--color-secondary, var(--color-signup));
    text-decoration: none;
    font-weight: 800;
    transition: filter .2s ease, color .2s ease;
    word-break: break-word;         /* не ламає моб */
    overflow-wrap: anywhere;        /* довгі URL */
}
.container.inf a:hover{
    color: #fff;
    filter: brightness(1.1);
    text-decoration: underline;
}

/* списки */
.container.inf ul,
.container.inf ol{
    margin: 14px 0 18px;
}

.container.inf ul{
    list-style: none;
    padding-left: 0;
}
.container.inf ul li{
    position: relative;
    padding-left: 28px;
    margin: 8px 0;
    line-height: 1.75;
    color: rgba(232,232,232,.90);
}
.container.inf ul li::before{
    content:"";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: rgba(52,229,216,.85);
    box-shadow: 0 0 0 4px rgba(52,229,216,.12);
}

/* “карточка-підказка” для абзаців з важливими порадами
   (якщо захочеш — просто обгорни <p class="inf-note">...</p>) */
.container.inf .inf-note{
    margin: 16px 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background:
            radial-gradient(700px 200px at 20% 0%, rgba(52,229,216,.12), transparent 55%),
            rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 12px 26px rgba(0,0,0,.22);
    color: rgba(232,232,232,.92);
}

/* таблиці */
.container.inf table{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 18px 0 22px;
    overflow: hidden;
    border-radius: 16px;

    background: var(--inf-card);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 26px rgba(0,0,0,.25);
}

.container.inf th,
.container.inf td{
    padding: 14px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: 14px;
    vertical-align: top;
}

.container.inf th{
    color: #fff;
    font-weight: 900;
    background: rgba(127,69,223,.16);
}

.container.inf tr:last-child td{
    border-bottom: 0;
}

.container.inf tr:hover td{
    background: rgba(255,255,255,.02);
}

/* “FAQ” абзаци (Вопрос/Ответ) робимо акуратніше */
.container.inf h2 + h3 + p,
.container.inf h3 + p{
    color: rgba(232,232,232,.90);
}

/* блокquote якщо десь буде */
.container.inf blockquote{
    margin: 18px 0;
    padding: 16px 16px 16px 18px;
    border-left: 4px solid var(--color-primary, var(--color-login));
    background: rgba(127,69,223,.10);
    border-radius: 14px;
    color: rgba(232,232,232,.92);
}

/* =========================
   MOBILE ADAPTATION
========================= */

@media (max-width: 900px){
    .container.inf{
        padding: 22px 16px 62px;
        border-radius: 18px;
    }

    .container.inf p{
        font-size: 15px;
        line-height: 1.85;
    }

    /* таблиця скролиться */
    .container.inf table{
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .container.inf table::-webkit-scrollbar{ height: 10px; }
    .container.inf table::-webkit-scrollbar-thumb{
        background: rgba(255,255,255,.14);
        border-radius: 999px;
    }
}

@media (max-width: 520px){
    .container.inf{
        padding: 18px 12px 56px;
    }

    .container.inf p,
    .container.inf li{
        font-size: 14.5px;
    }

    .container.inf h2::before{
        width: 9px;
        height: 9px;
    }

    .container.inf h3{
        width: 100%;
        justify-content: flex-start;
    }

    .container.inf th,
    .container.inf td{
        padding: 12px 12px;
        font-size: 13px;
        white-space: nowrap; /* щоб таблиця була охайна у скролі */
    }
}

/* дуже вузькі екрани */
@media (max-width: 380px){
    .container.inf{
        border-radius: 16px;
    }
    .container.inf p,
    .container.inf li{
        font-size: 14px;
    }
}
/* =========================
   NEW HEADER (PRO)
========================= */

:root{
    --hdr-h: 74px;
    --hdr-bg: rgba(16, 11, 20, .78);
    --hdr-border: rgba(255,255,255,.10);
    --hdr-shadow: 0 14px 45px rgba(0,0,0,.45);

    --hdr-radius: 18px;
    --hdr-pill: 999px;

    --c1: var(--color-primary, #7f45df);
    --c2: var(--color-secondary, #34e5d8);

    --txt: rgba(232,232,232,.92);
    --txt-dim: rgba(232,232,232,.72);
}

/* header shell */
.hdr{
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--hdr-bg);
    border-bottom: 1px solid var(--hdr-border);
    box-shadow: var(--hdr-shadow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hdr__container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hdr__row{
    min-height: var(--hdr-h);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}

/* logo */
.hdr__logo{
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.hdr__logo img{
    height: 52px;
    width: auto;
    border-radius: 12px;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
    transition: transform .18s ease, filter .2s ease;
}
.hdr__logo:hover img{ transform: scale(1.03); }

/* desktop nav */
.hdr__nav{
    display: flex;
    justify-content: center;
    gap: 10px;
}
.hdr__link{
    height: 42px;
    padding: 0 14px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;

    color: var(--txt);
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .2px;

    border: 1px solid transparent;
    background: transparent;
    transition: background .2s ease, border-color .2s ease, transform .15s ease, color .2s ease;
}
.hdr__link:hover{
    color: #fff;
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.08);
    transform: translateY(-1px);
}

/* right side */
.hdr__right{
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

/* online */
.hdr__online{
    height: 42px;
    padding: 0 14px;
    border-radius: var(--hdr-pill);

    display: inline-flex;
    align-items: center;
    gap: 10px;

    background: rgba(52,229,216,.08);
    border: 1px solid rgba(52,229,216,.18);

    color: rgba(52,229,216,.95);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.hdr__online strong{
    color: #fff;
    font-weight: 900;
}
.hdr__dot{
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c2);
    box-shadow: 0 0 0 0 rgba(52,229,216,.45);
    animation: hdrPulse 1.8s infinite;
}
@keyframes hdrPulse{
    0%{ box-shadow: 0 0 0 0 rgba(52,229,216,.45); }
    70%{ box-shadow: 0 0 0 10px rgba(52,229,216,0); }
    100%{ box-shadow: 0 0 0 0 rgba(52,229,216,0); }
}

/* buttons */
.hdr__actions{
    display: inline-flex;
    gap: 8px;
}
.hdr__btn{
    height: 42px;
    padding: 0 16px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .5px;
    text-transform: uppercase;

    border: 1px solid transparent;
    transition: transform .12s ease, filter .2s ease;
}

.hdr__btn--login{
    color: #fff;
    background: linear-gradient(90deg, var(--c1), #5f2fd0);
}
.hdr__btn--signup{
    color: #081018;
    background: linear-gradient(90deg, var(--c2), #22c3ff);
}
.hdr__btn:hover{
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* burger */
.hdr__burger{
    width: 44px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);

    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;

    cursor: pointer;
}
.hdr__burger span{
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.hdr.is-open .hdr__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hdr.is-open .hdr__burger span:nth-child(2){ opacity: 0; }
.hdr.is-open .hdr__burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* overlay */
.hdr__overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1001;
}

/* drawer */
.hdr__drawer{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(86vw, 360px);
    padding: 92px 16px 16px;

    background: rgba(16, 11, 20, .94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-right: 1px solid rgba(255,255,255,.10);
    box-shadow: 16px 0 40px rgba(0,0,0,.35);

    z-index: 1002;

    transform: translateX(-105%);
    transition: transform .22s ease;
    display: grid;
    align-content: start;
    gap: 10px;
}
.hdr.is-open .hdr__drawer{ transform: translateX(0); }

.hdr__mLink{
    height: 46px;
    padding: 0 14px;
    border-radius: 14px;

    display: inline-flex;
    align-items: center;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(232,232,232,.95);

    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.hdr__mLink:hover{
    background: rgba(255,255,255,.10);
    border-color: rgba(52,229,216,.20);
    transform: translateX(2px);
}

.hdr__mActions{
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
    .hdr__nav{ display: none; }
    .hdr__burger{ display: inline-flex; }
    .hdr__online{ display: none; }
}

@media (max-width: 420px){
    .hdr__container{ padding: 0 12px; }
    .hdr__logo img{ height: 46px; }
    .hdr__btn{ height: 40px; padding: 0 12px; font-size: 12px; border-radius: 13px; }
    .hdr__actions{ gap: 6px; }
    .hdr__burger{ width: 42px; height: 40px; border-radius: 13px; }
}
