/* Radio Hacking Village Website Styles */

:root {
  --primary-color: #2c5f2d;
  --secondary-color: #97bc62;
  --accent-color: #f39c12;
  --background-color: #0f1419;
  --surface-color: #1a1f2b;
  --text-color: #e5e5e5;
  --text-secondary: #b3b3b3;
  --border-color: #2d3748;
  --success-color: #48bb78;
  --warning-color: #ed8936;
  --error-color: #e53e3e;
  --easy-color: #48bb78;
  --medium-color: #ed8936;
  --hard-color: #e53e3e;
  --expert-color: #9f7aea;
}

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

body {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  line-height: 1.6;
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: 14px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
header {
  background-color: var(--surface-color);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Clean Navigation Layout */
nav.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  min-height: 70px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: block;
}

.nav-links a:hover {
  color: var(--secondary-color);
  background-color: rgba(151, 188, 98, 0.1);
}

.mobile-menu-toggle {
  display: none;
}

.logos-corner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 1rem;
  border-right: 1px solid var(--border-color);
}

.corner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  transition: all 0.2s ease-in-out;
}

.logo-separator {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.main-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.event-logo-link:hover .corner-logo,
.sponsor-logo-link:hover .corner-logo {
  opacity: 0.8;
  transform: scale(1.05);
}

.brand-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--secondary-color);
  flex: 1;
}

.event-badge {
  display: inline-flex;
  background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
  border-radius: 50%;
  padding: 0.4rem;
  box-shadow: 0 2px 8px rgba(255, 87, 51, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-badge:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 87, 51, 0.3);
}

.event-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: transform 0.3s ease;
}

.event-logo {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

.event-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.brand-sponsor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0.8;
}

.sponsor-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sponsor-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.sponsor-link:hover {
  color: var(--secondary-color);
}

.sponsor-logo {
  height: 16px;
  width: auto;
}

.sponsor-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
}

.sponsor-text {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sponsor-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
}


/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 20px;
  padding: 0;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-color);
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
  text-align: center;
}

h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  color: var(--accent-color);
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin: 1.5rem 0 0.5rem 0;
  color: var(--secondary-color);
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* List Styling */
ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
  color: var(--text-color);
}

ol {
  counter-reset: list-counter;
  margin: 1rem 0;
  padding-left: 0;
}

ol > li {
  list-style: none;
  counter-increment: list-counter;
  position: relative;
  margin-bottom: 1rem;
  padding-left: 2.5rem;
  line-height: 1.6;
}

ol > li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  color: var(--accent-color);
  width: 2rem;
  text-align: left;
  background: var(--surface-color);
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

ul > li {
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

li ul, li ol {
  margin: 0.8rem 0;
  padding-left: 0;
}

li ul > li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
}

li ul > li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.activity-card ol > li > * {
  flex: 1;
  margin: 0;
}

.activity-card ul {
  margin: 0.8rem 0;
  padding-left: 0;
}

.activity-card li ul {
  margin: 0.8rem 0 0 0;
}

/* Activity completion buttons */
.activity-completion {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem 1rem 1.5rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.completion-btn {
    background: linear-gradient(135deg, var(--success-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 200px;
    justify-content: center;
}

.completion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(72, 187, 120, 0.4);
    background: linear-gradient(135deg, #5cbf60, #a8c878);
}

.completion-btn:active {
    transform: translateY(0);
}

.completion-btn.completed {
    background: linear-gradient(135deg, var(--success-color), #4a9d4e);
    cursor: default;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.completion-btn.completed:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(72, 187, 120, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-text {
    font-family: inherit;
    font-weight: 700;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
  border-bottom: 1px solid var(--border-color);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
}

/* Activity Cards */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.activity-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  margin-bottom: 2rem;
}

.activity-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-color);
}

/* Step Card Layout */
.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  position: relative;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-color);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  width: 60px;
  padding-top: 0;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  border: 3px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.step-line {
  width: 3px;
  height: 80px;
  background: var(--border-color);
  margin-top: 0.5rem;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.step-card:last-child .step-line {
  display: none;
}

.activity-content {
  flex: 1;
  min-width: 0;
  padding: 0;
  padding-top: 0.25rem;
}

/* Activity Content Styling */
.activity-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.activity-card p strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.activity-card ol {
  margin: 1.5rem 0;
  padding: 0 !important;
  list-style: none !important;
  list-style-type: none !important;
  list-style-position: outside !important;
  list-style-image: none !important;
}

.activity-card ol li {
  display: block !important;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
  line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  list-style: none !important;
  list-style-type: none !important;
  list-style-position: outside !important;
  list-style-image: none !important;
}

.activity-card ol li::marker {
  display: none !important;
  content: none !important;
}

.activity-card ol li::before {
  display: none !important;
  content: none !important;
}

.activity-card ol li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.activity-card ol li > div,
.activity-card ol li > p,
.activity-card ol li > ul,
.activity-card ol li > .file-info-card {
  width: 100%;
  overflow-wrap: break-word;
}

/* Activity step content styling */
.activity-card ol li > p {
  margin-bottom: 0.75rem;
  color: var(--text-color);
}

.activity-card ol li > p:last-child {
  margin-bottom: 0;
}

.activity-card ol li strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* Nested content in activity steps */
.activity-card ol li .file-info-card {
  margin: 1rem 0;
  background: var(--background-color);
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.activity-card ol li .download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.activity-card ol li .download-link:hover {
  background: #e67e22;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

/* Activity expand/collapse functionality */
.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.activity-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expand-btn {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
}

.expand-btn:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.expand-icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.activity-body.collapsed {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.activity-body {
  max-height: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.activity-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.activity-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.activity-card ul {
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.activity-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(243, 156, 18, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--accent-color);
  color: var(--text-color);
  line-height: 1.5;
  position: relative;
}

.activity-card ul li::before {
  content: '📋';
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* File Information Styling */
.activity-card ul li strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* File and Technical Info Cards */
.file-info-card {
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.file-info-card .file-name {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.file-info-card .file-name::before {
  content: '📁';
  font-size: 1.2rem;
}

.file-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.spec-item {
  background: var(--background-color);
  padding: 0.75rem;
  border-radius: 6px;
  border-left: 3px solid var(--secondary-color);
}

.spec-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.spec-value {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Step States */
.step-card.completed .step-number {
  background: var(--success-color);
  color: white;
  border-color: var(--success-color);
  transform: scale(1.1);
}

.step-card.completed .step-line {
  background: var(--success-color);
}

.step-card.active .step-number {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.2);
}

.step-card.active {
  border-color: var(--accent-color);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.1);
}

/* Step Number Icons */
.step-card.completed .step-number::after {
  content: '✓';
  position: absolute;
  font-weight: bold;
  font-size: 1rem;
}

.step-card.completed .step-number {
  font-size: 0;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  margin-top: 0;
}

.activity-title {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.activity-title h3 {
  margin: 0;
  line-height: 1.3;
  margin-top: 0.1rem;
}

/* Completed Activity States */
.step-card.completed .activity-title h3 {
  color: var(--success-color);
  position: relative;
}

.step-card.completed .activity-title h3::after {
  content: ' ✓';
  color: var(--success-color);
  font-weight: bold;
  margin-left: 0.5rem;
}

.activity-title {
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.difficulty-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.difficulty-easy {
  background-color: var(--easy-color);
  color: white;
}

.difficulty-medium {
  background-color: var(--medium-color);
  color: white;
}

.activity-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.activity-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 500;
}

.activity-meta strong {
  color: var(--accent-color);
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0.5rem 0.5rem 0.5rem 0;
}

.download-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.4);
  background: linear-gradient(135deg, #e67e22 0%, var(--accent-color) 100%);
}

.download-link::before {
  content: '⬇️';
  font-size: 1rem;
}

/* Challenge Table */
.challenge-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--surface-color);
  border-radius: 8px;
  overflow: hidden;
}

.challenge-table th,
.challenge-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.challenge-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
}

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

.challenge-table tr:hover {
  background-color: rgba(151, 188, 98, 0.1);
}

/* Challenge Sections */
.challenge-section {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin: 2rem 0;
  padding: 2rem;
}

.challenge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.challenge-difficulty {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
}

.difficulty-hard {
  background-color: var(--hard-color);
  color: white;
}

.difficulty-expert {
  background-color: var(--expert-color);
  color: white;
}

/* Collapsible Hints */
details {
  margin: 1rem 0;
  background-color: rgba(151, 188, 98, 0.1);
  border-radius: 4px;
  padding: 1rem;
}

summary {
  cursor: pointer;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

summary:hover {
  color: var(--secondary-color);
}

details[open] summary {
  margin-bottom: 1rem;
}

/* Code Blocks */
pre {
  background-color: #1e1e1e;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
  margin: 1rem 0;
}

code {
  background-color: rgba(151, 188, 98, 0.2);
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9rem;
}

pre code {
  background-color: transparent;
  padding: 0;
}

/* Progress Bridge */
.progress-bridge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 3rem 0;
  text-align: center;
  margin: 3rem 0;
  border-radius: 8px;
}

.progress-bridge h2 {
  color: white;
  border-left: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.achievements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.achievement {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 4px;
}

/* CTF Challenge Grid */
.ctf-challenges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.ctf-challenge {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  text-align: center;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tool-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.tool-card h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.tool-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.tool-link {
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 0.6rem;
  text-decoration: none;
  border-radius: 3px;
  font-size: 0.8rem;
  transition: background-color 0.3s ease;
}

.tool-link:hover {
  background-color: var(--secondary-color);
}

/* ================================
   FOOTER STYLES - Clean Professional Design
   ================================ */

footer {
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
  border-top: 2px solid var(--border-color);
  margin-top: 4rem;
  padding: 3rem 0 1.5rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Main Footer Layout */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-section {
  display: flex;
  flex-direction: column;
  min-height: 180px;
}

.footer-section h4 {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

.footer-section > div {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Conference Info */
.conference-info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.conference-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: var(--background-color);
  width: 100%;
  height: 100%;
  min-height: 120px;
}

.conference-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(151, 188, 98, 0.3);
  border-color: var(--secondary-color);
}

.conference-logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
  max-width: 100%;
}

.conference-link:hover .conference-logo {
  transform: scale(1.05);
}

/* Sponsor Info */
.sponsor-info {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.sponsor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--background-color);
  transition: all 0.3s ease;
  width: 100%;
  height: 100%;
  min-height: 120px;
}

.sponsor-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-color);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
}

.sponsor-logo {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
  max-width: 100%;
}

.sponsor-link:hover .sponsor-logo {
  transform: scale(1.05);
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.social-link {
  display: block;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--background-color);
  transition: all 0.3s ease;
  font-weight: 500;
  text-align: center;
  font-size: 0.9rem;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  border-color: var(--primary-color);
}

/* Conference Section */
.footer-conference {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-conference .conference-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.conference-text {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.footer-conference .conference-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--background-color);
}

.footer-conference .conference-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(151, 188, 98, 0.2);
  border-color: var(--secondary-color);
}

.footer-conference .conference-logo {
  height: 35px;
  width: auto;
  transition: all 0.3s ease;
}

.footer-conference .conference-link:hover .conference-logo {
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Footer Mobile Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    min-height: 160px;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem 0;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-section {
    min-height: 140px;
  }
  
  .conference-link,
  .sponsor-link {
    padding: 2rem;
    min-height: 100px;
  }
  
  .conference-logo {
    height: 45px;
  }
  
  .sponsor-logo {
    height: 50px;
  }
  
  .social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .footer-section {
    min-height: 100px;
  }
  
  .social-links {
    grid-template-columns: 1fr;
  }
  
  .footer-section h4 {
    font-size: 1rem;
  }
  
  .conference-link,
  .sponsor-link {
    padding: 1rem;
    min-height: 60px;
  }
  
  .conference-logo {
    height: 35px;
  }
  
  .sponsor-logo {
    height: 45px;
  }
}

.footer-event {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.event-section {
  text-align: center;
}

.event-section h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.event-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-color);
  text-decoration: none;
  padding: 1rem 1.5rem;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: var(--surface-color);
  margin-bottom: 1.5rem;
}

.event-footer-link:hover {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 87, 51, 0.3);
}

.event-footer-logo {
  height: 32px;
  width: 32px;
  border-radius: 6px;
}

.event-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.2rem;
}

.event-footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
}

.event-footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
}

.event-footer-date {
  font-size: 0.8rem;
  color: var(--text-color);
  font-weight: 500;
}

.event-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.event-register-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--background-color);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.event-register-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 87, 51, 0.3);
}

.event-more-btn {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
}

.event-more-btn:hover {
  background-color: var(--accent-color);
  color: var(--background-color);
  transform: translateY(-2px);
}

.footer-sponsor {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.sponsor-section {
  text-align: center;
}

.sponsor-section h4 {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sponsor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-color);
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--background-color);
}

.sponsor-link:hover {
  border-color: var(--secondary-color);
  background-color: var(--surface-color);
  color: var(--secondary-color);
}

.sponsor-logo {
  height: 24px;
  width: auto;
}

.social-section h4 {
  color: var(--accent-color);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  border-color: var(--accent-color);
  background-color: var(--accent-color);
  color: var(--background-color);
  transform: translateY(-2px);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Prevent horizontal overflow for all text content */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }

  body {
    overflow-x: hidden;
  }

  /* Reset any browser defaults that might cause gaps */
  html, body {
    margin: 0;
    padding: 0;
  }

  /* Hide nav links by default on mobile - but keep in DOM for smooth animation */
  .nav-links {
    display: flex !important;
  }

  /* Hamburger line styling for mobile */
  .hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Mobile hamburger X animation */
  .mobile-menu-toggle.active {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px) !important;
    background-color: var(--text-color) !important;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0 !important;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px) !important;
    background-color: var(--text-color) !important;
  }

  .brand-main {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .event-badge {
    padding: 0.35rem;
  }

  .event-logo {
    height: 22px;
  }

  .brand-sponsor {
    gap: 0.5rem;
  }

  .sponsor-logo {
    height: 14px;
  }

  .footer-event .event-footer-link {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
    padding: 1rem;
  }

  .event-details {
    align-items: center;
    text-align: center;
  }

  .event-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .event-register-btn,
  .event-more-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .activities {
    grid-template-columns: 1fr;
  }

  .challenge-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .challenge-table {
    font-size: 0.8rem;
  }

  .challenge-table th,
  .challenge-table td {
    padding: 0.5rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .activity-card {
    padding: 1rem;
  }

  .challenge-section {
    padding: 1rem 0;
  }

  /* Even smaller signal chain for tiny screens */
  .signal-flow {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.4;
  }

  .signal-chain pre {
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    word-break: break-all;
    white-space: pre-wrap;
  }

  /* Logo and nav adjustments */
  .logo {
    font-size: 1rem;
  }

  .nav-links {
    gap: 0.5rem;
    font-size: 0.8rem;
  }

  /* Compact cards for small screens */
  .content-card {
    padding: 1rem;
    margin: 1rem 0;
  }

  .mod-card {
    padding: 1rem;
  }

  /* Better button sizing */
  .ctf-button {
    width: 100%;
    padding: 1rem;
    text-align: center;
  }

  /* Adjust table for mobile */
  .challenge-table {
    font-size: 0.7rem;
  }

  .challenge-table th,
  .challenge-table td {
    padding: 0.3rem;
  }
}

/* Extra Small Screens (320px and below) */
@media (max-width: 320px) {
  body {
    font-size: 12px;
    line-height: 1.5;
  }

  .container {
    padding: 0 0.5rem;
  }

  /* Navigation fixes */
  nav {
    padding: 1.2rem 0;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    min-height: 55px;
    justify-content: space-between;
  }

  .logo {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .nav-brand {
    gap: 0.6rem;
  }

  .brand-main {
    gap: 0.5rem;
  }

  .logo {
    font-size: 1rem;
  }

  .event-badge {
    padding: 0.3rem;
  }

  .event-logo {
    height: 20px;
  }

  .sponsor-text {
    font-size: 0.55rem;
  }

  .sponsor-logo {
    height: 12px;
  }

  .nav-sponsor-name {
    font-size: 0.65rem;
  }

  .nav-sponsor-logo {
    height: 12px;
  }

  .mobile-menu-toggle {
    width: 24px;
    height: 20px;
    padding: 2px;
  }

  .nav-links {
    padding: 0.8rem;
  }

  .nav-links a {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  /* Typography adjustments */
  h1 {
    font-size: 1.6rem;
    line-height: 1.1;
    margin-bottom: 0.8rem;
  }

  h2 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
    padding-left: 0.5rem;
  }

  h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
  }

  h4 {
    font-size: 1rem;
  }

  /* Content card fixes */
  .content-card {
    padding: 0.8rem;
    margin: 1rem 0;
  }

  .activity-card {
    padding: 0.8rem;
    margin: 1rem 0;
  }

  /* Signal flow extreme mobile fix */
  .signal-flow {
    font-size: 0.7rem;
    padding: 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: left;
    line-height: 1.3;
  }

  /* Activity meta fixes */
  .activity-meta {
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
    font-size: 0.8rem;
  }

  /* Activity header fixes */
  .activity-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Button improvements */
  .ctf-button {
    width: 100%;
    padding: 0.8rem;
    font-size: 0.9rem;
    text-align: center;
    margin: 0.5rem 0;
  }

  /* Tool links spacing */
  .tool-links {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .tool-link {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    min-width: 120px;
    text-align: center;
    display: block;
    width: 100%;
    max-width: 200px;
  }

  /* List improvements */
  ul, ol {
    padding-left: 1.8rem;
    margin-left: 0;
  }

  ol {
    counter-reset: list-counter;
  }

  ol > li {
    list-style: none;
    counter-increment: list-counter;
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 0.3rem;
  }

  ol > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.5rem;
    top: 0;
    font-weight: bold;
    color: var(--accent-color);
    width: 1.2rem;
    font-size: 0.8rem;
  }

  ul > li {
    margin-bottom: 0.3rem;
  }

  /* Code blocks */
  code {
    font-size: 0.7rem;
    padding: 0.1rem 0.3rem;
    word-break: break-all;
  }

  /* ASCII art fixes */
  .ascii-wave {
    font-size: 0.6rem;
    overflow-x: auto;
    white-space: pre;
    padding: 0.3rem;
  }

  /* Badge adjustments */
  .difficulty-badge,
  .mod-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
  }

  /* Connection info grid */
  .connection-info {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .info-item {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  /* Success and key point boxes */
  .success-box,
  .key-point {
    padding: 0.6rem;
    margin: 0.8rem 0;
    font-size: 0.8rem;
  }

  /* Footer adjustments */
  footer {
    padding: 1rem 0;
    font-size: 0.7rem;
  }

  .footer-note {
    font-size: 0.6rem;
  }

  .footer-sponsor {
    gap: 1rem;
  }

  .social-section h4 {
    font-size: 0.9rem;
  }

  .social-links {
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
    width: 100%;
    max-width: 200px;
    text-align: center;
  }

  .sponsor-section h4 {
    font-size: 0.8rem;
  }

  .sponsor-link {
    padding: 0.5rem 0.8rem;
    font-size: 0.8rem;
  }

  .sponsor-logo {
    height: 18px;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.border-separator {
  border-top: 2px solid var(--border-color);
  margin: 3rem 0;
  padding-top: 3rem;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: var(--secondary-color);
  color: var(--background-color);
}

/* New Simplified Design Styles */

/* Hero Image Section */
.hero-image-section {
  background-color: var(--surface-color);
  padding: 2rem 0;
  border-bottom: 2px solid var(--border-color);
}

.hero-diagram {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--background-color) 100%);
}

.welcome-text {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Section Styles */
.section {
  padding: 3rem 0;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

/* Content Cards */
.content-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

/* Signal Chain */
.signal-chain {
  text-align: center;
  margin: 1.5rem 0;
  overflow-x: auto;
}

.signal-flow {
  background-color: var(--background-color);
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: 2px solid var(--accent-color);
  white-space: nowrap;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  border-radius: 4px;
}

.signal-chain pre {
  background-color: var(--background-color);
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: 2px solid var(--accent-color);
  white-space: nowrap;
  min-width: fit-content;
}

.signal-chain-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.chain-step {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  min-width: 200px;
  text-align: center;
}

.chain-arrow {
  font-size: 2rem;
  color: var(--accent-color);
}

/* Column Layouts */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.three-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.column {
  background-color: rgba(151, 188, 98, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.column h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Key Points */
.key-point {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
  position: relative;
  overflow: hidden;
}

.key-point::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.key-point strong {
  position: relative;
  z-index: 1;
}

/* ASCII Wave Art */
.ascii-wave {
  font-size: 0.8rem;
  line-height: 1.2;
  color: var(--secondary-color);
}

/* Modulation Grid */
.modulation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.mod-card {
  background-color: rgba(151, 188, 98, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.mod-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-color);
}

.mod-card.highlight {
  border: 2px solid var(--accent-color);
  background-color: rgba(243, 156, 18, 0.1);
}

.mod-card h4 {
  color: var(--secondary-color);
  margin-bottom: 0.8rem;
}

.mod-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.mod-badge.basic {
  background-color: var(--easy-color);
  color: white;
}

.mod-badge.intermediate {
  background-color: var(--medium-color);
  color: white;
}

.mod-badge.advanced {
  background-color: var(--hard-color);
  color: white;
}

.mod-badge.important {
  background-color: var(--accent-color);
  color: white;
}

/* Difficulty Badges for Activities */
.difficulty-badge.easy {
  background-color: var(--easy-color);
  color: white;
}

.difficulty-badge.medium {
  background-color: var(--medium-color);
  color: white;
}

/* Video Link */
.video-link {
  background-color: rgba(243, 156, 18, 0.1);
  border-left: 4px solid var(--accent-color);
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

/* Success Box */
.success-box {
  background: linear-gradient(135deg, rgba(72, 187, 120, 0.1) 0%, rgba(72, 187, 120, 0.05) 100%);
  border: 1px solid var(--success-color);
  border-left: 4px solid var(--success-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 12px;
  color: var(--success-color);
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(72, 187, 120, 0.1);
  position: relative;
  overflow: hidden;
}

.success-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

/* Completion Celebration */
.completion-celebration {
  background: 
    radial-gradient(circle at 20% 30%, rgba(15, 20, 25, 0.95) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(26, 31, 43, 0.9) 0%, transparent 40%),
    radial-gradient(circle at 40% 80%, rgba(45, 55, 72, 0.8) 0%, transparent 35%),
    radial-gradient(circle at 60% 20%, rgba(68, 90, 120, 0.7) 0%, transparent 30%),
    linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 30%, #2a3441 70%, #334155 100%);
  color: var(--text-color);
  padding: 3rem;
  border-radius: 20px;
  margin-top: 3rem;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.8),
    0 8px 32px rgba(15, 20, 25, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--border-color);
}

.completion-celebration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(151, 188, 98, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 30%, rgba(97, 172, 98, 0.1) 0%, transparent 30%),
    radial-gradient(circle at 40% 70%, rgba(243, 156, 18, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 70% 80%, rgba(229, 231, 235, 0.03) 0%, transparent 25%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.completion-celebration::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(151, 188, 98, 0.03), transparent);
  animation: rotate 8s linear infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0%, 100% { 
    opacity: 0.8; 
    transform: translateX(-10px) translateY(-5px);
  }
  50% { 
    opacity: 1; 
    transform: translateX(10px) translateY(5px);
  }
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.celebration-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 3;
}

.celebration-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.celebration-header h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.celebration-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 500;
}

.journey-summary {
  position: relative;
  z-index: 3;
  margin-bottom: 2.5rem;
}

.journey-text {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.skill-item {
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.skill-icon {
  font-size: 2.5rem;
  min-width: 60px;
  text-align: center;
}

.skill-content {
  flex: 1;
}

.skill-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.skill-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.skill-check {
  font-size: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.next-step-cta {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 3;
}

.cta-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.cta-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.cta-button {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  min-width: -webkit-fill-available;
  min-width: fit-content;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  color: var(--success-color);
}

.cta-button .arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* Completion Responsive Design */
@media (max-width: 768px) {
  .completion-celebration {
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 12px;
  }
  
  .celebration-header {
    margin-bottom: 1.5rem;
  }
  
  .celebration-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
  
  .celebration-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
  
  .celebration-subtitle {
    font-size: 1rem;
  }
  
  .journey-summary {
    margin-bottom: 1.5rem;
  }
  
  .journey-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }
  
  .skill-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .skill-icon {
    font-size: 2rem;
    min-width: 50px;
  }
  
  .skill-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .skill-content p {
    font-size: 0.85rem;
  }
  
  .skill-check {
    font-size: 1.25rem;
  }
  
  .next-step-cta {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .cta-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }
  
  .cta-content p {
    font-size: 0.9rem;
  }
  
  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* CTF Styles */
.ctf-card {
  background-color: var(--surface-color);
  border: 2px solid var(--accent-color);
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.connection-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-item {
  background-color: rgba(151, 188, 98, 0.1);
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.info-item code {
  background-color: var(--background-color);
  padding: 0.5rem 1rem;
  display: block;
  margin-top: 0.5rem;
  font-size: 1.1rem;
  border-radius: 4px;
  border: 1px solid var(--secondary-color);
}

.ctf-access {
  text-align: center;
  margin: 2rem 0;
}

.ctf-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-color), var(--warning-color));
  color: white;
  padding: 1rem 3rem;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.ctf-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.ctf-note {
  background-color: rgba(237, 137, 54, 0.1);
  border-left: 4px solid var(--warning-color);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.ctf-goal {
  background-color: rgba(72, 187, 120, 0.1);
  border-left: 4px solid var(--success-color);
  padding: 1rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-weight: bold;
}

/* Tooling Grid */
.tooling-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tooling-card {
  background-color: rgba(151, 188, 98, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
}

.tooling-card h4 {
  color: var(--accent-color);
  margin-bottom: 0.8rem;
}

/* Tool Grid (alias for tools-grid) */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

/* Resource List */
.resource-list {
  list-style: none;
  padding-left: 0;
}

.resource-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.resource-list li:last-child {
  border-bottom: none;
}

/* Footer Note */
.footer-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Enhanced Responsive Design for New Elements */
@media (max-width: 768px) {
  .hero-diagram {
    max-width: 100%;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .two-column,
  .three-column {
    grid-template-columns: 1fr;
  }

  .modulation-grid {
    grid-template-columns: 1fr;
  }

  .tooling-grid {
    grid-template-columns: 1fr;
  }

  .connection-info {
    grid-template-columns: 1fr;
  }

  .ctf-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .resource-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Mobile Navigation */
  nav.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    min-height: 70px;
  }

  .nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    padding-right: 1rem;
  }

  .main-title {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .corner-logo {
    height: 28px;
    width: auto;
  }

  .logos-corner {
    padding-right: 0.75rem;
    border-right: 1px solid var(--border-color);
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10000;
    position: relative;
    border-radius: 4px;
    transition: background-color 0.3s ease;
  }

  .mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-links {
    position: fixed;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background-color: var(--surface-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    margin: 0 !important;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    border: none;
    box-shadow: none;
    overflow: hidden;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    list-style: none;
    margin: 0;
    text-align: center;
  }

  .nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    text-align: center;
    min-width: 200px;
  }

  .nav-links a:hover {
    background-color: var(--primary-color);
    color: white;
  }

  /* Mobile-specific signal chain optimizations */
  .signal-chain {
    overflow-x: auto;
    margin: 1rem 0;
  }

  .signal-flow {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    white-space: nowrap;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    overflow-x: auto;
  }

  .signal-chain pre {
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    white-space: nowrap;
    min-width: max-content;
    display: block;
    margin: 0 auto;
  }

  /* Better mobile navigation */
  nav {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav-brand {
    gap: 0.2rem;
  }

  .sponsor-text {
    font-size: 0.6rem;
  }

  .nav-sponsor-name {
    font-size: 0.7rem;
  }

  .nav-sponsor-logo {
    height: 14px;
  }

  .mobile-menu-toggle {
    width: 28px;
    height: 24px;
    padding: 4px;
  }

  /* Improve readability on mobile */
  body {
    font-size: 15px;
    line-height: 1.7;
  }

  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
  }

  h3 {
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
  }

  /* Better card spacing on mobile */
  .content-card {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .activity-card {
    padding: 1.5rem;
  }

  /* Activity header mobile improvements */
  .activity-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .activity-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  /* Better spacing for lists */
  ul, ol {
    padding-left: 1.5rem;
    margin-left: 0;
  }

  ol {
    counter-reset: list-counter;
  }

  ol > li {
    list-style: none;
    counter-increment: list-counter;
    position: relative;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
  }

  ol > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: -1.5rem;
    top: 0;
    font-weight: bold;
    color: var(--accent-color);
    width: 1.2rem;
  }

  ul > li {
    margin-bottom: 0.5rem;
  }

  /* ASCII art mobile optimization */
  .ascii-wave {
    font-size: 0.8rem;
    overflow-x: auto;
    white-space: pre;
  }

  /* Footer mobile optimizations */
  .footer-sponsor {
    gap: 1.5rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
  }

  .sponsor-link {
    padding: 0.6rem 1rem;
  }

  .sponsor-logo {
    height: 20px;
  }
}

/* New Footer Styles */
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-main {
  text-align: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-journey {
  font-size: 1rem;
  color: var(--text-color);
}

/* Updated Footer Styles */
/* Footer styles */


.conference-info, .sponsor-info, .social-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.conference-info h3, .sponsor-info h3, .social-links h3 {
  font-size: 1.1rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.conference-details {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
}

.conference-logo img {
  height: 60px;
  width: auto;
}

.conference-text h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.conference-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.date {
  margin-top: 0.5rem;
  font-size: 0.85rem !important;
  color: var(--accent-color) !important;
}

.more-info-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--surface-color);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  text-align: center;
}

.more-info-btn:hover {
  background-color: var(--warning-color);
  transform: translateY(-2px);
}

.sponsor-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.sponsor-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-color);
}

.sponsor-logo {
  height: 40px;
  width: auto;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--text-color);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.social-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
/* Footer styles */


  .conference-details {
    flex-direction: column;
    text-align: center;
  }

  .sponsor-content {
    flex-direction: column;
    text-align: center;
  }

  .social-buttons {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Learning Resources Styles */
.resource-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.resource-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.25rem;
}

.resource-content h5 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-color);
}

.resource-content p {
  margin: 0.5rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.resource-action .tool-link {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
}

.resource-action .tool-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.resource-action .tool-link + .tool-link {
  margin-left: 0.75rem;
}

@media (max-width: 768px) {
  .resource-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .resource-action {
    margin-top: 0.5rem;
  }
  
  .resource-action .tool-link {
    display: block;
    margin: 0.5rem 0;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .resource-action .tool-link + .tool-link {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0.5rem;
  }
}

@media (max-width: 768px) {
  .resource-list li {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .resource-list li .tool-link {
    display: block;
    margin: 0.5rem 0;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    text-align: center;
    min-width: 120px;
  }
}/* Updated Footer Styles */
.footer-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.conference-info {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
}

.powered-by, .social-links {
    background: var(--background-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.conference-details {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.conference-details:hover {
    background: var(--surface-color);
    transform: translateY(-2px);
}

.sponsor-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.sponsor-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.2s ease-in-out;
}

.sponsor-link:hover {
    background: var(--surface-color);
    transform: translateY(-2px);
}

.sponsor-text {
    text-align: center;
}

.sponsor-text span {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-btn {
    padding: 0.75rem;
    background: var(--surface-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
}

.conference-text {
    flex: 1;
}

.conference-text h3 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.conference-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.conference-text .conference-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 1rem;
}

.event-logo {
    height: 64px;
    width: auto;
}

.rudra-logo {
    height: 40px;
    width: auto;
    margin-top: 1rem;
}

.powered-by a {
    display: inline-block;
    transition: transform 0.2s ease-in-out;
}

.powered-by a:hover {
    transform: translateY(-2px);
}

.footer-info h3 {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
}

.footer-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-info {
        grid-template-columns: 1fr;
    }

    .conference-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .conference-text {
        text-align: center;
    }

    .conference-text br {
        display: none;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .event-logo {
        height: 48px;
    }

    .rudra-logo {
        height: 32px;
    }
}

/* Updated Footer Styles */
.footer-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.conference-info {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
    text-align: left;
}

.powered-by, .social-links {
    background: var(--background-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-logo {
    height: 64px;
    width: auto;
}

.conference-text {
    flex: 1;
}

.conference-text h3 {
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    color: var(--text-color);
}

.conference-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.conference-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 1rem;
}

.rudra-logo {
    height: 36px;
    width: auto;
    margin-top: 1.5rem;
}

.powered-by {
    justify-content: center;
}

.powered-by h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.powered-by a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}

.powered-by a:hover {
    transform: translateY(-2px);
}

.social-links h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.social-btn {
    padding: 1rem;
    background: var(--surface-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
}

/* Step Responsive Design */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-indicator {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .step-line {
        height: 3px;
        width: 50px;
        margin-top: 0;
    }
    
    .step-card:last-child .step-line {
        display: block;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .activity-content .activity-card {
        padding: 1.5rem;
    }
    
    .activity-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .activity-card ol li {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .download-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .success-box, .key-point {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .conference-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .conference-text {
        text-align: center;
    }

    .conference-text br {
        display: none;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .event-logo {
        height: 48px;
    }

    .rudra-logo {
        height: 32px;
    }
}

/* ================================
   PROFESSIONAL FOOTER STYLES
   ================================ */

/* Professional Footer */
.professional-footer {
    background: linear-gradient(135deg, #0a0e13 0%, var(--surface-color) 50%, #0f1419 100%);
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
}

.professional-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--secondary-color) 20%, 
        var(--accent-color) 50%, 
        var(--secondary-color) 80%, 
        transparent 100%
    );
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: start;
}

/* Footer Columns */
.footer-column {
    position: relative;
}

/* Brand Column */
.brand-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: translateY(-2px);
}

.brand-logo {
    height: 48px;
    width: auto;
    filter: brightness(1.1);
}

.brand-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    max-width: 300px;
}

/* Footer Headings */
.footer-heading {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 1px;
}

/* Social Links Column */
.social-column .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-column .social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-column .social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--secondary-color);
    transform: translateX(4px);
}

.social-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Conference Column */
.conference-column .conference-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.conference-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-color);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.conference-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.conference-logo {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.conference-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.conference-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.conference-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* Social Links */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.social-link {
    padding: 0.75rem;
    background: var(--surface-color);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-bottom .copyright {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

.footer-bottom .tagline {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    font-style: italic;
}

/* Professional Footer Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .brand-column {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .brand-tagline {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .professional-footer {
        padding: 3rem 0 1.5rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .brand-column {
        grid-column: 1;
        text-align: center;
        margin-bottom: 0;
    }

    .brand-logo {
        height: 40px;
    }

    .footer-heading {
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-column .social-links {
        gap: 0.5rem;
    }

    .social-column .social-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .conference-link {
        padding: 0.8rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
        align-items: center;
    }
    
    .conference-details {
        text-align: center;
        align-items: center;
    }

    .conference-logo {
        height: 35px;
    }

    .footer-bottom {
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .professional-footer {
        padding: 2rem 0 1rem 0;
    }

    .footer-grid {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .brand-logo {
        height: 36px;
    }

    .brand-tagline {
        font-size: 0.9rem;
    }

    .footer-heading {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .social-column .social-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .social-icon {
        font-size: 1rem;
        width: 18px;
    }

    .conference-link {
        padding: 0.6rem;
        align-items: center;
    }
    
    .conference-details {
        text-align: center;
        align-items: center;
    }

    .conference-logo {
        height: 30px;
    }

    .conference-name {
        font-size: 0.9rem;
    }

    .conference-desc {
        font-size: 0.8rem;
    }

    .footer-bottom .copyright {
        font-size: 0.85rem;
    }

    .footer-bottom .tagline {
        font-size: 0.8rem;
    }
}

/* Mobile Optimizations for Activities */
@media (max-width: 768px) {
    /* Step Card Mobile Layout */
    .step-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        overflow-x: hidden;
        word-wrap: break-word;
    }
    
    .step-indicator {
        flex-direction: row;
        width: 100%;
        align-items: center;
        padding-top: 0;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        margin-bottom: 0;
        margin-right: 1rem;
    }
    
    .step-line {
        flex: 1;
        width: 100%;
        height: 2px;
        margin-top: 0;
    }
    
    .step-card:last-child .step-line {
        display: block;
    }
    
    /* Activity Content Mobile */
    .activity-content {
        padding-top: 0;
        overflow-x: hidden;
        word-wrap: break-word;
        max-width: 100%;
    }
    
    .activity-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .activity-controls {
        align-self: flex-end;
        gap: 0.75rem;
    }
    
    .expand-btn {
        width: 28px;
        height: 28px;
    }
    
    .expand-icon {
        font-size: 0.7rem;
    }
    
    /* Activity Meta Mobile */
    .activity-meta {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .activity-meta span {
        font-size: 0.85rem;
    }
    
    /* File Info Cards Mobile */
    .file-info-card {
        padding: 1rem;
        margin: 0.75rem 0;
    }
    
    .file-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .file-specs {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .spec-item {
        padding: 0.5rem;
    }
    
    /* Activity Steps Mobile */
    .activity-card ol li {
        padding: 1rem;
        margin-bottom: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
    
    /* Completion Button Mobile */
    .completion-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .activity-completion {
        padding: 1.5rem 1rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Adjustments */
    .step-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }
    
    .activity-title h3 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    
    .activity-meta {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .file-info-card {
        padding: 0.75rem;
    }
    
    .activity-card ol li {
        padding: 0.75rem;
    }
    
    .completion-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 160px;
    }
}

/* Activity Controls Styling */
.activity-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expand-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
}

.expand-btn:hover {
    background: var(--border-color);
    transform: scale(1.1);
}

.expand-icon {
    color: var(--text-color);
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

/* Collapsed Activity State */
.activity-body.collapsed {
    display: none;
}

.activity-meta.collapsed {
    display: none;
}

/* Hide step line when collapsed */
.step-card.collapsed .step-line {
    display: none !important;
}