:root {
  --bg-dark: #020408;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent: #0075f9;
  --accent-glow: rgba(0, 210, 255, 0.4);
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
  font-family:'Orbitron',sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Cairo', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}


::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Loader */
.loader-container {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  border-top-color: var(--accent);
  animation: spin 1s ease-in-out infinite;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 60vh; 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);

}

.hero-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 800;
}

.hero-title .para {
  color: #0075f9 !important;
}

.hero-title .llox {
  color: #ff003c !important;
}


.parallax-bg {
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 78, 255, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.1), transparent 40%);
  background-image: url('LOGO.png'); 
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  filter: blur(2px);
  z-index: 1;
  transition: transform 0.1s ease-out;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 30px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: floatUp 1s ease-out;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  background: linear-gradient(135deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
}


.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px 100px;
  position: relative;
  z-index: 5;
}


.grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 50px; 
}


.card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  height: 550px; 
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 0.6s forwards;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}


@media (max-width: 768px) {
  .card {
    height: 400px;
    border-radius: 15px;
  }
  .grid {
    gap: 30px;
  }
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 210, 255, 0.1);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.7s ease;
}


.card:hover img {
  transform: scale(1.05);
}


.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 30%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 1; 
  transition: var(--transition);
}


@media (min-width: 769px) {
  .card-overlay {
    opacity: 0;
  }
  .card:hover .card-overlay {
    opacity: 1;
  }
}

.card-desc {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  transform: translateY(10px);
  transition: var(--transition);
}

.card:hover .card-desc {
  transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98); 
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 0 50px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.3s;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox p {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.close-lb {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.close-lb:hover { 
  background: var(--accent); 
  color: #000;
}

/* ADMIN STYLES */
.admin-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}
.admin-panel {
  width: 100%;
  max-width: 500px;
  padding: 30px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-bottom: 40px;
}
input, button {
  width: 100%;
  padding: 14px 20px;
  margin-bottom: 15px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: 12px;
  font-family: inherit;
  transition: 0.3s;
}
input:focus { border-color: var(--accent); }
button {
  background: var(--accent);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border: none;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* ANIMATIONS */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatUp { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }

footer{
  padding:20px;
  text-align:center;
  background:#000;
  color:#777;
}