/*
Theme Name: VGStudio Theme
Theme URI: https://www.tinjogames.com
Author: Tinjo Games
Author URI: https://www.tinjogames.com
Description: A custom dark cinematic WordPress theme for a video game studio, built from scratch.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vgstudio
Tags: custom-theme, dark, portfolio, blog, entertainment, games
*/


:root {
  --vg-bg: #05050a;
  --vg-surface: #10111c;
  --vg-surface-soft: rgba(255, 255, 255, 0.06);
  --vg-text: #f5f7ff;
  --vg-muted: #a3acc5;
  --vg-neon: #00f5ff;
  --vg-neon-pink: #ff2fd6;
  --vg-gold: #f7c948;
  --vg-border: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--vg-bg);
  color: var(--vg-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 32px;
}

a {
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

img,
video,
iframe {
  max-width: 100%;
}

::selection {
  background: var(--vg-neon);
  color: #02030a;
}

/* WordPress alignment helpers */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100%;
}

/* Header */
.site-header {
  backdrop-filter: blur(16px);
  background: rgba(5, 5, 10, 0.72);
  border-bottom: 1px solid var(--vg-border);
}

.nav-link {
  color: rgba(245, 247, 255, 0.82);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav-link:hover {
  color: var(--vg-neon);
}

.current-menu-item > a,
.current_page_item > a {
  color: var(--vg-neon);
}

/* Neon utilities */
.neon-text {
  color: var(--vg-neon);
  text-shadow: 0 0 18px rgba(0, 245, 255, 0.7);
}

.neon-pink-text {
  color: var(--vg-neon-pink);
  text-shadow: 0 0 18px rgba(255, 47, 214, 0.6);
}

.neon-border {
  border: 1px solid rgba(0, 245, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.12);
}

.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid var(--vg-border);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px);
}

.hero-gradient {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 245, 255, 0.22), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(255, 47, 214, 0.16), transparent 28%),
    radial-gradient(circle at 50% 80%, rgba(247, 201, 72, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(5, 5, 10, 0.16), #05050a 92%);
}

.cinematic-overlay {
  background:
    linear-gradient(90deg, rgba(5,5,10,0.92), rgba(5,5,10,0.55), rgba(5,5,10,0.95)),
    linear-gradient(180deg, rgba(5,5,10,0.4), rgba(5,5,10,0.95));
}

.scanlines::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.025),
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
  mix-blend-mode: screen;
}

/* Cards */
.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--vg-border);
  background: #111320;
  transform: translateY(0);
}

.game-card img {
  transition: transform 500ms ease, filter 500ms ease;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 245, 255, 0.5);
  box-shadow: 0 24px 70px rgba(0, 245, 255, 0.12);
}

.game-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.08);
}

.game-card-overlay {
  background: linear-gradient(180deg, transparent, rgba(5,5,10,0.95));
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--vg-neon), #6755ff);
  color: #02030a;
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px rgba(0, 245, 255, 0.45);
}

.btn-secondary {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--vg-text);
  background: rgba(255,255,255,0.06);
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Forms */
input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--vg-border);
  background: rgba(255,255,255,0.08);
  color: var(--vg-text);
  padding: 0.9rem 1rem;
  outline: none;
}

input[type="email"]:focus,
input[type="text"]:focus,
textarea:focus {
  border-color: rgba(0,245,255,0.75);
  box-shadow: 0 0 0 4px rgba(0,245,255,0.12);
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* WordPress content */
.entry-content {
  color: rgba(245,247,255,0.84);
  line-height: 1.8;
}

.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.25rem;
}

.entry-content a {
  color: var(--vg-neon);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--vg-border);
  background: #070811;
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  left: -9999px;
}

.screen-reader-text:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99999;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
}

/* Responsive admin bar correction */
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}