:root {
  --bg-color: #0f0f0f;
  --accent: #9b59b6;
  --accent-dark: #7d3c98;
  --muted: rgba(255, 255, 255, 0.85);
  --glass: rgba(0, 0, 0, 0.45);
  --container: 1200px;
  --success: #4caf50;
  --error: #f44336;
  --warning: #ff9800;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--muted);
  background: var(--bg-color);
  scroll-behavior: smooth;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 44px;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.admin-link {
  color: var(--accent);
}

/* Mobile navigation */
.mobile-topbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 200;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
  padding: 10px 0;
}

.mobile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo {
  height: 36px;
}

.nav-toggle {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
}

.mobile-nav {
  display: none;
  background: rgba(0, 0, 0, 0.95);
  position: fixed;
  left: 0;
  right: 0;
  top: 56px;
  z-index: 190;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav.open {
  display: block;
  animation: navDrop 260ms cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  display: block;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
}

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

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 100px 20px 60px;
}

.hero-title {
  font-size: 4rem;
  margin: 0 0 20px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-light {
  background: #1a1a1a;
  padding: 80px 20px;
}

.section-dark {
  background: var(--bg-color);
  padding: 80px 20px;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin: 0 0 40px;
  color: #fff;
}

.section-text {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-header {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(0, 0, 0, 0.3));
  padding: 120px 20px 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin: 0 0 15px;
  color: #fff;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--muted);
}

/* Grids */
.projects-grid,
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card,
.value-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover,
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(155, 89, 182, 0.2);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: #ff8800;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(155, 89, 182, 0.4);
}

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

.btn-secondary:hover {
  background: var(--accent);
  color: #111;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-danger {
  background: var(--error);
  color: white;
}

.btn-danger:hover {
  background: #d32f2f;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #fff;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 1rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Flash messages */
.flash-messages {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
}

.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.alert-success {
  background: var(--success);
  color: white;
}

.alert-error {
  background: var(--error);
  color: white;
}

.alert-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  margin-left: 15px;
}

/* Footer */
.site-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.98), rgba(12, 12, 12, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 26px 0;
  color: rgba(255, 255, 255, 0.85);
  z-index: 999;
  min-height: 80px;
  margin-top: 40px;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('../images/CircleLogo.png');
  background-repeat: repeat;
  background-size: 96px 96px;
  background-position: 0 0;
  opacity: 0.045;
  z-index: 0;
  mix-blend-mode: overlay;
}

.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('../images/CircleLogo.png');
  background-repeat: repeat;
  background-size: 96px 96px;
  background-position: 48px 48px;
  opacity: 0.03;
  z-index: 0;
  mix-blend-mode: overlay;
}

.footer-inner {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  height: 34px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

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

.footer-center {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-center a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}

.footer-newsletter h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  display: flex;
  gap: 6px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: all 0.3s;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(94, 53, 177, 0.3);
}

.newsletter-form button:active {
  transform: translateY(0);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 6px;
  padding: 0;
  margin: 0;
  line-height: 0;
  transition: background 0.3s;
}

.social img {
  display: block;
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.social:focus {
  outline: 2px solid rgba(255, 255, 255, 0.12);
  outline-offset: 2px;
}

.social-yt:hover {
  background: linear-gradient(180deg, rgba(255, 0, 0, 0.12), rgba(255, 0, 0, 0.06));
}

.social-x:hover {
  background: linear-gradient(180deg, rgba(29, 155, 240, 0.08), rgba(29, 155, 240, 0.04));
}

.social-ig:hover {
  background: linear-gradient(180deg, rgba(225, 48, 108, 0.08), rgba(225, 48, 108, 0.04));
}

.social-tt:hover {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.04));
}

.social-rb:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
}

.social-discord:hover {
  background: linear-gradient(180deg, rgba(88, 101, 242, 0.12), rgba(88, 101, 242, 0.06));
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #ff8800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

/* Careers & Applications */
.benefits-grid,
.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.benefit-card,
.action-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s;
}

.benefit-card:hover,
.action-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.benefit-icon,
.action-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.action-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.positions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.position-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s;
}

.position-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.position-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.position-header h3 {
  margin: 0;
  color: #fff;
}

.position-type {
  background: var(--accent);
  color: #111;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.position-details {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-layout,
.application-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-top: 40px;
}

.cta-section {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.2), rgba(0, 0, 0, 0.5));
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin: 0 0 15px;
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Featured Games Styling */
.featured-games {
  max-width: 1000px;
  margin: 0 auto;
}

.game-card-large {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(30, 30, 45, 0.9));
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
  border: 1px solid rgba(155, 89, 182, 0.15);
  display: grid;
  grid-template-columns: 400px 1fr;
}

.game-card-large:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(155, 89, 182, 0.3);
  border-color: rgba(155, 89, 182, 0.4);
}

.game-image {
  width: 100%;
  height: 100%;
  min-height: 350px;
  object-fit: cover;
  display: block;
  border-right: 3px solid var(--accent);
}

.game-content {
  padding: 25px;
}

.game-content h2 {
  font-size: 1.6rem;
  margin: 0 0 12px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.game-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 20px;
}

.game-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-stats span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(155, 89, 182, 0.08);
  padding: 10px 6px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.game-stats span:hover {
  background: rgba(155, 89, 182, 0.15);
  transform: scale(1.05);
}

.btn-large {
  display: inline-block;
  width: 100%;
  max-width: 220px;
  text-align: center;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

.btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(155, 89, 182, 0.5);
}

/* Live indicator - removed green circle */
    transform: scale(1.2);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-topbar {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-layout,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .flash-messages {
    left: 20px;
    right: 20px;
    max-width: none;
  }

  .game-card-large {
    grid-template-columns: 1fr;
  }

  .game-image {
    height: 200px;
    min-height: 200px;
    border-right: none;
    border-bottom: 3px solid var(--accent);
  }

  .game-content {
    padding: 20px;
  }

  .game-content h2 {
    font-size: 2rem;
  }

  .game-description {
    font-size: 1rem;
  }

  .game-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .btn-large {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .footer-left {
    order: 1;
    flex-direction: column;
  }

  .footer-center {
    order: 2;
  }

  .footer-newsletter {
    order: 3;
    width: 100%;
    max-width: 300px;
  }

  .footer-right {
    order: 4;
  }

  .footer-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .site-footer {
    padding: 20px 0;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }
}
/* Form Status Messages */
.form-status {
  margin-top: 15px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

.form-status.success {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-status.error {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disable button state */
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}