/* TecVooDoo - Embrace the Weird */

:root {
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --accent-cyan: #00f0c0;
    --accent-cyan-dim: #00a080;
    --accent-red: #ff3366;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    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-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-red);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

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

nav .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

nav .logo img {
    height: 40px;
    width: auto;
}

nav .logo span {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent-cyan);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-cyan);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Main Content */
main {
    padding-top: 80px;
    min-height: calc(100vh - 80px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero img.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

.card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #222;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 240, 192, 0.1);
    border-color: var(--accent-cyan-dim);
}

.card .card-image {
    position: relative;
    height: 200px;
    background: #111;
    overflow: visible;
    border-radius: 12px 12px 0 0;
}

.card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.card-content {
    padding: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card .status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card .status.live {
    background: rgba(0, 240, 192, 0.2);
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.card .status.development {
    background: rgba(255, 51, 102, 0.2);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.card .status.on-hold {
    background: rgba(136, 136, 136, 0.2);
    color: var(--text-secondary);
    border: 1px solid var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-red);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-outline:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid #222;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* About Page */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-content h2 {
    color: var(--accent-cyan);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .optional {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Footer */
footer {
    position: relative;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #222;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-cyan);
}

.footer-subscribe {
    margin-bottom: 1.5rem;
}

.footer-subscribe p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.footer-subscribe .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.footer-updated {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer-updated {
        position: static;
        margin-top: 1rem;
        opacity: 0.6;
    }
}

/* Section titles */
.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Games sections */
.games-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #222;
}

.games-section:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid #222;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .container {
        padding: 1rem;
    }

    /* Mobile: tap to open lightbox */
    .card .card-image img {
        cursor: pointer;
    }
}
