

:root {
  
  --gr-primary-blue: #0a2540; 
  --gr-secondary-purple: #6a0dad; 
  --gr-accent-green: #00ff88; 
  --gr-dark-grey: #1a1a1a; 
  --gr-black: #000000; 
  --gr-light-grey: #f0f0f0; 
  --gr-white: #ffffff;

  --gr-glow-purple: 0 0 20px rgba(106, 13, 173, 0.5);
  --gr-glow-green: 0 0 20px rgba(0, 255, 136, 0.5);
  --gr-gradient-primary: linear-gradient(135deg, var(--gr-primary-blue) 0%, var(--gr-secondary-purple) 100%);
  --gr-gradient-glow: linear-gradient(135deg, var(--gr-secondary-purple), var(--gr-accent-green));

  --gr-font-heading: 'Montserrat', sans-serif; 
  --gr-font-body: 'Open Sans', sans-serif; 
  --gr-font-size-base: 1rem;
  --gr-font-size-h1: 3.5rem;
  --gr-font-size-h2: 2.5rem;
  --gr-font-size-h3: 1.75rem;
  --gr-line-height-base: 1.6;
  --gr-letter-spacing: 0.025em;

  --gr-spacing-xs: 0.5rem;
  --gr-spacing-sm: 1rem;
  --gr-spacing-md: 2rem;
  --gr-spacing-lg: 3rem;
  --gr-spacing-xl: 4rem;
  --gr-shadow-base: 0 4px 6px rgba(0, 0, 0, 0.1);
  --gr-shadow-glow: 0 8px 32px rgba(106, 13, 173, 0.2);

  --gr-transition-fast: 0.2s ease-in-out;
  --gr-transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gr-transition-slow: 0.6s ease;
}

@media (prefers-color-scheme: dark) {
  :root {
    --gr-light-grey: #cccccc; 
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
  font-size: var(--gr-font-size-base);
  line-height: var(--gr-line-height-base);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--gr-font-body);
  color: var(--gr-white); 
  background-color: var(--gr-black); 
  overflow-x: hidden;
}

*:focus-visible {
  outline: 2px solid var(--gr-accent-green);
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gr-font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--gr-spacing-md);
  letter-spacing: var(--gr-letter-spacing);
  color: var(--gr-white);
}

h1 { 
  font-size: var(--gr-font-size-h1); 
}
h2 { 
  font-size: var(--gr-font-size-h2); 
}
h3 { 
  font-size: var(--gr-font-size-h3); 
}

p {
  margin-bottom: var(--gr-spacing-md);
  color: var(--gr-light-grey);
}

a {
  color: var(--gr-accent-green);
  text-decoration: none;
  transition: color var(--gr-transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--gr-secondary-purple);
  text-shadow: var(--gr-glow-green);
}

.gr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gr-gradient-primary);
  overflow: hidden;
  padding: var(--gr-spacing-xl) 0;
}

.gr-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
  animation: gr-pulse 4s ease-in-out infinite alternate;
}

@keyframes gr-pulse {
  0% { 
    opacity: 0.5; 
    transform: scale(1); 
  }
  100% { 
    opacity: 1; 
    transform: scale(1.1); 
  }
}

.gr-hero-content {
  text-align: center;
  z-index: 2;
  position: relative;
}

.gr-hero h1 {
  text-shadow: var(--gr-glow-purple);
  animation: gr-glow 2s ease-in-out infinite alternate;
}

@keyframes gr-glow {
  0% { 
    filter: drop-shadow(var(--gr-glow-purple)); 
  }
  100% { 
    filter: drop-shadow(0 0 30px var(--gr-secondary-purple)); 
  }
}

.gr-game-card {
  background: rgba(10, 37, 64, 0.8); 
  backdrop-filter: blur(10px);
  border: 1px solid rgba(106, 13, 173, 0.3);
  border-radius: 12px;
  padding: var(--gr-spacing-md);
  margin-bottom: var(--gr-spacing-md);
  transition: all var(--gr-transition-medium);
  position: relative;
  overflow: hidden;
}

.gr-game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.2), transparent);
  transition: left var(--gr-transition-medium);
}

.gr-game-card:hover::before {
  left: 100%;
}

.gr-game-card:hover,
.gr-game-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--gr-shadow-glow), var(--gr-glow-green);
  border-color: var(--gr-accent-green);
}

.gr-game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform var(--gr-transition-medium);
}

.gr-game-card:hover img,
.gr-game-card:focus-within img {
  transform: scale(1.05);
}

.navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(106, 13, 173, 0.3);
}

.navbar-brand {
  font-family: var(--gr-font-heading);
  font-weight: 700;
  color: var(--gr-accent-green) !important;
  text-shadow: var(--gr-glow-green);
}

.nav-link {
  color: var(--gr-light-grey) !important;
  transition: all var(--gr-transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.active {
  color: var(--gr-accent-green) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gr-gradient-glow);
  transition: width var(--gr-transition-fast);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 1px solid var(--gr-secondary-purple);
}

.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
}

.gr-content-block {
  background: rgba(26, 26, 26, 0.7);
  border-radius: 12px;
  padding: var(--gr-spacing-lg);
  margin-bottom: var(--gr-spacing-lg);
  border-left: 4px solid var(--gr-accent-green);
  transition: box-shadow var(--gr-transition-medium);
}

.gr-content-block:hover,
.gr-content-block:focus-within {
  box-shadow: var(--gr-glow-purple);
}

.gr-content-block p {
  color: var(--gr-light-grey);
}

.gr-form {
  background: rgba(10, 37, 64, 0.8);
  padding: var(--gr-spacing-lg);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.gr-form input,
.gr-form textarea,
.gr-form select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--gr-secondary-purple);
  color: var(--gr-white);
  border-radius: 6px;
  padding: var(--gr-spacing-sm);
  margin-bottom: var(--gr-spacing-md);
  transition: border-color var(--gr-transition-fast);
}

.gr-form input:focus,
.gr-form textarea:focus,
.gr-form select:focus {
  border-color: var(--gr-accent-green);
  outline: none;
  box-shadow: var(--gr-glow-green);
}

.gr-form button {
  background: var(--gr-gradient-primary);
  border: none;
  color: var(--gr-white);
  padding: var(--gr-spacing-sm) var(--gr-spacing-md);
  border-radius: 6px;
  font-weight: 600;
  transition: all var(--gr-transition-fast);
  cursor: pointer;
}

.gr-form button:hover,
.gr-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--gr-glow-purple);
}

.gr-parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.gr-hover-preview {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gr-hover-preview video,
.gr-hover-preview img {
  transition: transform var(--gr-transition-medium);
}

.gr-hover-preview:hover video,
.gr-hover-preview:hover img,
.gr-hover-preview:focus-within video,
.gr-hover-preview:focus-within img {
  transform: scale(1.1);
}

.gr-timeline {
  position: relative;
  padding-left: var(--gr-spacing-lg);
  border-left: 3px solid var(--gr-secondary-purple);
}

.gr-timeline-item {
  position: relative;
  margin-bottom: var(--gr-spacing-xl);
  padding-left: var(--gr-spacing-md);
}

.gr-timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--gr-accent-green);
  border-radius: 50%;
  box-shadow: var(--gr-glow-green);
  transition: transform var(--gr-transition-fast);
}

.gr-timeline-item:hover::before,
.gr-timeline-item:focus-within::before {
  transform: scale(1.2);
}

footer {
  background: var(--gr-dark-grey);
  color: var(--gr-light-grey);
  padding: var(--gr-spacing-lg) 0;
  border-top: 1px solid rgba(106, 13, 173, 0.3);
}

footer a {
  color: var(--gr-accent-green);
}

footer a:hover,
footer a:focus-visible {
  text-decoration: underline;
}

[data-aos] {
  transition-property: transform, opacity;
}

[data-aos].aos-animate {
  transform: translateY(0) scale(1);
  opacity: 1;
}

@keyframes gr-fade-glow {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: drop-shadow(0 0 0 var(--gr-secondary-purple));
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: drop-shadow(var(--gr-glow-purple));
  }
}

[data-aos="gr-fade-glow"] {
  animation: gr-fade-glow var(--gr-transition-slow) ease-out;
}

@keyframes gr-slide-neon {
  from {
    opacity: 0;
    transform: translateX(-50px);
    box-shadow: none;
  }
  to {
    opacity: 1;
    transform: translateX(0);
    box-shadow: var(--gr-glow-green);
  }
}

[data-aos="gr-slide-neon"] {
  animation: gr-slide-neon var(--gr-transition-medium) ease-out;
}

@media (max-width: 1024px) {
  :root {
    --gr-font-size-h1: 3rem;
    --gr-font-size-h2: 2.25rem;
  }

  .gr-hero {
    padding: var(--gr-spacing-lg) 0;
  }
}

@media (max-width: 768px) {
  :root {
    --gr-font-size-h1: 2.5rem;
    --gr-font-size-h2: 2rem;
    --gr-font-size-h3: 1.5rem;
  }

  .gr-hero {
    min-height: 80vh;
    padding: var(--gr-spacing-md) 0;
  }

  .gr-game-card {
    margin-bottom: var(--gr-spacing-sm);
  }

  .gr-content-block {
    padding: var(--gr-spacing-md);
  }

  .gr-timeline {
    padding-left: var(--gr-spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --gr-font-size-h1: 2rem;
    --gr-font-size-h2: 1.75rem;
  }

  .gr-hero h1 {
    font-size: var(--gr-font-size-h1);
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .gr-form {
    padding: var(--gr-spacing-md);
  }
}

.gr-game-card img,
.gr-parallax-bg,
.gr-hover-preview img,
.gr-hover-preview video {
  will-change: transform;
}

body,
.gr-content-block,
.gr-game-card,
footer {
  color: var(--gr-white); 
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gr-dark-grey);
}

::-webkit-scrollbar-thumb {
  background: var(--gr-secondary-purple);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gr-accent-green);
  box-shadow: var(--gr-glow-green);
}

