:root{
  --bg:#030712;
  --panel:rgba(7,15,28,.75);
  --blue:#00aaff;
  --blue2:#005dff;
  --orange:#ff8a00;
  --orange2:#ff4d00;
  --text:#ffffff;
  --muted:#9db0c7;
  --border:rgba(255,255,255,.08);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:
  radial-gradient(circle at 15% 20%, rgba(0,170,255,.22), transparent 25%),
  radial-gradient(circle at 85% 10%, rgba(255,138,0,.18), transparent 25%),
  linear-gradient(135deg,#02040a,#071326 55%,#070503);
  color:var(--text);
  font-family:Arial,sans-serif;
  overflow-x:hidden;
}

.grid-overlay{
  position:fixed;
  inset:0;
  background-image:
  linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size:50px 50px;
  z-index:-5;
  animation:gridMove 18s linear infinite;
}

.glow{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:50%;
  filter:blur(90px);
  z-index:-4;
}

.glow-blue{
  background:rgba(0,170,255,.25);
  left:-140px;
  bottom:0;
  animation:floatBlue 7s ease-in-out infinite alternate;
}

.glow-orange{
  background:rgba(255,138,0,.22);
  right:-140px;
  top:0;
  animation:floatOrange 7s ease-in-out infinite alternate;
}

.navbar{
  width:min(1250px, calc(100% - 40px));
  height:90px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  display:flex;
  align-items:center;
  gap:15px;
}

.logo-box{
  width:50px;
  height:50px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--blue),var(--orange));
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  box-shadow:
  0 0 30px rgba(0,170,255,.5),
  0 0 30px rgba(255,138,0,.4);
}

.logo h1{
  font-size:26px;
}

.logo span{
  color:var(--orange);
}

nav{
  display:flex;
  gap:22px;
}

nav a{
  color:#dbe8ff;
  text-decoration:none;
  font-weight:700;
  transition:.25s;
}

nav a:hover{
  color:var(--blue);
}

.play-btn{
  padding:14px 24px;
  border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--blue2),var(--orange));
  color:white;
  text-decoration:none;
  font-weight:900;
  transition:.25s;
  box-shadow:0 0 30px rgba(0,170,255,.3);
}

.play-btn:hover{
  transform:translateY(-3px);
}

.hero{
  width:min(1250px, calc(100% - 40px));
  min-height:700px;
  margin:30px auto;
  padding:70px;
  border-radius:35px;
  background:rgba(7,15,28,.72);
  border:1px solid var(--border);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  position:relative;
  overflow:hidden;
}

.hero-left{
  z-index:2;
}

.badge{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(0,170,255,.1);
  border:1px solid rgba(0,170,255,.2);
  color:#b9ebff;
  margin-bottom:24px;
  font-weight:800;
}

.hero h2{
  font-size:32px;
  line-height:.9;
  margin-bottom:25px;
}

.hero h2 span{
  background:linear-gradient(90deg,var(--blue),var(--orange));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  color:var(--muted);
  font-size:18px;
  line-height:1.8;
  margin-bottom:35px;
  max-width:620px;
}

.hero-buttons{
  display:flex;
  gap:15px;
  margin-bottom:40px;
}

.btn-primary,
.btn-secondary{
  padding:16px 28px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  transition:.25s;
}

.btn-primary{
  background:linear-gradient(135deg,var(--blue),var(--orange));
  color:white;
}

.btn-secondary{
  border:1px solid var(--border);
  color:white;
  background:rgba(255,255,255,.05);
}

.btn-primary:hover,
.btn-secondary:hover{
  transform:translateY(-4px);
}

.stats{
  display:flex;
  gap:18px;
}

.stat-card{
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--border);
  min-width:140px;
}

.stat-card h3{
  font-size:34px;
}

.stat-card span{
  color:var(--muted);
}

.hero-right{
  position:relative;
  height:550px;
  
}

.orb{
  position:absolute;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
}

.orb-1{
  inset:0;
  animation:rotate 16s linear infinite;
}

.orb-2{
  inset:70px;
  animation:rotateReverse 10s linear infinite;
}

.main-card{
  position:absolute;
  inset:70px;
  border-radius:35px;
  background:
  linear-gradient(135deg, rgba(0,170,255,.2), rgba(255,138,0,.2)),
  rgba(7,15,28,.85);
  border:1px solid rgba(255,255,255,.1);
  transform:perspective(900px) rotateY(-12deg) rotateX(10deg);
  animation:floatCard 5s ease-in-out infinite;
  overflow:hidden;
}

.card-inner{
  position:absolute;
  inset:2px;
  border-radius:34px;
  background:
  radial-gradient(circle at 30% 30%, rgba(0,170,255,.3), transparent 25%),
  radial-gradient(circle at 80% 80%, rgba(255,138,0,.3), transparent 25%),
  #07111f;
  display:flex;
  align-items:center;
  justify-content:center;
}

.controller{
  width:220px;
  height:120px;
  border-radius:45px;
  background:linear-gradient(135deg,#ffffff,#9de7ff,var(--orange));
  position:relative;
  box-shadow:
  0 0 40px rgba(0,170,255,.5),
  0 0 40px rgba(255,138,0,.3);
}

.controller-left,
.controller-right{
  position:absolute;
  width:50px;
  height:50px;
  border-radius:50%;
  background:#07111f;
  top:35px;
}

.controller-left{
  left:30px;
}

.controller-right{
  right:30px;
}

.games-section{
  width:min(1250px, calc(100% - 40px));
  margin:auto;
  padding-bottom:100px;
}

.section-header{
  margin-bottom:35px;
}

.section-header h2{
  font-size:48px;
  margin-bottom:10px;
}

.section-header p{
  color:var(--muted);
}

.games-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.game-card{
  background:rgba(7,15,28,.72);
  border-radius:25px;
  overflow:hidden;
  border:1px solid var(--border);
  transition:.3s;
}

.game-card:hover{
  transform:translateY(-8px);
  border-color:rgba(0,170,255,.3);
}

.game-thumb{
  height:220px;
}

.blue{
  background:
  radial-gradient(circle at 20% 20%, rgba(255,255,255,.3), transparent 20%),
  linear-gradient(135deg,var(--blue),#071326,var(--blue2));
}

.orange{
  background:
  radial-gradient(circle at 80% 20%, rgba(255,255,255,.3), transparent 20%),
  linear-gradient(135deg,var(--orange),#071326,var(--orange2));
}

.mix{
  background:
  radial-gradient(circle at 50% 20%, rgba(255,255,255,.3), transparent 20%),
  linear-gradient(135deg,var(--blue),#071326,var(--orange));
}

.game-content{
  padding:24px;
}

.game-content h3{
  margin-bottom:10px;
  font-size:24px;
}

.game-content p{
  color:var(--muted);
  margin-bottom:20px;
  line-height:1.6;
}

.game-content a{
  display:inline-block;
  padding:12px 18px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  color:white;
  text-decoration:none;
  font-weight:800;
}

footer{
  border-top:1px solid var(--border);
  padding:40px 20px;
  text-align:center;
}

.footer-content h2{
  margin-bottom:10px;
}

.footer-content p{
  color:var(--muted);
}

@keyframes rotate{
  from{transform:rotate(0deg);}
  to{transform:rotate(360deg);}
}

@keyframes rotateReverse{
  from{transform:rotate(360deg);}
  to{transform:rotate(0deg);}
}

@keyframes floatCard{
  0%,100%{
    transform:perspective(900px) rotateY(-12deg) rotateX(10deg) translateY(0);
  }
  50%{
    transform:perspective(900px) rotateY(-8deg) rotateX(12deg) translateY(-15px);
  }
}

@keyframes floatBlue{
  from{
    transform:translate(0,0);
  }
  to{
    transform:translate(80px,-40px);
  }
}

@keyframes floatOrange{
  from{
    transform:translate(0,0);
  }
  to{
    transform:translate(-80px,40px);
  }
}

@keyframes gridMove{
  from{
    background-position:0 0;
  }
  to{
    background-position:50px 50px;
  }
}

@media(max-width:1100px){

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

  .games-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:700px){

  nav{
    display:none;
  }

  .hero{
    padding:35px;
  }

  .hero h2{
    font-size:52px;
  }

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

  .stats{
    flex-direction:column;
  }

}
.site-logo{
  width:150px;
  height:150px;
  object-fit:contain;
  border-radius:16px;
  filter:
  drop-shadow(0 0 18px rgba(0,170,255,.55))
  drop-shadow(0 0 18px rgba(255,138,0,.35));
}

.hero-bg-image{
  position:absolute;
  inset:0;
  background:
  linear-gradient(90deg, rgba(7,15,28,.96), rgba(7,15,28,.72), rgba(7,15,28,.9)),
  url("/assets/backgrounds/hero-bg.png");
  background-size:cover;
  background-position:center;
  opacity:.34;
  z-index:0;
  pointer-events:none;
}

.hero-left,
.hero-right{
  position:relative;
  z-index:2;
}

.hero-logo-image{
  width:260px;
  max-width:70%;
  object-fit:contain;
  filter:
  drop-shadow(0 0 30px rgba(0,170,255,.65))
  drop-shadow(0 0 35px rgba(255,138,0,.45));
  animation:logoPulse 3s ease-in-out infinite;
}

.image-thumb{
  position:relative;
  overflow:hidden;
  background:#071326;
}

.image-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:
  radial-gradient(circle at 20% 20%, rgba(0,170,255,.25), transparent 28%),
  radial-gradient(circle at 80% 20%, rgba(255,138,0,.25), transparent 28%),
  linear-gradient(135deg, rgba(0,170,255,.14), rgba(255,138,0,.12));
  z-index:1;
  pointer-events:none;
}

.image-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.45s ease;
}

.game-card:hover .image-thumb img{
  transform:scale(1.08);
  filter:saturate(1.2) contrast(1.08);
}

.footer-logo{
  width:95px;
  height:95px;
  object-fit:contain;
  margin:0 auto 18px;
  filter:
  drop-shadow(0 0 18px rgba(0,170,255,.5))
  drop-shadow(0 0 18px rgba(255,138,0,.35));
}

@keyframes logoPulse{
  0%,100%{
    transform:scale(1);
    filter:
    drop-shadow(0 0 28px rgba(0,170,255,.55))
    drop-shadow(0 0 30px rgba(255,138,0,.35));
  }

  50%{
    transform:scale(1.05);
    filter:
    drop-shadow(0 0 42px rgba(0,170,255,.8))
    drop-shadow(0 0 45px rgba(255,138,0,.55));
  }
}

@media(max-width:700px){
  .site-logo{
    width:44px;
    height:44px;
  }

  .hero-logo-image{
    width:190px;
  }

  .image-thumb img{
    object-fit:cover;
  }
}
.game-card.locked {
  position: relative;
  filter: grayscale(0.9);
  opacity: 0.72;
}

.game-card.locked:hover {
  transform: none;
  border-color: rgba(255, 138, 0, 0.25);
}

.game-card.locked .image-thumb img {
  filter: grayscale(1) brightness(0.45) blur(1px);
}

.lock-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at center, rgba(0, 170, 255, 0.16), transparent 38%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.72));
  backdrop-filter: blur(3px);
}

.lock-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  font-size: 32px;
  background: rgba(3, 7, 18, 0.76);
  border: 1px solid rgba(255, 138, 0, 0.35);
  box-shadow:
    0 0 24px rgba(255, 138, 0, 0.38),
    0 0 28px rgba(0, 170, 255, 0.22);
  animation: lockPulse 2s ease-in-out infinite;
}

.work-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  background: rgba(3, 7, 18, 0.82);
  border: 1px solid rgba(0, 170, 255, 0.28);
  box-shadow:
    0 0 22px rgba(0, 170, 255, 0.24),
    inset 0 0 18px rgba(255, 138, 0, 0.08);
}

.spinner {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--orange);
  border-right-color: var(--blue);
  animation: spin 0.85s linear infinite;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lockPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 24px rgba(255, 138, 0, 0.38),
      0 0 28px rgba(0, 170, 255, 0.22);
  }

  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 36px rgba(255, 138, 0, 0.55),
      0 0 42px rgba(0, 170, 255, 0.34);
  }
}
.tech-ribbon {
  position: absolute;
  top: 18px;
  left: -48px;
  z-index: 8;
  width: 210px;
  padding: 9px 0;
  transform: rotate(-38deg);
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, #ff1f1f, #b30000, #ff4d4d);
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 18px rgba(255, 0, 0, 0.5),
    0 8px 18px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.tech-ribbon::before,
.tech-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.12) 0,
      rgba(255, 255, 255, 0.12) 8px,
      transparent 8px,
      transparent 16px
    );
  opacity: 0.45;
  pointer-events: none;
}

.tech-ribbon span {
  position: relative;
  z-index: 2;
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 0 8px rgba(255, 255, 255, 0.35);
}

.game-card.locked .tech-ribbon {
  animation: ribbonPulse 2.4s ease-in-out infinite;
}

@keyframes ribbonPulse {
  0%, 100% {
    filter: brightness(1);
    box-shadow:
      0 0 18px rgba(255, 0, 0, 0.5),
      0 8px 18px rgba(0, 0, 0, 0.45);
  }

  50% {
    filter: brightness(1.16);
    box-shadow:
      0 0 28px rgba(255, 0, 0, 0.72),
      0 10px 24px rgba(0, 0, 0, 0.55);
  }
}
.contact-section {
  padding-top: 20px;
}

.contact-form {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 170, 255, 0.16), transparent 32%),
    radial-gradient(circle at 90% 100%, rgba(255, 138, 0, 0.14), transparent 34%),
    rgba(7, 15, 28, 0.76);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    0 0 34px rgba(0, 170, 255, 0.08),
    inset 0 0 28px rgba(255, 138, 0, 0.035);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(0, 170, 255, 0.14), transparent 35%, rgba(255, 138, 0, 0.1));
  opacity: 0.7;
  pointer-events: none;
}

.contact-form > * {
  position: relative;
  z-index: 2;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.contact-field label {
  color: #dbe8ff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(3, 7, 18, 0.58);
  color: #ffffff;
  padding: 16px 17px;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  transition: 0.25s ease;
  box-shadow:
    inset 0 0 18px rgba(0, 0, 0, 0.2),
    0 0 0 rgba(0, 170, 255, 0);
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(157, 176, 199, 0.58);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(0, 170, 255, 0.58);
  background: rgba(3, 7, 18, 0.74);
  box-shadow:
    0 0 22px rgba(0, 170, 255, 0.16),
    inset 0 0 16px rgba(255, 138, 0, 0.035);
}

.contact-field textarea {
  resize: vertical;
  min-height: 165px;
  max-height: 420px;
}

.contact-submit {
  border: 0;
  border-radius: 16px;
  padding: 16px 30px;
  background: linear-gradient(135deg, var(--blue), var(--blue2), var(--orange));
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.25s ease;
  box-shadow:
    0 0 30px rgba(0, 170, 255, 0.28),
    0 12px 26px rgba(0, 0, 0, 0.26);
}

.contact-submit:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow:
    0 0 36px rgba(0, 170, 255, 0.38),
    0 0 28px rgba(255, 138, 0, 0.24),
    0 16px 32px rgba(0, 0, 0, 0.3);
}

.contact-submit:active:not(:disabled) {
  transform: translateY(0);
}

.contact-submit:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.contact-status {
  margin-top: 16px;
  min-height: 24px;
  font-size: 15px;
  font-weight: 900;
}

.contact-status.success {
  color: #00ff88;
  text-shadow: 0 0 14px rgba(0, 255, 136, 0.24);
}

.contact-status.error {
  color: #ff5b5b;
  text-shadow: 0 0 14px rgba(255, 91, 91, 0.22);
}

@media (max-width: 700px) {
  .contact-form {
    padding: 22px;
    border-radius: 22px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-submit {
    width: 100%;
  }
}