/* ===== RESET & GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* ===== PARTICLES BACKGROUND ===== */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  background: linear-gradient(#212121, #0c1a32);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #212121;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
}

.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  height: 45px;
  font-size: 24px;
  font-weight: bold;
  color: #00ffff;
  text-decoration: none;
}

/* ===== SEARCH BAR ===== */
.search-wrapper {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
}

.search-box {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 6px 12px;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.search-icon {
  margin-right: 8px;
  color: #888;
}

.search-input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 14px;
}

/* ===== NAVIGATION LINKS ===== */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  padding: 8px 15px;
  border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ffff;
  background: rgba(0, 255, 255, 0.1);
}

/* ===== AUTH BUTTONS ===== */
.auth-buttons {
  display: flex;
  gap: 12px;
}

.btn-login, .btn-register {
  padding: 8px 18px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login {
  background: #fff;
  color: #333;
}

.btn-login:hover {
  background: #00ffff;
  color: #000;
}

.btn-register {
  background: #00ffff;
  color: #000;
  box-shadow: 0 3px 8px rgba(0,255,255,0.3);
}

.btn-register:hover {
  background: #00cccc;
}

/* ===== HERO SECTION ===== */
#home {
  padding-top: 80px;
  min-height: 100vh;
  color: white;
}

.content-iklan {
  position: relative;
  margin: 30px auto;
  background-color: #212121;
  max-width: 1120px;
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  padding: 0 20px;
}

/* ===== SLIDER ARROWS ===== */
.content-iklan i {
  position: absolute;
  font-size: 40px;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
  z-index: 20;
  top: 50%;
  transform: translateY(-50%);
}

.content-iklan i.prev {
  left: 20px;
}

.content-iklan i.next {
  right: 20px;
}

.content-iklan i:hover {
  color: #00ffff;
  transform: translateY(-50%) scale(1.2);
}

/* ===== SLIDER ===== */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== SLIDE ITEM ===== */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
  transform: translateX(100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.slide.active {
  z-index: 2;
  transform: translateX(0%);
}

.slide.exit-left {
  z-index: 1;
  transform: translateX(-100%);
}

.slide.exit-right {
  z-index: 1;
  transform: translateX(100%);
}

.slide.enter-from-right {
  z-index: 2;
  transform: translateX(100%);
}

.slide.enter-from-left {
  z-index: 2;
  transform: translateX(-100%);
}

/* ===== SLIDE BACKGROUND ===== */
.bg-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
  filter: blur(10px);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* ===== COVER IMAGE ===== */
.cover-wrapper {
  position: relative;
  width: 280px;
  height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 3;
  transform: rotate(5deg);
  transition: transform 0.3s;
  margin: 0 auto;
}

.cover-wrapper:hover {
  transform: rotate(0deg) scale(1.05);
}

.cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none !important;
}

/* ===== CAPTION ===== */
.caption {
  position: relative;
  z-index: 3;
  color: white;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
  padding-left: 20px;
}

.caption h3 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #00ffff;
}

.caption p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.genres {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: left;
}

.genres span {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  background: transparent;
  border: 2px solid #00ffff;
  border-radius: 20px;
  transition: 0.3s;
}

.genres span:hover {
  background: #00ffff;
  color: #000;
}

/* ===== BUY BUTTON ===== */
.read-now {
  display: inline-block;
  padding: 12px 30px;
  background: #00ffff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
}

.read-now:hover {
  background: #00cccc;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 255, 255, 0.5);
}

/* ===== AUCTION BANNER SECTION ===== */
.auction-banner {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.auction-container {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 25px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
  border: 2px solid rgba(0, 255, 255, 0.3);
}

.auction-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  animation: pulse 2s infinite;
  margin-bottom: 20px;
}

/* ===== BANNER BUY BUTTON ENHANCEMENTS ===== */
/* Add this to your style.css or create separate banner-styles.css */

/* Banner Buy Button Styling */
.banner-buy-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.banner-buy-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.banner-buy-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Active/Pressed State */
.banner-buy-btn:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 255, 255, 0.4);
}

/* Loading State */
.banner-buy-btn.loading {
  pointer-events: none;
  opacity: 0.7;
  cursor: not-allowed;
}

.banner-buy-btn.loading i {
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Hover Effect Enhancement */
.banner-buy-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.6);
}

/* Pulse Animation for Attention */
.banner-buy-btn {
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 6px 15px rgba(0, 255, 255, 0.5);
  }
}

/* Remove pulse on hover */
.banner-buy-btn:hover {
  animation: none;
}

/* Focus State for Accessibility */
.banner-buy-btn:focus {
  outline: 3px solid rgba(0, 255, 255, 0.5);
  outline-offset: 3px;
}

/* Mobile Touch Feedback */
@media (max-width: 768px) {
  .banner-buy-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s;
  }
}

/* ===== BANNER NOTIFICATION ANIMATIONS ===== */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* ===== SLIDER IMPROVEMENTS ===== */
/* Prevent layout shift during transitions */
.slider {
  will-change: transform;
}

.slide {
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* Smooth cover image transitions */
.cover-wrapper {
  will-change: transform;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #00ffff;
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 0 0 5px 0;
  z-index: 100;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .banner-buy-btn {
    border: 3px solid #fff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .banner-buy-btn,
  .slide,
  .cover-wrapper {
    animation: none !important;
    transition: none !important;
  }
}

/* ===== LOADING SPINNER ===== */
.banner-loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* ===== RESPONSIVE BANNER BUTTON ===== */
@media (max-width: 480px) {
  .banner-buy-btn {
    padding: 10px 22px;
    font-size: 13px;
    white-space: nowrap;
  }
  
  .banner-buy-btn i {
    font-size: 14px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .banner-buy-btn,
  .prev,
  .next {
    display: none;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
  }
}

.auction-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: center;
}

.auction-info h2 {
  font-size: 36px;
  color: #fff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auction-info p {
  font-size: 16px;
  color: #bbb;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* ===== COUNTDOWN TIMER ===== */
.countdown-timer {
  display: flex;
  gap: 15px;
  align-items: center;
  margin: 30px 0;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 15px;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  padding: 15px 20px;
  border-radius: 12px;
  min-width: 80px;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
}

.time-value {
  font-size: 32px;
  font-weight: bold;
  color: #000;
  line-height: 1;
}

.time-label {
  font-size: 12px;
  color: #000;
  margin-top: 5px;
  text-transform: uppercase;
  font-weight: 600;
}

.time-separator {
  font-size: 28px;
  color: #00ffff;
  font-weight: bold;
}

/* ===== AUCTION STATS ===== */
.auction-stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

.stat-item i {
  font-size: 28px;
  color: #00ffff;
}

.stat-item div {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.stat-label {
  font-size: 13px;
  color: #aaa;
}

/* ===== JOIN AUCTION BUTTON ===== */
.btn-join-auction {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #00ffff, #00ccff);
  color: #000;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 255, 255, 0.4);
  margin-top: 10px;
}

.btn-join-auction:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.6);
}

.btn-join-auction i {
  font-size: 20px;
}

/* ===== AUCTION PREVIEW CARD ===== */
.auction-preview {
  position: relative;
}

.preview-card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease;
  position: relative;
}

.preview-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.4);
}

.preview-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
  animation: pulse 2s infinite;
}

.preview-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #1a1a1a;
  padding: 20px;
}

.preview-info {
  padding: 20px;
}

.preview-info h4 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 15px;
}

.preview-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.preview-price .label {
  font-size: 13px;
  color: #aaa;
}

.preview-price .price {
  font-size: 20px;
  font-weight: bold;
  color: #00ffff;
}

.preview-bids {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #ccc;
}

.preview-bids i {
  color: #00ffff;
}

/* ===== KATALOG SECTION ===== */
.katalog {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.kategori {
  margin-bottom: 60px;
}

.kategori-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.kategori-header h3 {
  font-size: 28px;
  color: #fff;
  margin: 0;
  border-left: 4px solid #00ffff;
  padding-left: 15px;
}

.lihat-semua {
  font-size: 16px;
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  padding: 8px 20px;
  border: 2px solid #00ffff;
  border-radius: 20px;
}

.lihat-semua:hover {
  background: #00ffff;
  color: #000;
}

/* ===== PRODUCT GRID ===== */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.produk-card a {
  text-decoration: none;
}

.produk-card {
  background: #2a2a2a;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.produk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,255,255,0.3);
}

.produk-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
  background: #1a1a1a;
  padding: 10px;
}

.produk-card h4 {
  font-size: 18px;
  color: #fff;
  margin: 10px 0;
}

.produk-card .harga {
  font-size: 20px;
  color: #00ffff;
  font-weight: bold;
  margin: 10px 0;
}

.produk-card .kota {
  font-size: 14px;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 968px) {
  .auction-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .auction-stats {
    flex-direction: column;
    gap: 15px;
  }

  .stat-item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 10px 15px;
  }

  .nav-links {
    display: none;
  }

  .search-wrapper {
    order: 3;
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 10px;
  }

  /* ===== PERBAIKAN CONTENT IKLAN UNTUK MOBILE ===== */
  .content-iklan {
    height: auto;
    min-height: 600px; /* Tinggi lebih besar untuk ruang cukup */
    margin: 20px 10px;
    width: calc(100% - 20px);
    padding: 0;
  }

  .slide {
    flex-direction: column;
    padding: 20px 15px;
    justify-content: space-evenly; /* Distribusi ruang merata */
    gap: 15px;
    align-items: center;
  }

  /* Perbesar Cover Image */
  .cover-wrapper {
    width: 280px;
    height: 350px;
    margin: 0 auto;
    transform: rotate(0deg); /* Hilangkan rotasi agar lebih rapi */
    flex-shrink: 0;
  }

  .cover-wrapper:hover {
    transform: scale(1.03);
  }

  /* Caption dengan ruang yang cukup */
  .caption {
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
    flex-shrink: 0;
  }

  .caption h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .caption p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .genres {
    justify-content: center;
    margin-bottom: 15px;
    gap: 8px;
  }

  .genres span {
    padding: 5px 12px;
    font-size: 13px;
  }

  .read-now {
    padding: 10px 25px;
    font-size: 14px;
  }

  /* Arrow Controls - Lebih kecil di mobile */
  .content-iklan i {
    font-size: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }

  .content-iklan i.prev {
    left: 10px;
  }

  .content-iklan i.next {
    right: 10px;
  }

  /* ===== END PERBAIKAN CONTENT IKLAN ===== */

  .auction-container {
    padding: 25px;
  }

  .auction-info h2 {
    font-size: 26px;
  }

  .time-box {
    min-width: 60px;
    padding: 10px 15px;
  }

  .time-value {
    font-size: 24px;
  }

  .katalog {
    padding: 40px 15px;
  }

  .produk-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .produk-card img {
    height: 150px;
  }

  .kategori-header h3 {
    font-size: 22px;
  }

  .lihat-semua {
    font-size: 14px;
    padding: 6px 15px;
  }
}

/* ===== EXTRA SMALL MOBILE (480px) ===== */
@media (max-width: 480px) {
  .content-iklan {
    min-height: 580px;
    margin: 15px 8px;
    width: calc(100% - 16px);
  }

  .slide {
    padding: 15px 10px;
  }

  .cover-wrapper {
    width: 240px;
    height: 300px;
  }

  .caption h3 {
    font-size: 20px;
  }

  .caption p {
    font-size: 13px;
    line-height: 1.4;
  }

  .genres span {
    font-size: 12px;
    padding: 4px 10px;
  }

  .read-now {
    padding: 8px 20px;
    font-size: 13px;
  }

  .content-iklan i {
    font-size: 26px;
    width: 36px;
    height: 36px;
  }
}

/* ===== LANDSCAPE MODE UNTUK MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .content-iklan {
    min-height: 380px;
  }

  .slide {
    flex-direction: row;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }

  .cover-wrapper {
    width: 200px;
    height: 280px;
    margin: 0;
  }

  .caption {
    text-align: left;
    max-width: 50%;
    padding-left: 15px;
  }

  .caption h3 {
    font-size: 22px;
  }

  .caption p {
    font-size: 13px;
    line-height: 1.4;
  }

  .genres {
    justify-content: flex-start;
  }
}

/* ===== USER PROFILE SECTION ===== */
.user-profile-section {
  display: none; /* Hidden by default, shown when logged in */
  align-items: center;
  gap: 15px;
  position: relative;
}

/* ===== NOTIFICATION BUTTON ===== */
.notification-btn {
  position: relative;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
  font-size: 20px;
}

.notification-btn:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: #00ffff;
  color: #00ffff;
}

.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  border: 2px solid #212121;
}

.notification-badge:empty {
  display: none;
}

/* ===== USER PROFILE TRIGGER ===== */
.user-profile-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 15px;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.user-profile-trigger:hover {
  background: rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00ffff;
}

.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.user-name {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
}

.user-role {
  font-size: 11px;
  color: #00ffff;
  text-transform: uppercase;
  font-weight: 600;
}

.dropdown-arrow {
  font-size: 14px;
  color: #00ffff;
  transition: 0.3s;
}

.user-profile-trigger:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ===== USER DROPDOWN MENU ===== */
.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #2a2a2a;
  border: 2px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  min-width: 220px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding-left: 25px;
}

.dropdown-item i {
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.dropdown-item span {
  font-size: 14px;
  font-weight: 500;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 5px 0;
}

#logout-btn {
  color: #ff4757;
}

#logout-btn:hover {
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .user-info {
    display: none;
  }
  
  .dropdown-arrow {
    display: none;
  }
  
  .user-profile-trigger {
    padding: 5px;
    background: transparent;
    border: none;
  }
  
  .user-dropdown {
    right: -10px;
  }
  
  .notification-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}