* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --primary-dark: #e55d00;
    --secondary-color: #ffa500;
    --accent-color: #ffd700;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --card-bg: #252541;
    --text-light: #ffffff;
    --text-gray: #b4b4c8;
    --border-color: rgba(255, 255, 255, 0.1);
}
h1,h2,h3,h4 {
    padding-bottom: 10px;
}
body {
    min-height: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #ffffff;
    background-color: #16213e;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
/* HEADER TOP */

.header-top {
    border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-top-inner {
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:70px;
}

/* logo */

.logo-title{
    font-size:22px;
    font-weight:800;
    color:#00d0ff;
    letter-spacing:1px;
}

.logo-sub{
    font-size:11px;
    color:#aaa;
}

/* actions */

.header-actions{
    display:flex;
    align-items:center;
    gap:18px;
}

/* login */

.btn-login{
    color:white;
    padding:8px 18px;
    border:1px solid #1379ff;
    border-radius:6px;
    text-decoration:none;
}

.btn-login:hover{
    border-color:#00d0ff;
}

/* register */

.btn-register{
    background:linear-gradient(135deg,#00b4db,#0083b0);
    padding:9px 20px;
    border-radius:8px;
    color:white;
    font-weight:600;
    text-decoration:none;
}

.btn-register:hover{
    transform:translateY(-1px);
}

/* social */

.social-login{
    display:flex;
    align-items:center;
    gap:10px;
    color:#aaa;
    font-size:13px;
}

.social-icon{
    width:30px;
    height:30px;
    border-radius:50%;
    background:#252541;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    color:white;
    font-size:14px;
}

.social-icon:hover{
    background:#00b4db;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
}

.btn-login {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-login:hover {
    border-color: var(--primary-color);
    background: rgba(0, 132, 255, 0.3);
}

.btn-register {
    background: #1379ff;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 132, 255, 0.3);
}

.btn-primary {
    background: #1379ff;
    color: var(--text-light);
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 132, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

/* Hero Banner */
.hero-banner {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 420px);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.banner-content {
    text-align: left;
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--text-light);
}

.badge-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.banner-title {
    font-size: 58px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    color: var(--text-light);
}

.header-menu a{
    color:white;
    text-decoration: none;
}

.header-menu {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 78px;
    display: flex;
    align-items: center;
    margin: 0 8px; 
    justify-content: flex-start;
}

.menu-inner {
    display: flex;
    justify-content: center;   /* центрирование */
    align-items: center;
    width: 100%;
    padding: 12px 0;
}

.menu-inner::-webkit-scrollbar {
    display: none;
}

.menu-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 30px;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    flex: 0 0 auto;
}

.menu-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 208, 255, 0.2);
    transform: translateY(-1px);
}

.menu-item.active {
    color: #00d0ff;
    background: linear-gradient(180deg, rgba(0, 208, 255, 0.14) 0%, rgba(0, 208, 255, 0.06) 100%);
    border-color: rgba(0, 208, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(0, 208, 255, 0.05), 0 10px 24px rgba(0, 208, 255, 0.1);
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.menu-text {
    display: inline-block;
    line-height: 1;
}

.menu-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 208, 255, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.menu-item.active {
    color: #00d0ff;
    background: linear-gradient(180deg, rgba(0, 208, 255, 0.16) 0%, rgba(0, 208, 255, 0.08) 100%);
    border-color: rgba(0, 208, 255, 0.3);
    box-shadow: 0 0 0 1px rgba(0, 208, 255, 0.08), 0 12px 28px rgba(0, 208, 255, 0.12);
}

.menu-item.active:hover {
    color: #3fe3ff;
    background: linear-gradient(180deg, rgba(0, 208, 255, 0.2) 0%, rgba(0, 208, 255, 0.1) 100%);
    border-color: rgba(0, 208, 255, 0.38);
}

.menu-item::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 208, 255, 0) 0%, rgba(0, 208, 255, 0) 100%);
    transition: background 0.25s ease;
}

.menu-item.active::after {
    background: linear-gradient(90deg, rgba(0, 208, 255, 0) 0%, rgba(0, 208, 255, 1) 50%, rgba(0, 208, 255, 0) 100%);
}

.menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.menu-text {
    display: inline-block;
    line-height: 1;
}

/* ---------- HEADER ADAPTIVE FIX ---------- */

@media (max-width: 992px) {
    .header-top {
        min-height: auto;
    }

    .header-top-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo buttons"
            "nav nav";
        align-items: center;
        gap: 14px 16px;
        min-height: auto;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .logo {
        grid-area: logo;
        min-width: 0;
        width: auto;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .header-nav {
        grid-area: nav;
        width: 100%;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .header-buttons {
        grid-area: buttons;
        width: auto;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .logo-svg svg {
        width: 118px;
    }

    .logo-sub {
        font-size: 12px;
        margin-bottom: 0;
    }

    .menu-item {
    min-height: 32px;
    padding: 0px 22px;
    font-size: 15px;
    border-radius: 9px;
}

    .btn-login,
    .btn-register {
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
        border-radius: 10px;
    }
}

/* mobile */
@media (max-width: 768px) {
    .header-top {
        padding: 8px 0 10px;
    }

    .header-top-inner {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "logo buttons"
            "nav nav";
        align-items: center;
        gap: 10px 8px;
        padding-top: 0;
        padding-bottom: 0;
        height: auto;
    }

    .logo {
        align-items: center;
        gap: 6px;
    }

    .logo-svg svg {
        width: 82px;
    }

    .logo-sub {
        font-size: 10px;
        line-height: 1.05;
        margin: 0;
        white-space: nowrap;
    }

     .header-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }

    .btn-login,
    .btn-register {
        width: auto !important;
        flex: 0 0 auto !important;
    }
}

    .header-nav {
        justify-content: center;
        gap: 6px;
        padding-top: 2px;
    }

    .menu-item {
        min-height: 34px;
        padding: 0 10px;
        font-size: 11px;
        border-radius: 10px;
        gap: 5px;
    }

    .menu-icon {
        width: 12px;
        height: 12px;
        font-size: 11px;
    }
}

/* small mobile */
@media (max-width: 480px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-top {
        padding: 6px 0 8px;
    }

    .header-top-inner {
        gap: 8px 6px;
    }

    .logo-svg svg {
        width: 74px;
    }

    .logo-sub {
        font-size: 9px;
    }

     .header-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
        width: auto;
    }

      .btn-login,
    .btn-register {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 0 10px;
        font-size: 11px;
    }
}

    .header-nav {
        gap: 5px;
        justify-content: center;
    }

    .menu-item {
        min-height: 32px;
    padding: 0px 22px;
    font-size: 15px;
    border-radius: 9px;
}
    }

    .menu-icon {
        width: 11px;
        height: 11px;
        font-size: 10px;
    }
}
.banner-title .highlight {
    background: #1379ff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.banner-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.banner-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-height: 92px;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #1379ff;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.feature-info {
    text-align: left;
}

.feature-info strong {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1.3;
}

.feature-info small {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Banner Decoration */
.banner-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.circle-2 {
    width: 600px;
    height: 600px;
    top: 50%;
    right: -300px;
    animation-delay: 5s;
}

.circle-3 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: 50%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Content Block */
.content-block {
    padding: 48px 0 80px;
    margin-top: -10px;
    position: relative;
    z-index: 3;
}

.content-wrapper {
    background: linear-gradient(180deg, rgba(37, 37, 65, 0.96) 0%, rgba(26, 26, 46, 0.96) 100%);
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    min-height: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.content-wrapper h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-light);
}

.content-wrapper p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.text-content {
    margin-top: 30px;
}

.text-content h3 {
    font-size: 28px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-light);
}

.text-content h4 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.text-content ul,
.text-content ol {
    margin-left: 25px;
    margin-bottom: 20px;
}

.text-content li {
    margin-bottom: 10px;
    color: var(--text-gray);
    line-height: 1.8;
}

.text-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.text-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.text-content strong {
    color: var(--text-light);
}

.text-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-gray);
}

.text-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .banner-content {
        max-width: 100%;
        text-align: center;
    }

    .banner-title {
        font-size: 48px;
    }

    .banner-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .banner-buttons {
        justify-content: center;
        margin-bottom: 10px;
    }

    .banner-features {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-buttons {
        gap: 8px;
        width: 100%;
    }

    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .hero-banner {
        padding: 56px 0 72px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-subtitle {
        font-size: 16px;
        padding: 0;
    }

    .banner-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-large {
        width: 100%;
        padding: 16px 28px;
        font-size: 15px;
    }

    .banner-features {
        gap: 14px;
    }

    .feature-badge {
        padding: 16px 18px;
    }

    .content-wrapper {
        padding: 32px 22px;
    }

    .content-wrapper h2 {
        font-size: 28px;
    }

    .text-content h3 {
        font-size: 24px;
    }

    .text-content h4 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .header-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-login,
    .btn-register {
        width: 100%;
        padding: 10px 16px;
        font-size: 12px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-subtitle {
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 20px;
        font-size: 14px;
    }

    .feature-icon {
        font-size: 30px;
    }

    .feature-info strong {
        font-size: 15px;
    }

    .feature-info small {
        font-size: 12px;
    }

    .content-wrapper {
        padding: 26px 18px;
    }
}
.fixed-play-btn {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #1379ff 0%, #2d8cff 100%);
    box-shadow: 0 12px 30px rgba(19, 121, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.fixed-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(19, 121, 255, 0.42);
}

body {
    padding-bottom: 90px;
}

@media (min-width: 769px) {
    .fixed-play-btn {
        left: auto;
        right: 24px;
        bottom: 24px;
        min-height: 52px;
        padding: 0 22px;
        font-size: 16px;
        border-radius: 14px;
    }

    body {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .fixed-play-btn {
        left: 12px;
        right: 12px;
        bottom: 12px;
        min-height: 52px;
        font-size: 16px;
        border-radius: 14px;
    }

    body {
        padding-bottom: 82px;
    }
}
/* ---------- MOBILE HEADER STRUCTURE ---------- */

@media (max-width: 768px) {

.header-top-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "logo buttons"
        "nav nav";
    align-items: center;
    gap: 10px;
}

/* логотип */
.logo {
    grid-area: logo;
}

/* кнопки вход / регистрация */
.header-buttons {
    grid-area: buttons;
    display: flex;
    gap: 8px;
}

/* меню */
.header-nav {
    grid-area: nav;
    width: 100%;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 6px;
}

/* убираем скроллбар */
.header-nav::-webkit-scrollbar {
    display: none;
}

.menu-item {
    flex: 0 0 auto;
}

/* уменьшаем кнопки */
.btn-login,
.btn-register {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
}

}
@media (max-width: 768px){

    /* скрываем меню */
    .header-nav{
        display:none !important;
    }

    /* контейнер кнопок */
    .header-buttons{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        gap:8px;
    }

    /* кнопки */
    .btn-login,
    .btn-register{
        display:flex;
        align-items:center;
        justify-content:center;
        text-align:center;

        height:38px;
        padding:0 16px;

        line-height:1;
        font-weight:600;
    }
}

.banner-content a{
color: white;
text-decoration: none;
}

/* ===== TABLE STYLE ===== */

table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    margin:40px 0;
    font-size:15px;
    background:rgba(255,255,255,0.03);
    border-radius:14px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(6px);
}

/* header */

table thead{
    background:linear-gradient(135deg,#1379ff 0%,#1e9bff 100%);
}

table thead th{
    padding:16px 18px;
    text-align:left;
    font-weight:700;
    color:#fff;
    font-size:15px;
    letter-spacing:.3px;
}

/* body */

table tbody td{
    padding:16px 18px;
    border-top:1px solid rgba(255,255,255,0.06);
    color:rgba(255,255,255,0.9);
}

/* zebra */

table tbody tr:nth-child(even){
    background:rgba(255,255,255,0.02);
}

/* hover */

table tbody tr:hover{
    background:rgba(19,121,255,0.08);
    transition:all .25s ease;
}

/* first column highlight */

table tbody td:first-child{
    font-weight:600;
    color:#1379ff;
}

/* rounded corners */

table thead th:first-child{
    border-top-left-radius:14px;
}

table thead th:last-child{
    border-top-right-radius:14px;
}

table tbody tr:last-child td:first-child{
    border-bottom-left-radius:14px;
}

table tbody tr:last-child td:last-child{
    border-bottom-right-radius:14px;
}
/* ===== TABLE MOBILE ===== */

@media (max-width:768px){

table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
    border-radius:12px;
}

table thead th{
    font-size:13px;
    padding:14px;
}

table tbody td{
    font-size:13px;
    padding:14px;
}

}