/* Custom Fonts */
@font-face {
    font-family: 'skyquakesymbols';
    src: url('/Fonts/symbols_skyquake.ttf');
    font-display: block;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* iOS Safe Area Support */
:root {
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
    --safe-area-inset-right: env(safe-area-inset-right);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1b1b1b;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding-top: var(--safe-area-inset-top);
    padding-bottom: var(--safe-area-inset-bottom);
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: var(--safe-area-inset-top);
    width: 100%;
    background: rgba(13, 14, 15, 1);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    padding-left: var(--safe-area-inset-left);
    padding-right: var(--safe-area-inset-right);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 1001;
}

.nav-logo {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 0;
    filter: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #39ff14;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #39ff14, #00ff6b);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    min-height: 48px; /* Better touch target for mobile */
    text-align: center;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #39ff14, #00ff6b);
    color: #000000;
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 2px solid rgba(57, 255, 20, 0.5);
}

.btn-secondary:hover {
    background: rgba(57, 255, 20, 0.2);
    transform: translateY(-2px);
    border-color: #39ff14;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-kofi {
    background-color: #FF5E5B;
    color: white;
    transition: all 0.3s ease;
}

.btn-kofi:hover {
    background-color: #FF3D3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 94, 91, 0.2);
}

.btn-kofi i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 800px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(45deg, #39ff14, #00ff6b, #66ff99);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
    transition: opacity 0.3s ease-in-out;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bot-avatar {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(0, 255, 107, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(57, 255, 20, 0.3);
    border: 3px solid rgba(57, 255, 20, 0.5);
    position: relative;
    overflow: hidden;
}

.bot-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(57, 255, 20, 0.3), transparent);
    animation: rotate 8s linear infinite;
}

.hero-logo {
    height: 200px;
    width: auto;
    max-width: 200px;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 20px rgba(57, 255, 20, 0.5));
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: rgba(15, 15, 26, 0.6);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(15, 15, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.2), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: #39ff14;
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    color: #39ff14;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Features Section */
.features {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(15, 15, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.2);
    border-color: #39ff14;
}

.feature-icon {
    font-size: 2.5rem;
    color: #39ff14;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: rgba(15, 15, 26, 0.6);
    text-align: center;
    position: relative;
    margin-top: 2rem;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(57, 255, 20, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: rgba(15, 15, 26, 0.95);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-right: 0.5rem;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.4));
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #39ff14, #00ff6b);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: #39ff14;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    opacity: 0.6;
}





/* Terms Page Styles */
.terms-content {
    padding: 120px 0 60px;
    min-height: 100vh;
}

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

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.last-updated {
    opacity: 0.7;
    font-style: italic;
}

.terms-section {
    margin-bottom: 3rem;
    background: rgba(15, 15, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.terms-section h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #39ff14;
    border-bottom: 2px solid rgba(57, 255, 20, 0.3);
    padding-bottom: 0.5rem;
}

.terms-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #ffffff;
}

.terms-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.terms-section ul {
    margin: 1rem 0 1rem 2rem;
    opacity: 0.9;
}

.terms-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.terms-footer {
    background: rgba(57, 255, 20, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    margin-bottom: 2rem;
    text-align: center;
}

.back-home {
    text-align: center;
    margin-bottom: 2rem;
}



/* Trusted By Section */
.trusted-by {
    padding: 4rem 0;
    background: rgba(15, 15, 26, 0.4);
    border-top: 1px solid rgba(57, 255, 20, 0.2);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    overflow: hidden;
}

.trusted-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #ffffff;
}

.trusted-scroll {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.trusted-track {
    display: flex;
    animation: scroll-right 60s linear infinite;
    gap: 3rem;
    width: fit-content;
}

.trusted-item {
    background: rgba(15, 15, 26, 0.8);
    border: 2px solid rgba(57, 255, 20, 0.3);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
    min-width: 120px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hero Trusted By - Integrated */
.hero-trusted {
    margin-top: 3rem;
    width: 100%;
}

.trusted-label {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.7;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trusted-scroll {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.trusted-track {
    display: flex;
    animation: scroll-right 50s linear infinite;
    gap: 1.5rem;
    width: fit-content;
}

.trusted-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    min-width: 80px;
    backdrop-filter: blur(5px);
    flex-shrink: 0;
}

/* Removed hover effects to prevent color changes during scroll */

.trusted-track {
    gap: 2rem;
}

.hero-trusted {
    margin-top: 2rem;
}

.trusted-label {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.hero-trusted .trusted-item {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    min-width: 70px;
}

.hero-trusted .trusted-track {
    gap: 1rem;
}

/* Documentation Page Styles */
.docs-content {
    padding: 120px 0 60px;
    min-height: 100vh;
}

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

.docs-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.docs-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.docs-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar Navigation */
.docs-sidebar {
    background: rgba(15, 15, 26, 0.8);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    position: sticky;
    top: 100px;
}

.docs-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #39ff14;
}

.docs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.docs-nav li {
    margin-bottom: 0.5rem;
}

.docs-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
}

.docs-nav a:hover {
    color: #39ff14;
    background: rgba(57, 255, 20, 0.1);
}

/* Main Documentation Content */
.docs-main {
    max-width: 800px;
}

.docs-section {
    margin-bottom: 3rem;
}

.docs-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.docs-section h2 i {
    color: #39ff14;
    font-size: 1.5rem;
}

.docs-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #39ff14;
}

.docs-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #ffffff;
}

.docs-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.docs-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.docs-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Step Cards */
.step-card {
    display: flex;
    align-items: center;
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1rem;
}

.step-number {
    background: linear-gradient(45deg, #39ff14, #00ff6b);
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.step-content p {
    margin: 0;
    opacity: 0.8;
}

/* Command Cards */
.command-group {
    margin-bottom: 2rem;
}

.command-card {
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1rem;
}

.command-syntax {
    background: rgba(57, 255, 20, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    margin-bottom: 0.75rem;
}

.command-syntax code {
    color: #39ff14;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.command-card p {
    margin: 0;
    opacity: 0.9;
}

/* Command Notes and Examples */
.command-note {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.5rem;
    font-style: italic;
}

.command-example {
    background: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #39ff14;
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.command-example strong {
    color: #39ff14;
}

.command-example code {
    background: transparent;
    padding: 0;
    color: #ffffff;
    font-weight: 600;
}

/* Setup Items */
.setup-item {
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1.5rem;
}

.setup-item h4 {
    color: #39ff14;
    margin-top: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-item {
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    text-align: center;
}

.feature-item i {
    color: #39ff14;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #ffffff;
    margin: 0 0 0.75rem 0;
}

.feature-item p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Example Cards */
.example-card {
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1.5rem;
}

.example-card h4 {
    color: #39ff14;
    margin-top: 0;
}

.example-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    margin: 1rem 0;
}

.example-code code {
    color: #39ff14;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Troubleshooting */
.trouble-item {
    background: rgba(15, 15, 26, 0.6);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1.5rem;
}

.trouble-item h4 {
    color: #39ff14;
    margin-top: 0;
}

/* Support Section */
.support-section {
    background: rgba(57, 255, 20, 0.1);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(57, 255, 20, 0.3);
    text-align: center;
    margin-top: 3rem;
}

.support-section h3 {
    color: #39ff14;
    margin-top: 0;
}

.support-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Active nav link */
.nav-link.active {
    color: #39ff14;
}

/* Code styling */
code {
    background: rgba(57, 255, 20, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    color: #39ff14;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}



/* Languages Dropdown Styles */
.languages-dropdown {
    margin-top: 1rem;
}

.dropdown-toggle {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover {
    background: rgba(57, 255, 20, 0.2);
    border-color: rgba(57, 255, 20, 0.5);
}

.dropdown-toggle i {
    color: #39ff14;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-toggle.active .dropdown-arrow {
    transform: rotate(180deg);
}

.languages-list {
    display: none;
    margin-top: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 8px;
    padding: 1rem;
    animation: slideDown 0.3s ease;
}

.languages-list.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.language-item {
    background: rgba(15, 15, 26, 0.6);
    border: 1px solid rgba(57, 255, 20, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: all 0.3s ease;
}

.language-item:hover {
    border-color: rgba(57, 255, 20, 0.4);
    background: rgba(57, 255, 20, 0.1);
}

/* Touch and Accessibility Improvements */
@media (hover: none) and (pointer: coarse) {
    /* Mobile touch device styles */
    .btn:hover,
    .nav-link:hover,
    .feature-card:hover,
    .stat-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .nav-link:active {
        color: #39ff14;
    }
}

/* Focus states for accessibility */
.btn:focus-visible,
.nav-link:focus-visible,
.hamburger:focus-visible {
    outline: 2px solid #39ff14;
    outline-offset: 2px;
}

/* Prevent zoom on input focus on iOS */
input, textarea, select {
    font-size: 16px;
}

/* Smooth scrolling for all elements */
html {
    scroll-behavior: smooth;
}

/* Better text selection */
::selection {
    background: rgba(57, 255, 20, 0.3);
    color: #ffffff;
}

/* Loading states for better UX */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Row link overlay - makes entire table row clickable with native right-click support */
tr.row-link {
  position: relative;
  cursor: pointer;
}
tr.row-link a.row-link-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
tr.row-link td a:not(.row-link-overlay),
tr.row-link td button,
tr.row-link td [tabindex],
tr.row-link td input,
tr.row-link td select,
tr.row-link td textarea {
  position: relative;
  z-index: 1;
}

/* Safe area insets for newer devices */
@supports (padding: max(0px)) {
    .navbar {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
    
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

/* Desktop specific improvements */
@media (min-width: 769px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        min-height: calc(100vh - 180px);
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 6vw, 4.5rem);
        margin-bottom: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .hero-buttons .btn {
        min-width: 200px;
    }
    
    .hero-trusted {
        margin-top: 4rem;
    }
    
    .cta {
        padding: 6rem 0;
        margin-top: 4rem;
    }
    
    .cta-content h2 {
        font-size: 3rem;
        margin-bottom: 2.5rem;
    }
    
    .cta-content .btn {
        min-width: 250px;
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
    }
    
    .footer {
        padding: 5rem 0 2.5rem;
    }
    
    .footer-content {
        margin-bottom: 3rem;
    }
    
    .footer-brand {
        font-size: 1.4rem;
    }
    
    .footer-links {
        gap: 2.5rem;
    }
    
    .footer-links a {
        font-size: 1.1rem;
    }
}

/* Large desktop screens */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-buttons .btn {
        min-width: 220px;
        padding: 1.25rem 2.5rem;
        font-size: 1.2rem;
    }
}


/* VEHICLE NAMES - All Contexts */
.vehicle-name,
.vehicle-info .vehicle-name,
.leaderboard-table .vehicle-name,
.mobile-vehicle-name,
.player-vehicle,
.vehicle-display,
.vehicle-tag,
.vehicle-title,
.game-vehicle,
[class*="vehicle"]:not(.vehicle-info):not(.vehicle-rank):not(.vehicles-table):not(.vehicles-section):not(.vehicles-filters),
.stat-vehicle,
*[data-vehicle],
td.vehicle-name,
div.vehicle-name,
span.vehicle-name {
    font-family: 'skyquakesymbols', 'Inter', sans-serif !important;
}

/* SQUADRON NAMES - All Contexts */
.squadron-name,
.squadron-tag,
.squadron-tag-search,
.squadron-tag-leaderboard,
.squadron-tag-player,
.player-squadron,
.player-squadron-tag,
.squadron-result-name,
.squadron-search-result-item .squadron-result-name,
h1.squadron-name,
td.squadron-name,
div.squadron-name,
span.squadron-name,
span.player-squadron,
span.player-squadron-tag,
[class*="squadron"]:not(.squadron-container):not(.squadron-section):not(.squadron-header):not(.squadron-stats) {
    font-family: 'skyquakesymbols', 'Inter', sans-serif !important;
}

/* PLAYER NAMES - All Contexts */
.player-name,
.player-nick,
.player-info .player-nick,
.result-name,
.search-result .result-name,
.header-result-name,
.leaderboard-table .player-name,
td.player-name,
div.player-name,
span.player-name,
a.player-nick,
h1.player-nick,
.comparison-table th:not(:first-child),
.selected-item,
[class*="player-name"],
[class*="player-nick"] {
    font-family: 'skyquakesymbols', 'Inter', sans-serif !important;
}

/* Enhanced Styling for Better Visibility */
.leaderboard-table .vehicle-name {
    font-size: 1.1em;
    color: #39ff14;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.leaderboard-table .vehicle-name:hover {
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.6);
    transform: scale(1.02);
}

/* Vehicle names in search results and cards */
.search-result .vehicle-name,
.vehicle-card .vehicle-name,
.stat-card .vehicle-name {
    color: #39ff14;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.3);
}

/* Vehicle Comparison - Clean Redesign */
.comparison-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.comparison-page-content .section-title {
    text-align: center;
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.comparison-page-content .section-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Selection Header */
.selection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.selection-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.3rem;
}

/* Vehicle Grid */
.vehicle-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Vehicle Cards */
.vehicle-select-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(57, 255, 20, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.vehicle-select-card:hover {
    border-color: rgba(57, 255, 20, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(57, 255, 20, 0.15);
}

.vehicle-select-card.selected {
    border-color: #39ff14;
    background: rgba(57, 255, 20, 0.08);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

/* Card Header */
.vehicle-select-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.vehicle-select-card .vehicle-name {
    font-family: 'skyquakesymbols', 'Inter', sans-serif !important;
    color: #39ff14;
    font-size: 1.1rem;
    font-weight: normal;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
}

/* Selection Checkbox */
.selection-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(57, 255, 20, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.vehicle-select-card.selected .selection-checkbox {
    background: #39ff14;
    border-color: #39ff14;
}

.selection-checkbox i {
    color: transparent;
    font-size: 14px;
    transition: color 0.3s ease;
}

.vehicle-select-card.selected .selection-checkbox i {
    color: #000000;
}

/* Card Stats */
.vehicle-select-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.vehicle-select-stats .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vehicle-select-stats .stat-item:last-child {
    border-bottom: none;
}

.vehicle-select-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.vehicle-select-stats .stat-value {
    color: #39ff14;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(57, 255, 20, 0.3);
}

/* Comparison Results Section - Using Leaderboard Style */
.comparison-result {
    margin-top: 2rem;
}

.comparison-result h3 {
    color: #ffffff;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.comparison-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 15, 26, 0.8);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(57, 255, 20, 0.1);
    table-layout: auto;
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.2), rgba(0, 255, 107, 0.2));
}

.comparison-table th {
    padding: 1rem 0.75rem;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid rgba(57, 255, 20, 0.3);
    font-size: 0.95rem;
    background: rgba(57, 255, 20, 0.1);
}

.comparison-table .vehicle-header {
    font-family: 'skyquakesymbols', 'Inter', sans-serif !important;
    letter-spacing: 0.5px;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
    color: #39ff14;
    font-size: 1rem;
}

.comparison-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
}

.comparison-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(0, 255, 107, 0.1));
    transform: scale(1.01);
    box-shadow: 0 4px 15px rgba(57, 255, 20, 0.2);
}

.comparison-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.1), rgba(0, 255, 107, 0.1));
}

.comparison-table td {
    padding: 1rem 0.75rem;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
    position: relative;
}

.comparison-table .stat-label {
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    padding-left: 1rem;
    background: rgba(57, 255, 20, 0.05);
    border-right: 2px solid rgba(57, 255, 20, 0.2);
}

.comparison-table .stat-best {
    background: linear-gradient(135deg, rgba(57, 255, 20, 0.3), rgba(0, 255, 107, 0.3)) !important;
    color: #39ff14;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
    box-shadow: inset 0 0 20px rgba(57, 255, 20, 0.3);
}

.comparison-table .stat-best::before {
    content: '★';
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #39ff14;
    font-size: 0.9rem;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.8);
}

/* Placeholder styling */
.comparison-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(15, 15, 26, 0.4);
    border-radius: 12px;
    border: 2px dashed rgba(57, 255, 20, 0.2);
    margin-top: 2rem;
}

.comparison-placeholder i {
    display: block;
    margin-bottom: 1rem;
    font-size: 3rem;
    color: rgba(57, 255, 20, 0.3);
}

.comparison-placeholder p {
    font-size: 1.1rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .comparison-page-content {
        padding: 1.5rem;
    }
    
    .vehicle-selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}


/* Homepage Search Section */
.hero-search-section {
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 997;
}

.hero-search-section .search-box {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 1rem;
}

.hero-search-section .search-input-container {
    position: relative;
    margin-bottom: 1.5rem;
    z-index: 999; /* Below header (1000) but above navigation buttons */
}

.hero-search-section .search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.95);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 998;
    display: none;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-top: 0;
}

.hero-search-section .search-results.show {
    display: block;
}

.hero-search-section .search-result-item {
    padding: 1rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0.5rem;
    margin: 0.25rem;
}

.hero-search-section .search-result-item:hover {
    background: rgba(57, 255, 20, 0.15);
    border: 1px solid rgba(57, 255, 20, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(57, 255, 20, 0.2);
}

.hero-search-section .search-result-item:hover .result-name {
    color: #00ff6b;
    text-shadow: 0 0 15px rgba(0, 255, 107, 0.6);
}

.hero-search-section .search-result-item:hover .result-stats {
    color: rgba(255, 255, 255, 0.9);
}

.hero-search-section .search-result-item:last-child {
    border-bottom: none;
}

.hero-search-section .result-name {
    color: #39ff14;
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.3);
}

.hero-search-section .result-stats {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.hero-search-section .search-hint {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-search-section .search-hint i {
    color: #39ff14;
}

.hero-search-section .search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(15, 15, 26, 0.8);
    border: 2px solid rgba(57, 255, 20, 0.3);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.hero-search-section .search-input:focus {
    outline: none;
    border-color: #39ff14;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.hero-search-section .search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search-section .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #39ff14;
    font-size: 1.2rem;
}

.hero-search-section .search-button {
    background: linear-gradient(45deg, #39ff14, #00ff6b);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.hero-search-section .search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.4);
}

.hero-search-section .search-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hero-search-section .loading-spinner {
    display: none;
    text-align: center;
    margin: 1rem 0;
}

.hero-search-section .spinner {
    border: 3px solid rgba(57, 255, 20, 0.3);
    border-top: 3px solid #39ff14;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.hero-search-section .results-container {
    display: none;
}

.hero-search-section .results-header {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.2);
    margin-bottom: 0.5rem;
    text-align: center;
}

.hero-search-section .results-count {
    color: #39ff14;
    font-weight: 600;
    font-size: 1rem;
}

.hero-search-section .results-list {
    background: rgba(26, 26, 46, 0.6);
    border-radius: 1rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.2);
}

.hero-search-section .result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(15, 15, 26, 0.8);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-search-section .result-item:hover {
    background: rgba(57, 255, 20, 0.1);
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.hero-search-section .result-item:last-child {
    margin-bottom: 0;
}

.hero-search-section .player-nick {
    color: #39ff14;
    font-weight: 600;
    font-size: 1rem;
}

.hero-search-section .player-uid {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.hero-search-section .error-message {
    background: rgba(255, 56, 56, 0.1);
    border: 1px solid rgba(255, 56, 56, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    color: #ff3838;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.hero-search-section .no-results {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Squadron Tags - Styling Only (font applied globally above) */
.squadron-tag-search {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.squadron-tag-leaderboard {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-right: 0.5rem;
    background: rgba(26, 26, 46, 0.6);
    padding: 0.2rem 0.4rem;
    border-radius: 0.3rem;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.squadron-tag-player {
    color: #39ff14;
    font-size: 1rem;
    margin-right: 0.75rem;
    font-weight: 600;
    background: rgba(57, 255, 20, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    border: 1px solid rgba(57, 255, 20, 0.4);
}

.player-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Navigation Buttons Section */
.navigation-buttons {
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.nav-grid-half {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}

.nav-button-full {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(57, 255, 20, 0.2);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    min-height: 100px;
}

.nav-button:hover {
    border-color: rgba(57, 255, 20, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: inherit;
}

.nav-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(57, 255, 20, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(57, 255, 20, 0.2);
    flex-shrink: 0;
}

.nav-button-icon i {
    color: #39ff14;
    font-size: 1.5rem;
}

.nav-button-content {
    flex: 1;
}

.nav-button-content h3 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.nav-button-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Universal Button Styles */
.btn-action,
.retry-btn,
.refresh-btn,
.filter-reset-btn,
.clear-filters-btn {
    background: linear-gradient(45deg, #39ff14, #00ff6b);
    color: #000000;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-action:hover,
.retry-btn:hover,
.refresh-btn:hover,
.filter-reset-btn:hover:not([class*="reset"]),
.clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 255, 20, 0.4);
}

.btn-action:active,
.retry-btn:active,
.refresh-btn:active,
.filter-reset-btn:active,
.clear-filters-btn:active {
    transform: translateY(0);
}

/* Reset/Clear buttons get destructive styling */
.filter-reset-btn,
.clear-filters-btn {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.15));
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ff6b6b;
}

.filter-reset-btn:hover,
.clear-filters-btn:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(220, 38, 38, 0.25));
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

/* Trusted By Section */
.trusted-by {
    padding: 2rem 0 1rem 0;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 0;
    margin-bottom: 0;
}

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

.trusted-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.trusted-scroll {
    overflow: hidden;
    position: relative;
    height: 60px;
    mask: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.trusted-track {
    display: flex;
    animation: scrollTrusted 30s linear infinite;
    gap: 2rem;
    align-items: center;
    height: 100%;
    width: max-content;
}

.trusted-item {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
    transition: all 0.3s ease;
    padding: 0 1rem;
    flex-shrink: 0;
}

.trusted-item:hover {
    color: #39ff14;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

@keyframes scrollTrusted {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Inline CTA Section */
.cta-inline {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.3);
    border-radius: 1rem;
    border: 1px solid rgba(57, 255, 20, 0.1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.cta-inline .cta-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Enhanced CTA Button */
.cta-button {
    font-size: 1.25rem !important;
    padding: 1.25rem 3rem !important;
    background: linear-gradient(45deg, #39ff14, #00ff6b) !important;
    border: none !important;
    border-radius: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
}

.cta-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.4) !important;
}


/* Universal Header Search Styles */
.nav-search {
    position: relative;
    margin: 0 1rem;
}

.nav-search .header-search-container {
    position: relative;
    width: 250px;
}

.nav-search .header-search-container input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 1.5rem;
    color: #ffffff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-search .header-search-container input:focus {
    outline: none;
    border-color: #39ff14;
    box-shadow: 0 0 0 2px rgba(57, 255, 20, 0.2);
}

.nav-search .header-search-container input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nav-search .header-search-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.nav-search .header-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 26, 0.95);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-search .header-search-results.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-search .header-search-result-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(57, 255, 20, 0.1);
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-search .header-search-result-item:hover {
    background: rgba(57, 255, 20, 0.1);
}

.nav-search .header-search-result-item:last-child {
    border-bottom: none;
}

.nav-search .header-result-name {
    color: #39ff14;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.nav-search .header-result-stats {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}


/* Squadron and player font styling moved to global rules section above (line 2282+) */ 