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

:root {
  --color-primary: #62b125;
  --color-primary-hover: #62b125;
  --color-bg-light: #121212;
  --color-text-light: #eee;
  --color-accent: #36a934;        /* bright purple accent */
  --transition-speed: 0.4s;
}

/* Hot Pink theme */
[data-theme="hp"] {
  --color-primary: #ff69b4;
  --color-primary-hover: #ff4fa5;
  --color-bg-light: #2a0020;
  --color-text-light: #fff0f7;
  --color-accent: #ff85c1;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg-light);
  color: var(--color-text-light);
  line-height: 1.6;
  transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Header & Nav */
header {
  background: var(--color-primary);
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between; 
}

.logo {
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 1.2px;
  user-select: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* Hero Section */
.hero {
  padding: 6rem 1rem 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 1.1px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--color-primary-hover);
}

.btn {
  background-color: var(--color-primary);
  color: white;
  padding: 0.85rem 2.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: inline-block;
  box-shadow: 0 6px 8px rgba(123, 92, 255, 0.4);
}

.btn:hover {
  background-color: var(--color-primary-hover);
  box-shadow: 0 10px 15px rgba(123, 92, 255, 0.6);
}

/* Sections */
.section {
  padding: 3rem 1rem;
  text-align: center;
}

.section h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.1px;
}

.section p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-primary-hover);
  font-weight: 500;
  font-size: 1.1rem;
}

.section-left {
  padding: 3rem 1rem;
  text-align: left;
}

.section-left h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.1px;
}

.section-left p {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--color-primary-hover);
  font-weight: 500;
  font-size: 1.1rem;
}

.section-right {
  padding: 3rem 1rem;
  text-align: right;
}

.section-right h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 1.1px;
}

.section-right p {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--color-primary-hover);
  font-weight: 500;
  font-size: 1.1rem;
}

/* Footer */
footer {
  background: #111;
  color: #bbb;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
  user-select: none;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-links a {
  color: #bbb;
  font-size: 1.6rem;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  user-select: none;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--color-accent);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  nav {
    justify-content: space-between;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Change link colours to not show up on mobile */
@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  nav {
    justify-content: space-between;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"] {
  width: 320px;
  padding: 12px 16px;
  margin: 8px 0;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #eee;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  box-shadow: 0 0 8px #3b82f6; /* nice blue glow */
  background: #1a1a1a;
}

textarea {
  width: 500px;
  padding: 12px 16px;
  margin: 8px 0;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #eee;
  font-size: 1rem;
  transition: box-shadow 0.3s ease;
  resize: none;
}

button {
  width: 140px;
  padding: 12px 0;
  margin: 12px 8px 0 8px;
  background: var(--color-primary);
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.25s ease;
  box-shadow: 0 4px 6px rgba(59, 130, 246, 0.5);
}

button:hover {
  background: #2563eb; /* darker blue on hover */
  box-shadow: 0 6px 10px rgba(37, 99, 235, 0.7);
}

button:active {
  background: #1d4ed8; /* even darker on click */
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.9);
}

button:disabled {
  background: #555;
  cursor: not-allowed;
  box-shadow: none;
}

ul {
  list-style: none; 
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1;
}

li::before {
  content: "> ";
  position: relative;
  left: 0;
  color: #ff4b4b;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.25;
}

li:hover::before {
  content: "$ ";
  color: #04b146;
  transform: translateX(3px);
  transition: 0.2s ease;
}

.settings-container {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
}

.settings-btn {
  background: #000000;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #e7e7ea;
}

.dropdown {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  background: #141416;
  border: 1px solid #2a2a2f;
  border-radius: 8px;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.dropdown a {
  display: block;
  padding: 10px;
  color: #e7e7ea;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown a:hover {
  background: #2a2a2f;
}

.dropdown.show {
  display: block;
}
