/* =======================================
STUDY WELL PUBLIC SCHOOL
STYLE PART 1
======================================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
scroll-behavior:smooth;
}

:root{
--bg:#050816;
--card:rgba(255,255,255,.08);
--border:rgba(255,255,255,.12);
--text:#ffffff;
--light:#cbd5e1;
--blue:#3b82f6;
--purple:#8b5cf6;
}

body{
background:var(--bg);
color:var(--text);
overflow-x:hidden;
min-height:100vh;
}

/*==================
BACKGROUND
==================*/

.background{
position:fixed;
width:100%;
height:100%;
left:0;
top:0;
overflow:hidden;
z-index:-2;
background:linear-gradient(135deg, #030712, #0f172a, #111827, #1e1b4b);
}

.grid{
position:absolute;
width:100%;
height:100%;
background-image:
linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
background-size:40px 40px;
opacity:.35;
}

/*==================
GLOW BLOBS
==================*/

.blob{
position:absolute;
border-radius:50%;
filter:blur(90px);
animation:float 14s infinite ease-in-out;
opacity:.7;
}

.blob1{
width:320px;
height:320px;
background:#2563eb;
top:-80px;
left:-60px;
}

.blob2{
width:280px;
height:280px;
background:#9333ea;
right:-60px;
top:120px;
animation-delay:2s;
}

.blob3{
width:260px;
height:260px;
background:#06b6d4;
bottom:-80px;
left:35%;
animation-delay:4s;
}

@keyframes float{
0%{ transform:translateY(0); }
50%{ transform:translateY(-60px); }
100%{ transform:translateY(0); }
}

/*==================
LOADER
==================*/

#loader{
position:fixed;
inset:0;
background:#050816;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:15px;
z-index:99999;
transition:.5s;
}

.loader-circle{
width:70px;
height:70px;
border-radius:50%;
border:6px solid rgba(255,255,255,.15);
border-top:6px solid var(--blue);
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{ transform:rotate(360deg); }
}

#loader h2{ font-size:26px; }
#loader p{ color:var(--light); }

/*==================
NAVBAR
==================*/

.navbar{
position:fixed;
top:18px;
left:50%;
transform:translateX(-50%);
width:94%;
max-width:1400px;
padding:15px 22px;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,.06);
border:1px solid var(--border);
backdrop-filter:blur(18px);
border-radius:18px;
z-index:1000;
transition: transform .45s ease, background .35s ease, box-shadow .35s ease;
}

.navbar.hide{
transform:translate(-50%,-140%);
}

.logo{
font-size:22px;
font-weight:700;
color:white;
}

nav{
display:flex;
gap:22px;
align-items:center;
}

nav a{
text-decoration:none;
color:#dbeafe;
font-size:15px;
transition:.3s;
}

nav a:hover{
color:white;
}

.login-link{
padding:10px 18px;
border-radius:12px;
background:linear-gradient(90deg,#2563eb,#7c3aed);
}

/* =======================================
HERO SECTION (GAP ISSUE COMPLETELY FIXED)
======================================= */

.hero{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
align-items:center;
gap:30px;
padding:10px 7% 40px; /* Reduced top padding further, min-height removed */
}

.hero-left, 
.hero-right{
width:100%;
}

.hero-right{
display:flex;
justify-content:center;
}

.hero-left h1{
font-size:68px;
font-weight:800;
line-height:1.1;
margin:20px 0;
}

.hero-left h1 span{
background:linear-gradient(90deg,#3b82f6,#8b5cf6,#06b6d4);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.hero-left p{
font-size:18px;
line-height:1.8;
color:#cbd5e1;
max-width:550px;
}

.badge{
display:inline-block;
padding:10px 18px;
border-radius:999px;
background:rgba(255,255,255,.08);
border:1px solid rgba(255,255,255,.15);
color:#60a5fa;
font-weight:600;
backdrop-filter:blur(10px);
}

.hero-buttons{
display:flex;
gap:18px;
margin-top:35px;
flex-wrap:wrap;
}

.primaryBtn,
.secondaryBtn{
padding:14px 28px;
border-radius:14px;
text-decoration:none;
font-weight:600;
transition:.35s;
}

.primaryBtn{
background:linear-gradient(90deg,#2563eb,#7c3aed);
color:#fff;
box-shadow:0 15px 40px rgba(59,130,246,.35);
}

.primaryBtn:hover{
transform:translateY(-4px);
}

.secondaryBtn{
border:1px solid rgba(255,255,255,.15);
background:rgba(255,255,255,.05);
color:#fff;
backdrop-filter:blur(10px);
}

.secondaryBtn:hover{
background:rgba(255,255,255,.12);
transform:translateY(-4px);
}

/* HERO IMAGE */

.hero-card{
position:relative;
padding:14px;
border-radius:28px;
background:rgba(255,255,255,.07);
border:1px solid rgba(255,255,255,.15);
backdrop-filter:blur(16px);
box-shadow:0 25px 60px rgba(0,0,0,.45);
width:100%;
max-width:550px;
}

.hero-card img{
width:100%;
height:auto;
display:block;
border-radius:20px;
object-fit:cover;
}

/* ======================================
ABOUT SECTION
====================================== */

.section{
padding:90px 8%;
position:relative;
z-index:2;
opacity:0;
transform:translateY(70px);
transition:all .9s ease;
}

.section.show{
opacity:1;
transform:translateY(0);
}

.section-heading{
text-align:center;
margin-bottom:60px;
}

.section-heading h2{
font-size:52px;
font-weight:700;
color:#fff;
}

.section-heading span{
background:linear-gradient(90deg,#3b82f6,#8b5cf6);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.section-heading p{
max-width:700px;
margin:18px auto;
line-height:1.8;
color:#cbd5e1;
}

.about-grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
gap:40px;
align-items:center;
}

.about-image{
position:relative;
overflow:hidden;
border-radius:25px;
display:flex;
justify-content:center;
}

.about-image img{
width:100%;
max-width:520px;
height:auto;
border-radius:24px;
object-fit:cover;
display:block;
transition:.5s;
box-shadow:0 25px 60px rgba(0,0,0,.45);
}

.about-image:hover img{
transform:scale(1.05);
}

.glass-panel{
background:rgba(255,255,255,.06);
backdrop-filter:blur(18px);
border:1px solid rgba(255,255,255,.12);
border-radius:22px;
padding:25px;
box-shadow:0 10px 35px rgba(0,0,0,.25);
}

.about-card{
display:flex;
gap:18px;
margin-bottom:20px;
transition:.35s;
border:1px solid transparent;
border-radius:18px;
padding:15px;
}

.about-card:hover{
transform:translateY(-8px);
border-color:#3b82f6;
background:rgba(255,255,255,.05);
}

.feature-icon{
width:60px;
height:60px;
display:flex;
justify-content:center;
align-items:center;
border-radius:16px;
font-size:28px;
background:linear-gradient(135deg,#2563eb,#7c3aed);
flex-shrink:0;
}

.about-card h3{
margin-bottom:8px;
font-size:22px;
color:white;
}

.about-card p{
color:#cbd5e1;
line-height:1.7;
}

/*=========================
Gallery & Facilities
=========================*/

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:28px;
}

.gallery-item{
position:relative;
overflow:hidden;
border-radius:22px;
cursor:pointer;
}

.gallery-item img{
width:100%;
height:280px;
object-fit:cover;
transition:.5s;
}

.gallery-item:hover img{
transform:scale(1.08);
}

.gallery-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
padding:20px;
background:linear-gradient(transparent,rgba(0,0,0,.8));
color:white;
}

/* Statistics Cards Styling */
.gallery-grid .glass-panel{
text-align:center;
padding:32px;
transition:.45s;
cursor:pointer;
position:relative;
overflow:hidden;
border-radius:24px;
background:rgba(255,255,255,.06);
backdrop-filter:blur(18px);
border:1px solid rgba(255,255,255,.10);
}

.gallery-grid .glass-panel::before{
content:"";
position:absolute;
top:0;
left:-120%;
width:70%;
height:100%;
background:linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
transition:.7s;
}

.gallery-grid .glass-panel:hover::before{
left:130%;
}

.gallery-grid .glass-panel:hover{
transform:translateY(-12px);
box-shadow:0 20px 45px rgba(59,130,246,.22);
border-color:#3b82f6;
}

.gallery-grid h2{
font-size:42px;
font-weight:800;
margin-bottom:10px;
background:linear-gradient(90deg,#3b82f6,#8b5cf6);
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
}

.gallery-grid .feature-icon{
margin-bottom:18px;
font-size:34px;
width:72px;
height:72px;
border-radius:18px;
margin-left: auto;
margin-right: auto;
}

.gallery-grid h3{
font-size:24px;
margin-bottom:12px;
color:#fff;
}

.gallery-grid p{
line-height:1.8;
color:#cbd5e1;
font-size:16px;
}

/*=========================
Footer
=========================*/

.footer{
padding:50px 8%;
background:#050816;
border-top:1px solid rgba(255,255,255,.08);
}

.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.footer-links{
display:flex;
flex-direction:column;
gap:10px;
}

.footer-links a{
text-decoration:none;
color:#cbd5e1;
transition:.3s;
}

.footer-links a:hover{
color:#60a5fa;
}

.footer-bottom{
margin-top:40px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.08);
display:flex;
justify-content:space-between;
align-items:center;
color:#94a3b8;
}

/*=========================
Scroll Button
=========================*/

#scrollTopButton{
width:45px;
height:45px;
border:none;
border-radius:50%;
background:linear-gradient(135deg,#2563eb,#8b5cf6);
color:white;
font-size:20px;
cursor:pointer;
opacity:0;
transition:.35s;
}

/* ==========================================
Premium Announcement Bar
========================================== */

.announcement-bar{
width:92%;
max-width:1400px;
margin:110px auto 20px; /* Properly spaced below navbar */
display:flex;
align-items:center;
overflow:hidden;
border-radius:18px;
background:rgba(255,255,255,.06);
backdrop-filter:blur(18px);
border:1px solid rgba(255,255,255,.12);
box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.announcement-label{
padding:16px 24px;
background:linear-gradient(135deg,#2563eb,#7c3aed);
font-weight:700;
color:#fff;
white-space:nowrap;
z-index:2;
}

.announcement-track{
flex:1;
overflow:hidden;
position:relative;
padding:16px 0;
}

.announcement-text{
display:inline-block;
white-space:nowrap;
padding-left:100%;
font-weight:500;
color:#e2e8f0;
animation:announcementMove 20s linear infinite;
}

@keyframes announcementMove{
0%{ transform:translateX(0); }
100%{ transform:translateX(-100%); }
}

.announcement-bar:hover .announcement-text{
animation-play-state:paused;
}

/* =========================================
ALL MOBILE MEDIA QUERIES (UPDATED)
========================================= */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 10px 22px 70px; /* Reduced unnecessary padding for mobile too */
    gap: 40px;
  }
  
  .hero-left h1 { font-size: 54px; }
  .hero-left p {
    font-size: 18px;
    max-width: 100%;
    margin: auto;
  }
  
  .hero-buttons { justify-content: center; }
  .hero-card { max-width: 100%; }
  
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: 1; }
  .glass-panel { order: 2; }
  
  .section-heading h2 { font-size: 38px; }
  .gallery-grid { grid-template-columns: 1fr; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  nav { display: none; }
  .logo { font-size: 18px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 20px; }
  .gallery-grid .glass-panel { padding: 24px; }
  
  .announcement-bar {
    width: 95%;
    margin-top: 95px;
  }
  .announcement-label {
    padding: 14px;
    font-size: 13px;
  }
  .announcement-text { font-size: 14px; }
}

/* ======================================
PRINCIPAL SECTION
====================================== */

#principal .about-image img{
width:100%;
max-width:420px;
height:520px;
object-fit:cover;
border-radius:24px;
box-shadow:0 20px 50px rgba(0,0,0,.35);
}

#principal .glass-panel{
display:flex;
flex-direction:column;
justify-content:center;
}

#principal h2{
font-size:40px;
margin-bottom:10px;
}

#principal h4{
font-size:20px;
font-weight:500;
}

#principal p{
font-size:17px;
line-height:1.9;
}

#principal h3{
margin-top:20px;
font-size:26px;
}

@media(max-width:900px){
  #principal .about-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
  #principal .about-image{
    display:flex;
    justify-content:center;
  }
  #principal .about-image img{
    max-width:300px;
    height:380px;
  }
}

/* ======================================
PREMIUM GALLERY
====================================== */

#gallery .gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:25px;
}

#gallery .gallery-item{
position:relative;
overflow:hidden;
border-radius:22px;
cursor:pointer;
background:rgba(255,255,255,.05);
border:1px solid rgba(255,255,255,.08);
transition:.4s;
}

#gallery .gallery-item:hover{
transform:translateY(-10px);
box-shadow:0 20px 45px rgba(59,130,246,.25);
}

#gallery .gallery-item img{
width:100%;
height:260px;
object-fit:cover;
display:block;
transition:.5s;
}

#gallery .gallery-item:hover img{
transform:scale(1.08);
}

#gallery .gallery-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
padding:18px;
background:linear-gradient(transparent,rgba(0,0,0,.85));
color:#fff;
transform:translateY(100%);
transition:.35s;
}

#gallery .gallery-item:hover .gallery-overlay{
transform:translateY(0);
}

#gallery .gallery-overlay h3{
font-size:20px;
font-weight:600;
}

@media(max-width:768px){

#gallery .gallery-grid{
grid-template-columns:1fr;
}

#gallery .gallery-item img{
height:220px;
}

}

/* ==========================
LIGHTBOX
========================== */

.lightbox{

position:fixed;
inset:0;
background:rgba(0,0,0,.92);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
visibility:hidden;
transition:.35s;
z-index:99999;

}

.lightbox.show{

opacity:1;
visibility:visible;

}

.lightbox img{

max-width:90%;
max-height:85%;
border-radius:18px;
box-shadow:0 20px 60px rgba(0,0,0,.5);

}

#closeLightbox{

position:absolute;
top:30px;
right:40px;
font-size:42px;
color:#fff;
cursor:pointer;
user-select:none;

}

/* ======================================
TESTIMONIALS
====================================== */

#testimonials .glass-panel{

text-align:center;
padding:35px 28px;
transition:.4s;
cursor:pointer;
position:relative;
overflow:hidden;

}

#testimonials .glass-panel::before{

content:"";
position:absolute;
top:0;
left:-120%;
width:70%;
height:100%;
background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,.15),
transparent
);
transition:.7s;

}

#testimonials .glass-panel:hover::before{

left:130%;

}

#testimonials .glass-panel:hover{

transform:translateY(-12px);
border-color:#3b82f6;
box-shadow:0 20px 50px rgba(59,130,246,.25);

}

#testimonials .feature-icon{

margin:0 auto 18px;
width:75px;
height:75px;
font-size:34px;

}

#testimonials h3{

margin-bottom:15px;
font-size:24px;
color:#fff;

}

#testimonials p{

color:#cbd5e1;
line-height:1.8;

}

/* ======================================
LATEST NEWS
====================================== */

#news .glass-panel{

padding:30px;
transition:.4s;
cursor:pointer;
position:relative;
overflow:hidden;

}

#news .glass-panel:hover{

transform:translateY(-10px);
box-shadow:0 20px 45px rgba(59,130,246,.25);
border-color:#3b82f6;

}

#news .feature-icon{

width:70px;
height:70px;
margin-bottom:20px;
font-size:32px;

}

#news h3{

font-size:24px;
margin-bottom:15px;
color:#fff;

}

#news p{

color:#cbd5e1;
line-height:1.8;

}

#news .glass-panel::after{

content:"Read More →";
display:block;
margin-top:18px;
color:#60a5fa;
font-weight:600;
transition:.3s;

}

#news .glass-panel:hover::after{

transform:translateX(8px);

}

/* ======================================
LOGIN PAGE
====================================== */

.login-page{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
padding:120px 20px;
}

.login-card{
width:100%;
max-width:460px;
padding:40px;
background:rgba(255,255,255,.08);
backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,.12);
border-radius:24px;
box-shadow:0 20px 60px rgba(0,0,0,.35);
text-align:center;
}

.login-card h1{
font-size:32px;
margin-bottom:10px;
color:#fff;
}

.login-card p{
color:#cbd5e1;
margin-bottom:30px;
}

.role-buttons{
display:flex;
gap:10px;
margin-bottom:30px;
}

.role-btn{
flex:1;
padding:12px;
border:none;
border-radius:12px;
background:rgba(255,255,255,.08);
color:#fff;
cursor:pointer;
transition:.3s;
font-weight:600;
}

.role-btn:hover,
.role-btn.active{
background:linear-gradient(135deg,#2563eb,#8b5cf6);
}

#loginForm{
display:flex;
flex-direction:column;
gap:18px;
}

#loginForm input{
padding:15px;
border-radius:12px;
border:1px solid rgba(255,255,255,.12);
background:rgba(255,255,255,.05);
color:#fff;
font-size:16px;
outline:none;
transition:.3s;
}

#loginForm input::placeholder{
color:#94a3b8;
}

#loginForm input:focus{
border-color:#3b82f6;
box-shadow:0 0 20px rgba(59,130,246,.25);
}

#loginForm .primaryBtn{
width:100%;
border:none;
cursor:pointer;
margin-top:10px;
}

.login-card .secondaryBtn{
display:inline-block;
margin-top:20px;
width:100%;
text-align:center;
}

@media(max-width:768px){

.login-card{
padding:28px;
}

.login-card h1{
font-size:26px;
}

.role-buttons{
flex-direction:column;
}

}

/* ==========================================
ADMIN DASHBOARD PHASE 1
========================================== */

.dashboard{
display:flex;
min-height:100vh;
position:relative;
z-index:2;
}

.sidebar{
width:290px;
background:rgba(255,255,255,.08);
backdrop-filter:blur(20px);
border-right:1px solid rgba(255,255,255,.12);
padding:28px;
display:flex;
flex-direction:column;
justify-content:space-between;
box-shadow:0 0 35px rgba(0,0,0,.25);

/* 🔥 Scroll & Logout Button Fix (Added here) 🔥 */
height: 100dvh;
position: sticky;
top: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
padding-bottom: 60px; /* Logout button upar laane ke liye */
-ms-overflow-style: none; /* IE aur Edge */
scrollbar-width: none; /* Firefox */
}

/* 🔥 Scrollbar Hide 🔥 */
.sidebar::-webkit-scrollbar {
    display: none; 
}

.logo-box h2{
font-size:30px;
font-weight:700;
margin-bottom:5px;
}

.logo-box p{
color:#94a3b8;
margin-bottom:35px;
}

.sidebar nav{
display:flex;
flex-direction:column;
gap:10px;
}

.sidebar nav a{
display:flex;
align-items:center;
gap:15px;
padding:15px 18px;
border-radius:16px;
text-decoration:none;
color:#dbeafe;
font-size:16px;
font-weight:500;
transition:.35s;
}

.sidebar nav a i{
width:22px;
text-align:center;
font-size:18px;
}

.sidebar nav a:hover,
.sidebar nav a.active{

background:linear-gradient(135deg,#2563eb,#7c3aed);
color:#fff;
transform:translateX(8px);
box-shadow:0 12px 30px rgba(59,130,246,.30);

}

.logoutBtn{

width:100%;
padding:15px;
border:none;
border-radius:16px;
cursor:pointer;
font-size:16px;
font-weight:600;
background:linear-gradient(135deg,#dc2626,#ef4444);
color:white;
transition:.35s;

}

.logoutBtn:hover{

transform:translateY(-4px);

}

.content{

flex:1;
padding:40px;
overflow:auto;

}

.topbar{

display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:35px;

}

.topbar h1{

font-size:38px;
margin-bottom:6px;

}

.topbar p{

color:#94a3b8;

}

.profile{

display:flex;
align-items:center;
gap:25px;

}

.bell{

width:52px;
height:52px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(255,255,255,.08);
font-size:20px;
cursor:pointer;
transition:.35s;

}

.bell:hover{

background:#2563eb;
transform:rotate(15deg);

}

.admin{

display:flex;
align-items:center;
gap:15px;
background:rgba(255,255,255,.08);
padding:10px 18px;
border-radius:18px;

}

.avatar{

width:52px;
height:52px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:22px;
font-weight:700;
background:linear-gradient(135deg,#2563eb,#8b5cf6);

}

.admin h4{

margin-bottom:3px;

}

.admin small{

color:#94a3b8;

}

@media(max-width:1000px){

.dashboard{

flex-direction:column;

}

.sidebar{

width:100%;
/* 🔥 Mobile view layout reset fix taaki content ke upar over-lap na ho 🔥 */
height: auto; 
position: static;
overflow-y: visible;
padding-bottom: 28px; 

}

.topbar{

flex-direction:column;
align-items:flex-start;
gap:20px;

}

}

/* ==========================
   LOGIN INPUT GROUP
========================== */

.login-input-group{
    position:relative;
    width:100%;
    margin:18px 0;
}

.login-input-group i:first-child{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:rgba(255,255,255,.75);
    font-size:18px;
}

.login-input-group input{
    width:100%;
    height:58px;
    padding:0 50px;
    border-radius:14px;
    border:1px solid rgba(255,255,255,.15);
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:16px;
    font-family:'Poppins',sans-serif;
    outline:none;
    backdrop-filter:blur(14px);
    transition:.3s;
    box-sizing:border-box;
}

.login-input-group input::placeholder{
    color:rgba(255,255,255,.6);
}

.login-input-group input:focus{
    border-color:#7b5cff;
    box-shadow:0 0 18px rgba(123,92,255,.35);
}

.password-toggle{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:none;
    color:rgba(255,255,255,.7);
    cursor:pointer;
    font-size:18px;
}

.password-toggle:hover{
    color:#fff;
}

.authorized-text{
    margin-top:18px;
    color:rgba(255,255,255,.65);
    font-size:14px;
    text-align:center;
}

.login-icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#3b82f6,#7c3aed);
    color:#fff;
    font-size:30px;
    box-shadow:0 0 25px rgba(124,92,255,.35);
}
/* =========================================
   🔥 PREMIUM CREATOR MODAL STYLES 🔥
   ========================================= */
.creator-overlay {
    position: fixed; inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99999;
    display: flex; justify-content: center; align-items: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}

.creator-overlay.show {
    opacity: 1; pointer-events: auto;
}

.creator-glass-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(6, 10, 20, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.4); /* Gold accent */
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.8), inset 0 0 25px rgba(212,175,55,0.08);
    max-width: 850px; width: 100%;
    position: relative; overflow: hidden;
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Bounce Effect */
}

.creator-overlay.show .creator-glass-card {
    transform: scale(1) translateY(0);
}

.close-btn {
    position: absolute; top: 15px; right: 15px;
    background: rgba(255,255,255,0.08); border: none;
    color: white; width: 45px; height: 45px; border-radius: 50%;
    font-size: 20px; cursor: pointer; z-index: 10;
    transition: 0.3s ease;
}

.close-btn:hover { background: #ef4444; transform: rotate(90deg); }

.creator-content { display: grid; grid-template-columns: 1fr 1.2fr; min-height: 400px; }

.creator-img-box {
    background: radial-gradient(circle at center, rgba(212,175,55,0.15), transparent 70%);
    padding: 30px; display: flex; justify-content: center; align-items: center;
}

.creator-img-box img {
    width: 100%; max-width: 320px; border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6); object-fit: cover;
}

.creator-text-box {
    padding: 40px 30px; display: flex; flex-direction: column;
    justify-content: center; text-align: left;
}

.creator-text-box .kicker { color: #d4af37; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.creator-text-box h2 { color: #cbd5e1; font-size: 20px; margin: 0 0 8px 0; font-weight: 400; }
.creator-name { color: #f5e7bf; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin: 0 0 20px 0; font-weight: 800; text-shadow: 0 5px 15px rgba(212,175,55,0.2); }
.glow-divider { height: 2px; width: 100px; background: linear-gradient(90deg, #d4af37, transparent); margin-bottom: 25px; }
.creator-text-box .subtitle { color: #94a3b8; font-size: 14px; letter-spacing: 2.5px; margin-bottom: 35px; text-transform: uppercase;}

/* Original Instagram Gradient Button */
.insta-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white; text-decoration: none; padding: 14px 28px;
    border-radius: 30px; font-weight: 600; font-size: 16px;
    width: fit-content; transition: 0.3s; box-shadow: 0 10px 25px rgba(220, 39, 67, 0.4);
}
.insta-btn i { font-size: 20px; }
.insta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(220, 39, 67, 0.6); }

/* Mobile Responsive */
@media (max-width: 860px) {
    .creator-content { grid-template-columns: 1fr; min-height: auto; }
    .creator-img-box { padding: 30px 20px 10px; }
    .creator-img-box img { max-width: 240px; }
    .creator-text-box { padding: 20px 20px 40px; text-align: center; align-items: center; }
    .glow-divider { margin: 0 auto 25px auto; background: linear-gradient(90deg, transparent, #d4af37, transparent); }
    .creator-glass-card { border-radius: 20px; }
}
