:root {
  --primary: #2C2C2C;
  --primary-dark: #212121;
  --primary-light: #494949;
  --secondary: #b6724c;
  --secondary-dark: #b6724c;
  --dark: #141414;
  --dark-gray: #212121;
  --medium-gray: #6f6f6f;
  --light-gray: #D1D1D1;
  --off-white: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --text-primary: #ffffff;
  --text-secondary: #D1D1D1;
  --app-bar: #141414;
  --tag-color: rgba(255, 111, 0, 0.6);
}

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

body {
  font-family: 'Visby', 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  background-color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Visby', 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--white);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--light-gray);
}

.lead {
  font-size: 1.55rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 3rem;
}

/* Navbar */
.navbar {
  transition: all 0.3s ease;
  padding: 1rem 0;
  background-color: var(--app-bar);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar.scrolled {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 0;
}

.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  color: var(--text-primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--text-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(182, 114, 76, 0.3);
}

.btn-outline-primary {
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(182, 114, 76, 0.2);
}

.btn-secondary {
  background-color: var(--medium-gray);
  border-color: var(--medium-gray);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(33, 33, 33, 0.3);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
}

.btn-link {
  padding: 0;
  text-decoration: none;
  color: var(--secondary);
}

.rounded-pill {
  border-radius: 50px !important;
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 6rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10; /* Ensure content is above other elements including the wave */
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1; /* Lower z-index to ensure it doesn't overlap clickable elements */
}

/* Custom store buttons */
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-store:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-store i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Featured Photos Section */
.featured-section {
  background-color: var(--primary);
}

.featured-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  background-color: var(--dark);
}

.photo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.photo-card img {
  object-fit: cover;
  width: 100%;
  height: 350px;
  display: block;
  transition: transform 0.5s ease;
}

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

.photo-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
}

.photo-card-user {
  display: flex;
  align-items: center;
}

.photo-card-user img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

/* Bouts Section */
.bouts-section {
  background-color: var(--dark);
}

.bout-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  background-color: var(--primary);
  height: 100%;
}

.bout-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.bout-card-img {
  height: 275px;
  overflow: hidden;
  position: relative;
}

.bout-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bout-card:hover .bout-card-img img {
  transform: scale(1.1);
}

.bout-status {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
}

.bout-status.completed {
  background-color: var(--secondary);
}

.bout-card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--tag-color);
  color: white;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
}

.bout-card-info {
  padding: 1.5rem;
}

.host-info {
  display: flex;
  align-items: center;
  margin: 0.75rem 0;
}

.host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.host-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.bout-meta {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
  gap: 0.5rem;
}

.bout-meta-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--light-gray);
}

.bout-meta-item i {
  margin-right: 0.5rem;
  width: 18px;
  text-align: center;
}

/* Bout Section Tabs */
.nav-tabs {
  border-bottom: 1px solid var(--dark-gray);
  margin-bottom: 1.5rem;
}

.nav-tabs .nav-link {
  color: var(--light-gray) !important;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 1.5rem !important;
  margin-right: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--white) !important;
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: var(--white) !important;
  background-color: transparent;
  border-color: var(--secondary);
}

.nav-tabs .nav-link::after {
  display: none;
}

.tab-content {
  padding-top: 1rem;
}

/* Community Section */
.community-section {
  background-color: var(--primary);
}

.photographer-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.photographer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.photographer-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 5px solid var(--white);
}

.photographer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photographer-name {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.photographer-title {
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
}

.photographer-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--medium-gray);
  font-weight: 500;
}

/* Leaderboard Section */
.leaderboard-section {
  background-color: var(--primary-dark);
  position: relative;
}

.leaderboard-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  z-index: 1;
}

.leaderboard-section .container {
  position: relative;
  z-index: 2;
}

.leaderboard-container {
  background-color: var(--primary);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.leaderboard-header {
  display: flex;
  padding: 1.25rem 1.5rem;
  background-color: var(--dark);
  color: var(--text-primary);
  font-weight: 600;
  border-radius: 16px 16px 0 0;
}

.leaderboard-rank {
  flex: 0 0 80px;
  text-align: center;
}

.leaderboard-photographer {
  flex: 1;
}

.leaderboard-score {
  flex: 0 0 120px;
  text-align: center;
}

.leaderboard-competitions {
  flex: 0 0 120px;
  text-align: center;
}

.leaderboard-wins {
  flex: 0 0 80px;
  text-align: center;
}

.leaderboard-entry {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.2s ease;
}

.leaderboard-entry:last-child {
  border-bottom: none;
}

.leaderboard-entry:hover {
  background-color: rgba(28, 117, 188, 0.05);
}

.leaderboard-entry .leaderboard-rank {
  position: relative;
}

.leaderboard-entry .rank-number {
  font-size: 1.25rem;
  font-weight: 700;
}

.leaderboard-entry:nth-child(1) .rank-number {
  color: gold;
}

.leaderboard-entry:nth-child(2) .rank-number {
  color: silver;
}

.leaderboard-entry:nth-child(3) .rank-number {
  color: #CD7F32; /* Bronze */
}

.leaderboard-entry .leaderboard-photographer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.leaderboard-entry .photographer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.leaderboard-entry .photographer-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leaderboard-entry .photographer-info .name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.leaderboard-entry .photographer-info .level {
  font-size: 0.85rem;
  color: var(--medium-gray);
}

.leaderboard-entry .leaderboard-score {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.leaderboard-entry .leaderboard-competitions,
.leaderboard-entry .leaderboard-wins {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leaderboard-entry .stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.leaderboard-entry .stat-icon {
  width: 20px;
  height: 20px;
}

/* Mobile view for leaderboard */
@media (max-width: 767px) {
  .leaderboard-entry {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    text-align: center;
  }
  
  .leaderboard-entry .leaderboard-photographer {
    flex-direction: column;
    width: 100%;
  }
  
  .leaderboard-entry .photographer-avatar {
    margin: 0 auto;
    width: 80px;
    height: 80px;
  }
  
  .leaderboard-entry .mobile-stats {
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 1rem;
  }
  
  .leaderboard-entry .mobile-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .leaderboard-entry .mobile-stat-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    margin-bottom: 0.25rem;
  }
  
  .leaderboard-entry .mobile-stat-value {
    font-weight: 600;
  }
  
  .leaderboard-entry .mobile-stat-value.score {
    color: var(--primary);
    font-size: 1.25rem;
  }
}

/* Blog Section */
.blog-section {
  background-color: var(--primary);
}

.blog-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none;
  background-color: var(--dark-gray);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-card .card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.blog-card .card-text {
  color: var(--text-secondary);
}

.blog-card .card-footer {
  padding-top: 0;
}

/* Download Section */
.download-section {
  background-color: var(--primary);
}

.btn-download {
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-download:hover {
  transform: translateY(-5px);
  opacity: 0.9;
}

.app-screens {
  position: relative;
}

.app-screens img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  max-height: 600px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.app-screens img:hover {
  transform: translateY(-10px);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--light-gray);
  padding: 5rem 0 2rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  display: block;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

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

.social-icons a {
  color: white;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px 0 0 8px;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.newsletter-form .btn {
  border-radius: 0 8px 8px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-section {
    padding: 8rem 0 4rem;
  }
  
  .navbar-collapse {
    background-color: #1d1d1e;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  
  .featured-photos {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 7rem 0 3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .photo-card-info {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Framez Picks Section */
.framez-picks-section {
  background-color: var(--primary-dark);
  position: relative;
  padding: 4rem 0;
}

.framez-picks-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 1px; /* Even smaller row size for more precise control */
  grid-gap: 15px;
  position: relative; /* Add position relative to the container */
  min-height: 300px; /* Ensure container has enough height when empty */
}

.framez-pick-card {
  grid-row-end: span 25; /* Default height span, will be overridden by JavaScript */
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--dark);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  line-height: 0; /* Remove extra space around image */
  height: 100%; /* Fill the grid cell height */
  padding: 0; /* Remove any padding */
  margin: 0; /* Ensure no margins */
  font-size: 0; /* Remove any whitespace */
  display: block; /* Ensure block display */
}

.framez-pick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pick-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffc107;
  color: #000;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  z-index: 2;
  display: none; /* Hide the badge */
  align-items: center;
}

.pick-badge i {
  margin-right: 5px;
  color: #b3860b;
  display: none; /* Hide icon to match reference image */
}

.framez-pick-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  margin: 0; /* Remove any margins */
}

.framez-pick-card:hover img {
  transform: scale(1.05);
}

.framez-pick-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  color: white;
  z-index: 2;
  pointer-events: none; /* Allow clicks to pass through to the image */
  font-size: 1rem; /* Reset font size for text in this element */
}

.framez-pick-card-user {
  display: flex;
  align-items: center;
}

.framez-pick-card-user img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 5px;
  object-fit: cover;
  flex-shrink: 0;
}

.framez-pick-card-user h5 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

.framez-pick-card-user small {
  color: rgba(255,255,255,0.85);
  display: block;
  font-size: 0.8rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* Add gradient overlay to make text more readable */
.framez-pick-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
}

.framez-pick-card .d-flex {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* Progressive blur loading animation - matches Framez app exactly */
.framez-pick-card.loading {
  position: relative;
  overflow: hidden;
}

.framez-pick-card.loading img {
  filter: blur(8px);
  transform: scale(1.02);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.framez-pick-card img.loaded {
  filter: blur(0px);
  transform: scale(1);
}

.framez-pick-card.loading .framez-pick-card-info {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.framez-pick-card:not(.loading) .framez-pick-card-info {
  opacity: 1;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .framez-picks-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 10px;
  }
  
  .pick-badge {
    font-size: 0.8rem;
    padding: 4px 10px;
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 576px) {
  .framez-picks-container {
    grid-template-columns: 1fr;
  }
}

/* Top Photographers Section - Matching App Design */
.top-scorers-carousel {
  margin: 0 -10px;
  overflow: visible;
  padding-bottom: 30px; /* Increased padding to make room for dots */
}

.top-scorers-carousel .slick-list {
  overflow: visible;
  margin: 0 -10px;
  padding: 10px 0;
}

/* Hide scrollbar for all browsers but allow scrolling */
.top-scorers-carousel.slick-slider {
  -ms-overflow-style: none;  /* Internet Explorer and Edge */
  scrollbar-width: none;  /* Firefox */
}

.top-scorers-carousel.slick-slider::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

/* Adjust dots position to be higher */
.top-scorers-carousel .slick-dots {
  bottom: 0px; /* Move dots higher */
}

/* Make the carousel respond to touchpad gestures */
.slick-list {
  cursor: grab;
}

.slick-list:active {
  cursor: grabbing;
}

.top-scorer-card {
  flex: 0 0 auto;
  width: 160px;
  margin: 0 5px;
  text-align: center;
}

.scorer-card-inner {
  background-color: var(--dark-gray);
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  padding: 10px 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6px;
  width: 150px; /* Set explicit width */
  margin: 0 auto; /* Center the inner card */
}

.profile-image-container {
  position: relative;
  margin-bottom: 10px;
  width: 110px;
  height: 110px;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.framez-logo-badge {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 22px;
  background-color: var(--dark-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.framez-logo-badge img {
  width: 18px;
  height: 18px;
}

.scorer-score {
  font-size: 22px;
  font-weight: bold;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: 'Visby', sans-serif;
}

.scorer-stats {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 16px;
}

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

.stat-value {
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  font-family: 'Visby', sans-serif;
}

.stat-icon {
  margin-top: 4px;
}

.scorer-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 5px;
  font-family: 'Visby', sans-serif;
}

/* Slick Carousel Customization for Top Photographers */
.top-scorers-carousel .slick-dots {
  bottom: -15px;
}

.top-scorers-carousel .slick-dots li button:before {
  color: var(--text-secondary);
}

.top-scorers-carousel .slick-dots li.slick-active button:before {
  color: var(--secondary);
}

.top-scorers-carousel .slick-prev,
.top-scorers-carousel .slick-next {
  width: 30px;
  height: 30px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  z-index: 1;
}

.top-scorers-carousel .slick-prev:before,
.top-scorers-carousel .slick-next:before {
  font-size: 20px;
}

.top-scorers-carousel .slick-prev {
  left: 0px;
}

.top-scorers-carousel .slick-next {
  right: 0px;
}

/* Hide scrollbars for all carousels while allowing scrolling functionality */
.slick-slider {
  overflow: hidden !important;
}

/* Apply dot positioning to all carousels */
.slick-dots {
  bottom: -15px;
}

/* Improve dots appearance */
.slick-dots li button:before {
  font-size: 10px;
  opacity: 0.5;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

@media (max-width: 768px) {
  .scorer-card-inner {
    padding: 15px 10px;
  }
  
  .profile-image-container {
    width: 80px;
    height: 80px;
  }
  
  .scorer-score {
    font-size: 24px;
  }
  
  .stat-value {
    font-size: 18px;
  }
}

/* Carousel Customizations */
.slick-slider {
  /* Hide scrollbar but allow scrolling */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.slick-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Move dots higher */
.slick-dots {
  bottom: -15px !important; /* Moved from -30px to -15px */
}

.slick-dots li button:before {
  font-size: 10px;
  opacity: 0.3;
}

.slick-dots li.slick-active button:before {
  opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .slick-dots {
    bottom: -10px !important;
  }
  
  .carousel-item {
    padding: 0 10px;
  }
}

/* Carousel Improvements */
.slick-slider {
  overflow: hidden;
}

.slick-dots {
  bottom: 10px;
}

.slick-track {
  padding: 5px 0;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slick-slider::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.slick-slider {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom Framez Loader Styles */
.framez-loader {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Specific styling for framez-picks loader to center it in the grid */
.framez-picks-container .framez-loader {
  grid-column: 1 / -1;
  min-height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: var(--primary-dark);
  margin: 20px auto;
  border-radius: 8px;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  max-width: 300px;
} 