:root {
    --bg-primary: #0F1320;
    --bg-secondary: #171C2E;
    --accent-gold: #E4B65C;
    --accent-violet: #8B5CF6;
    --text-primary: #F5F6FA;
    --text-secondary: #A0A6BC;
    --success: #4ADE80;
    --warning: #F87171;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --glow-violet: 0 0 20px rgba(139, 92, 246, 0.15);
    --glow-gold: 0 0 20px rgba(228, 182, 92, 0.25);
    --glow-violet-strong: 0 0 25px rgba(139, 92, 246, 0.4);
    --transition-speed: 0.3s;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    overflow-x: hidden;
}


body::before {
    content: '';
    position: fixed;
    top: -10%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(15, 19, 32, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(228, 182, 92, 0.04) 0%, rgba(15, 19, 32, 0) 70%);
    z-index: -1;
    pointer-events: none;
}


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


h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-violet));
    margin-top: 12px;
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

pstrong {
    color: var(--text-primary);
}

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

.text-gold {
    color: var(--accent-gold);
}

.text-violet {
    color: var(--accent-violet);
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #d49f3f 100%);
    color: #0f1320;
    box-shadow: 0 4px 15px rgba(228, 182, 92, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(25, 30, 48, 0.8);
    color: var(--text-primary);
    border: 1px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-violet);
    box-shadow: var(--glow-violet);
    background: rgba(139, 92, 246, 0.1);
}


.glass-card {
    background: rgba(23, 28, 46, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.glass-card:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: var(--glow-violet);
}


header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 120;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

header.scrolled {
    background: rgba(15, 19, 32, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-svg {
    width: 32px;
    height: 32px;
    fill: var(--accent-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 28px;
    height: 20px;
    cursor: pointer;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-speed) ease;
}


.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 19, 32, 0.98);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--accent-gold);
}

.mobile-sub-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
    width: 80%;
    max-width: 400px;
}

.mobile-sub-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.mobile-sub-link:hover {
    color: #ffffff;
}


.hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-img-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}


section {
    padding: 80px 0;
}

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


.history-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.history-text {
    font-size: 1rem;
}

.history-img-wrap {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.history-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}


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

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-violet);
}

.feature-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}


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

.explainer-images {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
}

.explainer-img-wrap {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.explainer-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}


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

.game-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb {
    transform: scale(1.08);
}

.game-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 19, 32, 0.95) 0%, rgba(15, 19, 32, 0.7) 50%, rgba(15, 19, 32, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.game-card:hover .game-info-overlay {
    opacity: 1;
}

.game-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    color: #ffffff;
}

.game-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.star-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

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

.game-card-btns .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
}

.game-card-fallback-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(15, 19, 32, 0.9) 0%, rgba(15, 19, 32, 0) 100%);
    text-align: center;
    transition: opacity var(--transition-speed) ease;
}

.game-card:hover .game-card-fallback-info {
    opacity: 0;
}

.game-card-fallback-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}


.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pros-box h3, .cons-box h3 {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pros-box h3 {
    color: var(--success);
}

.cons-box h3 {
    color: var(--warning);
}

.pros-cons-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pros-cons-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
}

.pros-cons-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pros-cons-icon.check {
    fill: var(--success);
}

.pros-cons-icon.cross {
    fill: var(--warning);
}


.table-responsive {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th, .comparison-table td {
    padding: 18px 24px;
    text-align: left;
}

.comparison-table th {
    background-color: #171c2e;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: #ffffff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.comparison-table tr {
    background-color: rgba(23, 28, 46, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.comparison-table td {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.comparison-table td strong {
    color: var(--text-primary);
}


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

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    transition: color var(--transition-speed) ease;
}

.faq-trigger:hover {
    color: var(--accent-gold);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    fill: var(--accent-gold);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease, padding-top var(--transition-speed) ease;
    padding: 0 8px;
}

.faq-item.active .faq-content {
    padding-top: 10px;
    padding-bottom: 10px;
}


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

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

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background-color: rgba(15, 19, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--warning);
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
}


.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-info-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(228, 182, 92, 0.1);
    border: 1px solid rgba(228, 182, 92, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.contact-info-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.contact-info-text h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #ffffff;
}

.map-wrapper {
    margin-top: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    position: relative;
}


.game-detail-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 60px;
    background: linear-gradient(180deg, rgba(23, 28, 46, 0.8) 0%, rgba(15, 19, 32, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-meta-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.game-badge {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.game-rating-star {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.game-demo-container {
    margin: 40px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.game-demo-placeholder {
    aspect-ratio: 16/9;
    background: radial-gradient(circle at center, #1e263f 0%, #0f1320 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.game-demo-icon {
    width: 64px;
    height: 64px;
    fill: var(--accent-gold);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(228, 182, 92, 0.3));
}

.game-demo-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-top: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.spec-item {
    background: var(--bg-secondary);
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.spec-item.violet {
    border-left-color: var(--accent-violet);
}

.spec-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.spec-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}


.page-header {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 40px;
    text-align: center;
    background: linear-gradient(180deg, rgba(23, 28, 46, 0.8) 0%, rgba(15, 19, 32, 1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content-wrap {
    padding: 60px 0;
}

.policy-text-layout {
    max-width: 800px;
    margin: 0 auto;
}

.policy-text-layout h2 {
    font-size: 1.6rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.policy-text-layout h2::after {
    display: none;
}

.policy-text-layout p {
    margin-bottom: 20px;
}

.policy-text-layout ul {
    list-style-type: disc;
    padding-left: 24px;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.policy-text-layout li {
    margin-bottom: 10px;
}


.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 12, 22, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.age-gate-modal.active {
    opacity: 1;
    visibility: visible;
}

.age-gate-box {
    max-width: 480px;
    width: 100%;
    text-align: center;
    border-top: 4px solid var(--accent-gold);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.age-gate-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 24px;
}

.age-gate-logo svg {
    width: 36px;
    height: 36px;
    fill: var(--accent-gold);
}

.age-gate-title {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.age-gate-title::after {
    display: none;
}

.age-gate-text {
    font-size: 0.95rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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


.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    z-index: 900;
    background: rgba(23, 28, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.cookie-banner.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-text {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.cookie-text a {
    color: var(--accent-gold);
    font-weight: 500;
    text-decoration: underline;
}

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

.cookie-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 4px;
}


.ai-widget-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 850;
    font-family: var(--font-body);
}

.ai-widget-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-violet) 0%, #6d28d9 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    border: none;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.ai-widget-trigger:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: var(--glow-violet-strong);
}

.ai-widget-icon {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.ai-chat-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 480px;
    background: rgba(23, 28, 46, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    visibility: hidden;
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.ai-chat-panel.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}

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

.ai-chat-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-title::after {
    display: none;
}

.ai-chat-close {
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.ai-chat-close:hover {
    color: #ffffff;
}

.ai-chat-close-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

.ai-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    line-height: 1.5;
}

.ai-msg-bot {
    background-color: rgba(15, 19, 32, 0.7);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.ai-msg-user {
    background-color: var(--accent-violet);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-chat-disclaimer {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    background-color: rgba(15, 19, 32, 0.4);
    padding: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ai-chat-input-area {
    padding: 16px 20px;
    background-color: rgba(15, 19, 32, 0.9);
    display: flex;
    gap: 10px;
    align-items: center;
}

.ai-chat-input {
    flex: 1;
    background-color: rgba(23, 28, 46, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #ffffff;
}

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

.ai-chat-send {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-violet);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    transition: transform var(--transition-speed) ease;
}

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

.ai-chat-send-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}


footer {
    background-color: #0b0e17;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 30px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.footer-brand h3::after {
    display: none;
}

.footer-brand-text {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-badge-18 {
    display: inline-block;
    background: #ef4444;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    color: #ffffff;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--accent-gold);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.footer-link:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.social-item:hover {
    color: #ffffff;
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-map-wrap {
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-map-wrap iframe {
    width: 100%;
    height: 100%;
    position: relative;
}

.footer-company-info {
    font-size: 0.8rem;
    margin-top: 10px;
    line-height: 1.5;
    color: var(--text-secondary);
}

.footer-middle {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.footer-disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer-payments-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.payments-icons-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.payment-icon {
    height: 18px;
    width: auto;
    max-width: 45px;
}

.payments-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.footer-policy-links {
    display: flex;
    gap: 20px;
}

.footer-policy-link {
    transition: color var(--transition-speed) ease;
}

.footer-policy-link:hover {
    color: #ffffff;
}


.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 12, 22, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed) ease, visibility var(--transition-speed) ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-box {
    max-width: 400px;
    width: 100%;
    text-align: center;
    border-top: 4px solid var(--success);
    padding: 40px 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.success-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(74, 222, 128, 0.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.success-icon {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.success-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.success-title::after {
    display: none;
}

.success-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}


.qeq {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


.support-badges-row {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.support-badge-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text-primary);
    transition: all var(--transition-speed) ease;
    text-decoration: none;
    min-width: 240px;
}

.support-badge-link:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--accent-violet);
    box-shadow: var(--glow-violet);
    transform: translateY(-2px);
}

.support-badge-icon {
    width: 32px;
    height: 32px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-violet);
    flex-shrink: 0;
}

.support-badge-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.support-badge-logo {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.support-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.support-badge-text strong {
    font-size: 0.9rem;
    font-weight: 600;
}

.support-badge-text span {
    font-size: 0.8rem;
    color: var(--accent-gold);
    font-weight: 500;
}
