/* SECURED STUDIOS — FULLY GLAZED, RESPONSIVE, ADVANCED CSS (400+ Lines) */

:root {
  --blue: #3ee5ff;
  --dark-bg: #020710;
  --glass-bg: rgba(0, 10, 25, 0.7);
  --glow: 0 0 20px rgba(62, 229, 255, 0.5);
  --card-glass: rgba(255, 255, 255, 0.02);
  --card-border: rgba(79, 223, 255, 0.12);
  --white-faded: #ccc;
  --container-padding: 0 20px;
}

/* RESET */
* {
 margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Outfit', sans-serif;
  height: 100%;
  overflow-x: hidden;
  background: #ffffff;}

/* HEADER NAVBAR */
:root {
  --blue: #3ee5ff;
  --dark-bg: #020710;
  --glass-bg: rgba(0, 10, 25, 0.7);
  --glow: 0 0 20px rgba(62, 229, 255, 0.5);
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background: linear-gradient(to bottom, #030b17, #071b2e);
  color: white;
  overflow-x: hidden;
}

/* HEADER NAVBAR */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--glass-bg);
  padding: 12px 30px;
  border-radius: 60px;
  box-shadow: 0 0 35px rgba(79, 223, 255, 0.15);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.08);
  animation: floatNav 4s ease-in-out infinite;
  min-width: 300px;
  max-height: 75px;
}

/* FLOATING ANIMATION */
@keyframes floatNav {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  text-shadow: 0 0 12px rgba(79, 223, 255, 0.5);
  position: relative;
  z-index: 1001;
  animation: floatLogo 3s ease-in-out infinite;
}

.logo span {
  color: white;
}



/* SPARKLE TRAIL */
.logo::after {
  content: '';
  position: absolute;
  top: -6px;
  right: --16px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(4px);
  animation: sparkle 1.8s infinite alternate;
  pointer-events: none;
}

@keyframes sparkle {
  0% { transform: translateY(0px) scale(1); opacity: 0.3; }
  100% { transform: translateY(-3px) scale(1.3); opacity: 1; }
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  font-weight: 500;
  color: white;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 30px;
  transition: 0.3s ease;
  font-size: 0.9rem;
}

.nav a:hover {
  background: var(--blue);
  color: black;
  box-shadow: 0 0 15px var(--blue);
}

/* CONTACT BUTTON */
.contact-btn {
  background: transparent;
  border: 2px solid var(--blue);
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  transition: 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
}

.contact-btn:hover {
  background: var(--blue);
  color: black;
  box-shadow: 0 0 15px var(--blue);
}

/* HAMBURGER MENU */
.nav-toggle {
  display: none;
  background: none;
  font-size: 1.8rem;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 1002;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-right: 10px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: white;
  display: block;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }

  .nav {
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 15px;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav.hidden {
    display: none;
  }

  .contact-btn {
    align-self: flex-end;
  }
}

.header:hover {
  box-shadow:
    0 0 40px rgba(62, 229, 255, 0.3),
    0 0 80px rgba(62, 229, 255, 0.1);
  transform: translateX(-50%) scale(1.01);
  transition: 0.3s ease-in-out;
}


/* HERO */
.hero {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: linear-gradient(to bottom, #021b39 0%, #043b5c 50%, #06496f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('oceans.gif') center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
  animation: slowWave 15s ease-in-out infinite;
}

@keyframes slowWave {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px;
}

.hero-content h1 {
  font-size: 3rem;
  background: linear-gradient(to right, #6dd5ed, #2193b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
  animation: floatText 4s ease-in-out infinite;
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #ccefff;
}

@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


.hero-overlay {
  position: relative;
  z-index: 2;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  color: #c8d6e5;
  margin-bottom: 2rem;
  animation: fadeInUp 1.5s ease forwards;
}

.btn-primary {
  background: #00d4ff;
  padding: 12px 26px;
  border-radius: 40px;
  color: #001220;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
  transition: 0.3s;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(to bottom, #021b39 0%, #043b5c 50%, #06496f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bubble-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/bubbles.gif') center center / cover no-repeat;
  opacity: 0.25;
  z-index: 1;
  animation: floatBG 12s infinite linear;
}

@keyframes floatBG {
  0% { transform: translateY(0); }
  100% { transform: translateY(-20px); }
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 20px;
  animation: fadeInUp 1s ease-in-out;
}

.hero-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 0 0 20px #00f0ff5e;
}

.hero-overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-buttons a.btn-primary {
  background: var(--blue);
  color: black;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 15px var(--blue);
  transition: 0.3s ease;
}

.hero-buttons a.btn-primary:hover {
  background: white;
  color: #021b39;
  box-shadow: 0 0 25px white;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* BUTTONS */
.btn-primary, .btn-secondary, .btn-fourth, .play-btn {
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
  cursor: pointer;
  margin-top: 15px;
}
.btn-primary {
  background: var(--blue);
  color: #000;
}
.btn-primary:hover {
  background: white;
  color: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}
.btn-secondary, .btn-fourth {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.btn-secondary:hover, .btn-fourth:hover {
  background: var(--blue);
  color: black;
  box-shadow: 0 0 20px var(--blue);
}
.play-btn {
  background: var(--blue);
  color: black;
}
.play-btn:hover {
  background: white;
  color: var(--blue);
  box-shadow: 0 0 20px var(--blue);
}

/* SECTION STYLING */
.section {
  padding: 100px 40px;
  text-align: center;
}
.darker {
  background: linear-gradient(to bottom, #050b16, #0b1528);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

/* ANIMATED STAT BUBBLE */
.stat-bubble {
  display: inline-block;
  background: rgba(0, 10, 20, 0.7);
  border: 2px solid var(--blue);
  color: white;
  padding: 20px 30px;
  margin: 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 0 20px rgba(79, 223, 255, 0.2);
  backdrop-filter: blur(14px);
  animation: floatStat 2.5s ease-in-out infinite;
  text-align: center;
}

@keyframes floatStat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* DISCORD ORB */
.discord-orb {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--blue);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px var(--blue);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.discord-orb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px var(--blue);
}
.discord-orb img {
  width: 28px;
  height: 28px;
}


/* ABOUT BOX */
.about {
  background: linear-gradient(to bottom, #050b16, #0c1c2f);
  padding: 100px 20px;
  text-align: center;
}
.about h2 {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(79, 223, 255, 0.3);
}
.about p {
  font-size: 1.1rem;
  color: var(--white-faded);
  max-width: 800px;
  margin: 0 auto 50px;
}
.stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}


/* GAME CARDS — GLAZED */
.games-section {
  padding: 100px 20px;
  background: transparent;
  text-align: center;
  max-width: 1300px;
  margin: 0 auto;
}

.games-title {
  font-size: 2.2rem;
  color: white;
  margin-bottom: 50px;
  font-weight: 700;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-content: center;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px;
  color: white;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.15);
}

.game-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 16px;
}

.game-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--blue);
}

.game-card p {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: #ccc;
}

.btn-primary {
  background: var(--blue);
  color: black;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s ease;
  box-shadow: 0 0 12px var(--blue);
  text-decoration: none;
}

.btn-primary:hover {
  background: white;
  color: var(--blue);
}

.games-footer {
  margin-top: 50px;
}

.view-all-btn {
  background: transparent;
  color: white;
  border: 1px solid var(--blue);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: 0.3s ease;
  text-decoration: none;
}

.view-all-btn:hover {
  background: var(--blue);
  color: black;
  box-shadow: 0 0 15px var(--blue);
}

/* FOOTER */
footer {
  background: #050b16;
  padding: 60px 20px;
  color: #aaa;
  text-align: center;
}
footer a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

/* RESPONSIVE NAV */
@media screen and (max-width: 768px) {
  .header {
    padding: 12px 20px;
    flex-direction: row;
    justify-content: space-between;
    width: 90%;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 10, 25, 0.92);
    border-radius: 20px;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 0 30px rgba(79, 223, 255, 0.1);
    display: none;
    z-index: 999;
    animation: fadeSlideDown 0.5s ease forwards;
  }
  .nav a {
    margin: 10px 0;
    font-size: 1rem;
    padding: 12px 20px;
    width: 100%;
    text-align: center;
  }
  .nav.active {
    display: flex;
  }
}

@media screen and (max-width: 600px) {
  .game-card {
    padding: 20px;
  }
  .game-card h3 {
    font-size: 1.1rem;
  }
  .play-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@keyframes fadeSlideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

canvas#particles-canvas,
canvas#bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}


.loader-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(to bottom, #011826, #042f4b, #0c4466);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease;
  font-family: 'Orbitron', sans-serif;
  overflow: hidden;
}

.loader-logo-glow {
  font-size: 2.8rem;
  font-weight: 800;
  color: #00eaff;
  text-shadow: 0 0 20px rgba(0, 234, 255, 0.7);
  animation: floatLogo 4s ease-in-out infinite;
  margin-bottom: 30px;
}

.loader-logo-glow span {
  color: white;
}

.loader-progressbar {
  width: 240px;
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: #00eaff;
  box-shadow: 0 0 12px #00eaff;
  transition: width 0.3s ease-in-out;
}

.loader-cycle p {
  color: #a8d9f8;
  font-size: 1rem;
  opacity: 0.9;
  display: none;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.bubble-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bubble {
  position: absolute;
  bottom: -40px;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: bubbleRise 6s infinite ease-in;
}

.bubble:nth-child(1) { left: 20%; animation-delay: 0s; }
.bubble:nth-child(2) { left: 40%; animation-delay: 1s; }
.bubble:nth-child(3) { left: 60%; animation-delay: 2s; }
.bubble:nth-child(4) { left: 80%; animation-delay: 3s; }

@keyframes bubbleRise {
  0% { bottom: -40px; transform: scale(1); opacity: 0.5; }
  100% { bottom: 100%; transform: scale(1.5); opacity: 0; }
}


.team-section {
  text-align: center;
  padding: 100px 0;
}

.dev-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.dev-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  width: 240px;
  backdrop-filter: blur(18px);
  box-shadow: 0 0 25px rgba(79, 223, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s;
  text-align: center;
}

.dev-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 0 25px rgba(79, 223, 255, 0.25);
}

.dev-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.dev-card h3 {
  font-family: 'Orbitron', sans-serif;
  color: var(--blue);
  margin-bottom: 6px;
}

.role {
  font-size: 0.95rem;
  color: #ccc;
  font-style: italic;
  min-height: 20px;
  animation: floatText 5s ease-in-out infinite;
}

@keyframes floatText {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

.section-title {
  font-size: 2rem;
  color: white;
  text-align: center;
  margin-bottom: 40px;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.group-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.group-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.15);
}

.group-card img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.group-card h3 {
  color: var(--blue);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.group-card span {
  color: #ccc;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 14px;
}

.play-btn {
  background: var(--blue);
  color: black;
  padding: 8px 18px;
  border-radius: 22px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s ease;
  text-decoration: none;
  box-shadow: 0 0 10px var(--blue);
}

.play-btn:hover {
  background: white;
  color: var(--blue);
}
