/* Modern, responsive, dark theme for Adult Wap Portal */
:root {
  --bg-color: #0d0e12;
  --surface-color: #1a1b24;
  --surface-hover: #262734;
  --accent-color: #ff2a5f;
  --accent-hover: #ff4d7a;
  --text-primary: #e2e4f0;
  --text-secondary: #9aa0c0;
  --border-color: #2c2d3c;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Live Notification Toast */
.live-notify {
    position: fixed;
    bottom: 25px;
    left: -300px;
    width: 260px;
    background: rgba(26, 27, 36, 0.98);
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.live-notify.active { left: 15px; }
.notify-icon { width: 34px; height: 34px; background: var(--accent-color); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: bold; font-size: 0.9rem; border: 2px solid rgba(255,255,255,0.2); }
.notify-content { font-size: 0.8rem; color: #fff; line-height: 1.2; }
.notify-content b { color: var(--accent-color); }

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a:hover { color: var(--accent-color); }

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

/* Header */
.site-header {
  background: var(--surface-color);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo h1 span { color: var(--accent-color); }

/* Main Content */
.main-content {
  padding: 30px 0;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.section-title i { color: var(--accent-color); }

/* Grid Layouts */
.grid-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.cat-card {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  background: var(--surface-hover);
  box-shadow: 0 8px 15px rgba(255, 42, 95, 0.15);
}

.cat-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 42, 95, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.cat-info p {
  font-weight: 600;
  font-size: 1.1rem;
}

.cat-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Video Grid */
.grid-videos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 480px) {
  .grid-videos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.video-card {
  background: var(--surface-color);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.video-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 15px rgba(255, 42, 95, 0.2);
  transform: translateY(-3px);
}

.video-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-card:hover .video-thumb img {
  transform: scale(1.05);
}

.video-thumb::after {
  content: '▶';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 42, 95, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.video-card:hover .video-thumb::after {
  opacity: 1;
}

.video-title {
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Archives Grid */
.grid-archives {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

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

.archive-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.archive-item:hover img {
  opacity: 1;
  box-shadow: 0 0 10px var(--accent-color);
}

/* Links List */
.links-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

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

.link-item {
  background: var(--surface-color);
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
}

.link-item:hover {
  background: var(--surface-hover);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* Keywords block override */
.keyword-section {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 25px;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: none;
}

.keyword-section h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  text-align: left;
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.keyword-item {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
}

.keyword-item a { color: var(--text-secondary); }

.keyword-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: none;
  box-shadow: none;
}
.keyword-item:hover a { color: #fff; }

/* Footer */
.site-footer {
  background: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.site-footer p {
  margin-bottom: 10px;
}

/* Floating Action Button (FAB) */
.fab {
    position: fixed;
    bottom: 25px;
    right: 20px;
    background: var(--accent-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 42, 95, 0.5);
    z-index: 3000;
    text-decoration: none;
    animation: pulse-fab 2s infinite;
}
.fab-text {
    position: absolute;
    right: 70px;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@keyframes pulse-fab {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 42, 95, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 42, 95, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 42, 95, 0); }
}
