/* Silent Blade Design System - Full */
:root {
    /* Color Palette */
    --sb-obsidian: #050505;
    --sb-void: #0a0a0c;
    --sb-gunmetal: #1e1e24;
    --sb-slate: #2a2a35;
    --sb-cyan: #00f5ff;
    --sb-cyan-dim: rgba(0, 245, 255, 0.1);
    --sb-silver: #e0e0e0;
    --sb-text-main: #ffffff;
    --sb-text-muted: #a0a0a0;
    --sb-crimson: #ff1744;
    --sb-yellow: #ffea00;
    --sb-green: #00ff9d;

    /* Typography */
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects */
    --blade-clip: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    --blade-clip-sm: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --nav-clip: polygon(0 0, 100% 0, 100% 85%, 98% 100%, 2% 100%, 0 85%);

    --neon-glow: 0 0 10px var(--sb-cyan-dim), 0 0 20px var(--sb-cyan-dim);
    --text-glow: 0 0 10px rgba(0, 245, 255, 0.5);
    --sharp-border: 1px solid var(--sb-slate);
}

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

body {
    background-color: var(--sb-obsidian);
    color: var(--sb-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Grid */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--sb-slate) 1px, transparent 1px),
        linear-gradient(90deg, var(--sb-slate) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: -2;
    pointer-events: none;
}

.bg-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--sb-obsidian) 80%);
}

/* Typography Defaults */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

p {
    color: var(--sb-text-muted);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Navbar */
.blade-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--sb-slate);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.brand-logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--sb-cyan));
}

.brand-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--sb-text-main);
}

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

.blade-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--sb-text-muted);
    position: relative;
    padding: 5px 0;
}

.blade-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--sb-cyan);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--sb-cyan);
}

.blade-link:hover {
    color: var(--sb-text-main);
    text-shadow: 0 0 10px var(--sb-cyan);
}

.blade-link:hover::before {
    width: 100%;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--sb-cyan);
    transition: all 0.3s;
}

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

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--sb-gunmetal);
    border: 1px solid var(--sb-cyan);
    color: var(--sb-cyan);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    clip-path: var(--blade-clip-sm);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.1);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px var(--sb-silver);
    opacity: 0.5;
}

.neon-text {
    color: var(--sb-text-main);
    text-shadow:
        0 0 20px rgba(0, 245, 255, 0.3),
        0 0 60px rgba(0, 245, 255, 0.1);
}

.hero-desc {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 1px solid var(--sb-silver);
    background: rgba(255, 255, 255, 0.03);
    clip-path: var(--blade-clip-sm);
}

.action-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--sb-silver);
}

.action-indicator {
    width: 10px;
    height: 10px;
    background: var(--sb-cyan);
    box-shadow: 0 0 10px var(--sb-cyan);
    animation: blink 1s infinite;
}

/* Blade Components */
.blade-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--sb-cyan);
}

.blade-card {
    background: var(--sb-gunmetal);
    border: 1px solid var(--sb-slate);
    padding: 2.5rem;
    clip-path: var(--blade-clip);
    position: relative;
    transition: all 0.3s ease;
}

.blade-card:hover {
    border-color: var(--sb-cyan);
    background: rgba(30, 30, 36, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.blade-card h3 {
    color: var(--sb-cyan);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.feature-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-weight: 700;
}

.status-indicator {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--sb-cyan);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 1rem;
    border-radius: 2px;
}

/* Game Console Wrapper */
.game-console-wrapper {
    margin-top: 3rem;
    background: var(--sb-void);
    border: 1px solid var(--sb-slate);
    padding: 1rem;
    clip-path: var(--blade-clip);
}

.console-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0 1rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--sb-text-muted);
}

.console-lights {
    display: flex;
    gap: 8px;
}

.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
}

.light.red {
    background: var(--sb-crimson);
    box-shadow: 0 0 5px var(--sb-crimson);
}

.light.yellow {
    background: var(--sb-yellow);
    box-shadow: 0 0 5px var(--sb-yellow);
}

.light.green {
    background: var(--sb-green);
    box-shadow: 0 0 5px var(--sb-green);
}

.console-status {
    color: var(--sb-green);
    text-shadow: 0 0 5px var(--sb-green);
    animation: blink 2s infinite;
}

.game-frame-container {
    background: #000;
    border: 1px solid var(--sb-slate);
    position: relative;
    overflow: hidden;
}

/* About Us Grid & Dev Grid */
.about-us-grid,
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {

    .about-us-grid,
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--sb-slate);
    color: var(--sb-text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-top: 1rem;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

a.badge:hover {
    border-color: var(--sb-cyan);
    color: var(--sb-cyan);
}

/* Footer */
.blade-footer {
    background: var(--sb-void);
    border-top: 1px solid var(--sb-slate);
    position: relative;
    margin-top: 60px;
    padding-bottom: 40px;
}

.footer-bar {
    background: var(--sb-crimson);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.footer-content {
    margin-top: 60px;
    text-align: center;
}

.footer-links {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: var(--sb-text-main);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--sb-cyan);
}

.footer-warning {
    max-width: 800px;
    margin: 0 auto 40px;
    background: rgba(5, 5, 5, 0.5);
    border: 1px solid var(--sb-slate);
    padding: 2rem;
}

.footer-warning h4 {
    color: var(--sb-crimson);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-warning h4::before {
    content: '🚨';
}

.footer-bottom {
    border-top: 1px solid var(--sb-slate);
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

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

/* Animations */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.5;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--sb-void);
    border-top: 1px solid var(--sb-cyan);
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

.cookie-banner p {
    color: var(--sb-text-main);
    font-size: 0.9rem;
    margin: 0;
}

.blade-btn-small {
    background: transparent;
    border: 1px solid var(--sb-cyan);
    color: var(--sb-cyan);
    padding: 0.5rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: var(--blade-clip-sm);
}

.blade-btn-small:hover {
    background: var(--sb-cyan);
    color: var(--sb-obsidian);
    box-shadow: 0 0 15px var(--sb-cyan);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add mobile menu logic if needed */
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}