/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-deep:       #0a0e1a;
  --bg-mid:        #0f1629;
  --bg-card:       rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.08);
  --glass-border:  rgba(255,255,255,0.10);
  --accent-1:      #6eb5ff;
  --accent-2:      #a78bfa;
  --accent-3:      #34d399;
  --text-primary:  #e8eaf6;
  --text-secondary:#9aa5c0;
  --text-muted:    #5c6a87;
  --tip-gradient-start: rgba(110,181,255,0.12);
  --tip-gradient-end:   rgba(167,139,250,0.06);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.4);
  --radius-lg:     20px;
  --radius-md:     14px;
  --radius-sm:     10px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =====================================================
   CONTAINER
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(110,181,255,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(167,139,250,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(52,211,153,0.10) 0%, transparent 60%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0%   { opacity: 0.8; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Floating particles */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px at 20% 30%, rgba(110,181,255,0.5) 0%, transparent 100%),
    radial-gradient(circle 1px at 70% 20%, rgba(167,139,250,0.6) 0%, transparent 100%),
    radial-gradient(circle 2px at 85% 60%, rgba(52,211,153,0.5) 0%, transparent 100%),
    radial-gradient(circle 1px at 15% 70%, rgba(110,181,255,0.4) 0%, transparent 100%),
    radial-gradient(circle 2px at 55% 85%, rgba(167,139,250,0.4) 0%, transparent 100%);
  animation: float 12s ease-in-out infinite alternate;
}

@keyframes float {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  background: rgba(110,181,255,0.15);
  border: 1px solid rgba(110,181,255,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-1);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #e8eaf6 0%, var(--accent-1) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInDown 0.9s ease 0.1s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 40px;
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-radius: 100px;
  color: #0a0e1a;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(110,181,255,0.35);
  animation: fadeInDown 1.1s ease 0.3s both;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(110,181,255,0.5);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 1.5rem;
  animation: bounce 2s ease infinite;
}

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

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

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: 100px 0;
}

.section-tips {
  background: linear-gradient(180deg, transparent 0%, rgba(167,139,250,0.04) 50%, transparent 100%);
}

.section-gallery {
  background: linear-gradient(180deg, transparent 0%, rgba(110,181,255,0.03) 50%, transparent 100%);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #e8eaf6, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 56px;
}

/* =====================================================
   VIDEOS
   ===================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .videos-grid { grid-template-columns: 1fr; max-width: 560px; }
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.video-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(110,181,255,0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.video-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.video-icon {
  font-size: 1.3rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: none;
}

.video-caption {
  padding: 14px 20px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =====================================================
   TIPS
   ===================================================== */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .tips-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .tips-grid { grid-template-columns: 1fr; }
}

.tip-card {
  position: relative;
  background: linear-gradient(135deg, var(--tip-gradient-start), var(--tip-gradient-end));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  overflow: hidden;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  opacity: 0;
  transition: var(--transition);
}

.tip-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(110,181,255,0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.tip-card:hover::before {
  opacity: 1;
}

.tip-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.tip-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tip-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.tip-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* =====================================================
   GALLERY
   ===================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: rgba(110,181,255,0.3);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}



.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  background: linear-gradient(to top, rgba(10,14,26,0.90), transparent);
  line-height: 1.3;
}

/* Copied flash effect */
.gallery-item.copied {
  animation: copiedFlash 0.5s ease;
}

@keyframes copiedFlash {
  0%   { box-shadow: 0 0 0 0 rgba(52,211,153,0.8); }
  50%  { box-shadow: 0 0 0 8px rgba(52,211,153,0.4); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 48px 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.95rem;
  background: linear-gradient(180deg, transparent, rgba(110,181,255,0.03));
}

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   SCROLLBAR
   ===================================================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-1);
}
