/* Simplified Rialo Design - Layered Depth Edition */

/* Color palette */
:root {
  --bg: #010101;
  --bg-elevated: #0a0a0a;
  --text: #e8e3d5;
  --text-muted: rgba(232, 227, 213, 0.65);
  --text-dim: rgba(232, 227, 213, 0.35);
  --border: rgba(232, 227, 213, 0.06);
  --border-hover: rgba(232, 227, 213, 0.12);
  --accent: rgba(169, 221, 211, 0.9);
  --accent-dim: rgba(169, 221, 211, 0.3);
  --glow: rgba(169, 221, 211, 0.08);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Layers - Creates depth through parallax */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-layer-1 {
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(169, 221, 211, 0.08) 0%, transparent 50%);
}

.bg-layer-2 {
  background: radial-gradient(ellipse 60% 40% at 80% 60%, rgba(169, 221, 211, 0.04) 0%, transparent 50%);
}

.bg-layer-3 {
  background: radial-gradient(ellipse 50% 30% at 20% 80%, rgba(169, 221, 211, 0.03) 0%, transparent 50%);
}

/* Film grain overlay - topmost layer */
.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation - Elevated layer */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(1, 1, 1, 0.95) 0%, rgba(1, 1, 1, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.7;
}

.logo-text {
  position: relative;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent), 0 0 24px var(--glow);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 12px var(--accent), 0 0 24px var(--glow); }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 8px var(--accent), 0 0 16px var(--glow); }
}

.nav-links {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: 3rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

/* Main Content */
.main {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Section - Multiple depth layers */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: auto;
  padding: 140px 4rem 60px;
  overflow: hidden;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-orb-1 {
  top: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.hero-orb-2 {
  bottom: 20%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(169, 221, 211, 0.04) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, -20px); }
  50% { transform: translate(-10px, 10px); }
  75% { transform: translate(15px, 15px); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232, 227, 213, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 227, 213, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.6;
}

/* Hero Backers */
.hero-backers {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 4rem;
}

.hero-backers .backers-group {
  margin-bottom: 2rem;
}

.hero-backers .backers-group:last-child {
  margin-bottom: 0;
}

.hero-backers .backers-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* Scroll indicator */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-top: 2rem;
  text-decoration: none;
}

.scroll-indicator:hover {
  color: var(--text);
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.scroll-line {
  display: none;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

/* Section Base - Layered appearance */
.section {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 1, 1, 0.5) 50%, transparent 100%);
  z-index: 0;
}

.section-content {
  position: relative;
  z-index: 1;
  padding: 6rem 4rem;
  border-top: 1px solid var(--border);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.section-title {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-number {
  font-size: 0.6875rem;
  font-family: monospace;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.view-archive {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.view-archive:hover {
  color: var(--text-muted);
}

.view-archive:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s ease;
}

.arrow-icon.small {
  width: 0.75rem;
  height: 0.75rem;
}

/* Docs Section - Cards with depth */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.docs-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.docs-card:hover {
  transform: translateY(-4px);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.docs-card:hover .card-glow {
  opacity: 1;
}

.card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.docs-card:hover .card-inner {
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5), 0 0 60px -30px var(--glow);
}

/* Hidden cards */
.hidden-card {
  display: none;
}

.docs-grid.expanded .hidden-card {
  display: block;
  animation: fadeIn 0.5s ease forwards;
}

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

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

.card-label {
  font-size: 0.625rem;
  font-family: monospace;
  letter-spacing: 0.15em;
  color: var(--accent-dim);
}

.card-date {
  font-size: 0.625rem;
  font-family: monospace;
  color: var(--text-dim);
}

.card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.docs-card:hover .card-title {
  color: var(--accent);
}

.card-description {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: auto;
  transition: color 0.3s ease, gap 0.3s ease;
}

.docs-card:hover .card-link {
  color: var(--accent);
  gap: 0.75rem;
}

/* Blog Section - Floating list items */
.blog-list {
  display: flex;
  flex-direction: column;
}

.blog-entry {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  margin: 0 -2rem;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  position: relative;
  border-radius: 4px;
}

.blog-entry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(169, 221, 211, 0.02) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 4px;
}

.blog-entry:hover {
  transform: translateX(8px);
  border-bottom-color: transparent;
}

.blog-entry:hover::before {
  opacity: 1;
}

.blog-entry:hover .entry-title {
  color: var(--accent);
}

.blog-entry:hover .entry-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Hidden entries */
.hidden-entry {
  display: none;
}

.blog-list.expanded .hidden-entry {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

.entry-date {
  font-size: 0.6875rem;
  font-family: monospace;
  color: var(--text-dim);
  width: 7rem;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.entry-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s ease;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.entry-arrow {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.entry-arrow svg {
  width: 100%;
  height: 100%;
}

/* Expand Section */
.expand-section {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  font-family: inherit;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.expand-btn:hover {
  color: var(--text-muted);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.3);
}

.expand-btn .collapse-text {
  display: none;
}

.expand-btn.expanded .expand-text {
  display: none;
}

.expand-btn.expanded .collapse-text {
  display: inline;
}

.expand-icon {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.3s ease;
}

.expand-btn.expanded .expand-icon {
  transform: rotate(180deg);
}

/* Footer - Grounded layer */
.footer {
  position: relative;
  padding: 2.5rem 4rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
}

.footer-logo .logo-dot {
  width: 4px;
  height: 4px;
  animation: none;
  opacity: 0.3;
  box-shadow: none;
}

.footer-copyright {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.social-link {
  color: var(--text-dim);
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  color: var(--text-muted);
  transform: translateY(-2px);
}

.social-icon {
  width: 1rem;
  height: 1rem;
}

/* Backers Section - Investors & Partners */
.backers-section {
  padding: 2.5rem 4rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.backers-group {
  margin-bottom: 1.5rem;
}

.backers-group:last-child {
  margin-bottom: 0;
}

.backers-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
  padding-left: 0;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.logo-track {
  display: flex;
  gap: 3rem;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.backer-logo {
  height: 28px;
  width: auto;
  opacity: 0.35;
  filter: grayscale(100%) brightness(2);
  transition: opacity 0.3s ease, filter 0.3s ease;
  flex-shrink: 0;
}

.backer-logo:hover {
  opacity: 0.7;
  filter: grayscale(0%) brightness(1);
}

.backer-logo.wide {
  height: 24px;
}

.logo-marquee.reverse .logo-track {
  animation-direction: reverse;
}

/* Contributors Section */
.contributors-section {
  padding: 6rem 4rem;
  border-top: 1px solid var(--border);
}

.contributors-section .section-header.centered {
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contributors-section .section-title {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.contributors-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.contributors-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.contributor-logo {
  height: 32px;
  width: auto;
  max-width: 100%;
  opacity: 0.5;
  filter: invert(1) grayscale(100%);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.contributor-logo:hover {
  opacity: 0.9;
  filter: invert(1) grayscale(0%);
  transform: scale(1.1);
}

/* Responsive */
@media (min-width: 768px) {
  .blog-entry {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 991px) {
  .nav {
    padding: 1rem 2rem;
  }

  .hero {
    padding: 140px 2rem 60px;
  }

  .scroll-indicator {
    left: 2rem;
  }

  .section-content {
    padding: 4rem 2rem;
  }

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

  .backers-section {
    padding: 2rem 2rem 1.5rem;
  }

  .contributors-section {
    padding: 4rem 2rem;
  }

  .contributors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer {
    padding: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* Mobile hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 767px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex !important;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    width: calc(100% - 40px);
    max-width: 320px;
    height: auto;
    background: #010101;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(232, 227, 213, 0.3);
    border-radius: 12px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
  }

  .nav-links .nav-link {
    padding: 0.75rem 0;
    width: 100%;
    border-bottom: none;
  }

  .nav-link {
    font-size: 1rem;
    letter-spacing: 0.1em;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99;
  }

  .nav-overlay.active {
    display: block;
  }

  .hamburger.active {
    position: fixed;
    top: 1rem;
    right: 1.5rem;
    z-index: 101;
  }

  .hero {
    padding: 120px 1.5rem 40px;
    min-height: auto;
  }

  .hero-grid {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .section-content {
    padding: 3rem 1.5rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
  }

  .card-inner {
    padding: 1.25rem;
  }

  .blog-entry {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.375rem;
    padding: 1.25rem 1.5rem;
    margin: 0 -1.5rem;
  }

  .blog-entry:hover {
    transform: none;
  }

  .entry-date {
    width: auto;
  }

  .entry-arrow {
    display: none;
  }

  .footer {
    padding: 2rem 1.5rem;
  }

  .backers-section {
    padding: 3rem 1.5rem;
  }

  .backers-group {
    margin-bottom: 3rem;
  }

  .logo-track {
    gap: 2.5rem;
    animation-duration: 20s;
  }

  .backer-logo {
    height: 32px;
  }

  .backer-logo.wide {
    height: 28px;
  }

  .contributors-section {
    padding: 3rem 1.5rem;
  }

  .contributors-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .contributor-logo {
    height: 24px;
  }
}

/* Dev Portal Button */
.dev-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dev-portal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(169, 221, 211, 0.3);
}

.dev-portal-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.dev-portal-btn:hover svg {
  transform: translateX(4px);
}

/* CBOE Spotlight Banner */
.spotlight-banner {
  padding: 0 4rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.spotlight-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(169, 221, 211, 0.12) 0%, rgba(169, 221, 211, 0.04) 100%);
  border: 1px solid rgba(169, 221, 211, 0.25);
  border-radius: 8px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.spotlight-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(169, 221, 211, 0.08) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.spotlight-link:hover::before {
  transform: translateX(100%);
}

.spotlight-link:hover {
  border-color: rgba(169, 221, 211, 0.4);
  box-shadow: 0 8px 32px rgba(169, 221, 211, 0.15), 0 0 60px rgba(169, 221, 211, 0.05);
  transform: translateY(-2px);
}

.spotlight-badge {
  flex-shrink: 0;
  padding: 0.375rem 0.75rem;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(169, 221, 211, 0.4); }
  50% { box-shadow: 0 0 12px 4px rgba(169, 221, 211, 0.2); }
}

.spotlight-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1rem;
}

.spotlight-text {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
}

.spotlight-arrow {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.spotlight-link:hover .spotlight-arrow {
  transform: translateX(4px);
}

@media (max-width: 991px) {
  .spotlight-banner {
    padding: 0 2rem;
    margin-top: -1rem;
  }
}

@media (max-width: 767px) {
  .spotlight-banner {
    padding: 0 1.5rem;
    margin-top: -1rem;
  }

  .spotlight-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
  }

  .spotlight-content {
    width: 100%;
  }

  .spotlight-text {
    font-size: 0.875rem;
  }
}
