* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #2C2C2C;
  line-height: 1.6;
  min-height: 100vh;
}

.navbar {
  width: 100%;
  background: linear-gradient(135deg, #C51A4A 0%, #E01E3C 100%);
  box-shadow: 0 4px 20px rgba(197, 26, 74, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
}

.navbar-logo:hover,
.navbar-logo:focus,
.navbar-logo:active {
  color: #ffffff;
  transform: scale(1.05);
  outline: none;
}

.navbar-links {
  display: flex;
  gap: 10px;
}

.navbar a {
  color: #ffffff;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.navbar a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
  z-index: -1;
}

.navbar a:hover::before,
.navbar a:focus::before {
  left: 0;
}

.navbar a:hover,
.navbar a:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  outline: none;
}

.navbar a:active {
  transform: translateY(0);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
}

.navbar a:active::before {
  left: 0;
}

.content {
  max-width: 1400px;
  margin: auto;
  padding: 60px 40px;
  animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  color: #C51A4A;
  font-size: 3em;
  font-weight: 800;
  margin-bottom: 30px;
  margin-top: 0;
  line-height: 1.2;
  position: relative;
  padding-bottom: 20px;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #C51A4A, #E01E3C);
  border-radius: 2px;
}

h2 {
  color: #C51A4A;
  font-size: 2em;
  font-weight: 700;
  margin-top: 60px;
  margin-bottom: 25px;
  position: relative;
  padding-left: 20px;
}

h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 30px;
  background: linear-gradient(180deg, #C51A4A, #E01E3C);
  border-radius: 3px;
}

h3 {
  color: #2C2C2C;
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 20px;
}

p {
  color: #4A4A4A;
  font-size: 16px;
  margin-bottom: 16px;
}

a {
  color: #C51A4A;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #E01E3C;
  text-decoration: underline;
}

ul, ol {
  color: #4A4A4A;
  line-height: 1.8;
}

li {
  margin-bottom: 8px;
}

quote,
blockquote {
  display: block;
  border-left: 5px solid #C51A4A;
  padding: 25px 30px;
  margin: 30px 0;
  font-style: italic;
  color: #555;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(197, 26, 74, 0.1);
  position: relative;
  font-size: 1.1em;
  line-height: 1.8;
}

blockquote::before {
  content: '"';
  font-size: 4em;
  color: #C51A4A;
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
}

pre {
  background-color: #2C2C2C;
  color: #E8E8E8;
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
  border-left: 4px solid #C51A4A;
}

code {
  background-color: #F0F0F0;
  color: #C51A4A;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 30px 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

img:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 40px rgba(197, 26, 74, 0.2);
}

iframe {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  margin: 30px 0;
  transition: transform 0.3s ease;
}

iframe:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(197, 26, 74, 0.2);
}

hr {
  border: none;
  border-top: 2px solid #E8E8E8;
  margin: 40px 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

table th {
  background: linear-gradient(135deg, #C51A4A 0%, #E01E3C 100%);
  color: #ffffff;
  padding: 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

table td {
  padding: 15px;
  border-bottom: 1px solid #E8E8E8;
  color: #4A4A4A;
}

table tr:last-child td {
  border-bottom: none;
}

table tr:hover {
  background-color: #F8F8F8;
  transform: scale(1.01);
  transition: all 0.2s ease;
}

table a {
  color: #C51A4A;
  font-weight: 500;
}

/* Card Styles */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin: 20px 0;
  transition: all 0.3s ease;
  border: 1px solid rgba(197, 26, 74, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(197, 26, 74, 0.15);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-link:hover {
  text-decoration: none;
}

.card-title {
  color: #C51A4A;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 0;
}

.card-content {
  color: #4A4A4A;
  line-height: 1.7;
}

/* Assignment Cards */
.assignment-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 5px solid #C51A4A;
  margin-bottom: 20px;
  position: relative;
}

.assignment-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px rgba(197, 26, 74, 0.2);
  border-left-width: 8px;
}

.assignment-card a {
  color: #2C2C2C;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  display: block;
}

.assignment-card a:hover {
  color: #C51A4A;
}

.assignment-card.pending {
  border-left-color: #ccc;
  opacity: 0.6;
}

.assignment-card.completed {
  border-left-color: #C51A4A;
}

.week-badge {
  display: inline-block;
  background: linear-gradient(135deg, #C51A4A 0%, #E01E3C 100%);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.week-badge.pending {
  background: linear-gradient(135deg, #999 0%, #777 100%);
}

.assignment-title {
  font-size: 1.2em;
  font-weight: 700;
  color: #2C2C2C;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.assignment-description {
  color: #666;
  font-size: 0.95em;
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 0;
}

.assignment-status {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.8em;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.assignment-status.completed {
  background: rgba(197, 26, 74, 0.1);
  color: #C51A4A;
}

.assignment-status.pending {
  background: rgba(153, 153, 153, 0.1);
  color: #999;
}

.assignments-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.assignments-section {
  margin: 50px 0;
}

.assignments-section h3 {
  color: #C51A4A;
  font-size: 1.3em;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #E8E8E8;
}

/* Section Styles */
.section {
  margin: 60px 0;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Link List Styles */
ul, ol {
  color: #4A4A4A;
  line-height: 2;
  padding-left: 0;
}

ul li, ol li {
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  list-style: none;
}

ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #C51A4A;
  font-weight: bold;
  font-size: 1.2em;
}

ol li {
  counter-increment: item;
  padding-left: 40px;
}

ol {
  counter-reset: item;
}

ol li::before {
  content: counter(item) '.';
  position: absolute;
  left: 0;
  color: #C51A4A;
  font-weight: bold;
  font-size: 1.1em;
}

footer {
  font-size: 14px;
  color: #999;
  text-align: center;
  padding: 60px 40px 40px 40px;
  background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
  margin-top: 80px;
  color: #ccc;
}

footer p, footer a {
  font-size: 14px;
  color: #ccc;
  margin: 10px 0;
}

footer a {
  color: #C51A4A;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.sketchfab-embed-wrapper {
  margin: 30px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sketchfab-embed-wrapper iframe {
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column;
    gap: 15px;
    padding: 15px 20px;
  }

  .navbar-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .content {
    padding: 30px 20px;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section {
    padding: 25px;
  }
}
