/* ===== QTV COMMUNITY REWARDS STYLE ===== */

:root {
  --bg-dark: #02040a;
  --accent-glow: #6366f1;
  --accent-secondary: #00d2ff;
  --glass-panel: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-muted: #94a3b8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body.dark {
  background-color: var(--bg-dark);
  color: #ffffff;
  overflow-x: hidden;
}


/* --- NAVIGATION --- */
.drop-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 8%;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(2, 4, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.brand {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.brand span {
  color: var(--accent-glow);
}

.drop-nav nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  margin-left: 35px;
  transition: 0.3s ease;
}

.drop-nav a.active, .drop-nav a:hover {
  color: #fff;
}

/* --- HERO SECTION --- */
.drop-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 140px 20px 80px;
  background: 
    radial-gradient(circle at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
    radial-gradient(circle at 50% 120%, rgba(0, 210, 255, 0.05), transparent);
}

.notice {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-glow);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(99, 102, 241, 0.2);
  margin-bottom: 35px;
  letter-spacing: 1px;
}

.drop-hero h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 25px;
}

.drop-hero h1 span {
  background: linear-gradient(135deg, #fff 30%, var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  max-width: 600px;
  color: var(--text-muted);
  font-size: 19px;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* --- TIME CARD (The "Mission Clock") --- */
.time-card {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
  margin-bottom: 50px;
}

.time-card h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.clock {
  display: flex;
  gap: 40px;
}

.clock div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clock b {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums; /* Prevents shifting numbers */
}

.clock small {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- ACTION BUTTONS --- */
.actions {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 18px 42px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-glow), #4f46e5);
  color: white;
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.5);
}

.btn.primary:disabled {
  background: #1e293b;
  color: #475569;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn.outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
}

.btn.outline:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .drop-nav nav { display: none; }
  .clock { gap: 20px; }
  .clock b { font-size: 32px; }
  .actions { flex-direction: column; width: 100%; max-width: 320px; }
  .btn { width: 100%; }
}


/* ===== QTV ORBITAL NETWORK STATS ===== */

.air-stats {
  padding: 100px 6%;
  text-align: center;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: -50px;
}

.air-stats h2 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #94a3b8;
  margin-bottom: 40px;

}

/* The Container for the "Nodes" */
.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 100px;
}

/* The "Orb" Card */
.stat-card {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), transparent);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%; /* Perfect Circle */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

/* Floating Animation */
.stat-card:nth-child(odd) { animation: floatNode 4s ease-in-out infinite; }
.stat-card:nth-child(even) { animation: floatNode 5s ease-in-out infinite reverse; }

@keyframes floatNode {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Hover Effect: Glow and Expand */
.stat-card:hover {
  border-color: #6366f1;
  box-shadow: 0 0 50px rgba(99, 102, 241, 0.3), inset 0 0 20px rgba(99, 102, 241, 0.2);
  transform: scale(1.1) rotate(5deg);
  z-index: 10;
}

/* Icon Styling */
.stat-icon {
  font-size: 28px;
  margin-bottom: 10px;
  transition: 0.3s;
}

/* Content */
.stat-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  font-family: 'Space Mono', monospace;
}

.stat-card p {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748b;
  margin-top: 5px;
}

/* Connecting Lines (Decorative Background) */
.air-stats::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.2), transparent);
  z-index: -1;
}

/* Mobile */
@media (max-width: 768px) {
  .stat-card {
    width: 170px;
    height: 170px;
  }
  .stat-card h3 { font-size: 18px; }
}

/* ===== QTV CYBER-PATH STEPS ===== */

.join-steps {
  padding: 120px 6%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.join-steps h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 10px;
  text-align: center;
  margin-top: -90px;
}

.steps-sub {
  text-align: center;
  color: #64748b;
  margin-bottom: 80px;
}

/* The Layout - Offset Grid */
.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.step-card {
  width: 100%;
  max-width: 450px;
  background: #0f172a;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 40px;
  border-radius: 4px; /* Sharp, industrial corners */
  position: relative;
  transition: 0.4s ease;
}

/* Position cards in a zig-zag / staggered way */
.step-card:nth-child(1) { align-self: flex-start; }
.step-card:nth-child(2) { align-self: flex-center; margin: 0 auto; }
.step-card:nth-child(3) { align-self: flex-end; }

/* The "Tech-Path" Connection Line */
.step-card::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 60px;
  background: #6366f1;
  box-shadow: 0 0 15px #6366f1;
  bottom: -50px;
  left: 50%;
}

.step-card:last-child::after { display: none; }

/* The Number - Floating to the side */
.step-num {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: #6366f1;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: 'Space Mono', monospace;
  clip-path: polygon(20% 0%, 100% 0, 100% 80%, 80% 100%, 0 100%, 0% 20%);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-card p {
  color: #94a3b8;
  line-height: 1.6;
  font-size: 15px;
}

/* Hover Effect: Glow "Power Up" */
.step-card:hover {
  background: #1e293b;
  border-color: #6366f1;
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

/* Mobile: Stack normally */
@media (max-width: 768px) {
  .step-card {
    align-self: center !important;
    margin: 0 0 40px 0 !important;
  }
}

/* ===== QTV HEXAGONAL HIVE DESIGN ===== */

.earn-methods {
  padding: 100px 6%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: -100px;
}

.earn-methods h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 50px;
}

/* The Hive Grid */
.earn-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Individual Hexagon Card */
.earn-card {
  width: 280px;
  min-height: 240px;
  background: #0f172a;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  
  /* The Secret: Hexagon Clip */
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hover: Glow and Expand */
.earn-card:hover {
  background: #1e1b4b;
  border-color: #6366f1;
  transform: scale(1.05) translateY(-5px);
  z-index: 2;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
}

.earn-icon {
  font-size: 32px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.earn-card h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
}

.earn-card p {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.4;
  max-width: 180px;
}

/* Offset every second card slightly for the "Hive" interlocking look */
@media (min-width: 900px) {
  .earn-card:nth-child(even) {
    margin-top: 40px;
  }
}

/* Mobile: Normal stack */
@media (max-width: 899px) {
  .earn-card {
    width: 100%;
    max-width: 300px;
    clip-path: none; /* Remove clip on mobile for better text fit */
    border-radius: 20px;
  }
}


/* ===== FOOTER ===== */

.ps-footer{
  background:#070e1a;
  border-top:1px solid #1e293b;
  padding:90px 6% 30px;
}

.ps-footer-inner{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.5fr 2fr;
  gap:70px;
}

/* Brand */

.ps-logo{
  font-size:28px;
  font-weight:800;
}

.ps-logo span{
  background:linear-gradient(135deg,#6366f1,#a855f7);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.ps-footer-brand p{
  margin-top:20px;
  color:#94a3b8;
  max-width:380px;
  line-height:1.6;
}

/* Socials */

.ps-socials{
  margin-top:25px;
  display:flex;
  gap:15px;
}

.ps-socials a{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0f172a;
  border-radius:10px;
  border:1px solid #1e293b;
  transition:.3s;
}

.ps-socials a:hover{
  border-color:#6366f1;
  transform:translateY(-3px);
}

.ps-socials img{
  width:18px;
  height:18px;
}

/* Links */

.ps-footer-links{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.ps-footer-links h4{
  font-size:14px;
  margin-bottom:20px;
  text-transform:uppercase;
  letter-spacing:1px;
}

.ps-footer-links ul{
  list-style:none;
  padding:0;
}

.ps-footer-links li{
  margin-bottom:12px;
}

.ps-footer-links a{
  text-decoration:none;
  color:#94a3b8;
  font-size:14px;
  transition:.3s;
}

.ps-footer-links a:hover{
  color:#ffffff;
}

/* Bottom */

.ps-footer-bottom{
  max-width:1200px;
  margin:70px auto 0;
  padding-top:25px;
  border-top:1px solid #1e293b;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:13px;
  color:#64748b;
}

/* Responsive */

@media(max-width:900px){
  .ps-footer-inner{
    grid-template-columns:1fr;
  }

  .ps-footer-links{
    grid-template-columns:1fr 1fr;
  }

  .ps-footer-bottom{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
}


.main-footer {
  background:#020617;
  color:#f0f6fc;
  padding:80px 20px 20px;
  border-top:1px solid #1e293b;
  font-family:Inter,system-ui,sans-serif;
}

.footer-container{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.5fr 2fr;
  gap:60px;
}

/* Brand */
.footer-logo{
  font-size:1.8rem;
  font-weight:800;
}

.footer-logo .highlight{
  color:#58a6ff;
}

/* Social */
.social-links{
  display:flex;
  gap:14px;
  margin-top:22px;
}

.social-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  border:1px solid #30363d;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.3s;
}

.social-icon img{
  width:18px;
  height:18px;
}

.social-icon:hover{
  background:#1e293b;
  transform:translateY(-3px);
}

/* Links */
.footer-links-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.link-column h3{
  font-size:14px;
  margin-bottom:20px;
  text-transform:uppercase;
}

.link-column ul{
  list-style:none;
  padding:0;
}

.link-column li{
  margin-bottom:12px;
}

.link-column a{
  color:#8b949e;
  text-decoration:none;
  transition:.3s;
}

.link-column a:hover{
  color:#58a6ff;
}

/* Bottom */
.footer-bottom{
  margin-top:70px;
  padding-top:25px;
  border-top:1px solid #30363d;
}

.bottom-container{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#8b949e;
}

/* Mobile */
@media(max-width:768px){
  .footer-container{
    grid-template-columns:1fr;
  }

  .footer-links-grid{
    grid-template-columns:1fr 1fr;
  }

  .bottom-container{
    flex-direction:column;
    gap:10px;
    text-align:center;
  }
}


.task-btn{
  margin-top:30px;
  display:inline-block;
  padding:14px 34px;
  font-size:1rem;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  border-radius:30px;
  background:linear-gradient(90deg,#3b82f6,#8b5cf6);
  box-shadow:0 0 25px rgba(59,130,246,0.4);
  transition:0.3s;
}

.task-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 0 40px rgba(139,92,246,0.6);
}
