:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --bg-card: rgba(15, 15, 25, 0.8);
    --bg-card-hover: rgba(20, 20, 35, 0.9);
    
    --accent-primary: #00d4ff;
    --accent-secondary: #7c3aed;
    --status-released: #10b981;
    --status-dev: #f59e0b;
    
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --glow-primary: rgba(0, 212, 255, 0.4);
    --glow-secondary: rgba(124, 58, 237, 0.4);

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Metrics */
    --container-max: 1100px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-main);
}

ul {
    list-style: none;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: var(--radius-sm);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.logo {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    z-index: 0;
    filter: blur(40px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    display: block;
    width: 12px;
    height: 12px;
    border-bottom: 2px solid var(--accent-primary);
    border-right: 2px solid var(--accent-primary);
    transform: rotate(45deg);
    margin: -3px;
    animation: scroll-pulse 2s infinite;
}

.scroll-indicator span:nth-child(2) { animation-delay: -0.2s; }
.scroll-indicator span:nth-child(3) { animation-delay: -0.4s; }

@keyframes scroll-pulse {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, transparent, rgba(124, 58, 237, 0.05), transparent);
}

.about-content {
    max-width: 800px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-content p {
    margin-bottom: 2rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge-accent {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.badge-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-secondary);
    border-color: rgba(124, 58, 237, 0.3);
}

.game-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.placeholder-img {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--glow-primary);
    filter: blur(50px);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

.status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.status-badge.available {
    background: rgba(16, 185, 129, 0.15);
    color: var(--status-released);
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.status-badge.in-dev {
    background: rgba(245, 158, 11, 0.15);
    color: var(--status-dev);
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.game-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.game-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.platforms {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.platform {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-list {
    margin-bottom: 2rem;
    padding-left: 1.2rem;
}

.features-list li {
    position: relative;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.features-list li::before {
    content: '→';
    position: absolute;
    left: -1.2rem;
    color: var(--accent-secondary);
}

.upcoming-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--accent-secondary);
}

.upcoming-tag span {
    color: var(--accent-secondary);
    font-weight: 700;
    margin-left: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    width: 100%;
}

.btn-primary {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Team Section */
.team {
    background: linear-gradient(to top, transparent, rgba(0, 212, 255, 0.05), transparent);
}

.team-content {
    max-width: 700px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.05);
}

.contact-card h4 {
    margin-bottom: 1rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-link {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.contact-link:hover {
    color: var(--accent-primary);
    transform: translateX(5px);
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    background: #050508;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-left .abn {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    opacity: 0.6;
}

.footer-right {
    display: flex;
    gap: 1.5rem;
}

.footer-right a {
    color: var(--text-muted);
}

.footer-right a:hover {
    color: #fff;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1024px) {
    .section { padding: 6rem 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Could add a hamburger menu if needed */
    .hero-title { font-size: 2.5rem; }
    .games-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; justify-content: center; }
    .footer-right { justify-content: center; }
}

@media (max-width: 480px) {
    .section { padding: 4rem 0; }
    .hero-title { font-size: 2rem; }
    .about-content, .team-content { font-size: 1rem; }
}

/* Legal Pages Styling */
.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 1.5rem 5rem;
}

.legal-header-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.legal-back-link:hover {
    text-decoration: underline;
}

.legal-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

.legal-summary-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.legal-summary-card h2 {
    color: var(--accent-primary);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.legal-summary-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.legal-summary-card p:last-child {
    margin-bottom: 0;
}

.legal-article {
    margin-bottom: 2.5rem;
}

.legal-article h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-article h3 {
    font-size: 1.15rem;
    color: var(--accent-primary);
    margin: 1.25rem 0 0.5rem;
}

.legal-article p {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

.legal-article ul, .legal-article ol {
    margin: 0.75rem 0 1.25rem 1.75rem;
    color: var(--text-main);
}

.legal-article li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.legal-table th, .legal-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-table th {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-primary);
    font-weight: 600;
}

.legal-table td {
    background: rgba(15, 15, 25, 0.4);
}

