/* I replaced the solid background color with a full-screen gradient and added transparency to the boxes to create a modern, deep visual effect. */
:root {
  --text-color: #222222;
  --accent-color: #ff0844;
  --box-bg: rgba(255, 255, 255, 0.95);
  --hover-color: #c9002b;
  --shadow-color: rgba(0, 0, 0, 0.25);
}

/* A universal reset removes the default browser margins and padding so the layout stays consistent across all browsers. */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* I applied a fixed linear gradient to the body. Using background-attachment: fixed prevents the gradient from stretching or repeating awkwardly when scrolling. */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  color: var(--text-color);
  line-height: 1.6;
  padding: 40px 20px;
}

/* I used Flexbox on the main container layout to center the content on the page and make it stack neatly on smaller screens. */
#page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

/* I added a glass-like backdrop filter, heavily rounded corners, and a transform transition. This creates a floating card effect that physically lifts off the page when hovered over. */
.intro {
  background-color: var(--box-bg);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px var(--shadow-color);
  margin-bottom: 40px;
  width: 100%;
  backdrop-filter: blur(10px);
  border-top: 6px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* I used webkit-background-clip to apply a gradient directly to the text of the h1 header. This draws the eye immediately to the title. */
h1 {
  background: linear-gradient(to right, #ff0844 0%, #ffb199 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 4em;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* I styled the subheaders h2 and h3 with a thick bottom border that acts as an underline to separate sections cleanly. */
h2, h3 {
  color: #333333;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 15px;
  border-bottom: 4px solid #ffb199;
  display: inline-block;
  padding-bottom: 5px;
}

/* I transformed the standard text links into solid colored buttons. This makes them stand out as clear, clickable actions rather than just blue text. */
a {
  color: #ffffff;
  background-color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
  display: inline-block;
  margin: 2px 0;
}

a:hover {
  background-color: var(--hover-color);
  transform: scale(1.05);
}

/* I used CSS Grid for the sidebar elements to split the extra content into two even columns. It is much cleaner than floating elements. */
.sidebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  width: 100%;
}