﻿

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}
.skip-link:focus {
    top: 0;
}

.nav-toggle-btn {
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

:root {
    --primary: #6C5CE7;
    --primary-dark: #5A4BD1;
    --primary-light: #A29BFE;
    --accent: #00CEC9;
    --accent-dark: #00B5B0;
    --accent-light: #81ECEC;
    --bg-dark: #0B0E17;
    --bg-card: #131729;
    --bg-card-hover: #1A1F35;
    --bg-section: #0F1221;
    --text-white: #FFFFFF;
    --text-light: #DFE6E9;
    --text-muted: #A0A8B4;
    --border: rgba(108, 92, 231, 0.25);
    --glow: rgba(108, 92, 231, 0.4);
    --gradient-hero: linear-gradient(135deg, #0B0E17 0%, #1A1040 50%, #0B0E17 100%);
    --gradient-card: linear-gradient(145deg, #131729 0%, #1A1F35 100%);
    --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

body {
    background: var(--bg-dark);
    background-attachment: fixed;
    color: var(--text-white);
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(108, 92, 231, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 206, 201, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 1;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media (max-width: 767px) {
    .container { padding-right: 10px; padding-left: 10px; max-width: 100vw; }
}
@media (max-width: 480px) {
    .container { padding-right: 8px; padding-left: 8px; }
}
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
}

h1 { font-size: calc(1.75rem + 2vw); font-weight: 800; letter-spacing: -0.5px; }
.hero-h1 { font-size: calc(1.5rem + 1.5vw); font-weight: 700; margin-bottom: 1.5rem; }

@media (min-width: 1200px) {
    h1 { font-size: 3rem; }
    .hero-h1 { font-size: 2rem; }
}
@media (max-width: 767px) {
    .hero-h1 { font-size: 1.5rem; }
}

.hero-description { margin: 1.5rem 0; }
.hero-description p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}
.hero-description strong { color: var(--accent); font-weight: 700; }

@media (max-width: 767px) {
    .hero-description p { font-size: 0.95rem; line-height: 1.7; text-align: left; }
}

h2 { font-size: calc(1.5rem + 1vw); font-weight: 700; }
@media (min-width: 1200px) { h2 { font-size: 2.5rem; } }
h3 { font-size: calc(1.3rem + 0.8vw); }
@media (min-width: 1200px) { h3 { font-size: 2rem; } }
h4 { font-size: calc(1.2rem + 0.5vw); }
@media (min-width: 1200px) { h4 { font-size: 1.5rem; } }

h1 .title-link, h2 .title-link, h3 .title-link {
    text-decoration: none;
    color: var(--accent);
    transition: all 0.3s ease;
}
h1 .title-link:hover, h2 .title-link:hover, h3 .title-link:hover {
    color: var(--primary-light);
    text-shadow: 0 0 20px var(--glow);
}

.text-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}
.text-link:hover {
    color: var(--accent-light);
    border-bottom-color: var(--accent);
}

@media (max-width: 767px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
}

p { margin: 0 0 1rem 0; color: var(--text-muted); line-height: 1.8; }

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    transition: box-shadow 0.3s ease;
}
img:hover { box-shadow: 0 8px 30px rgba(108, 92, 231, 0.2); }
.img-fluid { max-width: 100%; height: auto; }

.btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-block;
    border: none;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    width: auto;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    border: 2px solid var(--primary);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent) 0%, #00B894 100%);
    color: var(--bg-dark);
    border: 2px solid var(--accent);
}

.btn-lg { padding: 12px 32px; font-size: 16px; }
.btn-sm { padding: 6px 16px; font-size: 12px; }

@media (max-width: 767px) {
    section .btn {
        padding: 10px 22px;
        font-size: 14px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto;
        margin: 4px 4px;
    }
    .btn-lg { padding: 12px 26px; font-size: 15px; }
}

.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-center { justify-content: center !important; }
.align-items-center { align-items: center !important; }
.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.text-decoration-none { text-decoration: none; }

.bg-primary {
    background: linear-gradient(135deg, #1A1040 0%, var(--bg-section) 100%);
    position: relative;
}
.bg-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(108, 92, 231, 0.03) 10px, rgba(108, 92, 231, 0.03) 20px);
}

.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-3 { margin-left: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
@media (max-width: 767px) { .py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; } }

.rounded-2 { border-radius: var(--radius-sm); }
.rounded-5 { border-radius: var(--radius-xl); }

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    box-sizing: border-box;
    width: calc(100% + 30px);
}
@media (max-width: 767px) { .row { margin-right: -10px; margin-left: -10px; width: calc(100% + 20px); } }
@media (max-width: 480px) { .row { margin-right: -8px; margin-left: -8px; width: calc(100% + 16px); } }
.row > * { padding-right: 15px; padding-left: 15px; }
.col-12 { flex: 0 0 auto; width: 100%; }
@media (min-width: 992px) { .col-lg-6 { flex: 0 0 auto; width: 50%; } }
@media (min-width: 768px) {
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333%; }
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666%; }
}
.offset-lg-2 {}
@media (min-width: 992px) { .offset-lg-2 { margin-left: 16.666%; } }

header {
    background: rgba(11, 14, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header img {
    filter: none;
    transition: transform 0.3s ease;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}
.logo-link:hover { transform: scale(1.05); }
.logo-link img { width: 100px; height: 100px; object-fit: contain; box-shadow: none; border-radius: 50%; }

.header-nav {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
}

.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header-top-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
}

.hamburger-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    gap: 5px;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    position: relative;
}
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger-menu:hover span { background: var(--primary-light); }
.hamburger-menu:active { transform: scale(0.95); }
.hamburger-menu.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); position: relative; top: 5px; }
.hamburger-menu.active span:nth-child(2) { opacity: 0; }
.hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); position: relative; bottom: 5px; }

.header-bottom-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    width: auto;
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
    min-height: 36px;
    white-space: nowrap;
    flex: 0 0 auto;
    border-radius: 9999px;
}

.header-nav-links {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-top: 15px;
    margin-bottom: 0;
    padding: 0;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: visible;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    position: relative;
}
.header-nav-links:has(+ .nav-dropdown-expand.open) {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: none;
    box-shadow: none;
}
.header-nav-links.menu-open { display: flex; }

.header-nav-links::-webkit-scrollbar { display: none; }

.nav-link-small {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    text-transform: capitalize;
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
    z-index: 1;
}
.nav-link-small:last-child { border-right: none; }
.nav-link-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    z-index: 1;
}
.nav-link-small:hover { color: var(--accent); transform: translateY(-2px); }
.nav-link-small:hover::after { width: 100%; }

.nav-dropdown .nav-link-small {
    cursor: pointer;
    gap: 6px;
}
.nav-dropdown .nav-link-small .dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    display: inline-block;
}
.nav-dropdown.open .nav-link-small .dropdown-arrow,
.dropdown-arrow.open {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    display: none;
}
.nav-dropdown-menu a {
    display: inline-block;
    padding: 10px 18px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-right: 1px solid var(--border);
}
.nav-dropdown-menu a:last-child {
    border-right: none;
}
.nav-dropdown-menu a:hover {
    background: rgba(108, 92, 231, 0.15);
    color: var(--accent);
}

.nav-dropdown-expand {
    display: none;
    width: 100%;
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 999;
    margin-top: 0;
}
.nav-dropdown-expand.open {
    display: flex;
}
.nav-dropdown-expand a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-right: 1px solid var(--border);
    flex: 1 1 auto;
    text-align: center;
    min-height: 44px;
    position: relative;
}
.nav-dropdown-expand a:last-child {
    border-right: none;
}
.nav-dropdown-expand a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}
.nav-dropdown-expand a:hover {
    color: var(--accent);
    background: rgba(108, 92, 231, 0.1);
}
.nav-dropdown-expand a:hover::after {
    width: 100%;
}

@media (max-width: 767px) {
    header { padding: 10px 0; }
    header .container { padding-left: 10px; padding-right: 10px; }
    .header-nav { gap: 10px; align-items: flex-start; }
    .logo-link img { width: 100px; height: 100px; }
    .header-right { flex: 1; min-width: 0; }
    .header-top-row { margin-bottom: 6px; justify-content: flex-start; }
    .hamburger-menu { width: 48px; height: 48px; padding: 12px; }
    .hamburger-menu span { height: 4px; }
    .header-nav-links { display: none; flex-direction: column; width: 100%; margin-top: 10px; }
    .header-nav-links.menu-open { display: flex; }
    .nav-link-small { width: 100%; border-right: none; border-bottom: 1px solid var(--border); }
    .nav-link-small:last-child { border-bottom: none; }
    .header-bottom-row { gap: 6px; justify-content: stretch; width: 100%; }
    .header-bottom-row .btn-small { flex: 1 1 0; padding: 8px 0; font-size: 13px; min-height: 36px; text-align: center; }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-expand {
        flex-direction: row;
        flex-wrap: wrap;
        border: 1px solid var(--border);
        border-top: none;
        border-radius: 0 0 var(--radius-sm) var(--radius-sm);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        max-width: 100%;
    }
    .nav-dropdown-expand a {
        flex: 1 1 calc(33.333% - 1px);
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 10px 8px;
        font-size: 13px;
        text-align: center;
        justify-content: center;
        min-width: 0;
        box-sizing: border-box;
    }
    .nav-dropdown-expand a:nth-child(3n) { border-right: none; }
    .nav-dropdown-expand a:last-child { border-right: none; }
}

@media (max-width: 480px) {
    header { padding: 8px 0; }
    header .container { padding-left: 8px; padding-right: 8px; }
    .header-nav { gap: 8px; }
    .header-top-row { margin-bottom: 5px; }
    .hamburger-menu { width: 44px; height: 44px; padding: 10px; }
    .hamburger-menu span { height: 4px; }
    .header-bottom-row { gap: 5px; width: 100%; }
    .header-bottom-row .btn-small { flex: 1 1 0; padding: 7px 0; font-size: 12px; min-height: 32px; text-align: center; }
}

@media (min-width: 768px) {
    .header-nav { align-items: center; justify-content: space-between; flex-direction: row; }
    .header-right { flex-direction: row; align-items: center; flex: 0 0 auto; gap: 10px; }
    .header-top-row { display: none; }
    .header-bottom-row { flex-direction: row; gap: 2px; width: auto; justify-content: flex-end; margin: 0; }
    .hamburger-menu { display: none; }
    .header-nav-links { display: flex; justify-content: center; margin-top: 15px; }
    .nav-link-small { padding: 14px 20px; flex: 0 1 auto; }
    .btn-small { padding: 9px 20px; font-size: 14px; }
}

section { padding: 2rem 0; position: relative; }
section h2 { text-align: center; padding: 1rem 0; }

@media (max-width: 767px) {
    section { padding: 1.5rem 0; }
    section h1 { margin-bottom: 1rem; line-height: 1.3; }
    section img { margin-top: 1rem; width: 100%; height: auto; }
    section .col-lg-6 { margin-bottom: 1.5rem; }
    section .btn { width: 100%; margin-top: 1rem; }
}

@media (max-width: 767px) {
    section .d-flex.justify-content-center { flex-direction: column; text-align: center; }
    section .d-flex.justify-content-center .ms-3 { margin-left: 0 !important; margin-top: 1rem; width: 100%; }
    section .d-flex.justify-content-center .btn { width: 100%; margin: 5px 0; }
}

footer {
    background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-accent);
    opacity: 0.6;
}

.footer-content { position: relative; z-index: 1; }

.footer-intro { text-align: center; margin-bottom: 2.5rem; padding: 0 1rem; }
.footer-intro h3 { color: var(--text-white); margin-bottom: 1rem; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; }
.footer-intro p { color: var(--text-muted); font-size: 1rem; line-height: 1.8; max-width: 800px; margin: 0 auto; }

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    text-transform: capitalize;
    transition: all 0.3s ease;
    position: relative;
    border-right: 1px solid var(--border);
    white-space: nowrap;
    flex: 1 1 0%;
    text-align: center;
    min-width: 0;
    background: transparent;
    z-index: 1;
}
.nav-link:last-child { border-right: none; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    z-index: 1;
}
.nav-link:hover { color: var(--accent); transform: translateY(-2px); }
.nav-link:hover::after { width: 100%; }

.footer-contact {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.footer-contact h3 { color: var(--text-white); font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 700; }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.2rem; }
.contact-details { flex: 1; }
.contact-details strong { display: block; color: var(--text-white); margin-bottom: 0.5rem; font-size: 1rem; }
.contact-details p { color: var(--text-muted); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.contact-details a { color: var(--accent); text-decoration: none; transition: color 0.3s ease; }
.contact-details a:hover { color: var(--accent-light); text-decoration: underline; }

.google-map { width: 100%; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); margin-top: 0.5rem; }
.google-map iframe { width: 100%; height: 300px; border: none; display: block; }

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

@media (max-width: 767px) {
    footer { padding: 2rem 0 1.5rem; }
    .footer-intro { margin-bottom: 2rem; }
    .footer-intro h3 { font-size: 1.3rem; }
    .footer-intro p { font-size: 0.95rem; }
    .footer-nav { flex-direction: row; flex-wrap: wrap; border-radius: var(--radius-sm); gap: 0; }
    .nav-link {
        padding: 12px 8px; font-size: 13px;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid rgba(108, 92, 231, 0.1);
        flex: 1 1 calc(33.333% - 1px);
        min-width: 0; min-height: 44px;
        text-align: center; white-space: nowrap;
        overflow: hidden; text-overflow: ellipsis;
        display: flex; align-items: center; justify-content: center;
        box-sizing: border-box;
    }
    .nav-link:nth-child(3n) { border-right: none; }
    .nav-link:last-child { border-right: none; }
    .footer-contact { margin-top: 2rem; padding-top: 1.5rem; }
    .footer-contact h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
    .contact-info { gap: 1.2rem; }
    .contact-item { flex-direction: column; gap: 0.5rem; }
    .contact-icon { font-size: 1.3rem; }
    .contact-details strong { font-size: 0.95rem; }
    .contact-details p { font-size: 0.9rem; }
    .google-map { margin-top: 1rem; }
    .google-map iframe { height: 250px; }
    .footer-copyright { padding-top: 1.5rem; font-size: 0.85rem; margin-top: 1.5rem; }
}
@media (max-width: 480px) {
    .footer-nav { flex-wrap: wrap; gap: 0; }
    .nav-link {
        padding: 12px 6px; font-size: 12px;
        flex: 1 1 calc(33.333% - 1px);
        min-height: 44px; min-width: 0;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
        border-right: 1px solid var(--border);
        border-bottom: 1px solid rgba(108, 92, 231, 0.1);
    }
    .nav-link:nth-child(3n) { border-right: none; }
    .nav-link:last-child { border-right: none; }
}
@media (max-width: 360px) {
    .nav-link { padding: 12px 4px; font-size: 11px; min-height: 44px; }
}

a { -webkit-tap-highlight-color: rgba(108, 92, 231, 0.2); transition: color 0.3s ease; }
a:hover { color: var(--accent); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gradient-accent); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-dark) 100%); }

@media (prefers-reduced-motion: no-preference) {
    * { scroll-behavior: smooth; }
}

@media (max-width: 767px) {
    img { border-radius: var(--radius-sm); }
}

section.bg-primary { position: relative; }
section.bg-primary::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(108, 92, 231, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.games-intro {
    text-align: center;
    max-width: 900px;
    margin: 2rem auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0 1rem;
}

.games-category {
    color: var(--accent);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
}

.games-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    text-align: justify;
}
.games-text strong { color: var(--accent); font-weight: 700; }

.games-link { margin: 1.5rem 0; text-align: center; }
.games-link .text-link { font-size: 1.05rem; font-weight: 600; padding: 0.5rem 0; display: inline-block; }

@media (max-width: 767px) {
    .games-intro { font-size: 0.95rem; margin: 1.5rem auto; padding: 0 0.5rem; text-align: left; }
    .games-category { font-size: 1.2rem; margin: 2rem 0 1rem 0; }
    .games-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; text-align: left; padding: 0 0.5rem; }
    .games-link { margin: 1.25rem 0; padding: 0 0.5rem; }
    .games-link .text-link { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .games-intro { font-size: 0.9rem; }
    .games-category { font-size: 1.1rem; margin: 1.5rem 0 0.75rem 0; }
    .games-text { font-size: 0.9rem; line-height: 1.6; }
}

.content-section { padding: 4rem 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.bg-gradient-dark {
    background: linear-gradient(135deg, rgba(15, 18, 33, 0.95), rgba(19, 23, 41, 0.95));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cards-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    margin: 0 0 2rem 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
.cards-row [class*="col-"] { padding: 0 !important; box-sizing: border-box !important; }

.cards-2-col .col-12,
.cards-3-col .col-12,
.cards-4-col .col-12,
.cards-6-col .col-12 {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .cards-4-col .col-md-6, .cards-4-col [class*="col-md-6"] {
        flex: 0 0 calc(50% - 1rem) !important;
        width: calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }
}
@media (min-width: 992px) {
    .cards-2-col .col-lg-6, .cards-2-col [class*="col-lg-6"] {
        flex: 0 0 calc(50% - 1rem) !important;
        width: calc(50% - 1rem) !important;
        max-width: calc(50% - 1rem) !important;
    }
    .cards-4-col .col-lg-3, .cards-4-col [class*="col-lg-3"],
    .cards-4-col .col-md-6, .cards-row.cards-4-col .col-lg-3 {
        flex: 0 0 calc(25% - 1.5rem) !important;
        width: calc(25% - 1.5rem) !important;
        max-width: calc(25% - 1.5rem) !important;
    }
}

.content-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.content-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 8px 30px var(--glow);
}
.content-card h3 { color: var(--text-white); font-size: 1.5rem; font-weight: 700; margin: 1rem 0; }
.content-card h4 { color: var(--text-white); font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem 0; }
.content-card p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1rem; flex-grow: 1; }

.card-feature, .card-step, .card-bonus, .card-game,
.card-developer, .card-type, .card-stat, .card-security,
.card-support, .card-tech { text-align: center; }

.card-icon, .security-icon, .tech-icon { font-size: 4rem; margin-bottom: 1rem; line-height: 1; }

.card-horizontal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    text-align: left;
}
.card-horizontal .card-icon, .card-horizontal .security-icon,
.card-horizontal .tech-icon, .card-horizontal .type-icon {
    font-size: 4rem; margin-right: 2rem; margin-bottom: 0; flex-shrink: 0;
}
.card-horizontal .step-number { width: 60px; height: 60px; margin-right: 2rem; margin-bottom: 0; flex-shrink: 0; }
.card-horizontal .stat-number { font-size: 3.5rem; margin-right: 2rem; margin-bottom: 0; flex-shrink: 0; }
.card-horizontal .card-content { flex: 1; }
.card-horizontal .card-content h3 { margin-top: 0; margin-bottom: 0.5rem; }
.card-horizontal .card-content p { margin-bottom: 0; }

.card-tech-horizontal {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    text-align: left;
}
.card-tech-horizontal .tech-icon { font-size: 4rem; margin-right: 2rem; margin-bottom: 0; flex-shrink: 0; }
.card-tech-horizontal .tech-content { flex: 1; }
.card-tech-horizontal .tech-content h3 { margin-top: 0; margin-bottom: 0.5rem; }
.card-tech-horizontal .tech-content p { margin-bottom: 0; }

.type-icon, .support-icon { font-size: 3rem; margin-bottom: 1rem; }

.step-number {
    width: 60px; height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700; color: var(--bg-dark);
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px var(--glow);
}

.bonus-badge {
    position: absolute;
    top: -10px; right: -10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px var(--glow);
}

.bonus-amount { font-size: 1.8rem; font-weight: 700; color: var(--accent); margin: 1rem 0; }

.card-image { width: 100%; height: 200px; overflow: hidden; border-radius: var(--radius-md); margin-bottom: 1rem; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.card-game:hover .card-image img { transform: scale(1.1); }

.card-game-redesign { padding: 0 !important; overflow: hidden; }
.card-image-full { width: 100%; min-height: 250px; overflow: hidden; position: relative; }
.card-image-full img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform 0.3s ease; }
.card-game-redesign:hover .card-image-full img { transform: scale(1.05); }
.card-game-info { padding: 1.5rem; }
.card-game-info h3 { margin-top: 0; margin-bottom: 0.5rem; font-size: 1.3rem; }
.game-rtp { color: var(--accent); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.75rem; }
.game-description { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; min-height: 60px; }
.btn-block { width: 100%; text-align: center; }

.stat-number { font-size: 3.5rem; font-weight: 700; color: var(--accent); margin-bottom: 1rem; line-height: 1; }
.card-developer { padding: 1.5rem; }

.app-features { margin: 2rem 0; }
.app-feature-item { display: flex; align-items: center; margin-bottom: 1rem; color: var(--text-muted); }
.feature-check { color: var(--accent); font-weight: 700; font-size: 1.5rem; margin-right: 1rem; }
.app-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.faq-list { margin-top: 2rem; }
.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: var(--primary); }
.faq-question { padding: 1.5rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; user-select: none; }
.faq-question h4 { color: var(--text-white); font-size: 1.2rem; margin: 0; flex-grow: 1; }
.faq-toggle { font-size: 2rem; color: var(--accent); font-weight: 700; transition: transform 0.3s ease; margin-left: 1rem; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; padding: 0 1.5rem; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 1.5rem 1.5rem; }
.faq-answer p { color: var(--text-muted); line-height: 1.8; margin: 0; }

.rtp-table-wrapper { overflow-x: auto; margin-top: 2rem; }
.rtp-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gradient-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.rtp-comparison-table thead { background: var(--gradient-accent); }
.rtp-comparison-table th {
    padding: 1.5rem 1rem;
    text-align: left;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rtp-comparison-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.3s ease; }
.rtp-comparison-table tbody tr:hover { background: rgba(108, 92, 231, 0.05); }
.rtp-comparison-table tbody tr:last-child { border-bottom: none; }
.rtp-comparison-table td { padding: 1.25rem 1rem; color: var(--text-muted); vertical-align: middle; }
.rtp-comparison-table td strong { color: var(--accent); font-weight: 700; }
.rtp-comparison-table .rtp-value { color: var(--accent); font-weight: 700; font-size: 1.1rem; }

.card-security-feature {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
}
.card-security-feature:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 6px 20px var(--glow);
}
.card-security-feature h3 { color: var(--text-white); margin-bottom: 0.5rem; }
.card-security-feature p { color: var(--text-muted); margin: 0; }

@media (max-width: 767px) {
    .content-section { padding: 2.5rem 0; }
    .section-title { font-size: 1.8rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .cards-row { gap: 1.5rem; }
    .content-card { padding: 1.5rem; }
    .content-card h3 { font-size: 1.3rem; }
    .card-icon, .security-icon, .tech-icon { font-size: 3rem; }
    .step-number { width: 50px; height: 50px; font-size: 1.5rem; }
    .stat-number { font-size: 2.5rem; }
    .card-horizontal { flex-direction: column !important; text-align: center; }
    .card-horizontal .card-icon, .card-horizontal .security-icon,
    .card-horizontal .tech-icon, .card-horizontal .type-icon,
    .card-horizontal .step-number, .card-horizontal .stat-number { margin-right: 0; margin-bottom: 1rem; }
    .card-horizontal .step-number { margin: 0 auto 1rem; }
    .card-tech-horizontal { flex-direction: column !important; text-align: center; }
    .card-tech-horizontal .tech-icon { margin-right: 0; margin-bottom: 1rem; }
    .card-image-full { min-height: 200px; }
    .game-description { min-height: auto; }
    .rtp-comparison-table { font-size: 0.9rem; }
    .rtp-comparison-table th, .rtp-comparison-table td { padding: 1rem 0.75rem; }
    .rtp-comparison-table th { font-size: 0.85rem; }
    .app-buttons { justify-content: center; }
    .faq-question h4 { font-size: 1rem; }
}
@media (max-width: 480px) {
    .section-title { font-size: 1.5rem; }
    .content-card { padding: 1.25rem; }
    .bonus-amount { font-size: 1.5rem; }
    .stat-number { font-size: 2rem; }
}
