
/* Tic Tac Toe Gaming Background */
.halloween-bg {
    background: linear-gradient(135deg, #111111, #1b1b1b, #0f0f0f);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* subtle grid */
.halloween-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 2px, transparent 2px);
    background-size: 90px 90px;
    z-index: 0;
}

/* floating symbols container */
.ttt-bg {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.ttt-symbol {
    position: absolute;
    font-size: 48px;
    font-weight: 900;
    color: rgba(255, 215, 0, 0.15);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.25);
    animation: floatSymbol linear infinite;
}

/* different positions */
.ttt1 {
    top: 12%;
    left: 10%;
    animation-duration: 14s;
}

.ttt2 {
    top: 25%;
    right: 12%;
    animation-duration: 18s;
}

.ttt3 {
    bottom: 18%;
    left: 18%;
    animation-duration: 16s;
}

.ttt4 {
    bottom: 25%;
    right: 15%;
    animation-duration: 13s;
}

.ttt5 {
    top: 50%;
    left: 45%;
    animation-duration: 20s;
}

/* floating animation */
@keyframes floatSymbol {
    0% {
        transform: translateY(40px) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(40px) rotate(360deg);
        opacity: 0.2;
    }
}

 
.subscribe-btn-gradient {
  background: linear-gradient(to bottom, #FFE14D 0%, #FFB800 100%);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

@keyframes pulse-glow {
  0%, 100% { 
	transform: scale(1); 
	box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
  }
  50% { 
	transform: scale(1.03); 
	box-shadow: 0 4px 25px rgba(255, 184, 0, 0.7);
  }
}

.animate-pulse-glow {
  animation: pulse-glow 2.5s infinite ease-in-out;
}



.glass-card {
  position: relative;
  background: rgba(20, 20, 20, 0.72);
    border: 1px solid rgba(255, 215, 0, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
 
  overflow: hidden;
  isolation: isolate;
 
}



/* animated visible gradient layer */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(253, 184, 19, 0.25),
    rgba(255, 215, 0, 0.08),
    rgba(255, 255, 255, 0.03),
    rgba(253, 184, 19, 0.22)
  );
  background-size: 250% 250%;
  animation: animatedGradient 5s ease infinite;
  z-index: 1;
}

/* subtle dark layer, lighter than before */
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.15);
  z-index: 2;
}

/* content stays above layers */
.glass-card > * {
  position: relative;
  z-index: 3;
}

@keyframes animatedGradient {
  0% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.08);
  }
  100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
} 


	
.toast {
    position: fixed;
    top: 20px;
    right: -300px; /* hidden initially */
    min-width: 250px;
    max-width: 320px;
    background: linear-gradient(135deg, #ff4d4d, #d60000);
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
    z-index: 9999;
    opacity: 0;
}

/* active state */
.toast.show {
    right: 20px;
    opacity: 1;
}



.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ffcc00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}


	/* FULLSCREEN OVERLAY */
.redirect-loader{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;
}

/* CENTER BOX */
.loader-box{
    width: 280px;
    padding: 30px 25px;
    border-radius: 24px;

    background: rgba(20,20,20,0.85);
    border: 1px solid rgba(255,215,0,0.15);

    text-align: center;

    box-shadow:
        0 10px 40px rgba(0,0,0,0.45),
        0 0 30px rgba(255,204,0,0.08);
}

/* SPINNER */
.modern-spinner{
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;

    border-radius: 50%;
    border: 5px solid rgba(255,255,255,0.1);
    border-top: 5px solid #ffcc00;

    animation: spinLoader 1s linear infinite;
}

/* TITLE */
.loader-box h3{
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* SUBTITLE */
.loader-box p{
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* TOP BAR */
#pageLoader{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:rgba(255,255,255,0.08);
    z-index:9999999;
}

#loaderBar{
    width:0%;
    height:100%;
    background: linear-gradient(90deg,#ffcc00,#ff8800);
    transition: width .3s ease;
    box-shadow: 0 0 15px #ffcc00;
}

/* SPIN */
@keyframes spinLoader{
    100%{
        transform: rotate(360deg);
    }
}