/* ===================================================
   PRIYANSHU'S STARDANCE SITE - HACK CLUB THEME
   Student / Teen Hacker DIY Aesthetic
   =================================================== */

:root {
  --bg-color: #f7f4ed;
  --hackclub-red: #ec3750;
  --hackclub-dark: #252429;
  --terminal-bg: #1e1e24;
  --terminal-green: #33d17a;
  --tape-color: rgba(255, 235, 59, 0.7);
  --border-color: #2b2a30;
  --font-term: 'VT323', monospace;
  --font-body: 'Comic Neue', cursive, sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(#e5dfd3 1px, transparent 1px),
    linear-gradient(90deg, #e5dfd3 1px, transparent 1px);
  background-size: 24px 24px;
  font-family: var(--font-body);
  color: #252429;
  line-height: 1.6;
  padding-bottom: 50px;
}

/* Top Marquee */
.top-marquee {
  background: var(--hackclub-red);
  color: #fff;
  font-family: var(--font-term);
  font-size: 1.3rem;
  padding: 6px 0;
  border-bottom: 2px solid var(--border-color);
  letter-spacing: 1px;
}

.container {
  max-width: 900px;
  margin: 25px auto;
  padding: 0 16px;
}

/* Student Navbar */
.student-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  border: 3px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 4px 4px 0px var(--border-color);
  padding: 12px 18px;
  margin-bottom: 25px;
}

.nav-brand {
  font-family: var(--font-term);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--hackclub-red);
}

.nav-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fake-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  color: #222;
  padding: 6px 12px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background: #f0f0f0;
  box-shadow: 2px 2px 0px var(--border-color);
  transition: transform 0.1s;
}

.fake-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--border-color);
}

.fake-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--border-color);
}

.highlight-btn {
  background: #ffea79;
  color: #000;
}

/* Card Component (Looks like a student's desktop window) */
.card {
  background: #fff;
  border: 3px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 6px 6px 0px var(--border-color);
  margin-bottom: 30px;
  overflow: hidden;
}

.card-header {
  background: #f5f2eb;
  padding: 14px 20px;
  border-bottom: 2px solid var(--border-color);
}

.card-header h2 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.card-subtitle {
  font-size: 0.9rem;
  color: #666;
}

/* Terminal Window Header */
.window-bar {
  background: var(--hackclub-dark);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.circle.red { background: #ff5f56; }
.circle.yellow { background: #ffbd2e; }
.circle.green { background: #27c93f; }

.window-title {
  color: #aaa;
  font-family: var(--font-term);
  font-size: 1.15rem;
  margin-left: 8px;
}

/* Hero Section */
.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 25px;
  padding: 24px;
  align-items: center;
}

.terminal-prompt {
  font-family: var(--font-term);
  color: var(--hackclub-red);
  font-size: 1.3rem;
  font-weight: bold;
}

.main-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 6px 0;
}

.tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #444;
  margin-bottom: 12px;
}

.highlight {
  background: #ffe066;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px dashed #d4a017;
}

.bio-text {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 16px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  font-family: var(--font-term);
  font-size: 1.1rem;
  font-weight: bold;
  padding: 3px 8px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

.badge-red { background: #ffccd5; color: #a4133c; }
.badge-green { background: #d8f3dc; color: #1b4332; }
.badge-yellow { background: #fef08a; color: #854d0e; }

/* Buttons */
.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.action-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 10px 18px;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 3px 3px 0px var(--border-color);
  transition: all 0.1s ease;
}

.action-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px var(--border-color);
}

.action-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px var(--border-color);
}

.vote-btn {
  background: var(--hackclub-red);
  color: #fff;
}

.hi-btn {
  background: #33d17a;
  color: #0b3d1b;
}

/* Polaroid Photo Style */
.hero-image-wrap {
  text-align: center;
}

.polaroid-wrapper {
  background: #fff;
  border: 2px solid #ccc;
  padding: 12px 12px 18px;
  box-shadow: 3px 6px 15px rgba(0,0,0,0.18);
  display: inline-block;
  transform: rotate(2deg);
  position: relative;
  transition: transform 0.2s;
}

.polaroid-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.tape-strip {
  position: absolute;
  top: -12px;
  left: 35%;
  width: 90px;
  height: 24px;
  background: var(--tape-color);
  transform: rotate(-3deg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.desk-pic {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 2px;
  border: 1px solid #ddd;
}

.photo-caption {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-top: 10px;
  color: #444;
  line-height: 1.3;
}

.photo-caption em {
  font-size: 0.85rem;
  color: #666;
}

/* Hardware Project Body */
.project-body {
  padding: 22px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.spec-card {
  background: #fbf9f4;
  border: 2px dashed #999;
  border-radius: 6px;
  padding: 12px 14px;
}

.spec-card h4 {
  font-family: var(--font-heading);
  margin-bottom: 4px;
  color: #111;
}

.student-notes {
  background: #fff9db;
  border-left: 4px solid #f59f00;
  padding: 14px 18px;
  border-radius: 4px;
}

.student-notes ul {
  padding-left: 20px;
  margin-top: 8px;
}

.student-notes li {
  margin-bottom: 6px;
}

/* Git Commit Log */
.commit-log {
  background: var(--terminal-bg);
  color: #eee;
  padding: 16px 20px;
  font-family: var(--font-term);
  font-size: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.commit-row {
  display: flex;
  gap: 14px;
  border-bottom: 1px dashed #333;
  padding-bottom: 6px;
  flex-wrap: wrap;
}

.commit-hash {
  color: #ffbe0b;
}

.commit-msg {
  color: var(--terminal-green);
  flex-grow: 1;
}

.commit-time {
  color: #888;
  font-size: 1.05rem;
}

/* Checklist */
.checklist {
  padding: 20px;
  font-size: 1.1rem;
}

.checklist label {
  cursor: pointer;
  display: inline-block;
  margin-bottom: 10px;
}

.checklist input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--hackclub-red);
  cursor: pointer;
}

.secret-toggle-btn {
  margin: 0 20px 20px;
  background: #f0f0f0;
  border: 2px dashed var(--border-color);
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: bold;
}

.secret-box {
  margin: 0 20px 20px;
  background: #e7f5ff;
  border: 2px solid #339af0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 1rem;
}

/* Vote Section */
.vote-section {
  background: #fffbe6;
  text-align: center;
  padding: 30px 20px;
}

.center-content {
  max-width: 600px;
  margin: 0 auto;
}

.huge-vote-btn {
  background: var(--hackclub-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: bold;
  padding: 16px 28px;
  border: 3px solid var(--border-color);
  border-radius: 8px;
  box-shadow: 4px 6px 0px var(--border-color);
  cursor: pointer;
  margin: 18px 0;
  transition: transform 0.1s;
}

.huge-vote-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 8px 0px var(--border-color);
}

.huge-vote-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-color);
}

.vote-stat-text {
  font-size: 1.2rem;
  font-family: var(--font-heading);
}

.vote-disclaimer {
  font-size: 0.95rem;
  color: #666;
  font-style: italic;
  margin-top: 10px;
}

/* 88x31 Retro Web Badges */
.badges-88x31 {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 25px 0;
}

.retro-badge {
  font-family: var(--font-term);
  font-size: 1rem;
  font-weight: bold;
  padding: 3px 6px;
  border: 2px solid var(--border-color);
  border-radius: 2px;
  box-shadow: 2px 2px 0px #000;
}

.badge-blue { background: #3b82f6; color: #fff; }
.badge-purple { background: #8b5cf6; color: #fff; }
.badge-orange { background: #f97316; color: #fff; }
.badge-green { background: #10b981; color: #fff; }

/* Footer */
.footer {
  text-align: center;
  margin-top: 25px;
  color: #555;
}

.footer hr {
  border: 1px dashed #ccc;
  margin-bottom: 16px;
}

.footer-small {
  font-size: 0.85rem;
  color: #777;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .student-navbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* why is flexbox like this */

/* button hover shadow tweak */
