:root {
  color-scheme: dark;
  --primary-color: #F7FD32; /* Neon Lime-Yellow from visual identity */
  --primary-hover: #D8DF1B;
  --secondary-color: #000000; /* Pure black */
  --background-color: #0A0A0E; /* Dark background */
  --surface-color: #12131C; /* Darker charcoal */
  --text-primary: #FFFFFF; /* White */
  --text-secondary: #9CA3AF; /* Light gray */
  --border-color: #222533; /* Dark border */
  --accent-purple: #D946EF; /* Magenta */
  --accent-blue: #38BDF8; /* Cyan */
  --accent-pink: #EC4899; /* Neon Pink */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.6);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.8);
  --border-radius: 16px;
  --transition-speed: 0.25s;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(217, 70, 239, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(247, 253, 50, 0.02) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background-color: #08080C;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--accent-purple) 0%, var(--accent-pink) 25%, var(--primary-color) 50%, var(--accent-blue) 75%, var(--accent-purple) 100%) 1;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 5%;
}

.logo-container {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
}

.logo-main {
  position: relative;
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -1px;
}

.logo-crown {
  width: 26px;
  height: 26px;
  margin-left: -6px;
  margin-top: -14px;
}

.logo-slogan {
  font-size: 0.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 1.2px;
  margin-top: -1px;
  text-transform: uppercase;
}

.search-container {
  flex: 1;
  max-width: 500px;
  margin: 0 2rem;
  position: relative;
}

.search-container input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-speed);
}

.search-container input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(247, 253, 50, 0.15);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.points-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.points-balance .label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.points-balance .value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--primary-color);
  color: white;
  font-size: 0.6rem;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.avatar-initials {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  user-select: none;
  transition: border-color var(--transition-speed);
}

.profile-dropdown:hover .avatar-initials {
  border-color: var(--primary-color);
}

/* Navigation */
.main-nav {
  display: flex;
  justify-content: center;
  padding: 0.9rem 5%;
  gap: 2.2rem;
  background-color: #0E0E12;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #D1D5DB;
  transition: all var(--transition-speed);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width var(--transition-speed);
}

.nav-link:hover::after {
  width: 100%;
}

/* Multi-color visual identity hovers */
.nav-link:nth-child(4n+1):hover { 
  color: var(--primary-color) !important; 
  text-shadow: 0 0 10px rgba(247, 253, 50, 0.4); 
}
.nav-link:nth-child(4n+1)::after { 
  background-color: var(--primary-color); 
}

.nav-link:nth-child(4n+2):hover { 
  color: var(--accent-pink) !important; 
  text-shadow: 0 0 10px rgba(236, 72, 153, 0.4); 
}
.nav-link:nth-child(4n+2)::after { 
  background-color: var(--accent-pink); 
}

.nav-link:nth-child(4n+3):hover { 
  color: var(--accent-purple) !important; 
  text-shadow: 0 0 10px rgba(217, 70, 239, 0.4); 
}
.nav-link:nth-child(4n+3)::after { 
  background-color: var(--accent-purple); 
}

.nav-link:nth-child(4n):hover { 
  color: var(--accent-blue) !important; 
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); 
}
.nav-link:nth-child(4n)::after { 
  background-color: var(--accent-blue); 
}

/* Typography Utilities */
.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #FFFFFF;
  position: relative;
  display: inline-block;
}

.section-title.title-yellow {
  background: linear-gradient(90deg, #FFFFFF 40%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.title-pink {
  background: linear-gradient(90deg, #FFFFFF 40%, var(--accent-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.title-purple {
  background: linear-gradient(90deg, #FFFFFF 40%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-title.title-blue {
  background: linear-gradient(90deg, #FFFFFF 40%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  margin-top: 0.6rem;
  border-radius: 4px;
}

.title-yellow::after { 
  background: linear-gradient(90deg, var(--primary-color), transparent); 
  box-shadow: 0 0 10px rgba(247, 253, 50, 0.6);
}
.title-pink::after { 
  background: linear-gradient(90deg, var(--accent-pink), transparent); 
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
}
.title-purple::after { 
  background: linear-gradient(90deg, var(--accent-purple), transparent); 
  box-shadow: 0 0 10px rgba(217, 70, 239, 0.6);
}
.title-blue::after { 
  background: linear-gradient(90deg, var(--accent-blue), transparent); 
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
  color: white;
}

.hero-subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #FFA500;
  font-weight: 600;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 900;
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #000000;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Sections */
.container {
  padding: 2rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

section.container {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
  padding-left: 5% !important;
  padding-right: 5% !important;
  max-width: 1400px !important;
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-cols-4 {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.grid-cols-6 {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

/* Card Styles */
.card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-points {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-points span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  margin-top: auto;
  padding: 0.5rem 1rem;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #000000;
  box-shadow: 0 0 15px rgba(247, 253, 50, 0.4);
}

/* Exclusive Offers */
.offer-card {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.offer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.offer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 2;
}

.offer-content {
  position: relative;
  z-index: 3;
  padding: 1.5rem;
  color: white;
  width: 100%;
}

.offer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timer {
  display: inline-flex;
  gap: 0.5rem;
  background: rgba(0,0,0,0.5);
  padding: 0.5rem;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.time-box {
  text-align: center;
}

.time-val {
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.time-lbl {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #DDD;
}

/* Partners & Brands */
.partner-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-speed);
  overflow: hidden;
}

.partner-card:hover {
  transform: scale(1.05);
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: all var(--transition-speed);
}

.partner-card:hover .partner-img {
  opacity: 1;
  transform: scale(1.05);
}

/* Articles */
.article-card .card-img {
  height: 180px;
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: auto;
  display: inline-block;
}

.read-more:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--secondary-color);
  color: white;
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #AAA;
  font-size: 0.9rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #AAA;
  font-size: 0.9rem;
  transition: color var(--transition-speed);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .header-top {
    flex-wrap: wrap;
  }
  .search-container {
    order: 3;
    max-width: 100%;
    margin: 1rem 0 0;
  }
  .main-nav {
    display: none; /* In a real app, replace with a hamburger menu */
  }
  .hero-title {
    font-size: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Alert Banners */
.alert {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease-in-out;
}

.alert-success {
  background-color: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.alert-danger {
  background-color: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.alert-icon {
  font-size: 1.2rem;
}

.alert-text {
  flex-grow: 1;
}

/* Auth Screens */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 3rem 1.5rem;
}

.auth-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border-color);
}

.auth-title {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-pink) 0%, var(--primary-color) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control, .form-select, .form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition-speed);
  background-color: var(--background-color);
  color: var(--text-primary);
  height: auto;
}

select.form-control option, select.form-select option, select.form-input option {
  background-color: var(--surface-color);
  color: var(--text-primary);
}

.form-control:focus, .form-select:focus, .form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 3px rgba(247, 253, 50, 0.15);
  color: var(--text-primary);
}

.is-invalid {
  border-color: var(--accent-pink) !important;
  background-color: rgba(236, 72, 153, 0.05) !important;
  color: var(--text-primary) !important;
}

.invalid-feedback, .error-text {
  display: block;
  color: var(--primary-color);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.input-phone-container {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all var(--transition-speed);
}

.input-phone-container:focus-within {
  border-color: var(--primary-color);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 3px rgba(247, 253, 50, 0.15);
}

.phone-prefix {
  padding: 0.8rem 1rem;
  background-color: var(--surface-color);
  color: var(--text-secondary);
  font-weight: bold;
  border-right: 1px solid var(--border-color);
}

.input-phone-container .form-control, .input-phone-container .form-input {
  border: none;
  background: transparent;
  border-radius: 0;
}

.input-phone-container .form-control:focus, .input-phone-container .form-input:focus {
  box-shadow: none;
  background: transparent;
}

.btn-block {
  width: 100%;
  padding: 0.9rem;
}

.auth-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.auth-footer a {
  color: var(--primary-color);
  font-weight: 500;
}

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

/* OTP Screen Specifics */
.mock-otp-banner {
  background-color: rgba(245, 124, 0, 0.1);
  border: 1px solid rgba(245, 124, 0, 0.25);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.mock-badge {
  background-color: #F57C00;
  color: #000000;
  font-size: 0.7rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
}

.mock-desc {
  color: #FFB74D;
}

.otp-input-group {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
  max-width: 360px;
  width: 100%;
  margin: 1.5rem 0;
}

.otp-digit-input {
  width: 100%;
  height: 50px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--background-color);
  color: var(--text-primary);
  transition: all var(--transition-speed);
}

.otp-digit-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--surface-color);
  box-shadow: 0 0 0 3px rgba(247, 253, 50, 0.15);
}

.otp-timer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.otp-timer a {
  color: var(--primary-color);
  font-weight: 600;
}

.disabled-link {
  color: var(--text-secondary) !important;
  pointer-events: none;
  text-decoration: none;
}

/* Success Card details */
.success-card {
  animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.success-checkmark-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #E6F4EA;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-checkmark {
  width: 25px;
  height: 45px;
  border: solid #137333;
  border-width: 0 5px 5px 0;
  transform: rotate(45deg) translate(-3px, -3px);
}

.reward-badge-container {
  background: linear-gradient(135deg, rgba(247, 253, 50, 0.05) 0%, rgba(247, 253, 50, 0.02) 100%);
  border: 1px dashed var(--primary-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reward-points-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.reward-points-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Dropdown styling */
.profile-dropdown {
  position: relative;
  cursor: pointer;
  padding-bottom: 0.8rem;
  margin-bottom: -0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  top: 100%;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  z-index: 1001;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

.profile-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-header {
  padding: 1rem 1.2rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
}

.dropdown-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.dropdown-phone {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.dropdown-item {
  display: block;
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: background-color var(--transition-speed);
  text-align: left;
}

.dropdown-item:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
}

.logout-btn {
  border-top: 1px solid var(--border-color) !important;
}

/* Notification Dropdown styling */
.notification-dropdown {
  position: relative;
  cursor: pointer;
  padding-bottom: 0.8rem;
  margin-bottom: -0.8rem;
}

.notification-menu {
  display: none;
  position: absolute;
  right: 0;
  left: auto;
  top: 100%;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  width: 320px;
  z-index: 1001;
  overflow: hidden;
  animation: fadeIn 0.2s ease-out;
}

.notification-dropdown:hover .notification-menu {
  display: block;
}

.notification-header {
  padding: 1rem 1.2rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-item:hover {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Profile Edit Dashboard */
.profile-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-user-card {
  position: relative;
  background-color: #0F0F14;
  background-image: 
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(247, 253, 50, 0.15);
  padding: 2.2rem 2rem;
  text-align: left;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #FFE082 0%, #FFB300 100%);
  border-radius: 6px;
  position: relative;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
}

.card-crown {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 2px 8px rgba(247, 253, 50, 0.3));
}

.card-smiley {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 90px;
  height: 90px;
  opacity: 0.12;
  transform: rotate(-15deg);
}

.card-logo-text {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.card-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', Courier, monospace;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  gap: 1rem;
}

.card-holder, .card-balance {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-label {
  font-size: 0.55rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

.card-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
}

.profile-user-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 0.2rem;
}

.profile-user-phone {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.profile-tier-badge {
  background-color: #1A1A1A;
  color: #D4AF37; /* Gold color */
  border-radius: 20px;
  padding: 0.4rem 1rem;
  display: inline-flex;
  flex-direction: column;
  font-size: 0.7rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.tier-label {
  font-size: 0.55rem;
  color: #AAA;
  letter-spacing: 0.5px;
}

.tier-value {
  font-weight: 700;
}

.profile-user-stats {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.2rem 0;
  margin-bottom: 1rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
}

.profile-member-id {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.profile-menu {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.profile-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  border-left: 3px solid transparent;
  transition: all var(--transition-speed);
}

.profile-menu-item:last-child {
  border-bottom: none;
}

.profile-menu-item:nth-child(4n+1):hover, .profile-menu-item:nth-child(4n+1).active {
  background-color: rgba(56, 189, 248, 0.08);
  color: var(--accent-blue);
  border-left: 3px solid var(--accent-blue);
  padding-left: 1.8rem;
}
.profile-menu-item:nth-child(4n+2):hover, .profile-menu-item:nth-child(4n+2).active {
  background-color: rgba(236, 72, 153, 0.08);
  color: var(--accent-pink);
  border-left: 3px solid var(--accent-pink);
  padding-left: 1.8rem;
}
.profile-menu-item:nth-child(4n+3):hover, .profile-menu-item:nth-child(4n+3).active {
  background-color: rgba(217, 70, 239, 0.08);
  color: var(--accent-purple);
  border-left: 3px solid var(--accent-purple);
  padding-left: 1.8rem;
}
.profile-menu-item:nth-child(4n):hover, .profile-menu-item:nth-child(4n).active {
  background-color: rgba(247, 253, 50, 0.08);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
  padding-left: 1.8rem;
}

.profile-content-card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
}

.readonly-input {
  color: #888;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .profile-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Points History Transaction Table */
.transaction-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--surface-color);
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.transaction-table th {
  background-color: var(--background-color);
  color: var(--text-secondary);
  font-weight: 600;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.transaction-table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.transaction-table tbody tr:last-child td {
  border-bottom: none;
}

.transaction-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.tx-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

.tx-type-earn {
  background-color: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.tx-type-redeem {
  background-color: rgba(248, 113, 113, 0.15);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.tx-type-adjust {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.tx-amount {
  font-weight: 700;
  font-size: 1.05rem;
}

.tx-amount-earn {
  color: #4ade80;
}

.tx-amount-redeem {
  color: #f87171;
}

.tx-amount-adjust {
  color: #38bdf8;
}
