
:root {
  --primary-purple: #4c1d95;
  --primary-indigo: #7c3aed;
  --secondary-teal: #06b6d4;
  --secondary-cyan: #0891b2;
  --accent-bright: #00ffff;
  --background-dark: #0f172a;
  --background-slate: #1e293b;
  --background-light: #334155;
  --background-card: #1e293b;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-light: #334155;
  --border-medium: #475569;
  --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(0, 255, 255, 0.2);
  --border-radius: 12px;
  --border-radius-large: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

/* Local Poppins Font */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background-dark);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(0, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
  background-size: 400px 400px;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
}

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-teal);
  text-decoration: underline;
  text-shadow: var(--shadow-glow);
}

/* Layout Components */
.fsc-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.fsc-section {
  padding: var(--spacing-2xl) 0;
}

.fsc-section-compact {
  padding: var(--spacing-xl) 0;
}

/* Header Styles */
.fsc-header {
  background: var(--background-slate);
  border-bottom: 1px solid var(--border-medium);
  padding: var(--spacing-lg) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
}

.fsc-header .fsc-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Burger Menu */
.fsc-burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.fsc-burger-line {
  width: 100%;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
  box-shadow: 0 0 5px rgba(0, 255, 255, 0.3);
}

.fsc-burger-menu.active .fsc-burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.fsc-burger-menu.active .fsc-burger-line:nth-child(2) {
  opacity: 0;
}

.fsc-burger-menu.active .fsc-burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.fsc-logo {
  display: flex;
  align-items: center;
}

.fsc-logo img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.fsc-logo img:hover {
  opacity: 0.9;
}

.fsc-nav ul {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}

.fsc-nav a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: var(--spacing-xs) 0;
}

.fsc-nav a:hover {
  color: var(--accent-bright);
  text-decoration: none;
  text-shadow: var(--shadow-glow);
}

/* Hero Section - Clean Split Layout */
.fsc-hero {
  background: linear-gradient(135deg, var(--background-slate) 0%, var(--background-dark) 100%);
  padding: var(--spacing-2xl) 0;
  display: flex;
  align-items: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.fsc-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.fsc-hero--split {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-2xl) var(--spacing-lg);
}

.fsc-hero--content-left {
  flex: 1;
  padding-right: var(--spacing-2xl);
  max-width: 600px;
}

.fsc-hero--content-right {
  flex: 1;
  padding-left: var(--spacing-2xl);
  max-width: 600px;
}

.fsc-hero--image-left {
  flex: 1;
  order: -1;
  margin-right: var(--spacing-xl);
}

.fsc-hero--image-right {
  flex: 1;
  margin-left: var(--spacing-xl);
}

.fsc-hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.fsc-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--primary-graphite);
}

.fsc-hero-content .fsc-hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-xl);
  color: var(--text-secondary);
  max-width: 500px;
}

.fsc-hero-content .fsc-btn {
  margin-top: var(--spacing-lg);
}

/* Hero Variations */
.fsc-hero--minimal {
  padding: var(--spacing-xl) 0;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fsc-hero--centered {
  flex-direction: column;
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.fsc-hero--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.fsc-hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.fsc-hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--secondary-teal) 50%, var(--primary-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.fsc-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.fsc-btn {
  display: inline-block;
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-indigo) 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius-large);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-medium), 0 0 20px rgba(124, 58, 237, 0.3);
  letter-spacing: 0.025em;
  position: relative;
  overflow: hidden;
}

.fsc-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.fsc-btn:hover::before {
  left: 100%;
}

.fsc-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large), 0 0 30px rgba(0, 255, 255, 0.5);
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 100%);
}

.fsc-btn-secondary {
  background: linear-gradient(135deg, var(--secondary-teal) 0%, var(--secondary-cyan) 100%);
  box-shadow: var(--shadow-medium), 0 0 20px rgba(6, 182, 212, 0.3);
}

.fsc-btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-cyan) 0%, var(--secondary-teal) 100%);
  box-shadow: var(--shadow-large), 0 0 30px rgba(0, 255, 255, 0.5);
}

/* Card Components */
.fsc-card {
  background: var(--background-card);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium), 0 0 15px rgba(0, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  position: relative;
  backdrop-filter: blur(10px);
}

.fsc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large), 0 0 25px rgba(0, 255, 255, 0.3);
  border-color: var(--accent-bright);
}

/* Badge Styles */
.fsc-prize-badge {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--secondary-teal) 100%);
  color: var(--background-dark);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.fsc-card-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--secondary-teal) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-lg);
}

.fsc-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.fsc-card-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--secondary-teal) 100%);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: var(--spacing-lg);
}

.fsc-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

.fsc-card-text {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.fsc-card-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-light);
}

/* Grid Layouts */
.fsc-grid {
  display: grid;
  gap: var(--spacing-xl);
}

.fsc-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.fsc-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

/* Prize Cards */
.fsc-prize-card {
  background: var(--background-card);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium), 0 0 20px rgba(0, 255, 255, 0.1);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  margin-bottom: var(--spacing-lg);
  backdrop-filter: blur(10px);
}

.fsc-prize-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-large), 0 0 30px rgba(0, 255, 255, 0.3);
  border-color: var(--accent-bright);
}

.fsc-prize-image {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.fsc-prize-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.fsc-prize-content {
  padding: var(--spacing-xl);
}

.fsc-prize-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.fsc-prize-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  font-size: 1.05rem;
}

.fsc-prize-date {
  display: inline-block;
  background: var(--background-light);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-bright);
  border: 1px solid var(--border-medium);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

/* Winners Table */
.fsc-winners-table {
  background: var(--background-card);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium), 0 0 20px rgba(0, 255, 255, 0.1);
  overflow: hidden;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.fsc-winners-table table {
  width: 100%;
  border-collapse: collapse;
}

.fsc-winners-table th,
.fsc-winners-table td {
  padding: var(--spacing-lg);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.fsc-winners-table th {
  background: var(--background-light);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-medium);
}

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

.fsc-winners-table tr:hover {
  background: var(--background-light);
  box-shadow: inset 0 0 10px rgba(0, 255, 255, 0.1);
}

/* Forms */
.fsc-form-group {
  margin-bottom: var(--spacing-lg);
}

.fsc-form-label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  color: var(--primary-graphite);
  font-size: 0.95rem;
}

.fsc-form-input,
.fsc-form-textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-medium);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--background-slate);
  color: var(--text-primary);
}

.fsc-form-input:focus,
.fsc-form-textarea:focus {
  outline: none;
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.2);
  background: var(--background-card);
}

.fsc-form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.fsc-form-error {
  color: #dc2626;
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

/* Filters */
.fsc-filter-group {
  margin-bottom: var(--spacing-2xl);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.fsc-filter-select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  background: var(--background-white);
  font-family: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}

.fsc-filter-select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

/* Legal Information */
.fsc-legal-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-indigo) 100%);
  color: white;
  padding: var(--spacing-2xl) 0;
  position: relative;
  overflow: hidden;
}

.fsc-legal-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.fsc-legal-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.fsc-legal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-bright);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.fsc-legal-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  font-size: 1rem;
}

/* Footer */
.fsc-footer {
  background: var(--background-slate);
  border-top: 1px solid var(--border-medium);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  backdrop-filter: blur(10px);
}

.fsc-footer .fsc-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-2xl);
}

.fsc-footer-section h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
  font-weight: 600;
}

.fsc-footer-links {
  list-style: none;
}

.fsc-footer-links li {
  margin-bottom: var(--spacing-sm);
}

.fsc-footer-links a {
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 0.95rem;
}

.fsc-footer-links a:hover {
  color: var(--accent-bright);
  text-decoration: none;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.fsc-footer-bottom {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-medium);
  text-align: center;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-indigo) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  line-height: 1.6;
  padding: var(--spacing-lg);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .fsc-header .fsc-container {
    position: relative;
  }

  .fsc-burger-menu {
    display: flex;
  }

  .fsc-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--background-slate);
    box-shadow: var(--shadow-large), 0 0 30px rgba(0, 255, 255, 0.2);
    transition: left 0.3s ease;
    z-index: 99;
    padding-top: 80px;
    border-right: 1px solid var(--border-medium);
    backdrop-filter: blur(20px);
  }

  .fsc-nav.active {
    left: 0;
  }

  .fsc-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 var(--spacing-lg);
  }

  .fsc-nav li {
    border-bottom: 1px solid var(--border-light);
  }

  .fsc-nav li:last-child {
    border-bottom: none;
  }

  .fsc-nav a {
    display: block;
    padding: var(--spacing-lg) 0;
    font-size: 1.1rem;
    font-weight: 500;
  }

  h1 {
    font-size: 2.25rem;
  }

  .fsc-hero {
    padding: var(--spacing-xl) 0;
    flex-direction: column;
    min-height: auto;
  }

  .fsc-hero--split {
    flex-direction: column;
  }

  .fsc-hero--content-left {
    padding-right: 0;
    max-width: none;
    margin-bottom: var(--spacing-xl);
  }

  .fsc-hero--image-right {
    margin-left: 0;
    margin-top: 0;
    order: -1;
  }

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

  .fsc-hero-subtitle {
    font-size: 1.1rem;
  }

  .fsc-grid-3 {
    grid-template-columns: 1fr;
  }

  .fsc-grid-2 {
    grid-template-columns: 1fr;
  }

  .fsc-section {
    padding: var(--spacing-xl) 0;
  }

  .fsc-prize-content {
    padding: var(--spacing-lg);
  }

  .fsc-winners-table {
    overflow-x: auto;
  }

  .fsc-winners-table table {
    min-width: 600px;
  }

  .fsc-filter-group {
    flex-direction: column;
    align-items: center;
  }

  .fsc-footer .fsc-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .fsc-container {
    padding: 0 var(--spacing-md);
  }

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

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

  .fsc-hero-image {
    height: 250px;
  }

  .fsc-btn {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
  }

  .fsc-card-content {
    padding: var(--spacing-md);
  }

  .fsc-winners-table th,
  .fsc-winners-table td {
    padding: var(--spacing-md);
  }

  .fsc-nav ul {
    gap: var(--spacing-md);
  }
}

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

.fsc-mb-0 { margin-bottom: 0; }
.fsc-mb-1 { margin-bottom: var(--spacing-sm); }
.fsc-mb-2 { margin-bottom: var(--spacing-md); }
.fsc-mb-3 { margin-bottom: var(--spacing-lg); }

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for keyboard navigation */
.fsc-btn:focus,
.fsc-form-input:focus,
.fsc-form-textarea:focus,
.fsc-filter-select:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border-light: #000000;
    --border-medium: #000000;
    --text-secondary: #000000;
  }
}

/* Print styles */
@media print {
  .fsc-header,
  .fsc-footer,
  .fsc-btn,
  .fsc-nav {
    display: none !important;
  }

  body {
    background: white !important;
  }

  .fsc-card,
  .fsc-winners-table {
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
}