/* Global Styles */
:root {
  --bg-color: #0b0c10;
  --card-bg: #161920;
  --gold-primary: #d4af37;
  --gold-secondary: #f3e5ab;
  --gold-dark: #aa8c2c;
  --text-color: #e0e0e0;
  --text-muted: #a0a0a0;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Nav */
header {
  background-color: #000000;
  border-bottom: 2px solid var(--gold-primary);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.logo-text {
  color: var(--gold-primary);
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

nav a:hover, nav a.active {
  color: var(--gold-primary);
}

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

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 1.5rem;
  background: radial-gradient(circle, #1a1c23 0%, #0b0c10 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
  color: var(--gold-primary);
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.hero p {
  color: var(--gold-secondary);
  font-size: 1.3rem;
  font-weight: 300;
}

/* Section Box */
.section-box {
  background-color: var(--card-bg);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 10px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.section-title {
  color: var(--gold-primary);
  border-bottom: 1px solid var(--gold-primary);
  padding-bottom: 0.6rem;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background-color: #0f1115;
  border: 1px solid #2a2d34;
  border-radius: 8px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-color);
  display: block;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.15);
}

.card-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  background-color: #1a1d24;
  color: var(--gold-primary);
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.2);
}

.card h3, .card h2 {
  color: var(--gold-secondary);
  font-size: 1.3rem;
}

/* Resource List */
.resource-item {
  background-color: #0f1115;
  border: 1px solid #2a2d34;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.resource-info h3 {
  color: var(--gold-secondary);
  margin-bottom: 0.3rem;
}

.resource-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Button */
.btn-register, .btn-download {
  display: inline-block;
  background-color: var(--gold-primary);
  color: #000000;
  padding: 0.6rem 1.8rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-align: center;
}

.btn-register:hover, .btn-download:hover {
  background-color: var(--gold-secondary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Footer */
footer {
  background-color: #000000;
  border-top: 2px solid var(--gold-primary);
  text-align: center;
  padding: 2rem;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.95rem;
}

footer a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
}

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