:root {
  --bg: #0b0f14;
  --card: #111826;
  --text-main: #eaf1f6;
  --text-muted: #8aa1b1;
  --accent-magenta: darkmagenta;

  --btn-google: #13b981;
  --btn-login: #38bdf8;
  --btn-register: #facc15;
  --focus-ring: #60a5fa;
  --shadow-card: 0 16px 40px #0008;
  --radius-lg: 16px;
  --radius-md: 12px;

  --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* === PAGE BASE === */
* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text-main);
  font-family: var(--font-stack);
  line-height: 1.45;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Global layout wrapper */
main {
  width: 100%;
  max-width: 600px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === HERO CARD === */
header {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 32px;
  text-align: left;
  color: var(--text-main);
}

/* Logo */
.logo {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 8px 20px #0006;
  display: block;
  margin-bottom: 12px;
}

/* Main heading (white) */
h1 {
  color: var(--text-main);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 600;
  margin: 0 0 8px 0;
}

/* Tagline (magenta, text) */
.tagline {
  margin: 0;
  color: var(--accent-magenta);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Content section */
.container {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 32px;
  margin-top: 24px;
  text-align: left;
  color: var(--text-main);
}

/* Section heading */
h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 12px 0;
}

.container p {
  font-size: 1.125rem;
  color: var(--accent-magenta);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.container code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 6px;
  color: var(--text-main);
  font-size: 0.95em;
}

/* === BUTTON GROUP === */
.btn-container {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.btn {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 14px 16px;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px #0007;
  transition: transform .04s ease;
  cursor: pointer;
  border: 0;
  color: #fff;
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn.google { background: var(--btn-google); }
.btn.login { background: var(--btn-login); }
.btn.register {
  background: var(--btn-register);
  color: #000;
}

.btn:hover,
.btn:focus {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* === FOOTER === */
footer {
  background: var(--accent-magenta);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  color: #fff;
  text-align: center;
  padding: 16px;
  font-size: 0.95rem;
  margin-top: 32px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

/* === RESPONSIVE BTN GRID === */
@media (min-width: 480px) {
  .btn-container {
    grid-template-columns: 1fr 1fr;
  }
  .btn.google { grid-column: 1 / 2; }
  .btn.login  { grid-column: 2 / 3; }
  .btn.register { grid-column: 1 / -1; }
}


/* =================================================================== */
/* ===  YOUTUBE SUBSCRIPTIONS CARDS (📺 NEW STYLING)  ================= */
/* =================================================================== */

.card {
  background: rgba(16, 19, 26, 0.85); /* translucent dark */
  backdrop-filter: blur(4px);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.55);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.card ul {
  padding: 0;
  list-style: none;
}

.card ul li {
  font-size: 1rem;
  font-weight: 600;
  color: #d3d3d3;
  opacity: 0.95;
}
