:root {
  --deep-ocean: #0f172a;
  --surface-blue: #1e293b;
  --ocean-blue: #0ea5e9;
  --cyan-light: #38bdf8;
  --foam-white: #f1f5f9;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--deep-ocean);
  color: var(--text-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
  background-attachment: fixed;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--cyan-light);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a {
  color: var(--text-secondary);
  position: relative;
}

.nav-links a:hover {
  color: var(--cyan-light);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-light);
  transition: width 0.3s;
  box-shadow: 0 0 5px var(--cyan-light);
}

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

/* Hero */
.hero {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 400px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.05), transparent);
  transform: translate(-50%, -50%) rotate(-10deg);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  align-items: center;
}

.eyebrow {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  margin: 0 0 16px;
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 24px;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, var(--cyan-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.3));
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 500px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.btn:not(.ghost) {
  background: linear-gradient(135deg, var(--ocean-blue), var(--cyan-light));
  color: white;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.btn:not(.ghost):hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.3);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-light);
}

.btn-icon {
  width: 24px;
  height: 24px;
  margin-right: 12px;
}

.hero-media {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.hero-image {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Sections */
.section-title {
  font-family: var(--font-heading);
  text-align: center;
  margin: 0 0 60px;
  font-size: 2.5rem;
  color: var(--text-primary);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.features, .posts, .promotions, .comments, .gallery {
  padding: 100px 0;
}

.feature-grid, .comment-grid, .post-grid, .gallery-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card, .comment-card, .post-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.feature-card:hover, .comment-card:hover, .post-card:hover {
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-5px);
  border-color: var(--cyan-light);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.feature-title, .comment-title, .post-title {
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin: 0 0 15px;
  font-size: 1.25rem;
}

.feature-desc, .comment-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
  border-color: var(--cyan-light);
}

/* Posts/Carousel */
.carousel-container {
  position: relative;
}

.carousel-track-container {
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel-track-container::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 30px;
  padding: 20px 5px;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  flex: 0 0 320px;
  scroll-snap-align: center;
}

.post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-title a {
  color: var(--text-primary);
}

.post-title a:hover {
  color: var(--cyan-light);
}

.post-meta {
  color: var(--ocean-blue);
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-family: var(--font-heading);
}

.post-summary {
  flex: 1;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.post-link {
  color: var(--cyan-light);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

/* Promotions */
.promotion-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.promotion-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cyan-light);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.promotion-icon {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.promotion-title {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0;
}

/* Footer */
.footer {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-secondary);
  background: rgba(15, 23, 42, 0.95);
  font-size: 0.9rem;
}

/* Single Page */
.article {
  padding: 100px 0;
}

.article-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px;
  border-radius: 30px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.article-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.article-meta {
  color: var(--cyan-light);
  margin-bottom: 40px;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

.article-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-content h2 {
  font-family: var(--font-heading);
  color: var(--cyan-light);
  margin-top: 40px;
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .nav-links { display: none; }
  .carousel-slide { flex: 0 0 280px; }
  .article-card { padding: 30px; }
}
