/* MATERIAL DESIGN COLORS */
:root {
  --primary: #272727;
  --secondary: #00c853;
  --accent: #ff6d00;

  --text-dark: #222;
  --text-light: #fff;

  --bg: #f5f5f5;
  --card-bg: #fff;

  --radius: 14px;
}

/* SHADOWS / ELEVATION LEVELS */
.elev-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.elev-2 { box-shadow: 0 3px 6px rgba(0,0,0,0.25); }
.elev-3 { box-shadow: 0 6px 12px rgba(0,0,0,0.3); }
.elev-4 { box-shadow: 0 10px 20px rgba(0,0,0,0.35); }

/* BUTTONS */
.btn {
  padding: 12px 25px;
  border-radius: var(--radius);
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
  border: none;
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.primary:hover {
  background: #0039cb;
}

.btn.outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn.outline:hover {
  background: var(--primary);
  color: white;
}

.btn.small {
  padding: 8px 18px;
  font-size: 14px;
}

/* TITLES */
h1 {
  font-size: 45px;
}

h2 {
  font-size: 30px;
}

/* --------------------
   DARK MODE VARIABLES
---------------------*/
body.dark {
  --primary: #82b1ff;
  --secondary: #00e676;
  --accent: #ff9100;

  --text-dark: #eee;
  --text-light: #fff;

  --bg: #121212;
  --card-bg: #1e1e1e;

  background: var(--bg) !important;
  color: var(--text-dark) !important;
}

/* DARK CARDS */
body.dark .card {
  background: var(--card-bg);
  color: var(--text-light);
  box-shadow: 0 5px 15px rgba(0,0,0,0.7);
}

body.dark .hero {
  background: linear-gradient(
      rgba(0,0,0,0.7),
      rgba(0,0,0,0.8)
    ),
    url('https://images.unsplash.com/photo-1535223289827-42f1e9919769') center/cover;
}

body.dark footer {
  background: #0d0d0d;
  color: #bbb;
}

body.dark .thumb-slider img {
  border: 2px solid #444;
}

body.dark h1, body.dark h2, body.dark h3 {
  color: white !important;
}

body.dark .btn.outline {
  border-color: var(--primary);
  color: var(--primary);
}

body.dark .btn.primary {
  background: #0d47a1;
}

/* DARK MODE BUTTON */
.dark-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #1e1e1e;
  border: 2px solid #333;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  z-index: 99;
}

.dark-btn:hover {
  background: #2a2a2a;
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
  text-align: center;
  color: #fff;
}

.featured-section h2 {
  font-size: 34px;
  margin-bottom: 35px;
  letter-spacing: 1px;
}

/* 3D Luxury Carousel */
.carousel {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 35px;
  perspective: 1200px;
  padding: 20px 0;
  animation: autoRotate 18s infinite linear;
}

.carousel:hover {
  animation-play-state: paused;
}

/* Each Billionaire Card */
.carousel-item {
  width: 260px;
  padding: 18px;
  border-radius: 18px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);

  border: 2px solid rgba(0,255,200,0.4);
  box-shadow: 0 8px 20px rgba(0,255,200,0.2);

  transform-style: preserve-3d;
  transition: 0.3s ease;
  animation: neonPulse 2.2s infinite alternate ease-in-out;
}

/* Hover 3D POP Effect */
.carousel-item:hover {
  transform: translateZ(40px) scale(1.08);
  box-shadow: 0 0 35px rgba(0, 255, 200, 0.8);
}

.carousel-item img {
  width: 100%;
  height: 180px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0,255,200,0.3);
}

/* Names + Info */
.carousel-item h3 {
  margin: 12px 0 5px;
  font-size: 20px;
  font-weight: 600;
}

.carousel-item p {
  color: #bbb;
  font-size: 15px;
}

/* Auto Rotate Animation */
@keyframes autoRotate {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(-360deg); }
}

/* Neon glow animation */
@keyframes neonPulse {
  0% {
    border-color: rgba(0,255,200,0.3);
    box-shadow: 0 0 15px rgba(0,255,200,0.25);
  }
  100% {
    border-color: rgba(0,255,200,0.7);
    box-shadow: 0 0 35px rgba(0,255,200,0.7);
  }
}
