
@import url('project.css');

/* --- HERO SECTION PREMIUM REFINEMENT --- */
#flow-hero .hero-background {
  background: radial-gradient(ellipse at 60% 40%, rgba(0,212,255,0.18) 0%, rgba(156,39,176,0.10) 60%, transparent 100%),
    linear-gradient(120deg, #0a0a1a 0%, #1a0033 100%);
  opacity: 1;
}

#flow-hero .hero-gradient {
  background: linear-gradient(120deg, rgba(0,212,255,0.10) 0%, rgba(156,39,176,0.10) 100%);
  opacity: 0.7;
}

#flow-hero .hero-particles {
  background-image:
    radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.13) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.13) 0%, transparent 50%);
  filter: blur(1.5px);
}

.hero-layout {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 70vh;
  gap: 3.5rem;
  padding: 3rem 2rem 2rem 2rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-text-section {
  flex: 1;
  max-width: 44%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 3;
}

.hero-visual-section {
  flex: 1;
  max-width: 56%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 3;
}

.hero-text {
  background: rgba(10, 10, 20, 0.92);
  border: 1.5px solid rgba(0, 212, 255, 0.18);
  border-radius: 1.5rem;
  box-shadow: 0 0 32px 0 rgba(0,212,255,0.10), 0 2px 32px 0 rgba(156,39,176,0.10);
  padding: 2.5rem 2.5rem 2.5rem 2.5rem;
  margin: 0;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  position: relative;
  z-index: 4;
  transition: box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.7rem;
  letter-spacing: -0.01em;
  text-shadow: 0 0 18px rgba(0,212,255,0.18), 0 0 32px rgba(156,39,176,0.10);
}

.hero-title .title-line {
  display: block;
  background: linear-gradient(90deg, #fff 0%, #00d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-title .title-line.highlight {
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: brightness(1.2) drop-shadow(0 0 8px #00d4ff88);
}

.hero-description {
  font-size: 1.18rem;
  color: rgba(248,249,250,0.88);
  margin: 1.5rem 0 2.2rem 0;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0,212,255,0.08);
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.badge-text {
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  box-shadow: 0 0 12px 0 rgba(0,212,255,0.18);
  text-shadow: 0 0 8px #00d4ff44;
}

.hero-stats {
  display: flex;
  gap: 2.2rem;
  margin-bottom: 2.2rem;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-shadow: 0 0 8px #00d4ff44;
}
.stat-label {
  font-size: 0.95rem;
  color: rgba(248,249,250,0.7);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.btn-epic {
  font-size: 1.18rem;
  padding: 1.1rem 2.5rem;
  border-radius: 2.5rem;
  font-weight: 700;
  box-shadow: 0 0 18px 0 rgba(0,212,255,0.18);
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.btn-epic.primary {
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  color: #fff;
  border: none;
  box-shadow: 0 0 24px 0 #00d4ff55;
}
.btn-epic.primary:hover {
  background: linear-gradient(90deg, #00b8d4 0%, #7c1fa0 100%);
  color: #fff;
  box-shadow: 0 0 36px 0 #00d4ff99;
  transform: translateY(-2px) scale(1.03);
}
.btn-epic.secondary {
  background: rgba(0,212,255,0.08);
  color: #00d4ff;
  border: 2px solid #00d4ff;
  box-shadow: 0 0 18px 0 #00d4ff33;
}
.btn-epic.secondary:hover {
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  color: #fff;
  border: 2px solid #00d4ff;
  box-shadow: 0 0 36px 0 #00d4ff99;
  transform: translateY(-2px) scale(1.03);
}

.hero-visual-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.hero-visual.hero-game-preview {
  width: 100%;
  max-width: 600px;
  min-width: 320px;
  aspect-ratio: 16/9;
  border-radius: 2rem;
  box-shadow: 0 0 48px 0 #00d4ff33, 0 0 32px 0 #9c27b044;
  background: rgba(10, 10, 20, 0.92);
  overflow: hidden;
  margin: 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.4s cubic-bezier(.4,0,.2,1);
}
.game-preview {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
}
.preview-frame {
  width: 100%;
  height: 100%;
  position: relative;
}
.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;
  box-shadow: 0 0 32px 0 #00d4ff22;
}
.preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.preview-overlay:hover {
  background: rgba(0, 0, 0, 0.08);
}
.play-button {
  width: 64px;
  height: 64px;
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 0 18px 0 #00d4ff55;
  transition: box-shadow 0.3s, transform 0.2s;
}
.play-button:hover {
  box-shadow: 0 0 32px 0 #00d4ff99;
  transform: scale(1.08);
}
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10;
}
.floating-element {
  position: absolute;
  width: 44px;
  height: 44px;
  background: linear-gradient(90deg, #00d4ff 0%, #9c27b0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
  animation-delay: var(--delay);
  box-shadow: 0 0 18px 0 #00d4ff33;
}
.floating-element:nth-child(1) { top: 10%; right: 20%; }
.floating-element:nth-child(2) { top: 20%; left: 10%; }
.floating-element:nth-child(3) { top: 30%; right: 10%; }

@media (max-width: 1100px) {
  .hero-layout {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2rem 1rem 1rem 1rem;
    min-height: 0;
  }
  .hero-text-section, .hero-visual-section {
    max-width: 100%;
    justify-content: center;
    align-items: center;
  }
  .hero-text {
    text-align: center;
    align-items: center;
    padding: 2rem 1.2rem;
  }
  .hero-title {
    align-items: center;
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .hero-stats {
    justify-content: center;
    flex-direction: row;
    gap: 1.5rem;
  }
  .hero-actions {
    justify-content: center;
    flex-direction: row;
    gap: 1rem;
  }
  .hero-visual.hero-game-preview {
    max-width: 95vw;
    min-width: 0;
    margin: 0 auto;
  }
}

/* Flow-specific overrides */


/* Technical cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition-epic);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.tech-card:hover {
  box-shadow: 0 0 30px var(--epic-primary);
  transform: translateY(-5px);
}

.tech-icon {
  font-size: 2.5rem;
  color: var(--epic-primary);
  margin-bottom: 1rem;
}

/* Timeline */
.game-jams-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-item {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.timeline-marker {
  font-size: 2rem;
  color: var(--epic-primary);
  flex-shrink: 0;
}

.timeline-content {
  flex-grow: 1;
}

.timeline-date {
  color: var(--epic-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-weight: 800;
  color: var(--epic-light);
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: rgba(248, 249, 250, 0.8);
  line-height: 1.5;
}

/* Call to action */
.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 1rem auto; /* Reduced vertical margin to tighten spacing */
  color: var(--epic-light);
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--gradient-epic);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cta-buttons .btn-epic {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 0 20px var(--epic-primary);
  transition: var(--transition-epic);
}

.cta-buttons .btn-epic.primary {
  background: var(--epic-primary);
  color: var(--epic-darker);
}

.cta-buttons .btn-epic.primary:hover {
  background: var(--epic-primary-dark);
  box-shadow: 0 0 30px var(--epic-primary);
}

.cta-buttons .btn-epic.secondary {
  background: transparent;
  border: 2px solid var(--epic-primary);
  color: var(--epic-primary);
}

.cta-buttons .btn-epic.secondary:hover {
  background: var(--epic-primary);
  color: var(--epic-darker);
  box-shadow: 0 0 30px var(--epic-primary);
}

/* Footer */
.epic-footer {
  background: #0a0a0a;
  color: var(--epic-light);
  padding: 3rem 1rem 1rem;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--epic-primary);
}

.footer-tagline {
  font-style: italic;
  color: rgba(248, 249, 250, 0.7);
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-section h4 {
  font-weight: 700;
  color: var(--epic-primary);
  margin-bottom: 0.5rem;
}

.footer-section a {
  display: block;
  color: rgba(248, 249, 250, 0.7);
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--epic-primary);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: rgba(248, 249, 250, 0.5);
}

/* Custom hero layout for Flow project */
.hero-content .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  gap: 3rem;
  padding: 2rem;
  width: 100%;
}

.hero-text-section {
  flex: 1;
  max-width: 45%;
  display: flex;
  justify-content: center;
}

.hero-visual-section {
  flex: 1;
  max-width: 55%;
  display: flex;
  justify-content: center;
}



/* Adjust hero text for better readability */
.hero-text {
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  width: 100%;
}

/* Improve hero title typography */
.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
}

.hero-title .title-line {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

/* Adjust description and stats */
.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 1.5rem 0;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 1.5rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--epic-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(248, 249, 250, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero actions */
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Simple Horizontal Image Gallery */
.simple-gallery {
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  overflow: hidden;
}

.gallery-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.3) transparent;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 4px;
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.5);
}

.gallery-images {
  display: flex;
  gap: 1.5rem;
  padding: 1rem;
  min-width: max-content;
}

.gallery-image-wrapper {
  flex: 0 0 300px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-image-wrapper:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.gallery-image-simple {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-image-wrapper:hover .gallery-image-simple {
  transform: scale(1.05);
}

.image-caption {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
}

.image-caption h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--epic-primary);
}

.image-caption p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 1rem;
  }

  .hero-text-section {
    max-width: 100%;
  }

  .hero-visual-section {
    max-width: 100%;
  }

  .overview-layout {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .overview-text-section {
    max-width: 100%;
  }

  .overview-visual-section {
    max-width: 100%;
  }

  .hero-text {
    padding: 1.5rem;
    text-align: center;
  }

  .hero-title {
    align-items: center;
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-stats {
    justify-content: center;
    flex-direction: row;
    gap: 1.5rem;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: row;
    gap: 1rem;
  }

  .section-header {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .media-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item.main {
    grid-column: 1;
  }

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

  .game-jams-timeline {
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
