/*
Theme Name: Comatozze
Author: Migrated from static HTML
Version: 1.0.0
*/

:root {
  --neon: #39FF14;
  --neon-dim: rgba(57, 255, 20, 0.15);
  --neon-glow: rgba(57, 255, 20, 0.4);
  --pink: #ff2d78;
  --pink-glow: rgba(255, 45, 120, 0.4);
  --bg-deep: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.06);
  --text: #f0f0f0;
  --text-dim: rgba(255, 255, 255, 0.55);
  --radius: 20px;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ===== Animated Background ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--neon-glow), transparent 70%);
  top: -200px; left: -150px;
  border-radius: 50%;
  animation: float-orb 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--pink-glow), transparent 70%);
  bottom: -150px; right: -100px;
  border-radius: 50%;
  animation: float-orb 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.bg-images {
  position: absolute;
  inset: 0;
  display: flex;
  z-index: 0;
  opacity: 0.15;
}

.bg-images img {
  width: 33.34%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) brightness(40%) saturate(1.2);
}

/* ===== Profile Card ===== */
.profile-card {
  position: relative;
  z-index: 2;
  max-width: 420px;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(57, 255, 20, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  animation: card-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-card .photo-wrap {
  position: relative;
  overflow: hidden;
  height: 420px;
}

.profile-card .photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-card:hover .photo-wrap img {
  transform: scale(1.05);
}

.photo-wrap .badge {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
  letter-spacing: 0.5px;
}

.photo-wrap .gradient-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg-deep), transparent);
  pointer-events: none;
}

.card-body {
  padding: 24px 24px 28px;
}

.card-body h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.card-body h1 span {
  color: var(--neon);
  text-shadow: 0 0 20px var(--neon-glow);
}

.card-body .desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* ===== Stats Row ===== */
.stats-row {
  display: flex;
  gap: 2px;
  margin-bottom: 24px;
  border-radius: 12px;
  overflow: hidden;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 14px 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.stat-item .stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--neon);
  display: block;
}

.stat-item .stat-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ===== Buttons ===== */
.btn-private {
  display: block;
  width: 100%;
  padding: 18px 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--pink), #ff6b35, var(--neon));
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  transition: transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 30px rgba(255, 45, 120, 0.3);
}

.btn-private:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255, 45, 120, 0.5), 0 0 60px rgba(57, 255, 20, 0.2);
}

.btn-private::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: shimmer 2.5s infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}

.action-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-action:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--neon);
  box-shadow: 0 0 20px var(--neon-dim);
  transform: translateY(-2px);
}

.social-row {
  display: flex;
  gap: 10px;
}

.btn-social {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s ease;
}

.btn-social img {
  width: 18px;
  height: 18px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.btn-social:hover {
  color: #fff;
  border-color: rgba(57, 255, 20, 0.3);
  background: rgba(57, 255, 20, 0.08);
}

.btn-social:hover img {
  opacity: 1;
}

/* ===== Gallery ===== */
.gallery-section {
  position: relative;
  padding: 80px 20px;
  text-align: center;
}

.gallery-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

.gallery-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--neon);
  margin-bottom: 40px;
}

.gallery-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
  filter: brightness(0.75) saturate(1.1);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(1) saturate(1.2);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  pointer-events: none;
  transition: border-color 0.3s;
}

.gallery-item:hover::after {
  border-color: rgba(57, 255, 20, 0.3);
}

/* ===== Gallery Modal ===== */
#galleryModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

#galleryModal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
  border: 1px solid rgba(57, 255, 20, 0.2);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.gallery-close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 30px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-close-btn:hover {
  background: var(--neon);
  color: var(--bg-deep);
  border-color: var(--neon);
}

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

footer p {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

footer a {
  color: var(--neon);
  font-weight: 500;
  transition: color 0.3s;
}

footer a:hover { color: var(--pink); }

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

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

/* ===== Responsive ===== */
@media (max-width: 480px) {
  .profile-card { max-width: 100%; }
  .profile-card .photo-wrap { height: 280px; }
  .card-body h1 { font-size: 22px; }
  .btn-private { font-size: 14px; padding: 16px 20px; letter-spacing: 1px; }
  .action-btns { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stat-item .stat-num { font-size: 18px; }
  .stat-item .stat-label { font-size: 10px; }
}

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

