/* Slinder - Black, Red, Gold Theme */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600;700&display=swap');

:root {
  --black: #0a0a0a;
  --black-light: #1a1a1a;
  --black-lighter: #2a2a2a;
  --red: #8B0000;
  --red-bright: #cc0000;
  --gold: #FFD700;
  --gold-dark: #d4af37;
  --white: #ffffff;
  --gray: #888888;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5em;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-select {
  background: var(--black-lighter);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9em;
  cursor: pointer;
  outline: none;
}

.lang-select:hover {
  border-color: var(--gold);
  background: var(--black);
}

.lang-select option {
  background: var(--black);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 30px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 12px 30px;
  font-size: 1em;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: 
    radial-gradient(ellipse at top, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    var(--black);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
}

.highlight {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3em;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: none;
  color: var(--black);
  padding: 18px 50px;
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

/* Floating Hearts */
.floating-hearts {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.heart {
  position: absolute;
  font-size: 2em;
  color: var(--red);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.heart:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.heart:nth-child(2) { left: 80%; top: 30%; animation-delay: 2s; }
.heart:nth-child(3) { left: 70%; top: 70%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Features Section */
.features {
  padding: 100px 50px;
  background: var(--black-light);
}

.features h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--gold);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(180deg, var(--black-lighter) 0%, var(--black) 100%);
  border: 1px solid var(--red);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.feature-icon {
  font-size: 3em;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--gold);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* How It Works */
.how-it-works {
  padding: 100px 50px;
  background: var(--black);
}

.how-it-works h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3em;
  text-align: center;
  margin-bottom: 60px;
  color: var(--gold);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 25px;
}

.step h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: var(--white);
}

.step p {
  color: var(--gray);
  line-height: 1.6;
}

/* Footer */
footer {
  padding: 30px;
  text-align: center;
  background: var(--black-light);
  border-top: 1px solid var(--red);
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* App Content Styles */
main {
  max-width: 500px;
  margin: 0 auto;
  padding: 100px 20px 40px;
}

.card {
  background: linear-gradient(180deg, var(--black-lighter) 0%, var(--black) 100%);
  border: 2px solid var(--red);
  border-radius: 25px;
  padding: 40px;
  margin-bottom: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}

.card img {
  width: 100%;
  border-radius: 15px;
  border: 2px solid var(--red);
  margin-bottom: 20px;
}

.profile-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.profile-images img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid var(--red);
}

input, select, textarea {
  width: 100%;
  padding: 15px 20px;
  margin: 10px 0;
  background: var(--black);
  border: 2px solid var(--black-lighter);
  color: var(--white);
  border-radius: 12px;
  font-size: 1em;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

input::placeholder, textarea::placeholder {
  color: var(--gray);
}

select {
  cursor: pointer;
}

select option {
  background: var(--black);
  color: var(--white);
}

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

input[type="file"] {
  padding: 15px;
  cursor: pointer;
}

button {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  margin: 10px 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.5);
}

.swipe-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.btn-left {
  background: var(--black-lighter);
  color: var(--white);
  border-color: var(--gray);
}

.btn-left:hover {
  background: var(--black);
  border-color: var(--white);
}

.btn-right {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  border-color: var(--gold);
}

.btn-right:hover {
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

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

a:hover {
  text-decoration: underline;
}

p {
  margin: 10px 0;
  line-height: 1.6;
}

.profile-info {
  margin: 20px 0;
}

.profile-info p {
  padding: 8px 0;
  border-bottom: 1px solid var(--black-lighter);
}

.profile-info strong {
  color: var(--gold);
}

.match-item {
  background: var(--black);
  border: 1px solid var(--red);
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-name {
  font-size: 1.2em;
  color: var(--white);
}

.match-name.locked {
  color: var(--gray);
}

.back-btn {
  background: transparent;
  border: 1px solid var(--gray);
  color: var(--gray);
  padding: 10px 20px;
  font-size: 0.9em;
  margin-bottom: 20px;
}

.back-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Age Verification Popup */
.age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-modal {
  background: linear-gradient(180deg, var(--black-lighter) 0%, var(--black) 100%);
  border: 2px solid var(--red);
  border-radius: 25px;
  padding: 50px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 50px rgba(139, 0, 0, 0.5);
}

.age-icon {
  font-size: 4em;
  margin-bottom: 20px;
}

.age-modal h2 {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 2.5em;
  margin-bottom: 20px;
}

.age-modal p {
  color: var(--gray);
  margin-bottom: 15px;
  line-height: 1.6;
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.btn-age-yes {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--black);
  border: none;
  padding: 18px 40px;
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-age-yes:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.btn-age-no {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray);
  padding: 15px 40px;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-age-no:hover {
  border-color: var(--red);
  color: var(--red);
}

/* Account Type Selection */
.account-type-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-type {
  background: linear-gradient(180deg, var(--black-lighter) 0%, var(--black) 100%);
  border: 2px solid var(--red);
  color: var(--white);
  padding: 30px 40px;
  font-size: 1.2em;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
}

.btn-type:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

.btn-type small {
  display: block;
  font-size: 0.6em;
  color: var(--gray);
  margin-top: 10px;
  font-weight: normal;
}

/* Advertisement Card */
.ad-card {
  border-color: var(--gold);
  background: linear-gradient(180deg, #1a1a0a 0%, #0a0a00 100%);
}

/* Chat Styles */
.chat-card {
  display: flex;
  flex-direction: column;
  height: 70vh;
  max-height: 600px;
}

/* Navigation Bar */
.nav-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nav-btn {
  background: var(--black-lighter);
  border: 1px solid var(--black-lighter);
  color: var(--gray);
  padding: 10px 15px;
  font-size: 0.9em;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  border-color: var(--gold);
  color: var(--white);
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  border-color: var(--red);
  color: var(--white);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--black-lighter);
}

.chat-header h2 {
  margin: 0;
  font-size: 1.5em;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.status-online {
  background: #00ff00;
  box-shadow: 0 0 8px #00ff00;
}

.status-offline {
  background: #666;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
}

.message-me {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-bright) 100%);
  border-bottom-right-radius: 5px;
}

.message-them {
  align-self: flex-start;
  background: var(--black-lighter);
  border-bottom-left-radius: 5px;
}

.message-content {
  word-wrap: break-word;
}

.message-time {
  font-size: 0.7em;
  color: var(--gray);
  margin-top: 5px;
  text-align: right;
}

.chat-input {
  display: flex;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid var(--black-lighter);
}

.chat-input input {
  flex: 1;
  margin: 0;
}

.chat-input button {
  margin: 0;
  padding: 15px 25px;
}

/* Checkbox Grid for Languages and Interests */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 15px 0;
  max-height: 200px;
  overflow-y: auto;
  padding: 15px;
  background: var(--black);
  border-radius: 10px;
  border: 1px solid var(--black-lighter);
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 0.9em;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background 0.2s;
}

.checkbox-grid label:hover {
  background: var(--black-lighter);
}

.checkbox-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .logo {
    font-size: 1.8em;
  }
  
  .hero h1 {
    font-size: 2.5em;
  }
  
  .hero-subtitle {
    font-size: 1em;
  }
  
  .features, .how-it-works {
    padding: 60px 20px;
  }
  
  .features h2, .how-it-works h2 {
    font-size: 2em;
  }
  
  .steps {
    gap: 30px;
  }
  
  main {
    padding: 80px 15px 30px;
  }
  
  .card {
    padding: 25px;
  }
}
