/* ===========================
   Navigation Bar
   =========================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--overlay-dark);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--primary-cyan);
    box-shadow: 0 2px 20px rgba(0, 255, 255, 0.3);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

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

/* ===========================
   Buttons - See GitHub Button section below for shared styles
   =========================== */

/* ===========================
   Cards
   =========================== */

.concept-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--secondary-magenta);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.concept-card:nth-child(even) {
    border-color: var(--primary-cyan);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary-magenta);
    filter: drop-shadow(0 0 10px var(--secondary-magenta));
}

.concept-card:nth-child(even) .card-icon {
    color: var(--primary-cyan);
    filter: drop-shadow(0 0 10px var(--primary-cyan));
}

.concept-card h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--secondary-magenta);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.concept-card:nth-child(even) h3 {
    color: var(--primary-cyan);
}

.concept-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* ===========================
   Game Cards
   =========================== */

.game-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--secondary-magenta);
    overflow: hidden;
}

.game-card:nth-child(odd) {
    border-color: var(--primary-cyan);
}

.game-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.game-badge {
    background: var(--secondary-magenta);
    color: var(--bg-dark);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--glow-magenta);
}

.game-card:nth-child(odd) .game-badge {
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.game-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.game-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--secondary-magenta);
    margin-bottom: 15px;
    letter-spacing: 2px;
    min-height: 40px;
}

.game-card:nth-child(odd) .game-title {
    color: var(--primary-cyan);
}

.game-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-light);
    flex-grow: 1;
}

.control-badge {
    display: inline-block;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    align-self: flex-start;
}

.game-card:nth-child(even) .control-badge {
    background: rgba(255, 0, 255, 0.15);
    border-color: var(--secondary-magenta);
    color: var(--secondary-magenta);
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    background: rgba(255, 0, 255, 0.2);
    border: 1px solid var(--secondary-magenta);
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 3px;
    color: var(--secondary-magenta);
}

.game-card:nth-child(odd) .feature-tag {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

/* ===========================
   Update Components
   =========================== */

.status-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--primary-cyan);
    padding: 20px;
    margin-bottom: 50px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

.status-text {
    font-size: 1.1rem;
    color: var(--primary-cyan);
    font-weight: 500;
    letter-spacing: 1px;
}

.update-column {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--primary-cyan);
    padding: 30px;
}

.update-subtitle {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--primary-cyan);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.update-list {
    list-style: none;
}

.update-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.update-list li:last-child {
    border-bottom: none;
}

.update-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-cyan);
    font-size: 0.8rem;
}

.update-list.completed li::before {
    content: '✓';
    color: var(--primary-cyan);
}

/* ===========================
   Tech Stack
   =========================== */

.tech-stack {
    text-align: center;
    background: rgba(255, 0, 255, 0.05);
    border: 1px solid var(--secondary-magenta);
    padding: 30px;
}

.tech-stack .update-subtitle {
    color: var(--secondary-magenta);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.tech-tag {
    display: inline-block;
    background: var(--bg-dark);
    border: 2px solid var(--secondary-magenta);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-magenta);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    opacity: 0;
    text-decoration: none !important;
    cursor: pointer;
}

.tech-tag:hover {
    background: var(--secondary-magenta);
    color: var(--bg-dark);
    box-shadow: var(--glow-magenta);
    text-decoration: none !important;
}

.tech-tag:focus,
.tech-tag:active,
.tech-tag:visited {
    text-decoration: none !important;
}

/* ===========================
   GitHub Button - Uses same animation as CTA
   =========================== */

.github-button,
.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(to right, var(--primary-cyan) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    color: var(--primary-cyan);
    border: var(--border-neon);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-position 0.3s ease, color 0.3s ease;
    box-shadow: var(--glow-cyan);
    position: relative;
}

.github-button:hover,
.cta-button:hover {
    background-position: left bottom;
    color: var(--bg-dark);
}

/* ===========================
   Scroll Indicator
   =========================== */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--primary-cyan);
    border-bottom: 2px solid var(--primary-cyan);
    transform: rotate(-45deg);
    margin-top: 10px;
}
