/* =====================
    Google Fonts
=======================*/

/* Fredoka and Poppins */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Poppins:ital,wght@0,400;0,500;0,600;1,500;1,600&display=swap");

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ************************
      Theme Styles
************************ */
/* ==== Colors & Variables ====*/
:root {
  /* Light Mode */
  --primary: #f43f5e; /* Your chosen rose/hot pink */
  --primary-dark: #e11d48; /* Deeper rose for hover/active */
  --primary-light: #fda4af; /* Softer variant for subtle uses */
  --secondary: #4ecdc4; /* Kept your teal – nice contrast! */
  --accent: #fbbf24; /* Warm yellow accent to balance the pink */
  --background: #fff8f0;
  --card: #ffffff;
  --text: #2d1b3d;
  --text-light: #6b5b95;
  --border: #fecdd3; /* Soft pink-tinted border */
  --shadow: 0 8px 16px rgba(244, 63, 94, 0.18); /* Pink shadow tint */
  --radius: 1.5rem;
  scroll-behavior: smooth;
}

.dark-mode {
  --primary: #fb7185; /* Lighter rose for dark mode visibility */
  --primary-dark: #f43f5e; /* Your color for hover */
  --primary-light: #fda4af;
  --secondary: #50d9c8;
  --accent: #fcd34d;
  --background: #121417;
  --card: #1d1f23;
  --text: #f5efe7;
  --text-light: #c7c2ba;
  --border: #2b2e33;
  --shadow: 0 8px 22px rgba(251, 113, 133, 0.2);
  --shadowBtn: 0 8px 18px rgba(244, 63, 94, 0.28);
}

/* ==== GLOBAL STYLES ====*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  transition: all 0.3s ease;
}

main {
  flex: 1;
}

/* ==== Headings ==== */
h1,
h2,
h3,
h4 {
  font-family: "Fredoka", cursive;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ==== Buttons ==== */
.btn {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}
.btn-primary {
  background: linear-gradient(
    135deg,
    #f43f5e,
    #fb7185
  ); /* rose to lighter rose */
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadowBtn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e11d48, #f43f5e); /* deeper on hover */
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(225, 29, 72, 0.3);
}

.btn-primary:active {
  background: linear-gradient(135deg, #be123c, #e11d48);
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.dark-mode .btn-primary {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}

.dark-mode .btn-primary:hover {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  transform: translateY(-4px);
}

/* ==== Cards ==== */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--primary);
}
.card h2 {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}
.dark-mode .card {
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.dark-mode .card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
}
