@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;500;600;700&family=Black+Ops+One&display=swap');

:root {
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --accent-blue: #5bb8f5;
    --accent-blue-hover: #7ecaf7;
    --accent-blue-dark: #3a9ee0;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #6b6b6b;
    --border-color: #2a2a2a;
    --green-online: #4ade80;
    --font-display: 'Black Ops One', 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 70px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ─── Navigation ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.navbar-inner {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    justify-self: start;
}

.nav-links {
    justify-self: center;
}

.nav-right {
    justify-self: end;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-blue);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--text-primary);
}

.logo-text .sub {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-login {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    cursor: pointer;
}

.nav-login:hover {
    color: var(--text-primary);
}

.nav-login i {
    font-size: 1rem;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: transparent;
    transition: border-color var(--transition);
}

.lang-select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown {
    position: relative;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
}

.lang-menu button:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-primary);
    background: none;
    border: none;
    padding: 4px;
}

/* ─── Hero Section ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.88) 0%,
        rgba(10, 10, 10, 0.45) 55%,
        rgba(10, 10, 10, 0.15) 100%
    );
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    min-height: calc(100vh - var(--nav-height));
}

.hero-left h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 0.95;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-left p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 480px;
    line-height: 1.7;
}

.hero-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 2rem;
}

.hero-cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 1.5rem 1.75rem;
    min-width: 340px;
    backdrop-filter: blur(12px);
}

.hero-cta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-cta-text .label {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.hero-cta-text .sublabel {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), transform var(--transition);
    flex-shrink: 0;
}

.play-btn i {
    color: #fff;
    font-size: 1.1rem;
    margin-left: 3px;
}

.play-btn:hover {
    background: var(--accent-blue-hover);
    transform: scale(1.05);
}

/* ─── Section Common ─── */
.section {
    padding: 5rem 2rem;
}

.section-dark {
    background: #050505;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

/* ─── How to Play Steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    transition: border-color var(--transition), background var(--transition);
    min-height: 160px;
}

.step-card:hover {
    border-color: rgba(91, 184, 245, 0.3);
    background: var(--bg-card-hover);
}

.step-number {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    padding: 1rem 0.75rem;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
}

.step-logo {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.step-logo.gta span {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.step-logo.fivem span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
}

.truerp-logo {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: #f59e0b;
    line-height: 1;
}

.step-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
}

.step-img.fivem-img {
    max-height: 28px;
    margin-right: 6px;
}

.fivem-label {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
}

.step-logo.fivem {
    flex-direction: row;
    gap: 4px;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-btn {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: pointer;
    font-family: var(--font-body);
}

.step-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ─── Monitoring / Server Cards ─── */
.monitoring-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.server-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.server-card-bg {
    position: absolute;
    inset: 0;
}

.server-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.3) 100%
    );
}

.server-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
}

.server-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.server-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.online {
    background: var(--green-online);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse-dot 2s infinite;
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.server-players {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.server-ip-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--accent-blue);
    border: none;
    border-radius: 4px;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    transition: background var(--transition);
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.server-ip-btn:hover {
    background: var(--accent-blue-hover);
}

.server-ip-btn .ip-text {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.server-ip-btn i {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ─── Partners ─── */
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 560px;
    margin: -1.5rem auto 3rem;
    line-height: 1.6;
}

.guides-steps {
    margin-bottom: 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.partner-card {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.partner-card:hover {
    border-color: rgba(91, 184, 245, 0.35);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.partner-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(91, 184, 245, 0.1);
    border: 1px solid rgba(91, 184, 245, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.partner-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.partner-logo i {
    font-size: 1.75rem;
    color: var(--accent-blue);
}

.partner-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
}

.partner-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.partner-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.partner-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition);
}

.partner-card:hover .partner-link {
    gap: 10px;
}

.partner-link i {
    font-size: 0.7rem;
}

/* ─── Footer ─── */
footer {
    background: #050505;
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .navbar-logo {
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section ul li a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(91, 184, 245, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--accent-blue);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Copy Notification ─── */
#copy-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--accent-blue);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

#copy-notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ─── Video Modal ─── */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
}

/* ─── Subpages ─── */
.page-main {
    padding: calc(var(--nav-height) + 3rem) 2rem 4rem;
    min-height: 60vh;
}

.page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.page-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    transition: border-color var(--transition);
}

.page-card:hover {
    border-color: rgba(91, 184, 245, 0.3);
}

.page-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.page-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.page-card ul {
    list-style: none;
    margin-top: 1rem;
}

.page-card ul li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-card ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.85rem 2rem;
    background: var(--accent-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    font-family: var(--font-body);
}

.btn-primary:hover {
    background: var(--accent-blue-hover);
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Team */
.team-page-inner {
    max-width: 1400px;
}

.team-section {
    margin-bottom: 3.5rem;
}

.team-section:last-child {
    margin-bottom: 0;
}

.team-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.team-section-header i {
    color: var(--accent-blue);
    font-size: 1.1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(91, 184, 245, 0.1);
    border-radius: 4px;
}

.team-section-header h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-section-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2rem;
    text-align: center;
    transition: border-color var(--transition);
}

.team-card:hover {
    border-color: rgba(91, 184, 245, 0.3);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 2px solid var(--border-color);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-rank {
    display: inline-block;
    background: rgba(91, 184, 245, 0.15);
    color: var(--accent-blue);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.team-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.team-username,
.team-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.team-roles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.team-badge {
    display: inline-block;
    background: rgba(91, 184, 245, 0.15);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.team-discord {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Discord page */
.discord-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.discord-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    height: 500px;
    overflow: hidden;
}

.discord-widget iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.faq-item:hover {
    border-color: rgba(91, 184, 245, 0.3);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-item.active .faq-answer {
    margin-top: 1rem;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-blue);
}

/* ─── Responsive ─── */
@media (max-width: 1200px) {
    .nav-links {
        gap: 1.1rem;
    }

    .nav-links a {
        font-size: 0.76rem;
    }
}

@media (max-width: 1024px) {
    .navbar-inner {
        grid-template-columns: 1fr auto;
    }

    .nav-links {
        justify-self: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-left p {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-right {
        justify-content: center;
        padding-right: 0;
    }

    .hero-cta-box {
        margin: 2rem auto 0;
        min-width: auto;
        width: 100%;
        max-width: 380px;
    }

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

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

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

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

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar-inner {
        grid-template-columns: 1fr auto;
    }

    .navbar-inner .nav-links {
        display: none;
    }

    .nav-links {
        position: fixed;
        justify-self: auto;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-right .nav-login,
    .nav-right .lang-select {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .streams-layout,
    .streams-layout-page {
        grid-template-columns: 1fr;
    }

    .streams-sidebar {
        order: 2;
    }

    .streams-float-widget {
        bottom: 1rem;
        right: 1rem;
    }
}

/* ─── Streams ─── */
.streams-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.streams-hashtag-hint {
    color: var(--text-secondary);
    font-size: 0.85rem;
    max-width: 520px;
}

.streams-live-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.streams-live-badge strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--accent-blue);
    letter-spacing: 0.05em;
}

.streams-live-badge-lg strong {
    font-size: 2rem;
}

.streams-hashtag-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(91, 184, 245, 0.08);
    border: 1px solid rgba(91, 184, 245, 0.2);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.streams-hashtag-box i {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-top: 2px;
}

.streams-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.streams-sidebar {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.streams-sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.streams-sidebar-header i {
    color: #9146ff;
    font-size: 1.1rem;
}

.streams-sidebar-list {
    list-style: none;
    max-height: 420px;
    overflow-y: auto;
}

.streams-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--transition);
}

.streams-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.streams-sidebar-item img,
.streams-sidebar-avatar-fallback {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.streams-sidebar-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(145, 70, 255, 0.2);
    color: #9146ff;
}

.streams-sidebar-item-meta {
    flex: 1;
    min-width: 0;
}

.streams-sidebar-item-meta strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.streams-sidebar-item-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.streams-sidebar-live {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #e91916;
    padding: 0.2rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.streams-sidebar-empty {
    padding: 1.25rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
}

.streams-sidebar-more {
    display: block;
    text-align: center;
    padding: 0.85rem;
    font-size: 0.8rem;
    color: var(--accent-blue);
    border-top: 1px solid var(--border-color);
    transition: background var(--transition);
}

.streams-sidebar-more:hover {
    background: rgba(91, 184, 245, 0.08);
}

.streams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.streams-grid-page {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.stream-card {
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}

.stream-card:hover {
    border-color: rgba(145, 70, 255, 0.4);
    transform: translateY(-3px);
}

.stream-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
    background-color: #111;
}

.stream-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e91916;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.06em;
}

.stream-viewers {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stream-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.stream-play-overlay i {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    padding-left: 3px;
}

.stream-card:hover .stream-play-overlay {
    opacity: 1;
}

.stream-auto-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(91, 184, 245, 0.9);
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.stream-info {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
}

.stream-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.stream-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(145, 70, 255, 0.15);
    color: #9146ff;
}

.stream-meta {
    min-width: 0;
    flex: 1;
}

.stream-name {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.stream-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.streams-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    text-align: center;
    background: rgba(18, 18, 18, 0.5);
    border: 1px dashed var(--border-color);
    border-radius: 4px;
}

.streams-empty i {
    font-size: 2.5rem;
    color: #9146ff;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.streams-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.streams-page-inner {
    max-width: 1400px;
}

/* Floating live widget */
.streams-float-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
}

.streams-float-toggle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #9146ff;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.4);
    transition: transform var(--transition), background var(--transition);
}

.streams-float-widget.has-live .streams-float-toggle {
    animation: twitch-pulse 2s infinite;
}

@keyframes twitch-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(145, 70, 255, 0.4); }
    50% { box-shadow: 0 4px 28px rgba(145, 70, 255, 0.7); }
}

.streams-float-toggle:hover {
    transform: scale(1.05);
    background: #7c3aed;
}

.streams-float-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    background: #e91916;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.streams-float-panel {
    position: absolute;
    bottom: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #141414;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    overflow: hidden;
}

.streams-float-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.streams-float-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
}

.streams-float-live {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.streams-float-total {
    color: var(--accent-blue);
    font-weight: 600;
}

.streams-float-list {
    list-style: none;
    max-height: 220px;
    overflow-y: auto;
}

.streams-float-list li a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background var(--transition);
}

.streams-float-list li a:hover {
    background: rgba(255, 255, 255, 0.04);
}

.streams-float-list img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.streams-float-list small {
    color: var(--text-muted);
    margin-left: auto;
}

.streams-float-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.streams-float-link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    font-size: 0.78rem;
    color: var(--accent-blue);
    border-top: 1px solid var(--border-color);
}
