@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-dark: #05060b;
    --bg-sidebar: linear-gradient(to bottom, #110e26, #090815);
    --bg-card: rgba(18, 15, 38, 0.6);
    --bg-card-hover: rgba(28, 24, 58, 0.85);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(249, 115, 22, 0.3);
    
    --primary: #f97316;
    --primary-hover: #ea580c;
    --secondary: #e11d48;
    --secondary-hover: #be123c;
    --accent: #ff6900;
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --gradient-primary: linear-gradient(135deg, #f97316, #e11d48);
    --gradient-accent: linear-gradient(135deg, #ff6900, #e65f2a);
    --gradient-glow: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, rgba(5, 6, 11, 0) 70%);
    
    --font-sans: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-neon: 0 0 20px rgba(249, 115, 22, 0.3);
    --border-radius: 16px;
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
}


::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}


.main-layout {
    display: block;
    min-height: 100vh;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    box-shadow: var(--shadow-neon);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #fff;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 105, 0, 0.35);
}

.btn-dark {
    background: #090815;
    color: #fff;
    border: 1px solid var(--border-color);
}

.btn-dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}


.header-18-bar {
    background-color: var(--accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    text-align: center;
    padding: 6px 0;
    letter-spacing: 0.1em;
    position: fixed;
    top: 0;
    left: 280px;
    width: calc(100% - 280px);
    z-index: 99;
    height: 30px;
    line-height: 18px;
}

.sidebar-header {
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 24px;
    z-index: 100;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}

.sidebar-top {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.sidebar-btns .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 12px;
    border-radius: 12px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.sidebar-nav-item:hover, .sidebar-nav-item.active {
    color: #fff;
    background: rgba(139, 92, 246, 0.15);
}

.sidebar-nav-item.active::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.sidebar-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition);
}

.sidebar-nav-icon svg {
    width: 18px;
    height: 18px;
}

.sidebar-nav-item:hover .sidebar-nav-icon, .sidebar-nav-item.active .sidebar-nav-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.sidebar-bottom {
    display: flex;
    justify-content: flex-start;
}

.lang-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-btn:hover {
    color: #fff;
    border-color: var(--primary);
}


.mobile-bar {
    display: none;
}


.main-content {
    margin-left: 280px;
    padding-top: 30px; 
    background-color: var(--bg-dark);
    position: relative;
}


.hero {
    position: relative;
    padding: 120px 24px 80px;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12) 0%, transparent 60%);
    text-align: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-glow);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.2);
}

.hero-desc-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto 40px;
}

.hero-desc-line {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
}


.hero-circle-wrap {
    width: 280px;
    height: 280px;
    border: 2px dashed rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}

.hero-circle-wrap::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.btn-circle-small {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid var(--border-glow);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.btn-circle-small:hover {
    background: var(--primary);
    box-shadow: var(--shadow-neon);
}

.btn-circle-large {
    background: var(--gradient-primary);
    color: #fff;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-neon);
    cursor: pointer;
}

.btn-circle-large:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5);
}

.hero-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(18, 15, 38, 0.5);
    border: 1px solid var(--border-color);
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    margin-top: 24px;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}


.features {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-neon);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.features-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.15);
}

.features-divider svg {
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


.why-choose {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent, rgba(18, 15, 38, 0.3), transparent);
}

.why-wrap {
    background: rgba(18, 15, 38, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-wrap::after {
    content: '';
    position: absolute;
    right: -10%;
    top: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.why-wrap .section-title {
    margin-bottom: 12px;
}

.why-wrap p {
    margin-bottom: 32px;
    max-width: 600px;
    margin: 0 auto 32px;
}


.company-support {
    padding: 80px 0;
}

.company-support-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
}

.support-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.support-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.support-title-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 105, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.support-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.support-item {
    display: flex;
    gap: 16px;
}

.support-item-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: 8px;
    flex-shrink: 0;
}

.info-block {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
}

.info-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-title svg {
    color: var(--secondary);
}

.company-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    gap: 12px;
}

.contact-detail-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}


.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 60px 0;
}

.adv-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
}

.adv-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-card-hover);
}

.adv-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.adv-text {
    font-size: 0.85rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    margin-bottom: 40px;
}

.links-column h3 {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #fff;
}

.links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-column a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.links-column a:hover {
    color: var(--secondary);
    padding-left: 4px;
}


.disclaimer {
    background: rgba(18, 15, 38, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 60px;
}

.disclaimer-title {
    font-size: 0.95rem;
    color: var(--accent);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.disclaimer-text {
    font-size: 0.85rem;
    line-height: 1.7;
}


.footer {
    background: #040509;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-18 {
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    margin-left: 12px;
}

.footer-nav {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-nav-link {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-nav-link:hover {
    color: #fff;
}


.form-page-container {
    padding: 80px 0 100px;
    background: radial-gradient(circle at top, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

.form-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.form-card-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.form-card-desc {
    margin-bottom: 36px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    background: rgba(7, 8, 14, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.25);
    background: rgba(7, 8, 14, 0.8);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 28px 0;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: rgba(7, 8, 14, 0.6);
    cursor: pointer;
    margin-top: 3px;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-checkbox-label a {
    color: var(--secondary);
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}


.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 480px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: invert(90%) hue-rotate(180deg) contrast(95%);
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 9, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #0e0f17;
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.modal-text {
    margin-bottom: 32px;
}

.modal-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}


.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 450px;
    background: rgba(18, 15, 38, 0.98);
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

.cookie-text {
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: 8px;
}


.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
}

.ai-chat-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: var(--shadow-neon);
    transition: var(--transition);
}

.ai-chat-btn:hover {
    transform: scale(1.05);
}

.ai-chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background: #0f1017;
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
}

.ai-chat-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.ai-chat-header {
    background: rgba(18, 20, 32, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-chat-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-agent-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.ai-chat-agent-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.ai-chat-agent-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.ai-chat-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ai-chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.ai-chat-msg.agent {
    background: var(--bg-card);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid var(--border-color);
}

.ai-chat-msg.user {
    background: var(--primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-chat-input-area {
    padding: 16px;
    border-top: 1px solid var(--border-color);
    background: rgba(18, 20, 32, 0.5);
    display: flex;
    gap: 10px;
}

.ai-chat-input {
    flex: 1;
    background: rgba(7, 8, 14, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.85rem;
}

.ai-chat-input:focus {
    outline: none;
    border-color: var(--primary);
}

.ai-chat-send {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
}


.games-showcase {
    padding: 80px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.game-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.game-showcase-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-neon);
}

.game-showcase-img-wrap {
    height: 220px;
    background: #0f1017;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.game-showcase-img-wrap svg {
    color: var(--primary);
    transition: var(--transition);
}

.game-showcase-card:hover .game-showcase-img-wrap svg {
    transform: scale(1.1);
}

.game-showcase-info {
    padding: 24px;
}

.game-showcase-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #fff;
}

.game-showcase-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
}


.leaders-section {
    padding: 80px 0;
}

.leaders-table-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    overflow-x: auto;
}

.leaders-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaders-table th {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.leaders-table td {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.leaders-table tr:last-child td {
    border-bottom: none;
}

.leader-rank {
    font-weight: 800;
    color: var(--secondary);
}

.leader-user {
    font-weight: 600;
    color: #fff;
}

.leader-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-gold {
    background: rgba(255, 105, 0, 0.15);
    color: var(--accent);
    border: 1px solid rgba(255, 105, 0, 0.3);
}

.badge-silver {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-bronze {
    background: rgba(59, 130, 246, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(59, 130, 246, 0.3);
}


.faq-section {
    padding: 80px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question-btn {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px;
    text-align: left;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question-btn svg {
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(7, 8, 14, 0.2);
}

.faq-answer-content {
    padding: 0 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--border-glow);
}

.faq-item.active .faq-question-btn svg {
    transform: rotate(180deg);
    color: var(--primary);
}


.policy-section {
    padding: 80px 0 120px;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 60px;
}

.policy-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #fff;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}

.policy-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: #fff;
}

.policy-content p {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.policy-content ul {
    margin: 16px 0 24px 24px;
}

.policy-content li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}


.success-msg {
    display: none;
    margin-top: 24px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    color: #10b981;
    font-weight: 600;
    text-align: center;
}


@media (max-width: 1024px) {
    .main-layout {
        display: block;
    }
    
    .header-18-bar {
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        padding: 10px 16px;
        font-size: 0.8rem;
        line-height: 1.4;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        display: block;
        text-align: center;
    }
    
    .sidebar-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #0d0b1f;
        border-bottom: 1px solid var(--border-color);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        z-index: 100;
        box-shadow: 0 5px 20px rgba(0,0,0,0.4);
    }
    
    .sidebar-top {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .sidebar-btns {
        display: none;
    }
    
    .sidebar-header nav {
        position: absolute;
        width: 0;
        height: 0;
    }
    
    .sidebar-nav {
        position: fixed;
        top: 70px; 
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #090815;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 99;
        transition: 0.4s ease;
        padding: 40px;
    }
    
    .sidebar-nav.active {
        left: 0;
    }
    
    .sidebar-nav-item {
        width: 80%;
        max-width: 320px;
        justify-content: center;
    }
    
    .sidebar-bottom {
        display: none;
    }
    
    
    .mobile-bar {
        display: block;
    }
    
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
    }
    
    .burger span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 2px;
        transition: var(--transition);
    }
    
    
    .main-content {
        margin-left: 0;
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .features-divider {
        display: none;
    }
    
    .company-support-grid {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-layout {
        grid-template-columns: 1fr;
    }
    
    .map-wrap {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .why-wrap {
        padding: 40px 24px;
    }
    
    .footer-wrap {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .form-card {
        padding: 24px;
    }
    
    .policy-card {
        padding: 32px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-desc-wrap {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-desc-line {
        display: none;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .leaders-table-wrap {
        padding: 16px 8px;
    }
    
    .leaders-table th, .leaders-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    
    .ai-chat-window {
        width: calc(100vw - 48px);
        right: -12px;
    }
}


@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 1.15rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .form-card-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 24px 16px;
    }
    
    .modal-title {
        font-size: 1.35rem;
    }
}

.social-icon {
    transition: var(--transition);
}
.footer-nav-link:hover .social-icon {
    color: var(--primary);
    transform: scale(1.1);
}


.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 5, 9, 0.97);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.game-modal.active {
    display: flex;
}
.game-modal-container {
    width: 90%;
    height: 85%;
    max-width: 1200px;
    background: #0d0b1f;
    border: 1px solid var(--border-glow);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.4);
}
.game-modal-header {
    background: rgba(18, 20, 32, 0.85);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.game-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.game-modal-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.game-modal-close:hover {
    color: #fff;
    transform: scale(1.1);
}
.game-modal-body {
    flex: 1;
    position: relative;
}
.game-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.game-modal-footer {
    background: rgba(18, 20, 32, 0.85);
    border-top: 1px solid var(--border-color);
    padding: 12px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

.game-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.game-showcase-card:hover .game-cover-img {
    transform: scale(1.05);
}


.advantages-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.support-resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 24px;
}
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .advantages-stats-grid,
    .support-resources-grid,
    .about-features-grid {
        grid-template-columns: 1fr;
    }
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .about-stats-grid {
        grid-template-columns: 1fr;
    }
}

.games-hero-stats {
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}
.games-filter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 24px;
}
.games-filter-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) auto;
    gap: 16px;
    align-items: center;
}
.games-filter-info {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: right;
}

@media (max-width: 1024px) {
    .games-hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .games-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .games-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 576px) {
    .games-hero-stats {
        grid-template-columns: 1fr;
    }
    .games-filter-grid {
        grid-template-columns: 1fr;
    }
    .games-filter-info {
        text-align: center;
    }
}
