/* ================================ 
   Lopikss Portfolio — styles.css
   Full file (safe defaults)
================================== */

:root{
  --bg:#0b1220;
  --panel:#111b33;
  --panel2:#0f1730;
  --text:#e8eefc;
  --muted:#a7b4d6;
  --line:#1e2a4a;
  --accent:#7c5cff;
  --danger:#ff6b6b;
  --radius:16px;
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Prevent common “huge svg” bugs from random global CSS */
svg{
  max-width: 100%;
  height: auto;
}

/* Links */
a{
  color: var(--accent);
  text-decoration: none;
}
a:hover{
  text-decoration: underline;
}

/* Utilities */
.hidden{ display:none; }

.container{
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Smooth hover/interaction polish */
.nav-links a,
.social-btn,
.forget-btn,
.lock-card button{
  transition: transform .12s ease, opacity .12s ease, border-color .12s ease, color .12s ease, background .12s ease;
}

/* ================================
   Header / Nav
================================== */
.header{
  border-bottom: 1px solid var(--line);
  background: rgba(11,18,32,.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:64px;
}

.logo{
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--text);
}

.nav-links a{
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
}

/* ================================
   Hero / Sections
================================== */
.hero{
  padding: 80px 0;
}

.hero h1{
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.1;
}

.hero span{
  color: var(--accent);
}

.hero p{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

section{
  margin-bottom: 80px;
}

h2{
  margin: 0 0 14px;
  font-size: 28px;
}

p{
  margin: 0 0 12px;
}

/* ================================
   Card
================================== */
.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

/* ================================
   Footer
================================== */
.footer{
  text-align: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.forget-btn{
  margin-top: 10px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.forget-btn:hover{
  border-color: var(--accent);
  color: var(--text);
}

/* ================================
   LOCK SCREEN
================================== */
.lock-screen{
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #1a2a5e, var(--bg));
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 9999;
}

.lock-card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.lock-card h1{
  margin: 0 0 6px;
  font-size: 22px;
}

.lock-card p{
  margin: 0 0 12px;
  color: var(--muted);
}

.lock-card input{
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  text-align: center;
  font-size: 18px;
  letter-spacing: 4px;
  outline: none;
}

.lock-card input:focus{
  border-color: rgba(124,92,255,.8);
  box-shadow: 0 0 0 5px rgba(124,92,255,.12);
}

.lock-card button{
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.lock-card button:hover{
  opacity: 0.92;
}

.error{
  margin-top: 10px;
  color: var(--danger);
}

/* ================================
   Contact Page: Tabs
================================== */
.tabs{
  display:flex;
  gap:10px;
  margin: 14px 0 18px;
  flex-wrap: wrap;
}

.tab-btn{
  appearance:none;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 700;
  line-height: 1;
}

.tab-btn:hover{
  border-color: var(--accent);
  color: var(--text);
}

.tab-btn.active{
  background: rgba(124,92,255,.18);
  border-color: var(--accent);
  color: #fff;
}

.tab-panel{ display:none; }
.tab-panel.active{ display:block; }

/* ================================
   Contact Page: Social Buttons
================================== */
.button-row{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.social-btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  font-weight: 700;
}

.social-btn:hover{
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Force icons small even if other rules exist */
.social-btn svg{
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  flex: 0 0 18px !important;
  display: inline-block !important;
}

/* ================================
   Form inputs (contact form)
================================== */
input, textarea{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  outline: none;
}

textarea{ resize: vertical; }

input:focus, textarea:focus{
  border-color: rgba(124,92,255,.8);
  box-shadow: 0 0 0 5px rgba(124,92,255,.12);
}

/* ================================
   Responsive tweaks
================================== */
@media (max-width: 700px){
  .hero{ padding: 50px 0; }
  .hero h1{ font-size: 34px; }
  .nav-links a{ margin-left: 8px; }
}
