@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');
:root { --ink:#17263b; --gold:#e8c98d; --red:#b51f2b; }
* { box-sizing:border-box; }
html,body { margin:0; min-height:100%; }
body { font-family:Montserrat,Arial,sans-serif; color:white; }
.landing { min-height:100vh; overflow:hidden; position:relative; background:#17263b; }
.backdrop { position:fixed; inset:0; background:linear-gradient(180deg,rgba(8,18,32,.48),rgba(8,18,32,.30) 42%,rgba(8,18,32,.68)),url('assets/smucisce-ozadje.jpg') center 53%/cover no-repeat; transform:scale(1.015); }
.landing-content { min-height:100vh; position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; justify-content:space-between; padding:clamp(28px,6vh,70px) 22px 26px; text-align:center; }
.masthead { width:min(900px,100%); }
.eyebrow,.login-kicker,.member-kicker { font-size:10px; font-weight:700; letter-spacing:.34em; color:var(--gold); }
.masthead h1 { margin:13px 0 7px; font-family:Tahoma,Geneva,sans-serif; font-size:clamp(29px,6.2vw,66px); line-height:1.08; letter-spacing:.045em; font-weight:700; text-shadow:0 3px 20px #0008; }
.masthead h1 span { color:var(--gold); }
.rule { display:flex; justify-content:center; align-items:center; gap:12px; margin:22px auto 13px; width:min(360px,75%); }
.rule:before,.rule:after { content:""; height:1px; flex:1; background:linear-gradient(90deg,transparent,var(--gold)); }
.rule:after { transform:scaleX(-1); }
.rule i { width:6px; height:6px; border:1px solid var(--gold); transform:rotate(45deg); }
.subtitle { margin:0; color:#f4eee3; font-family:'Cormorant Garamond',Georgia,serif; font-size:clamp(17px,2.4vw,23px); font-style:italic; text-shadow:0 2px 8px #0009; }
.logo-area { display:flex; justify-content:center; align-items:center; flex:1; padding:25px 0; }
.logo-button { display:flex; flex-direction:column; align-items:center; gap:14px; padding:0; border:0; background:transparent; color:white; cursor:pointer; }
.logo-button img { width:clamp(230px,31vw,390px); max-width:80vw; border:5px solid rgba(255,255,255,.82); border-radius:5px; box-shadow:0 18px 55px #0008; transition:transform .25s,box-shadow .25s; }
.logo-button:hover img,.logo-button:focus-visible img { transform:translateY(-5px) scale(1.025); box-shadow:0 24px 65px #000a; }
.logo-hint { font-size:10px; letter-spacing:.28em; font-weight:700; color:var(--gold); text-shadow:0 2px 7px #000; }
.landing-footer { display:flex; align-items:center; gap:17px; color:#eee7dc; font-size:9px; font-weight:600; letter-spacing:.2em; text-shadow:0 2px 6px #000; }
.footer-dot { color:var(--gold); font-size:8px; }
.modal { position:fixed; inset:0; z-index:5; display:grid; place-items:center; padding:20px; opacity:0; visibility:hidden; transition:opacity .2s,visibility .2s; }
.modal.is-open { opacity:1; visibility:visible; }
.modal-backdrop { position:absolute; inset:0; background:rgba(5,12,23,.78); backdrop-filter:blur(7px); }
.login-card { position:relative; width:min(420px,100%); padding:38px 36px 30px; background:linear-gradient(145deg,#fffdf8,#eee6d8); color:var(--ink); border:1px solid #d8c49f; border-radius:5px; box-shadow:0 25px 80px #0008; transform:translateY(12px); transition:transform .25s; }
.is-open .login-card { transform:translateY(0); }
.close-button { position:absolute; right:15px; top:10px; border:0; background:none; color:#6b6b6b; font-size:27px; cursor:pointer; }
.mini-mark { width:42px; height:42px; display:grid; place-items:center; margin:0 auto 13px; border-radius:50%; background:#f4e3d8; font-size:22px; }
.login-kicker { text-align:center; color:#9a762f; font-size:9px; }
.login-card h2 { margin:8px 0 5px; text-align:center; font-family:'Cormorant Garamond',Georgia,serif; font-size:34px; font-weight:600; }
.login-copy { margin:0 0 22px; text-align:center; color:#687080; font-size:12px; line-height:1.6; }
.login-card label { display:block; margin:13px 0 6px; font-size:10px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.login-card input { width:100%; padding:13px 14px; border:1px solid #d8d2c8; border-radius:3px; background:#fff; color:#17263b; font:13px Montserrat,Arial,sans-serif; outline:none; }
.login-card input:focus { border-color:#a7864b; box-shadow:0 0 0 3px #d9c49b55; }
.submit-button { width:100%; margin-top:21px; padding:14px 17px; border:0; border-radius:3px; background:#17263b; color:#fff; font:700 11px Montserrat,Arial,sans-serif; letter-spacing:.2em; cursor:pointer; }
.submit-button:hover { background:#263c59; }
.submit-button span { float:right; color:var(--gold); font-size:17px; line-height:10px; }
.error-message { margin:0 0 14px; padding:10px; background:#f9e3e3; border-left:3px solid var(--red); color:#8b1e27; font-size:11px; line-height:1.5; }
.login-footnote { margin:17px 0 0; text-align:center; color:#92908a; font-size:9px; }
.member-page { min-height:100vh; background:radial-gradient(ellipse at top,#344d6b,#111d30 70%); color:#fff; }
.member-header { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:22px clamp(18px,5vw,70px); border-bottom:1px solid #ffffff24; }
.back-link,.logout-link { color:#e7d3a9; text-decoration:none; font-size:9px; letter-spacing:.14em; font-weight:700; }
.member-brand { font-family:Tahoma,Geneva,sans-serif; font-size:12px; letter-spacing:.16em; font-weight:700; }
.member-brand strong { color:var(--gold); }
.member-main { width:min(1200px,calc(100% - 36px)); margin:0 auto; padding:clamp(35px,6vh,65px) 0 60px; }
.member-caption { text-align:center; margin-bottom:28px; }
.member-kicker { color:var(--gold); }
.member-caption h1 { margin:8px 0 0; font-family:Tahoma,Geneva,sans-serif; font-size:clamp(30px,6vw,58px); letter-spacing:.055em; font-weight:700; }
.member-caption p { margin:4px 0 0; color:#d5dce5; font-family:'Cormorant Garamond',Georgia,serif; font-style:italic; font-size:20px; }
.member-photo { margin:0; padding:9px; background:#fff; box-shadow:0 22px 70px #0008; }
.member-photo img { display:block; width:100%; height:auto; }
.member-photo figcaption { padding:12px 8px 5px; color:#24344b; text-align:center; font-size:9px; font-weight:700; letter-spacing:.2em; }
@media (max-width:600px) {
 .landing-content { min-height:100svh; padding:34px 18px 20px; }
 .masthead { width:100%; }
 .eyebrow { font-size:8px; letter-spacing:.16em; }
 .masthead h1 { margin:14px 0 8px; font-size:clamp(27px,8vw,39px); line-height:1.12; letter-spacing:.025em; }
 .rule { margin:17px auto 11px; }
 .subtitle { max-width:340px; margin:0 auto; font-size:clamp(16px,4.5vw,19px); line-height:1.35; }
 .logo-area { padding:24px 0; }
 .logo-button img { width:min(72vw,290px); border-width:4px; }
 .logo-hint { font-size:9px; letter-spacing:.2em; }
 .landing-footer { flex-wrap:wrap; justify-content:center; gap:8px 10px; font-size:7px; letter-spacing:.1em; }
 .login-card { padding:34px 23px 25px; }
 .login-card h2 { font-size:31px; }
 .member-header { flex-wrap:wrap; justify-content:space-between; padding:17px 15px; }
 .member-brand { order:-1; width:100%; text-align:center; font-size:11px; }
 .back-link,.logout-link { font-size:8px; }
 .member-main { width:calc(100% - 24px); padding:30px 0 35px; }
 .member-caption { margin-bottom:20px; }
 .member-caption h1 { font-size:clamp(29px,8vw,42px); letter-spacing:.035em; }
 .member-caption p { max-width:320px; margin:7px auto 0; font-size:17px; line-height:1.3; }
 .member-photo { padding:5px; }
 .member-photo figcaption { font-size:7px; letter-spacing:.12em; }
}
@media (max-width:360px) {
 .masthead h1 { font-size:26px; }
 .landing-footer { font-size:6px; }
 .login-card { padding-left:19px; padding-right:19px; }
}
