:root {
    --futuristic-bg: #0a0e1a;
    --futuristic-panel: #181f2f;
    --futuristic-border: #2de2e6;
    --futuristic-glow: 0 0 16px #2de2e6, 0 0 32px #2de2e6;
    --futuristic-accent: #2de2e6;
    --futuristic-text: #e6f1ff;
    --futuristic-muted: #6c7a89;
    --futuristic-btn-bg: #181f2f;
    --futuristic-btn-hover: #2de2e6;
    --futuristic-btn-text: #e6f1ff;
    --futuristic-discord: #5865F2;
}

html, body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #181f2f 100%);
    font-family: 'Rajdhani', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Updated font-family */
    color: var(--futuristic-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    background:
        linear-gradient(45deg, transparent 47%, rgba(45, 226, 230, 0.03) 47%, rgba(45, 226, 230, 0.03) 53%, transparent 53%),
        linear-gradient(-45deg, transparent 47%, rgba(45, 226, 230, 0.03) 47%, rgba(45, 226, 230, 0.03) 53%, transparent 53%),
        linear-gradient(135deg, #0a0e1a 0%, #181f2f 100%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
}

.futuristic-container {
    background: var(--futuristic-panel);
    border: 1.5px solid var(--futuristic-border);
    box-shadow: 0 4px 32px rgba(45, 226, 230, 0.08), 0 0 0 2px rgba(45,226,230,0.05);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.futuristic-container:hover {
    box-shadow: 0 0 32px 4px #2de2e6;
}

.futuristic-title {
    background: transparent;
    color: var(--futuristic-accent);
    padding: 18px 28px 8px 28px;
    font-weight: 700;
    font-size: 1.2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(45,226,230,0.15);
    display: flex;
    align-items: center;
    position: relative;
}

.futuristic-title::after {
    content: '';
    flex: 1;
    height: 2px;
    margin-left: 18px;
    background: linear-gradient(90deg, var(--futuristic-accent), transparent);
    opacity: 0.4;
}

.futuristic-content {
    padding: 24px 28px;
    color: var(--futuristic-text);
    background: transparent;
    font-size: 1.08em;
}

.futuristic-button {
    display: inline-block;
    padding: 12px 28px;
    background: var(--futuristic-btn-bg);
    color: var(--futuristic-btn-text);
    border: 1.5px solid var(--futuristic-border);
    font-family: 'Orbitron', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 1.1em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border 0.2s;
    box-shadow: 0 0 12px 0 rgba(45,226,230,0.15);
    margin-top: 12px;
    text-align: center;
    text-decoration: none;
}

.futuristic-button:hover, .futuristic-button:focus {
    background: var(--futuristic-btn-hover);
    color: #181f2f;
    box-shadow: var(--futuristic-glow);
    border-color: #fff;
}

.discord-button {
    background: var(--futuristic-discord);
    color: #fff;
    border: 1.5px solid #fff;
    box-shadow: 0 0 24px 0 #5865F2;
    font-size: 1.15em;
    margin-top: 18px;
    transition: background 0.2s, box-shadow 0.2s;
}

.discord-button:hover {
    background: #4752c4;
    color: #fff;
    box-shadow: 0 0 32px 4px #5865F2;
}

.discord-button i {
    margin-right: 10px;
    font-size: 1.3em;
}

header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    padding-top: 128px;
    border-bottom: 1.5px solid var(--futuristic-border);
    background: transparent;
}

header .logo {
    max-width: 160px;
    margin-bottom: 14px;
}

header p {
    color: var(--futuristic-accent);
    margin-top: 10px;
    font-size: 1.15em;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #2de2e6;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    margin-top: 24px;
    padding: 0;
    list-style: none;
    position: relative;
    gap: 12px;
}

.nav-tab {
    background: var(--futuristic-panel);
    padding: 10px 32px;
    cursor: pointer;
    font-weight: 700;
    color: var(--futuristic-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1em;
    border: 1.5px solid transparent;
    border-bottom: none;
    transition: background 0.2s, color 0.2s, border 0.2s;
}

.nav-tab:hover {
    color: var(--futuristic-accent);
    background: #232b3d;
}

.nav-tab.active {
    background: var(--futuristic-bg);
    color: var(--futuristic-accent);
    border: 1.5px solid var(--futuristic-border);
    border-bottom: none;
    box-shadow: 0 -2px 16px #2de2e6;
}

.nav-content {
    display: none;
}

.nav-content.active {
    display: block;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 18px 0 100px 0;
    flex: 1 0 auto;
}

footer {
    text-align: center;
    color: var(--futuristic-muted);
    background: #0a0e1a;
    border-top: 1.5px solid var(--futuristic-border);
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    position: relative;
    padding: 24px 0 16px 0;
    font-size: 1em;
    letter-spacing: 1px;
}

footer a {
    color: var(--futuristic-accent);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

a {
    color: var(--futuristic-accent); /* Make links stand out with the accent color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
    color: #ffffff; /* Change color on hover */
    text-shadow: 0 0 8px var(--futuristic-accent); /* Add glow effect on hover */
    text-decoration: underline;
}

.repo-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.repo-item {
    flex: 1 1 300px;
    padding: 20px;
    background: rgba(24, 31, 47, 0.6);
    border: 1px solid var(--futuristic-border);
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.repo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(45, 226, 230, 0.2);
}

.repo-item h3 {
    color: var(--futuristic-accent);
    margin-top: 0;
}

.repo-item .futuristic-button {
    margin-top: 20px;
    font-size: 0.95em;
    padding: 8px 16px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--futuristic-accent);
    margin-right: 12px;
    font-size: 1.2em;
    width: 24px;
    text-align: center;
}

.highlight-text {
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 24px;
    padding: 15px;
    border-left: 4px solid var(--futuristic-accent);
    background: rgba(45, 226, 230, 0.1);
}

/* Update the FAQ styles to match the futuristic theme */
.faq-item {
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(45, 226, 230, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-question {
    font-weight: 700;
    color: var(--futuristic-accent);
    margin-bottom: 8px;
    cursor: pointer;
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 1.08em;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 0;
    height: 0;
    border-left: 8px solid var(--futuristic-accent);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    transition: transform 0.3s;
    font-size: 1em;
}

.faq-question.open::before {
    transform: rotate(90deg);
    left: 2px;
    top: 16px;
}

.faq-answer {
    margin-left: 28px;
    padding-left: 12px;
    border-left: 2px solid var(--futuristic-border);
    display: none;
    color: var(--futuristic-text);
    font-size: 1em;
}

.faq-answer.open {
    display: block;
}

.faq-answer p {
    margin: 0.7em 0;
}

/* .faq-answer a {
    color: var(--win95-accent);
    text-decoration: none;
} */

.faq-answer a:hover {
    text-decoration: underline;
}


.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: brightness(0.5);
    background-image: url('/static/images/poster1.png');
    background-size: cover;
    background-position: center;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Hide video on mobile, show background image instead */
@media (max-width: 768px) {
    .video-background video {
        display: none;
    }
}

/* Show video only on larger screens */
@media (min-width: 769px) {
    .video-background {
        background-image: none; /* Remove background image on desktop */
    }
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    max-width: 120px;
}
/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .repo-showcase {
        flex-direction: column;
    }
    .repo-item {
        margin-bottom: 15px;
    }
    .feature-list li {
        font-size: 0.95em;
    }
        .robot-image {
        height: 200px;
    }
}

.micro-invaders-hero {
    display: block;
    margin-bottom: 32px;
}


.robot-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 2px solid var(--futuristic-border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(45, 226, 230, 0.2);
    margin-bottom: 24px;
    display: block;
}

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