@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');

:root {
  --bg-color: #080002;
  --text-color: #f7e6ea;
  --accent-color: #ff004d;
  --accent-glow: 0 0 10px #ff004d, 0 0 20px #ff004d, 0 0 40px #ff004d;
  --card-bg: rgba(20, 0, 5, 0.7);
  --border-color: rgba(255, 0, 77, 0.3);
}

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

body {
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at center, #1a0006 0%, #080002 100%);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  text-shadow: var(--accent-glow);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
  background: linear-gradient(180deg, rgba(255,0,77,0.05) 0%, transparent 100%);
}

.logo {
  font-size: 3.5rem;
  color: #fff;
  text-shadow: var(--accent-glow);
  animation: pulse-glow 2s infinite alternate;
}

.subtitle {
  font-size: 1.2rem;
  margin-top: 1rem;
  color: #ffb3c6;
  font-style: italic;
  opacity: 0.8;
}

/* Grid for Cards */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* Profile Card */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(255, 0, 77, 0.4);
  border-color: var(--accent-color);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: contrast(1.1) brightness(0.9);
}

.card:hover .card-image {
  transform: scale(1.05);
}

/* Lace overlay effect */
.card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(8,0,2,0.9) 0%, rgba(8,0,2,0) 50%);
  pointer-events: none;
}

.card-content {
  padding: 1.5rem;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
}

.card-name {
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  color: #ffb3c6;
}

/* Profile Details Page */
.profile-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 0 40px rgba(255, 0, 77, 0.1);
  backdrop-filter: blur(10px);
}

.profile-photo {
  flex: 1;
  min-width: 300px;
}

.profile-photo img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid var(--accent-color);
  box-shadow: var(--accent-glow);
}

.profile-info {
  flex: 2;
  min-width: 300px;
}

.profile-name {
  font-size: 3rem;
  color: #fff;
  text-shadow: var(--accent-glow);
  margin-bottom: 1rem;
}

.info-section {
  margin-top: 2rem;
}

.info-section h3 {
  font-size: 1.5rem;
  color: var(--accent-color);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.params-list {
  list-style: none;
}

.params-list li {
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 0.3rem;
}

.params-list span.label {
  color: #ffb3c6;
  font-weight: 600;
}

.params-list span.value {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
  padding: 0.8rem 2rem;
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-weight: bold;
}

.btn:hover {
  background: var(--accent-color);
  color: #fff;
  box-shadow: var(--accent-glow);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffb3c6;
  font-family: 'Cinzel', serif;
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  color: #fff;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(255, 0, 77, 0.5);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  color: var(--accent-color);
  font-family: 'Cinzel', serif;
}

/* Animations */
@keyframes pulse-glow {
  0% {
    text-shadow: 0 0 10px #ff004d, 0 0 20px #ff004d;
  }
  100% {
    text-shadow: 0 0 20px #ff004d, 0 0 40px #ff004d, 0 0 60px #ff004d;
  }
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-family: 'Cinzel', serif;
}

/* Star Rating Form */
.rating-form {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.5rem;
}
.rating-form input {
  display: none;
}
.rating-form label {
  cursor: pointer;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s;
}
.rating-form label:before {
  content: '★';
}
.rating-form input:checked ~ label,
.rating-form label:hover,
.rating-form label:hover ~ label {
  color: var(--accent-color);
  text-shadow: var(--accent-glow);
}
.stars-display {
  color: var(--accent-color);
  letter-spacing: 2px;
  text-shadow: var(--accent-glow);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255,0,77,0.1) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 0;
  padding: 6rem 0;
}
.hero-content {
  text-align: center;
  animation: slide-up 1s ease-out;
}
.mega-glow {
  font-size: 5rem;
  color: #fff;
  animation: mega-pulse 2s infinite alternate;
}
@media (max-width: 768px) {
  .mega-glow { font-size: 3rem; }
}

/* Marquee */
.marquee-container {
  background: var(--accent-color);
  color: #fff;
  padding: 0.8rem 0;
  overflow: hidden;
  position: relative;
  font-weight: bold;
  letter-spacing: 1px;
}
.marquee-content {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

/* Features */
.features-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  flex-wrap: wrap;
}
.feature-box {
  flex: 1;
  min-width: 250px;
  background: rgba(10, 0, 2, 0.9);
  border: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}
.feature-box:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}
.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.feature-box h3 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Enhancing Cards */
.card {
  animation: fade-in-up 0.6s ease-out both;
}
.online-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.7);
  color: #0f0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 2;
  border: 1px solid #0f0;
  box-shadow: 0 0 10px rgba(0,255,0,0.3);
  animation: blink 2s infinite;
}
.card-price {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #fff;
  background: rgba(255,0,77,0.2);
  padding: 0.5rem;
  border-radius: 5px;
  border: 1px dashed var(--accent-color);
}
.pulse-btn {
  animation: pulse-shadow 2s infinite;
}

/* Floating Hearts */
#hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.floating-heart {
  position: absolute;
  bottom: -50px;
  opacity: 0.7;
  animation: float-up linear forwards;
}

/* Keyframes */
@keyframes mega-pulse {
  0% { text-shadow: 0 0 10px #ff004d, 0 0 20px #ff004d, 0 0 40px #ff004d; transform: scale(1); }
  100% { text-shadow: 0 0 30px #ff004d, 0 0 60px #ff004d, 0 0 100px #ff004d; transform: scale(1.02); }
}
@keyframes marquee {
  0% { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes pulse-shadow {
  0% { box-shadow: 0 0 0 0 rgba(255,0,77,0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255,0,77,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,0,77,0); }
}
@keyframes float-up {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translateY(-120vh) rotate(360deg); opacity: 0; }
}
