/* Dark Luxury Design Tokens for Blogier Valdemarka */
:root {
  --bg-main: #07090e;
  --bg-card: rgba(18, 22, 38, 0.7);
  --bg-card-hover: rgba(26, 32, 54, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 215, 0, 0.3);
  
  --gold-primary: #ffd700;
  --gold-secondary: #ff9900;
  --gold-gradient: linear-gradient(135deg, #ffe066 0%, #ffd700 50%, #ff8c00 100%);
  --gold-glow: 0 0 25px rgba(255, 215, 0, 0.35);

  --accent-green: #10b981;
  --green-gradient: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
  --green-glow: 0 0 20px rgba(16, 185, 129, 0.4);

  --accent-purple: #8b5cf6;
  --purple-gradient: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #6d28d9 100%);
  --purple-glow: 0 0 20px rgba(139, 92, 246, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #f59e0b;

  --font-family: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Casino Artwork & Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('assets/casino-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0.58;
  z-index: -2;
  pointer-events: none;
  filter: brightness(0.95) contrast(1.15);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(7, 9, 14, 0.35) 0%, rgba(7, 9, 14, 0.8) 80%, #07090e 100%);
  z-index: -1;
  pointer-events: none;
}

/* App Container */
.app-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 16px 64px 16px;
}

/* Profile Header Section */
.profile-header {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}

.avatar-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 18px auto;
}

.avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gold-gradient);
  filter: blur(10px);
  opacity: 0.7;
  animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.5; filter: blur(8px); transform: scale(0.98); }
  100% { opacity: 0.85; filter: blur(14px); transform: scale(1.03); }
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  border: 3px solid #000;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.verified-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: 3;
  width: 28px;
  height: 28px;
  background: var(--gold-gradient);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  border: 2px solid var(--bg-main);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.profile-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.profile-subtitle {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-purple);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  background: var(--purple-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.profile-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px auto;
  line-height: 1.5;
}

.social-links-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.kick-btn {
  padding: 14px 38px;
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(83, 252, 24, 0.3) 0%, rgba(16, 185, 129, 0.45) 100%);
  border: 2.5px solid #53fc18;
  border-radius: 35px;
  box-shadow: 0 0 25px rgba(83, 252, 24, 0.55), 0 0 50px rgba(83, 252, 24, 0.2);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.kick-btn:hover {
  background: #53fc18;
  color: #000;
  border-color: #53fc18;
  box-shadow: 0 0 40px rgba(83, 252, 24, 0.85);
  transform: translateY(-2px) scale(1.03);
}

.live-dot {
  width: 12px;
  height: 12px;
  background-color: #53fc18;
  border-radius: 50%;
  box-shadow: 0 0 12px #53fc18;
  animation: live-blink 1.5s infinite;
  display: inline-block;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  backdrop-filter: blur(12px);
}

.tg-btn {
  background: rgba(14, 165, 233, 0.18);
  border: 2px solid rgba(56, 189, 248, 0.8);
  color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.tg-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.7);
  transform: translateY(-2px);
}

.discord-btn {
  background: rgba(99, 102, 241, 0.2);
  border: 2px solid rgba(129, 140, 248, 0.8);
  color: #a5b4fc;
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.35);
}

.discord-btn:hover {
  background: #6366f1;
  color: #ffffff;
  border-color: #a5b4fc;
  box-shadow: 0 0 30px rgba(129, 140, 248, 0.7);
  transform: translateY(-2px);
}

/* Search & Filter Section */
.controls-section {
  margin-bottom: 24px;
}

.search-box {
  position: relative;
  margin-bottom: 16px;
}

.search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  background: rgba(18, 22, 38, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.15);
  background: rgba(22, 28, 50, 0.8);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

.filter-tags {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.filter-tags::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  white-space: nowrap;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--gold-gradient);
  color: #000;
  font-weight: 700;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Featured Top Pick Banner */
.featured-card {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 26, 12, 0.85), rgba(18, 22, 38, 0.9));
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--gold-glow);
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: transform 0.3s ease;
}

.featured-card:hover {
  transform: translateY(-3px);
}

.featured-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--gold-gradient);
  color: #000;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.featured-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.casino-logo-lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.featured-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.rating-stars {
  color: var(--gold-primary);
  font-size: 13px;
}

.featured-offer {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: 2px;
}

.promo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 18px;
}

.promo-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.promo-code-text {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--gold-primary);
}

.copy-btn {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: var(--gold-primary);
  color: #000;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  background: var(--green-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-md);
  box-shadow: var(--green-glow);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  transform: scale(1.01);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.6);
}

/* Links Grid Section (3-Column Layout: 3 per row) */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.link-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), var(--purple-glow);
}

.casino-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1.5px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.card-content {
  width: 100%;
}

.card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.play-btn {
  width: 100%;
  padding: 10px 14px;
  background: var(--purple-gradient);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-md);
  box-shadow: var(--purple-glow);
  transition: all 0.25s ease;
  text-align: center;
  box-sizing: border-box;
}

.card-copy-btn {
  width: 100%;
  background: rgba(255, 215, 0, 0.12);
  border: 1px dashed var(--gold-primary);
  color: var(--gold-primary);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.card-copy-btn:hover {
  background: var(--gold-primary);
  color: #000;
  border-style: solid;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.promo-badge-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.25);
  color: #34d399;
  border: 1px solid #10b981;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  text-transform: uppercase;
}

.play-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.card-copy-btn {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-copy-btn:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  background: rgba(255, 215, 0, 0.08);
}

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

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 22, 38, 0.95);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 12px 24px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--gold-glow);
  backdrop-filter: blur(16px);
  z-index: 999;
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Footer Section */
.site-footer {
  margin-top: 48px;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 12px;
}

.responsible-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-copy {
  margin-top: 8px;
  font-size: 11px;
  color: #64748b;
}

@media (max-width: 520px) {
  .link-card {
    flex-wrap: wrap;
  }
  .card-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
  }
  .play-btn {
    flex: 1;
    text-align: center;
  }
}
