*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body{
    background: linear-gradient(
        90deg,
        #0c0f14,
        #0b0d14,
        #03021a,
        #121727,
        #0c0f14
    );
    background-size: 500% 100%;
    animation: bgSlide 20s linear infinite;
    color: white;
}




.header {
    display:flex; justify-content:space-between; align-items:center;
    padding:20px 50px; background:#0d0d1a; border-bottom:1px solid #222; position:sticky; top:0; z-index:1000;
  }
  .logo { font-size:34px; font-weight:bold; color:var(--hot);
    text-shadow:0 0 20px var(--hot), 0 0 40px var(--pink);
  }
  nav a { margin-left:30px; transition:.3s; }
  nav a:hover { color:#ffcc66; text-shadow:0 0 12px #ffcc66; }


/* HERO */
.hero{
    position: relative;
    text-align: center;
    padding: 90px 20px;
    background: linear-gradient(
        180deg,
        rgba(18,22,35,0.95),
        rgba(12,15,20,0.88)
    );
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
    overflow: hidden;
    box-shadow:
        inset 0 -60px 120px rgba(0,0,0,0.75),
        0 25px 80px rgba(90,75,255,0.25);
}
.hero::before{
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 30%, rgba(120,90,255,0.25), transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(180,120,255,0.18), transparent 45%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes heroGlow {
    from { transform: translateY(0px); }
    to   { transform: translateY(-40px); }
}



.hero-title{
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-title span{
    display: block;
    font-size: 32px;
    color: #735bff;
}

.hero-sub{
    margin-top: 15px;
    opacity: .7;
}

.hero-btn{
    margin-top: 25px;
    padding: 12px 30px;
    background: #735bff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
}

.hero-btn:hover{
    background: #8a73ff;
    transform: scale(1.05);
}

/* ADS GRID */
.ads-section{
    padding: 60px 40px;
}

.section-title{
    font-size: 28px;
    margin-bottom: 25px;
}

.ads-grid{
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARD */
.ad-card{
    background: #151821;
    border-radius: 14px;
    padding: 15px;
    transition: .3s;
    box-shadow: 0 0 0 rgba(90,75,255,0);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ad-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(90,75,255,.4);
}

.ad-img{
    width: 100%;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
}

.ad-logo{
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.ad-title{
    margin: 10px 0 5px;
    font-size: 18px;
    font-weight: 600;
}

.ad-description{
    font-size: 14px;
    opacity: .8;
    margin-bottom: 10px;
}

.ad-cpm{
    font-weight: 700;
    color: #9c85ff;
    margin-bottom: 10px;
}

.ad-btn{
    width: 100%;
    background: #5a4bff;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: .3s;
}

.ad-btn:hover{
    background: #7b67ff;
    transform: scale(1.05);
}

.ad-video{
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* FOOTER */
.footer{
    padding: 40px;
    text-align: center;
    opacity: .5;
}

/* ================= CLEAN CARTOONY AUTH MODAL ================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: 480px;
  max-width: 92%;
  min-height: 520px;
  background: linear-gradient(135deg, #7b5cff, #c77dff);
  border-radius: 40px;
  padding: 45px 35px;
  text-align: center;
  color: white;
  box-shadow: 0 25px 60px rgba(0,0,0,.45);
  position: relative;
  animation: popIn .25s ease-out;
}

@keyframes popIn {
  from { transform: scale(.75); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-content h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.modal-content p {
  opacity: .9;
  margin-bottom: 18px;
}

.userTypeBtn,
#loginBtn,
#signupBtn {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #6b4cff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  margin: 8px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.userTypeBtn:hover,
#loginBtn:hover,
#signupBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

#googleAuthBtn {
  width: 100%;
  background: #2f80ff;
  color: white;
  border-radius: 999px;
  border: none;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
  cursor: pointer;
}

#emailForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#emailForm input {
  padding: 16px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 15px;
}

#emailForm button {
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: white;
  color: #6b4cff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.remember-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  margin-top: 6px;
}

#forgotPassword {
  background: transparent;
  color: white;
  text-decoration: underline;
  border: none;
  cursor: pointer;
}

#backBtn,
#backStep2 {
  background: linear-gradient(135deg, #ff7aa2, #ff4d8c);
  color: white;
  margin-top: 12px;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
}

.close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}

.header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #000000;
            padding: 15px 30px;
        }

        .header .logo {
            font-size: 26px;
            font-weight: bold;
        }

        .nav a {
            margin-left: 20px;
            color: #fff;
            text-decoration: none;
            font-weight: bold;
        }

        .hero {
    text-align: center;
    padding: 40px 20px;
    background-color: #222; /* Changed from purple gradient to dark gray */
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}


        .hero-title {
            font-size: 32px;
            margin-bottom: 10px;
        }

        .hero-sub {
            font-size: 18px;
        }

@keyframes bgSlide {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-title{
    font-size: 32px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    text-shadow:
        0 0 20px rgba(120,90,255,0.45),
        0 0 40px rgba(120,90,255,0.25);
}

.hero-sub{
    position: relative;
    z-index: 1;
    opacity: .75;
}
.hero-btn{
    margin-top: 25px;
    padding: 12px 34px;
    background: linear-gradient(135deg, #7b67ff, #9c85ff);
    border: none;
    border-radius: 999px;
    font-size: 18px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 10px 30px rgba(120,90,255,.45);
    position: relative;
    z-index: 1;
}

.hero-btn:hover{
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(120,90,255,.6);}
.footer {
  text-align: center;
  padding: 20px 10px;
  background: rgba(0, 10, 20, 0.95); /* dark base to make neon pop */
  color: #00ffff; /* cyan text */
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  border-top: 2px solid #00ffff; /* cyan neon border */
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); /* cyan glow */
  text-shadow: 0 0 8px #00ffff, 0 0 15px #00ffff; /* neon text glow */
  backdrop-filter: blur(8px);
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  transition: 0.3s;
}



.footer-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  transition: 0.2s;
}

.footer-links a:hover {
  color: #00ffd5;
}

.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-socials img {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
  transition: 0.2s;
}

.footer-socials img:hover {
  filter: brightness(0) invert(0.6) drop-shadow(0 0 2px #00ffd5);
}


