/* Modern CSS Reset & Variable Definitions */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #003333;
  --bg-secondary: #002626;
  --bg-tertiary: #004040;
  --accent-color: #cc9966;
  --accent-gradient: linear-gradient(135deg, #cc9966 0%, #b3804d 100%);
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(0, 38, 38, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 900px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background decorative gradient orbs */
body::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 153, 102, 0.12) 0%, rgba(204, 153, 102, 0.03) 50%, rgba(0,0,0,0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Header & Navigation Styles */
header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  letter-spacing: -0.025em;
  transition: var(--transition-smooth);
}

.logo:hover {
  opacity: 0.9;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.03);
  padding: 0.25rem;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
}

nav a {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.925rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

nav li.active a {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(204, 153, 102, 0.25);
}

/* Main Container Layout */
main {
  flex: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Hero Section (Home Page) */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero h1 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2rem;
  font-weight: 400;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  background: var(--accent-gradient);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(204, 153, 102, 0.25);
  transition: var(--transition-smooth);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 153, 102, 0.35);
}

/* Links Page Styling */
.page-header {
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-secondary);
}

.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.link-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  min-height: 100px;
}

.link-card:hover {
  transform: translateY(-3px);
  border-color: rgba(204, 153, 102, 0.4);
  box-shadow: var(--shadow-md);
  background-color: var(--bg-tertiary);
}

.link-card svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-secondary);
  transition: var(--transition-smooth);
}

.link-card:hover svg {
  stroke: var(--accent-color);
  transform: scale(1.15);
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

footer a {
  color: var(--text-primary);
  text-decoration: none;
}

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