/* ================================================================
   NOMAD CASINO - Main Stylesheet
   style.css?ver=1.7
   ================================================================ */

/* ------ CSS Variables ------ */
:root {
    --clr-bg: #2d3447;
    --clr-header: #1d2158;
    --clr-btn-login: #96a5d1;
    --clr-btn-reg: #eaae16;
    --clr-text: #e8eaf6;
    --clr-text-muted: #a0a8c8;
    --clr-border: rgba(150, 165, 209, 0.18);
    --clr-card: rgba(29, 33, 88, 0.72);
    --clr-accent: #eaae16;
    --clr-success: #27ae60;
    --clr-error: #e74c3c;
    --clr-warning: #f39c12;
    --clr-info: #3498db;
    --clr-neutral-100: #f5f6fa;
    --clr-neutral-200: #dcdde1;
    --clr-neutral-500: #7f8c8d;
    --clr-neutral-800: #2c3e50;
    --clr-neutral-900: #1a1a2e;
    --font-main: 'Roboto', Arial, sans-serif;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.28);
    --shadow-btn: 0 2px 12px rgba(0, 0, 0, 0.22);
    --transition: 0.28s cubic-bezier(.4, 0, .2, 1);
    --spacing: 8px;
}

/* ------ Base Reset ------ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--clr-btn-login);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-accent);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-main);
}

/* ------ Typography ------ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.22;
    color: #fff;
    margin-bottom: calc(var(--spacing) * 2);
}

h1 {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
}

h2 {
    font-size: clamp(1.3rem, 3vw, 2rem);
}

h3 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing);
    line-height: 1.6;
}

/* ------ Buttons ------ */
.btn-login {
    background: var(--clr-btn-login);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: inline-block;
    box-shadow: var(--shadow-btn);
    letter-spacing: 0.02em;
}

.btn-login:hover {
    background: #7b8ec7;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(150, 165, 209, 0.45);
}

.btn-reg {
    background: var(--clr-btn-reg);
    color: #1d2158;
    border: none;
    border-radius: var(--radius-sm);
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    display: inline-block;
    box-shadow: var(--shadow-btn);
    letter-spacing: 0.02em;
}

.btn-reg:hover {
    background: #f5c02a;
    color: #1d2158;
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(234, 174, 22, 0.48);
}

.btn-hero {
    background: linear-gradient(135deg, #eaae16, #f5c02a);
    color: #1d2158;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: var(--radius-md);
    border: none;
    display: inline-block;
    box-shadow: 0 4px 24px rgba(234, 174, 22, 0.4);
    transition: all var(--transition);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.btn-hero:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px rgba(234, 174, 22, 0.55);
    color: #1d2158;
}

.btn-spin {
    background: linear-gradient(135deg, var(--clr-btn-reg), #f5c02a);
    color: #1d2158;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 32px;
    border-radius: var(--radius-md);
    border: none;
    margin-top: 16px;
    transition: all var(--transition);
    box-shadow: 0 2px 14px rgba(234, 174, 22, 0.35);
}

.btn-spin:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(234, 174, 22, 0.5);
}

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

.btn-get-bonus {
    background: var(--clr-btn-reg);
    color: #1d2158 !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    display: inline-block;
    margin-top: 12px;
    transition: all var(--transition);
    box-shadow: 0 2px 12px rgba(234, 174, 22, 0.35);
    text-decoration: none !important;
}

.btn-get-bonus:hover {
    background: #f5c02a;
    transform: translateY(-1px);
}

/* ------ Section Wrapper ------ */
.section-wrap {
    padding: 56px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--clr-accent);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    background: var(--clr-header);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(150, 165, 209, 0.12);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 0 24px;
    height: 64px;
    max-width: 1280px;
    margin: 0 auto;
}

.header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 42px;
    width: auto;
    border-radius: var(--radius-sm);
}

.header-logo .logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.05em;
    margin-left: 10px;
    text-transform: uppercase;
}

.header-logo .logo-text span {
    color: var(--clr-accent);
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav ul {
    display: flex;
    gap: 4px;
}

.header-nav ul li a {
    color: var(--clr-text);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
    display: block;
}

.header-nav ul li a:hover {
    background: rgba(150, 165, 209, 0.14);
    color: #fff;
}

.header-online {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.header-online .pulse-dot {
    width: 8px;
    height: 8px;
    background: #27ae60;
    border-radius: 50%;
    animation: pulseGreen 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(39, 174, 96, 0);
    }
}

.header-online .online-count {
    color: #27ae60;
    font-weight: 700;
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Burger */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: transparent;
    border: 1.5px solid rgba(150, 165, 209, 0.3);
    border-radius: var(--radius-sm);
    gap: 5px;
    transition: border-color var(--transition);
    cursor: pointer;
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-btn:hover {
    border-color: var(--clr-accent);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 990;
}

.mobile-nav-overlay.open {
    display: block;
}

.nav-menu {
    display: flex;
}

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--clr-header);
    min-height: 480px;
    display: flex;
    align-items: center;
}

.slider-wrap {
    position: relative;
    width: 100%;
    min-height: 480px;
}

.slide-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    background-size: cover;
    background-position: center;
}

.slide-item.active {
    opacity: 1;
    z-index: 1;
}

.slide-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 33, 88, 0.88) 0%, rgba(29, 33, 88, 0.45) 60%, transparent 100%);
    z-index: 0;
}

.slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 48px 56px;
    max-width: 580px;
}

.slide-label {
    display: inline-block;
    background: var(--clr-btn-reg);
    color: #1d2158;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.slide-title {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.slide-title span {
    color: var(--clr-accent);
}

.slide-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Slider controls */
.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(29, 33, 88, 0.65);
    border: 1px solid rgba(150, 165, 209, 0.25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.slider-prev {
    left: 16px;
}

.slider-next {
    right: 16px;
}

.slider-prev:hover, .slider-next:hover {
    background: rgba(234, 174, 22, 0.7);
    border-color: var(--clr-accent);
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--clr-accent);
    width: 24px;
    border-radius: 4px;
}

/* ================================================================
   CONTENT SECTION
   ================================================================ */
.content-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   ADVANTAGES BLOCK
   ================================================================ */
.advantages-block {
    background: linear-gradient(135deg, rgba(29, 33, 88, 0.85) 0%, rgba(45, 52, 71, 0.9) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.adv-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
    background: rgba(150, 165, 209, 0.07);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    transition: transform var(--transition), border-color var(--transition);
}

.adv-item:hover {
    transform: translateY(-3px);
    border-color: rgba(234, 174, 22, 0.3);
}

.adv-icon {
    font-size: 1.8rem;
    width: 48px;
    height: 48px;
    background: rgba(234, 174, 22, 0.12);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.adv-desc {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

/* ================================================================
   MIRRORS TABLE BLOCK
   ================================================================ */
.mirrors-block {
    background: rgba(29, 33, 88, 0.8);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
}

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

.mirrors-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    background: rgba(150, 165, 209, 0.08);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
}

.mirrors-time .time-icon {
    color: var(--clr-accent);
}

.mirrors-time #mirrors-datetime {
    color: var(--clr-btn-login);
    font-weight: 600;
}

.mirrors-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(39, 174, 96, 0.15);
    color: #2ecc71;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.mirrors-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
}

.mirrors-table thead th {
    background: rgba(150, 165, 209, 0.12);
    color: var(--clr-btn-login);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--clr-border);
    white-space: nowrap;
}

.mirrors-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.mirrors-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.mirrors-table tbody tr {
    transition: background var(--transition);
}

.mirrors-table tbody tr:hover {
    background: rgba(150, 165, 209, 0.06);
}

.mirrors-table tbody td {
    padding: 11px 16px;
    border: 1px solid rgba(150, 165, 209, 0.1);
    color: var(--clr-text);
    text-align: left;
    vertical-align: middle;
}

.mirror-status-dot {
    width: 9px;
    height: 9px;
    background: #27ae60;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    animation: pulseGreen 1.8s infinite;
}

.mirror-link-btn {
    display: inline-block;
    background: var(--clr-btn-reg);
    color: #1d2158;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.mirror-link-btn:hover {
    background: #f5c02a;
    transform: translateY(-1px);
}

/* ================================================================
   WINNERS RATING
   ================================================================ */
.winners-block {
    background: linear-gradient(160deg, rgba(29, 33, 88, 0.9) 0%, rgba(45, 52, 71, 0.85) 100%);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
}

.winners-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.88rem;
}

.winners-table thead th {
    background: rgba(234, 174, 22, 0.1);
    color: var(--clr-accent);
    font-weight: 700;
    padding: 11px 16px;
    text-align: left;
    border: 1px solid rgba(234, 174, 22, 0.2);
}

.winners-table thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.winners-table thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.winners-table tbody tr {
    transition: background var(--transition);
}

.winners-table tbody tr:hover {
    background: rgba(234, 174, 22, 0.05);
}

.winners-table tbody td {
    padding: 10px 16px;
    border: 1px solid rgba(150, 165, 209, 0.09);
    color: var(--clr-text);
    text-align: left;
    vertical-align: middle;
}

.winner-rank {
    font-weight: 700;
    color: var(--clr-text-muted);
    font-size: 0.8rem;
    width: 40px;
}

.winner-rank.top1 {
    color: #ffd700;
}

.winner-rank.top2 {
    color: #c0c0c0;
}

.winner-rank.top3 {
    color: #cd7f32;
}

.winner-nick {
    font-weight: 600;
    color: var(--clr-btn-login);
}

.winner-game {
    color: var(--clr-text-muted);
    font-size: 0.82rem;
}

.winner-amount {
    font-weight: 700;
    color: var(--clr-btn-reg);
    white-space: nowrap;
    text-align: right !important;
}

/* ================================================================
   CONTENT BLOCK (golye tegi - naked HTML tags styling)
   ================================================================ */
.content-article-block {
    background: rgba(29, 33, 88, 0.6);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
}

.content-article-block h1,
.content-article-block h2,
.content-article-block h3,
.content-article-block h4,
.content-article-block h5,
.content-article-block h6 {
    color: #fff;
    margin: 1.5em 0 0.7em;
}

.content-article-block h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--clr-border);
    padding-bottom: 8px;
}

.content-article-block h3 {
    font-size: 1.2rem;
    color: var(--clr-btn-login);
}

.content-article-block p {
    margin-bottom: 1em;
    color: var(--clr-text);
    line-height: 1.7;
}

.content-article-block a {
    color: var(--clr-btn-login);
    text-decoration: underline;
}

.content-article-block a:hover {
    color: var(--clr-accent);
}

.content-article-block ul,
.content-article-block ol {
    margin: 1em 0 1em 1.5em;
    color: var(--clr-text);
}

.content-article-block ul {
    list-style: disc;
}

.content-article-block ol {
    list-style: decimal;
}

.content-article-block li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.content-article-block blockquote {
    border-left: 3px solid var(--clr-accent);
    padding: 12px 20px;
    background: rgba(234, 174, 22, 0.07);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 1.2em 0;
    color: var(--clr-text-muted);
    font-style: italic;
}

.content-article-block table {
    width: auto;
    margin: 1.2em auto;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.content-article-block table th {
    background: rgba(150, 165, 209, 0.12);
    color: var(--clr-btn-login);
    padding: 10px 16px;
    border: 1px solid var(--clr-border);
    font-weight: 600;
}

.content-article-block table td {
    padding: 9px 16px;
    border: 1px solid rgba(150, 165, 209, 0.1);
    color: var(--clr-text);
}

.content-article-block table tr:hover {
    background: rgba(150, 165, 209, 0.04);
}

.content-article-block img {
    border-radius: var(--radius-sm);
    max-width: 100%;
    margin: 1em auto;
}

.content-article-block strong {
    color: #fff;
    font-weight: 700;
}

.content-article-block em {
    color: var(--clr-text-muted);
}

.content-article-block hr {
    border: none;
    border-top: 1px solid var(--clr-border);
    margin: 1.5em 0;
}

.content-article-block code {
    background: rgba(150, 165, 209, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85em;
    color: var(--clr-btn-login);
}

/* Author block */
.author-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(150, 165, 209, 0.07);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    margin-bottom: 28px;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--clr-btn-login);
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.author-role {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-bottom: 4px;
}

.author-bio {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

.author-link {
    font-size: 0.8rem;
    color: var(--clr-btn-login);
    margin-top: 4px;
    display: inline-block;
}

/* ================================================================
   WHEEL OF FORTUNE
   ================================================================ */
.wheel-block {
    background: linear-gradient(135deg, rgba(29, 33, 88, 0.95) 0%, rgba(45, 52, 71, 0.9) 100%);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
    text-align: center;
}

.wheel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.wheel-canvas-wrap {
    position: relative;
    display: inline-block;
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(234, 174, 22, 0.25), 0 0 0 4px rgba(234, 174, 22, 0.15);
}

.wheel-desc {
    color: var(--clr-text-muted);
    font-size: 0.92rem;
    margin: 0;
    max-width: 360px;
}

.wheel-result {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.wheel-result.win {
    animation: fadeIn 0.5s ease;
}

.wheel-result.lose {
    animation: fadeIn 0.5s ease;
}

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

.win-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.win-text {
    color: #2ecc71;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.win-text strong {
    color: var(--clr-accent);
}

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

.lose-text {
    color: var(--clr-error);
    font-size: 1rem;
}

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-block {
    background: rgba(29, 33, 88, 0.7);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-card);
    margin: 0 8px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.review-card {
    background: rgba(45, 52, 71, 0.85);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--clr-border);
    transition: transform var(--transition), border-color var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: rgba(150, 165, 209, 0.3);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--clr-btn-login);
    flex-shrink: 0;
}

.review-author-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-top: 3px;
}

.review-stars svg {
    width: 13px;
    height: 13px;
}

.review-text {
    font-size: 0.84rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.review-date {
    font-size: 0.75rem;
    color: rgba(150, 165, 209, 0.5);
    margin-top: 10px;
}

/* Review Form */
.review-form-wrap {
    background: rgba(45, 52, 71, 0.6);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--clr-border);
    max-width: 520px;
    margin: 0 auto;
}

.review-form-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(29, 33, 88, 0.7);
    border: 1px solid rgba(150, 165, 209, 0.22);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: #fff;
    font-size: 0.9rem;
    font-family: var(--font-main);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--clr-btn-login);
    box-shadow: 0 0 0 3px rgba(150, 165, 209, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(150, 165, 209, 0.4);
}

.btn-submit-review {
    background: var(--clr-btn-reg);
    color: #1d2158;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    width: 100%;
    transition: all var(--transition);
    box-shadow: 0 2px 10px rgba(234, 174, 22, 0.3);
}

.btn-submit-review:hover {
    background: #f5c02a;
    transform: translateY(-1px);
}

#reviewSuccess {
    display: none;
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.success-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2ecc71;
    margin-bottom: 8px;
}

.success-text {
    color: var(--clr-text-muted);
    font-size: 0.9rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
    background: var(--clr-header);
    border-top: 1px solid rgba(150, 165, 209, 0.12);
    padding: 48px 0 24px;
    margin-top: 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.footer-brand .logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: block;
}

.footer-brand .logo-text span {
    color: var(--clr-accent);
}

.footer-brand img {
    height: 44px;
    width: auto;
    margin-bottom: 12px;
    border-radius: var(--radius-sm);
}

.footer-desc {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.footer-col-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-btn-login);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--clr-text-muted);
    font-size: 0.84rem;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-payments {
    margin-bottom: 28px;
}

.footer-payments-title {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.payment-logo {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(150, 165, 209, 0.15);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    transition: all var(--transition);
    white-space: nowrap;
}

.payment-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.provider-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.provider-logo {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(150, 165, 209, 0.12);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.76rem;
    font-weight: 600;
    color: rgba(150, 165, 209, 0.6);
    transition: all var(--transition);
}

.provider-logo:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--clr-btn-login);
}

.footer-bottom {
    border-top: 1px solid rgba(150, 165, 209, 0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.footer-legal {
    font-size: 0.73rem;
    color: rgba(150, 165, 209, 0.4);
    max-width: 680px;
    line-height: 1.5;
}

.footer-license {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: rgba(150, 165, 209, 0.5);
    background: rgba(150, 165, 209, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(150, 165, 209, 0.12);
}

/* ================================================================
   BOTTOM WIDGET
   ================================================================ */
.bottom-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: linear-gradient(90deg, #1d2158 0%, #252a6e 50%, #1d2158 100%);
    border-top: 2px solid var(--clr-btn-reg);
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
}

.widget-text {
    font-size: 0.92rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

.widget-text .widget-bonus {
    color: var(--clr-accent);
    font-weight: 800;
    font-size: 1rem;
}

.widget-btn {
    background: var(--clr-btn-reg);
    color: #1d2158 !important;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 10px 28px;
    border-radius: var(--radius-md);
    text-decoration: none !important;
    white-space: nowrap;
    transition: all var(--transition);
    box-shadow: 0 2px 14px rgba(234, 174, 22, 0.4);
    display: inline-block;
    animation: widgetPulse 2.5s ease-in-out infinite;
}

@keyframes widgetPulse {
    0%, 100% {
        box-shadow: 0 2px 14px rgba(234, 174, 22, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(234, 174, 22, 0.65);
    }
}

.widget-btn:hover {
    background: #f5c02a;
    transform: translateY(-2px);
}

.widget-close {
    background: transparent;
    border: 1px solid rgba(150, 165, 209, 0.2);
    color: rgba(150, 165, 209, 0.5);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    flex-shrink: 0;
}

.widget-close:hover {
    border-color: var(--clr-error);
    color: var(--clr-error);
}

/* body padding for widget */
body.has-widget {
    padding-bottom: 72px;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-wrap {
    animation: fadeIn 0.4s ease;
}

/* ================================================================
   FAKE / UNUSED STYLES (uniquization)
   ================================================================ */
.wp-block-paragraph {
}

.entry-content {
}

.elementor-widget-wrap {
}

.jet-listing-grid {
}

.x7k2 {
}

.b4m9 {
}

.n3j8 {
}

.q5r2 {
}

.m7k3 {
}

.z9p1 {
}

.w2v6 {
}

.d4f1 {
}

.p8q7 {
}

.yoast-schema-graph {
    display: none !important;
}

.wp-caption-text {
}

.alignleft {
    float: left;
    margin: 0 16px 8px 0;
}

.alignright {
    float: right;
    margin: 0 0 8px 16px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* ================================================================
   MEDIA QUERIES
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .header-inner {
        grid-template-columns: auto 1fr auto auto;
        gap: 12px;
    }

    .header-nav ul {
        gap: 2px;
    }

    .header-nav ul li a {
        font-size: 0.82rem;
        padding: 5px 9px;
    }

    .slide-content {
        padding: 36px 32px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        grid-template-columns: auto 1fr auto;
        height: auto;
        padding: 10px 16px;
        flex-wrap: wrap;
    }

    .header-nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    /* Mobile nav */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(20, 24, 60, 0.98);
        z-index: 995;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 40px 24px;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .nav-menu ul li a {
        font-size: 1.1rem;
        padding: 12px 20px;
        display: block;
        text-align: center;
        border-radius: var(--radius-sm);
    }

    .nav-menu ul li a:hover {
        background: rgba(150, 165, 209, 0.12);
    }

    .nav-close-btn {
        position: absolute;
        top: 16px;
        right: 16px;
        background: transparent;
        border: 1px solid rgba(150, 165, 209, 0.2);
        color: #fff;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 1.1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 240px;
        margin-top: 16px;
    }

    .nav-menu-buttons .btn-login,
    .nav-menu-buttons .btn-reg {
        text-align: center;
        padding: 12px;
        font-size: 1rem;
        border-radius: var(--radius-md);
        display: block;
    }

    .header-online {
        font-size: 0.73rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .slide-content {
        padding: 24px 20px;
    }

    .slide-title {
        font-size: 1.4rem;
    }

    .slider-wrap {
        min-height: 360px;
    }

    .hero-section {
        min-height: 360px;
    }

    .content-section {
        padding: 0 12px;
    }

    .advantages-block, .mirrors-block, .winners-block,
    .content-article-block, .wheel-block, .reviews-block {
        padding: 24px 16px;
        margin: 0 4px;
    }

    .advantages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .bottom-widget {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
        text-align: center;
    }

    .widget-text {
        font-size: 0.82rem;
    }

    #wheelCanvas {
        width: 260px !important;
        height: 260px !important;
    }

    .author-block {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .header-buttons .btn-login {
        display: none;
    }

    .header-buttons .btn-reg {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .section-wrap {
        padding: 36px 0;
    }
}

.nm-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1d2158;
    border-bottom: 1px solid rgba(150, 165, 209, .18);
    box-shadow: 0 4px 22px rgba(0, 0, 0, .35);
}

.nm-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 68px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.nm-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nm-header__logo img {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 8px;
}

.nm-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.nm-header__nav a {
    color: #e8eaf6;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}

.nm-header__nav a:hover {
    color: #eaae16;
    background: rgba(255, 255, 255, .08);
}

.nm-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.nm-btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.nm-btn--login {
    background: #96a5d1;
    color: #fff;
}

.nm-btn--login:hover {
    background: #7f91c9;
    color: #fff;
    box-shadow: 0 4px 16px rgba(150, 165, 209, .4);
}

.nm-btn--reg {
    background: #eaae16;
    color: #1d2158;
}

.nm-btn--reg:hover {
    background: #f5c02a;
    color: #1d2158;
    box-shadow: 0 4px 16px rgba(234, 174, 22, .45);
}

.nm-burger {
    display: none;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(150, 165, 209, .28);
    border-radius: 10px;
    cursor: pointer;
}

.nm-burger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: transform .25s ease, opacity .25s ease;
}

.nm-burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nm-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.nm-burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nm-mobile {
    display: none;
}

@media (max-width: 768px) {
    .nm-header__inner {
        min-height: 62px;
        padding: 9px 14px;
    }

    .nm-header__nav {
        display: none;
    }

    .nm-header__inner {
        justify-content: space-between;
    }

    .nm-burger {
        display: flex;
    }

    .nm-mobile {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: #252a6e;
        border-top: 1px solid rgba(150, 165, 209, .18);
        transition: max-height .3s ease;
    }

    .nm-mobile.is-open {
        max-height: 520px;
    }

    .nm-mobile__nav {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 16px 14px 10px;
    }

    .nm-mobile__nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        color: #e8eaf6;
        background: rgba(255, 255, 255, .06);
        border: 1px solid rgba(150, 165, 209, .18);
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

    .nm-mobile__nav a:hover {
        color: #eaae16;
        background: rgba(234, 174, 22, .12);
    }

    .nm-mobile__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 14px 16px;
    }

    .nm-mobile__actions .nm-btn {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .nm-mobile__actions {
        grid-template-columns: 1fr;
    }

    .nm-header__logo img {
        height: 38px;
    }
}
