@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root{
    --ink:#14213d;
    --muted:#5f687d;
    --cream:#fffaf4;
    --surface:#ffffff;
    --coral:#ff5f57;
    --orange:#ff9f1c;
    --violet:#6c4ef6;
    --teal:#06b6a8;
    --navy:#102a43;
    --line:#e8e7ef;
    --shadow:0 22px 70px rgba(38,34,64,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
    color:var(--ink);
    background:
        radial-gradient(circle at 10% 10%,rgba(255,159,28,.10),transparent 25%),
        radial-gradient(circle at 90% 20%,rgba(108,78,246,.10),transparent 25%),
        #fffdfb;
    overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit}
.floating-shape{position:fixed;border-radius:999px;filter:blur(2px);z-index:-1;opacity:.34}
.shape-1{width:320px;height:320px;background:#ffd166;left:-170px;top:190px}
.shape-2{width:250px;height:250px;background:#d8c9ff;right:-110px;top:440px}
.shape-3{width:180px;height:180px;background:#b8f2e6;left:18%;bottom:-80px}

.topbar{
    width:min(1180px,calc(100% - 34px));
    margin:18px auto 0;
    min-height:76px;
    padding:10px 16px;
    background:rgba(255,255,255,.86);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.7);
    box-shadow:0 10px 40px rgba(31,42,68,.08);
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:14px;
    z-index:20;
}
.brand{display:flex;align-items:center;gap:11px}
.brand img{width:52px;height:52px;border-radius:50%;object-fit:contain;background:#fff}
.brand span{display:flex;flex-direction:column}
.brand strong{font-size:16px}
.brand small{font-size:12px;color:var(--muted)}
.topbar nav{display:flex;align-items:center;gap:22px;font-weight:600;font-size:14px}
.topbar nav a{transition:.2s}
.topbar nav a:hover{color:var(--violet)}
.nav-cta{padding:11px 16px;background:var(--ink);color:white!important;border-radius:14px}

.hero{
    width:min(1180px,calc(100% - 34px));
    margin:54px auto 0;
    min-height:680px;
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:52px;
    align-items:center;
    padding:40px 0 74px;
}
.eyebrow,.section-heading>span,.band-kicker,.side-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em;
    color:var(--violet);
}
.eyebrow:before,.section-heading>span:before,.band-kicker:before{
    content:'';
    width:28px;
    height:3px;
    border-radius:99px;
    background:linear-gradient(90deg,var(--orange),var(--coral));
}
.hero h1{
    margin:16px 0 16px;
    font-family:'Playfair Display',Georgia,serif;
    font-size:clamp(50px,6.4vw,88px);
    line-height:.96;
    letter-spacing:-.045em;
}
.hero h1 span{
    display:block;
    background:linear-gradient(90deg,var(--coral),var(--orange),var(--violet));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
}
.hero-subtitle{font-size:20px;font-weight:700;color:var(--navy);margin:0 0 12px}
.hero-text{font-size:17px;line-height:1.75;color:var(--muted);max-width:690px}
.hero-actions{display:flex;gap:12px;margin:28px 0}
.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    cursor:pointer;
    border-radius:16px;
    padding:14px 20px;
    font-weight:800;
    transition:transform .2s,box-shadow .2s;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{
    background:linear-gradient(135deg,var(--coral),var(--orange));
    color:#fff;
    box-shadow:0 12px 28px rgba(255,95,87,.24)
}
.btn-secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn.small{padding:10px 14px;border-radius:12px;font-size:13px}
.event-chips{display:flex;gap:12px;flex-wrap:wrap}
.chip{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:12px 14px;
    display:flex;
    gap:10px;
    min-width:220px;
    box-shadow:0 8px 24px rgba(30,42,68,.05)
}
.chip>span{font-size:20px}
.chip div{display:flex;flex-direction:column}
.chip small{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
.chip strong{font-size:13px;margin-top:3px}

.hero-card-wrap{perspective:1200px}
.hero-card{
    position:relative;
    background:
        linear-gradient(140deg,rgba(255,255,255,.98),rgba(255,250,244,.96));
    border:1px solid rgba(255,255,255,.8);
    border-radius:38px;
    padding:56px 40px 38px;
    text-align:center;
    box-shadow:var(--shadow);
    transform:rotate(2deg);
    overflow:hidden;
}
.hero-card:before{
    content:'';
    position:absolute;
    width:240px;height:240px;
    border-radius:50%;
    background:linear-gradient(135deg,rgba(255,159,28,.20),rgba(108,78,246,.14));
    top:-90px;right:-70px;
}
.hero-card-ribbon{
    position:absolute;
    top:19px;
    right:-54px;
    transform:rotate(34deg);
    width:220px;
    background:var(--violet);
    color:#fff;
    padding:8px;
    font-weight:800;
    font-size:12px;
    letter-spacing:.08em;
}
.hero-logo{width:160px;height:160px;object-fit:contain;margin:0 auto 14px;border-radius:50%;background:#fff;box-shadow:0 12px 28px rgba(27,31,59,.10)}
.hero-card h2{font-family:'Playfair Display',Georgia,serif;font-size:34px;margin:8px 0}
.hero-card>p{color:var(--muted);line-height:1.7}
.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}
.mini-grid div{padding:15px 10px;border-radius:16px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column}
.mini-grid strong{font-size:14px}
.mini-grid small{font-size:11px;color:var(--muted);margin-top:3px}

.notice{
    width:min(1180px,calc(100% - 34px));
    margin:0 auto 28px;
    padding:14px 18px;
    border-radius:14px;
    font-weight:700;
}
.notice.success{background:#e8fff6;color:#08755b;border:1px solid #b9f3dc}
.notice.error{background:#fff0f0;color:#a72c2c;border:1px solid #ffcaca}

.section{width:min(1180px,calc(100% - 34px));margin:0 auto;padding:90px 0}
.section-heading{text-align:center;max-width:730px;margin:0 auto 38px}
.section-heading.left{text-align:left;margin-left:0}
.section-heading h2,.section-heading h1{
    font-family:'Playfair Display',Georgia,serif;
    font-size:clamp(38px,4vw,58px);
    margin:10px 0 12px;
    letter-spacing:-.03em
}
.section-heading p{color:var(--muted);font-size:17px;line-height:1.7}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.story-card{
    border-radius:28px;
    padding:28px;
    color:white;
    min-height:280px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    box-shadow:0 14px 42px rgba(36,40,66,.12)
}
.story-card.coral{background:linear-gradient(145deg,#ff5f57,#ff8e53)}
.story-card.violet{background:linear-gradient(145deg,#6c4ef6,#8c72ff)}
.story-card.teal{background:linear-gradient(145deg,#06b6a8,#2dd4bf)}
.story-card .icon{font-size:42px;margin-bottom:auto}
.story-card h3{font-family:'Playfair Display',Georgia,serif;font-size:30px;margin:10px 0}
.story-card p{margin:0;line-height:1.7;color:rgba(255,255,255,.9)}

.band{
    width:min(1240px,calc(100% - 24px));
    margin:20px auto 40px;
    border-radius:36px;
    padding:54px;
    background:linear-gradient(125deg,#132238,#211a52 55%,#5a36c9);
    color:#fff;
    display:grid;
    grid-template-columns:1.25fr .75fr;
    gap:60px;
    align-items:center;
    box-shadow:var(--shadow)
}
.band-kicker{color:#ffd166}
.band h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(36px,4vw,56px);line-height:1.05;margin:12px 0}
.band p{line-height:1.8;color:#d9dcef}
.memory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.memory-stats div{padding:22px 12px;text-align:center;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.06)}
.memory-stats strong{display:block;font-family:'Playfair Display';font-size:36px}
.memory-stats span{display:block;font-size:11px;color:#d9dcef;margin-top:3px}

.registration-section{padding-bottom:110px}
.registration-layout{display:grid;grid-template-columns:1.4fr .6fr;gap:26px;align-items:start}
.registration-form{background:#fff;border:1px solid var(--line);border-radius:30px;padding:32px;box-shadow:0 18px 60px rgba(33,38,61,.08)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
label{display:flex;flex-direction:column;gap:8px}
label>span{font-size:13px;font-weight:800;color:var(--navy)}
label.full{grid-column:1/-1}
input,select,textarea{
    width:100%;
    border:1px solid #dcddea;
    background:#fff;
    border-radius:14px;
    padding:13px 14px;
    outline:none;
    transition:.2s;
    color:var(--ink)
}
input:focus,select:focus,textarea:focus{border-color:#8e7bff;box-shadow:0 0 0 4px rgba(108,78,246,.09)}
textarea{resize:vertical}
.upload-box{border:1.5px dashed #c9c6dd;padding:18px;border-radius:18px;background:#faf9ff}
.upload-box input{border:0;padding:0;background:transparent}
.upload-box small{color:var(--muted)}
#photoPreview{display:none;width:120px;height:120px;object-fit:cover;border-radius:18px;margin-top:8px;border:4px solid #fff;box-shadow:0 10px 25px rgba(0,0,0,.12)}
.consent{flex-direction:row;align-items:flex-start;gap:10px;padding:14px;border-radius:14px;background:#fffaf1}
.consent input{width:18px;height:18px;margin-top:2px}
.consent span{font-weight:500;line-height:1.55;color:var(--muted)}
.submit-btn{width:100%;margin-top:22px;padding:16px;font-size:16px}
.register-side{display:grid;gap:16px}
.side-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 12px 36px rgba(30,42,68,.06)}
.side-card.gradient{background:linear-gradient(145deg,#fff1e8,#f2edff)}
.side-card h3{font-family:'Playfair Display';font-size:25px;margin:8px 0 10px}
.side-card p{color:var(--muted);line-height:1.7;margin:0}
.whatsapp-link,.whatsapp-btn{display:inline-flex;margin-top:16px;background:#e8fff2;color:#08764f;padding:11px 14px;border-radius:12px;font-weight:800;font-size:13px}
.privacy{border-left:5px solid var(--teal)}

footer{
    width:min(1180px,calc(100% - 34px));
    margin:0 auto 24px;
    border-top:1px solid var(--line);
    padding:26px 0;
    display:flex;
    align-items:center;
    gap:12px
}
footer img{width:44px;height:44px;border-radius:50%}
footer div{display:flex;flex-direction:column;flex:1}
footer span{font-size:12px;color:var(--muted)}
footer a{font-weight:700;font-size:13px;color:var(--violet)}

/* Admin */
.admin-login-body{
    min-height:100vh;display:grid;place-items:center;padding:22px;
    background:linear-gradient(135deg,#fff5ea,#f1edff)
}
.login-card{width:min(450px,100%);background:#fff;border-radius:30px;padding:36px;box-shadow:var(--shadow);text-align:center}
.login-card>img{width:105px;height:105px;object-fit:contain;margin:0 auto 18px;border-radius:50%}
.login-card h1{font-family:'Playfair Display';font-size:42px;margin:9px 0}
.login-card p{color:var(--muted);line-height:1.6}
.login-card form{text-align:left;display:grid;gap:16px;margin-top:24px}
.login-card .btn{width:100%}
.back-link{display:inline-block;margin-top:20px;color:var(--violet);font-weight:700;font-size:13px}

.admin-body{background:#f8f8fc}
.admin-top{
    width:min(1400px,calc(100% - 30px));margin:14px auto;
    display:flex;justify-content:space-between;align-items:center;
    background:#fff;border:1px solid var(--line);border-radius:20px;padding:10px 14px;
    position:sticky;top:10px;z-index:20
}
.admin-actions{display:flex;gap:8px}
.admin-main{width:min(1400px,calc(100% - 30px));margin:0 auto;padding:36px 0 70px}
.dashboard-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:26px 0}
.dashboard-stats div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px}
.dashboard-stats span{display:block;color:var(--muted);font-size:12px}
.dashboard-stats strong{display:block;font-family:'Playfair Display';font-size:40px;margin-top:6px}
.admin-note{padding:14px 16px;border-radius:14px;background:#fff8de;border:1px solid #f5dfa2;color:#755b08;margin-bottom:20px;font-size:13px;line-height:1.6}
.alumni-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.alumni-card{display:grid;grid-template-columns:150px 1fr;background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden}
.alumni-card>img{width:100%;height:100%;min-height:250px;object-fit:cover;background:#eee}
.alumni-info{padding:20px}
.alumni-info h3{margin:0;font-size:20px}
.alumni-name-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.attendance{padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase}
.attendance.yes{background:#e7fff3;color:#087454}
.attendance.maybe{background:#fff6df;color:#8a6300}
.attendance.no{background:#ffeded;color:#9d3434}
.nickname{font-style:italic;color:var(--violet)}
.alumni-info p{font-size:13px;color:var(--muted);margin:7px 0}
.alumni-info blockquote{margin:12px 0 0;padding:12px;border-left:3px solid var(--orange);background:#fffaf0;border-radius:8px;font-size:13px;line-height:1.6}
.empty-state{grid-column:1/-1;background:#fff;padding:40px;border:1px dashed #c8cad6;border-radius:20px;text-align:center;color:var(--muted)}

@media(max-width:900px){
    .topbar nav a:not(.nav-cta){display:none}
    .hero{grid-template-columns:1fr;padding-top:20px}
    .hero-card-wrap{max-width:600px;margin:0 auto}
    .story-grid,.registration-layout,.band{grid-template-columns:1fr}
    .memory-stats{margin-top:10px}
    .alumni-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
    .topbar{width:calc(100% - 20px);border-radius:18px}
    .brand img{width:45px;height:45px}
    .hero,.section{width:calc(100% - 26px)}
    .hero{margin-top:26px;gap:24px}
    .hero h1{font-size:52px}
    .hero-actions{flex-direction:column}
    .btn{width:100%}
    .event-chips,.chip{width:100%}
    .hero-card{padding:52px 22px 26px;border-radius:28px}
    .section{padding:66px 0}
    .story-grid{grid-template-columns:1fr}
    .band{padding:30px 22px;border-radius:26px}
    .memory-stats{grid-template-columns:1fr 1fr 1fr}
    .memory-stats strong{font-size:28px}
    .form-grid{grid-template-columns:1fr}
    .registration-form{padding:20px}
    label.full{grid-column:auto}
    footer{align-items:flex-start}
    footer a{display:none}
    .dashboard-stats{grid-template-columns:1fr 1fr}
    .alumni-card{grid-template-columns:1fr}
    .alumni-card>img{height:280px}
    .admin-top{align-items:flex-start;gap:12px}
    .admin-actions{flex-direction:column}
}
