    :root {
      --primary: #005A9C;
      --primary-dark: #003D6B;
      --primary-light: #0077CC;
      --secondary: #00A650;
      --accent: #E87722;
      --neutral-dark: #333333;
      --neutral-mid: #666666;
      --neutral-light: #F5F5F5;
      --border-color: #CCCCCC;
      --text-primary: #333333;
      --text-secondary: #666666;
      --success: #00A650;
      --warning: #FF9800;
      --error: #D32F2F;
      --discord: #5865F2;
    }

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

    body {
      font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      background: linear-gradient(180deg, #F8F9FA 0%, #E9ECEF 100%);
      min-height: 100vh;
      color: var(--text-primary);
      overflow-x: hidden;
      position: relative;
      font-size: 16px;
      line-height: 1.6;
    }

    /* Animated beach background for users with no photos */
    body::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background:
        radial-gradient(ellipse at 20% 80%, rgba(8, 131, 149, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(5, 191, 219, 0.08) 0%, transparent 50%);
      animation: waves 20s ease-in-out infinite;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes waves {
      0%, 100% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(-20px, 20px) scale(1.05); }
    }

    /* Animated wave layers */
    .wave-layer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 200px;
      background: transparent;
      pointer-events: none;
      z-index: 0;
    }

    .wave-layer svg {
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 100%;
    }

    .wave-layer.wave-1 {
      opacity: 0.3;
      animation: wave-motion-1 15s ease-in-out infinite;
    }

    .wave-layer.wave-2 {
      opacity: 0.2;
      animation: wave-motion-2 20s ease-in-out infinite;
    }

    .wave-layer.wave-3 {
      opacity: 0.1;
      animation: wave-motion-3 25s ease-in-out infinite;
    }

    @keyframes wave-motion-1 {
      0%, 100% { transform: translateX(0) translateY(0); }
      50% { transform: translateX(-25px) translateY(-10px); }
    }

    @keyframes wave-motion-2 {
      0%, 100% { transform: translateX(0) translateY(0); }
      50% { transform: translateX(25px) translateY(-5px); }
    }

    @keyframes wave-motion-3 {
      0%, 100% { transform: translateX(0) translateY(0); }
      50% { transform: translateX(-15px) translateY(-8px); }
    }

    /* Parallax photo background for users with photos */
    .photo-parallax-bg {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 0;
      pointer-events: none;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .photo-parallax-bg.active {
      opacity: 1;
    }

    .parallax-photo {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      filter: blur(8px) brightness(1.1);
      transform: scale(1.1);
      animation: parallax-drift 30s ease-in-out infinite;
      transition: opacity 2s ease-in-out;
    }

    @keyframes photo-fade {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    .parallax-photo::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        180deg,
        rgba(232, 244, 248, 0.85) 0%,
        rgba(245, 230, 211, 0.9) 50%,
        rgba(5, 191, 219, 0.85) 100%
      );
    }

    @keyframes parallax-drift {
      0%, 100% {
        transform: scale(1.1) translate(0, 0);
      }
      25% {
        transform: scale(1.15) translate(-20px, -20px);
      }
      50% {
        transform: scale(1.1) translate(-40px, 0);
      }
      75% {
        transform: scale(1.15) translate(-20px, 20px);
      }
    }

    /* Floating beach elements animation */
    .floating-elements {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
      opacity: 0.3;
    }

    .floating-element {
      position: absolute;
      font-size: 2rem;
      animation: float 20s infinite ease-in-out;
    }

    @keyframes float {
      0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
      }
      10% {
        opacity: 0.6;
      }
      90% {
        opacity: 0.6;
      }
      100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
      }
    }

    .container {
      position: relative;
      z-index: 1;
      max-width: 1400px;
      margin: 0 auto;
      padding: 2rem;
    }

    header {
      text-align: center;
      margin-bottom: 2rem;
      position: relative;
      overflow: hidden;
      border-radius: 8px;
      transition: padding 0.5s ease, box-shadow 0.5s ease;
    }

    .header-backdrop {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-size: cover;
      background-position: center;
      filter: blur(5px) brightness(0.7);
      z-index: -1;
      animation: fadeIn 1s ease-in-out, kenBurns 20s ease-in-out infinite alternate;
    }

    @keyframes kenBurns {
      0% {
        transform: scale(1.1) translate(0, 0);
      }
      100% {
        transform: scale(1.2) translate(-20px, -10px);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    .header-backdrop::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        135deg,
        rgba(0, 90, 156, 0.85) 0%,
        rgba(0, 119, 204, 0.75) 100%
      );
    }

    header.has-backdrop {
      padding: 3rem 2rem;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    header.has-backdrop h1,
    header.has-backdrop .subtitle {
      color: white;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
      position: relative;
      z-index: 1;
    }

    h1 {
      font-family: 'Pacifico', cursive;
      font-size: clamp(2rem, 6vw, 3.5rem);
      font-weight: 400;
      color: var(--primary);
      letter-spacing: 0.02em;
      margin-bottom: 0.5rem;
      animation: slideDown 0.8s ease-out;
      text-shadow: 2px 2px 4px rgba(0, 90, 156, 0.1);
    }

    @keyframes slideDown {
      from { opacity: 0; transform: translateY(-30px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .subtitle {
      font-family: 'Open Sans', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0.02em;
      color: var(--text-secondary);
    }

    .nav-tabs {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-bottom: 2rem;
      flex-wrap: wrap;
    }

    .tab-btn {
      font-family: 'Roboto', sans-serif;
      padding: 0.625rem 1.25rem;
      border: 2px solid var(--primary);
      background: white;
      border-radius: 4px;
      cursor: pointer;
      transition: all 0.2s ease;
      font-size: 0.9375rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--primary);
    }

    .tab-btn:hover {
      background: var(--primary-light);
      color: white;
      border-color: var(--primary-light);
    }

    .tab-btn.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .user-menu-container {
      position: absolute;
      top: 1rem;
      right: 1rem;
      z-index: 1000;
      animation: fadeIn 1s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .user-menu-trigger {
      cursor: pointer;
    }

    .user-avatar {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      border: 3px solid var(--primary-light);
      box-shadow: 0 4px 12px rgba(10, 77, 104, 0.2);
      transition: all 0.2s ease;
      display: block;
      background: white;
    }

    .user-avatar:hover {
      transform: scale(1.05);
      border-color: var(--primary);
      box-shadow: 0 6px 16px rgba(10, 77, 104, 0.3);
    }

    .user-dropdown {
      position: absolute;
      top: calc(100% + 0.5rem);
      right: 0;
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(10, 77, 104, 0.25);
      border: 2px solid var(--primary-light);
      min-width: 180px;
      overflow: hidden;
      animation: dropdownFadeIn 0.2s ease-out;
    }

    @keyframes dropdownFadeIn {
      from { opacity: 0; transform: translateY(-10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .user-dropdown-header {
      padding: 0.75rem 1rem;
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
      color: white;
      font-family: 'Roboto', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      border-bottom: 2px solid var(--primary);
    }

    .user-dropdown-item {
      padding: 0.75rem 1rem;
      font-family: 'Roboto', sans-serif;
      font-size: 0.85rem;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.15s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
    }

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

    .login-btn {
      font-family: 'Roboto', sans-serif;
      padding: 0.75rem 1.5rem;
      border: 2px solid var(--discord);
      border-radius: 4px;
      cursor: pointer;
      font-size: 1rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      transition: all 0.2s ease;
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      background: var(--discord);
      color: white;
    }

    .login-btn:hover {
      background: #4752C4;
      border-color: #4752C4;
    }

    .login-logo {
      width: 20px;
      height: 20px;
      display: inline-block;
    }

    .login-screen {
      min-height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .login-card {
      background: white;
      padding: 3rem;
      border-radius: 20px;
      box-shadow: 0 20px 60px rgba(10, 77, 104, 0.2);
      max-width: 500px;
      animation: fadeIn 1s ease-out;
    }

    .login-icon {
      font-size: 5rem;
      margin-bottom: 1.5rem;
    }

    .login-title {
      font-family: 'Pacifico', cursive;
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 1rem;
      font-weight: 400;
      text-shadow: 2px 2px 4px rgba(0, 90, 156, 0.1);
    }

    .login-text {
      color: var(--text-secondary);
      margin-bottom: 2rem;
      line-height: 1.6;
    }

    .security-disclaimer {
      background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
      border: 2px solid #ffc107;
      border-radius: 10px;
      padding: 1rem 1.25rem;
      margin-bottom: 2rem;
      color: #856404;
      font-size: 0.9rem;
      line-height: 1.5;
      text-align: left;
    }

    .security-disclaimer strong {
      color: #664d03;
      display: block;
      margin-bottom: 0.5rem;
      font-size: 1rem;
    }

    /* Map Styles */
    .map-container {
      background: white;
      border-radius: 20px;
      padding: 1.5rem;
      margin-bottom: 2rem;
      box-shadow: 0 10px 40px rgba(10, 77, 104, 0.15);
    }

    .map-title {
      font-family: 'Pacifico', cursive;
      font-size: 1.75rem;
      color: var(--primary);
      margin-bottom: 1rem;
      text-align: center;
      font-weight: 400;
      text-shadow: 2px 2px 4px rgba(0, 90, 156, 0.1);
    }

    .map-filters {
      display: flex;
      justify-content: center;
      gap: 0.75rem;
      margin-bottom: 1rem;
      flex-wrap: wrap;
    }

    .filter-btn {
      font-family: 'Roboto', sans-serif;
      padding: 0.5rem 1rem;
      border: 2px solid var(--primary-light);
      background: white;
      border-radius: 25px;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: var(--primary-light);
      font-weight: 600;
    }

    .filter-btn:hover {
      background: var(--neutral-light);
      transform: translateY(-1px);
    }

    .filter-btn.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .filter-btn.visited-filter {
      border-color: #22c55e;
      color: #16a34a;
    }

    .filter-btn.visited-filter.active {
      background: #22c55e;
      border-color: #22c55e;
      color: white;
    }

    .filter-btn.not-visited-filter {
      border-color: #f97316;
      color: #ea580c;
    }

    .filter-btn.not-visited-filter.active {
      background: #f97316;
      border-color: #f97316;
      color: white;
    }

    #beach-map {
      width: 100%;
      height: 500px;
      border-radius: 15px;
      border: 3px solid var(--neutral-light);
    }

    .beach-marker {
      background: transparent !important;
      border: none !important;
    }

    .beach-label {
      pointer-events: none;
      z-index: 1000 !important;
    }

    .leaflet-popup-content-wrapper {
      border-radius: 15px !important;
    }

    .leaflet-popup-content {
      margin: 0.75rem !important;
    }

    /* Beach Selection Modal */
    .beach-selection-modal {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 77, 104, 0.95);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      padding: 2rem;
      backdrop-filter: blur(10px);
    }

    .beach-selection-content {
      background: white;
      border-radius: 20px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
      padding: 2rem;
    }

    .modal-photo-preview {
      max-width: 100%;
      max-height: 300px;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(10, 77, 104, 0.2);
      object-fit: cover;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: zoom-in;
    }

    .modal-photo-preview:hover {
      transform: scale(1.05);
      box-shadow: 0 15px 40px rgba(10, 77, 104, 0.3);
    }

    .beach-selection-title {
      font-family: 'Pacifico', cursive;
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 1rem;
      text-align: center;
      font-weight: 400;
      text-shadow: 2px 2px 4px rgba(0, 90, 156, 0.1);
    }

    .beach-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
      max-height: 400px;
      overflow-y: auto;
      margin-bottom: 1rem;
    }

    .beach-option {
      padding: 1rem;
      background: var(--neutral-light);
      border: 2px solid transparent;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-align: center;
    }

    .beach-option:hover {
      border-color: var(--primary-light);
      transform: translateY(-2px);
    }

    .beach-option.selected {
      border-color: var(--accent);
      background: #FFF3E0;
    }

    .beach-option.suggested {
      border-color: var(--accent);
      background: linear-gradient(135deg, #FFF3E0 0%, white 100%);
      box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
      animation: pulse-suggestion 2s ease-in-out infinite;
    }

    @keyframes pulse-suggestion {
      0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
      }
      50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
      }
    }

    .beach-option-emoji {
      font-size: 2rem;
      display: block;
      margin-bottom: 0.5rem;
    }

    .beach-option-name {
      font-family: 'Roboto', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--primary);
    }

    /* Photo Gallery Styles */
    .photo-gallery {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: 0 10px 40px rgba(10, 77, 104, 0.15);
    }

    .photos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1rem;
    }

    .photo-item {
      position: relative;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(10, 77, 104, 0.1);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .photo-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 30px rgba(10, 77, 104, 0.2);
    }

    .photo-item:hover .photo-image {
      filter: brightness(1.1);
    }

    .photo-status-badge {
      position: absolute;
      top: 8px;
      right: 8px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: bold;
      z-index: 10;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(5px);
    }

    .photo-status-badge.assigned {
      background: rgba(34, 197, 94, 0.95);
      color: white;
    }

    .photo-status-badge.unassigned {
      background: rgba(255, 107, 53, 0.95);
      color: white;
      animation: pulse-badge 2s ease-in-out infinite;
    }

    .photo-delete-btn {
      position: absolute;
      top: 8px;
      left: 8px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
      font-weight: bold;
      z-index: 10;
      background: rgba(239, 68, 68, 0.95);
      color: white;
      border: none;
      cursor: pointer;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(5px);
      opacity: 0;
      transition: opacity 0.3s ease, transform 0.2s ease;
    }

    .photo-item:hover .photo-delete-btn {
      opacity: 1;
    }

    .photo-delete-btn:hover {
      transform: scale(1.1);
      background: rgba(220, 38, 38, 0.95);
    }

    .photo-delete-btn:active {
      transform: scale(0.95);
    }

    .duplicate-badge {
      position: absolute;
      top: 45px;
      right: 8px;
      background: rgba(234, 179, 8, 0.95);
      color: white;
      border-radius: 12px;
      padding: 3px 8px;
      font-size: 0.65rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      z-index: 10;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
      backdrop-filter: blur(5px);
    }

    @keyframes pulse-badge {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.1);
      }
    }

    .photo-reassign-hint {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(10, 77, 104, 0.9);
      color: white;
      padding: 0.5rem;
      text-align: center;
      font-size: 0.7rem;
      font-family: 'Roboto', sans-serif;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .photo-item:hover .photo-reassign-hint {
      opacity: 1;
    }

    .photo-image {
      width: 100%;
      height: 150px;
      object-fit: cover;
      transition: filter 0.3s ease;
    }

    .photo-info {
      padding: 0.75rem;
      background: white;
    }

    .photo-beach-name {
      font-family: 'Roboto', sans-serif;
      font-size: 0.8rem;
      color: var(--primary);
      font-weight: 600;
    }

    .photo-date {
      font-size: 0.7rem;
      color: var(--text-secondary);
    }

    /* Enhanced Upload Section */
    .upload-section {
      background: white;
      border-radius: 20px;
      padding: 2rem;
      margin-bottom: 2rem;
      box-shadow: 0 15px 50px rgba(10, 77, 104, 0.15);
      border: 3px solid var(--neutral-light);
    }

    .upload-area {
      border: 3px dashed var(--primary-light);
      border-radius: 15px;
      padding: 2rem;
      text-align: center;
      background: linear-gradient(135deg, var(--neutral-light) 0%, white 100%);
      cursor: pointer;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .upload-area:hover {
      border-color: var(--primary-light);
      background: linear-gradient(135deg, var(--primary-light) 10%, var(--neutral-light) 100%);
      transform: translateY(-2px);
    }

    .upload-area.drag-over {
      border-color: var(--accent);
      background: #FFF3E0;
      transform: scale(1.02);
    }

    .upload-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
      display: block;
    }

    .upload-text {
      font-family: 'Roboto', sans-serif;
      font-size: 1.2rem;
      color: var(--primary-light);
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .upload-hint {
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-style: italic;
    }

    .manual-selection {
      margin-top: 1rem;
      padding: 1rem;
      background: #FFF3E0;
      border-radius: 10px;
      border: 2px solid var(--accent);
    }

    .manual-selection h3 {
      font-family: 'Roboto', sans-serif;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    input[type="file"] {
      display: none;
    }

    /* Rest of the original styles... */
    .stats-bar {
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border-radius: 8px;
      padding: 1.25rem;
      margin-bottom: 2rem;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 1rem;
      position: relative;
      z-index: 1;
    }

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

    .stat-number {
      font-family: 'Roboto', sans-serif;
      font-size: 1.5rem;
      font-weight: 600;
      display: block;
      line-height: 1;
      margin-bottom: 0.25rem;
    }

    .stat-label {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      opacity: 0.9;
    }

    .progress-bar-container {
      margin-top: 1rem;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 50px;
      height: 10px;
      overflow: hidden;
    }

    .progress-bar {
      height: 100%;
      background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
      border-radius: 50px;
      transition: width 0.8s ease;
    }

    .beaches-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      gap: 0.75rem;
      transition: all 0.3s ease;
    }

    .beach-card {
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      position: relative;
      border: 1px solid var(--border-color);
    }

    .beach-card.compact {
      grid-column: span 1;
    }

    .beach-card.expanded {
      grid-column: span 3;
      cursor: default;
    }

    .beach-card:hover:not(.expanded) {
      transform: translateY(-2px) scale(1.05);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      border-color: var(--primary);
    }

    .beach-card.visited {
      border-color: var(--success);
      border-width: 2px;
      background: linear-gradient(135deg, white 0%, #F1F8F4 100%);
    }

    .beach-card.bonus {
      border-color: #9ca3af;
      background: linear-gradient(135deg, white 0%, #f9fafb 100%);
    }

    .beach-card.bonus.visited {
      border-color: var(--success);
      background: linear-gradient(135deg, #f9fafb 0%, #F1F8F4 100%);
    }

    .beach-card.lake {
      border-color: #06b6d4;
      background: linear-gradient(135deg, white 0%, #ecfeff 100%);
    }

    .beach-card.lake.visited {
      border-color: var(--success);
      background: linear-gradient(135deg, #ecfeff 0%, #F1F8F4 100%);
    }

    /* Visit toggle button */
    .visit-toggle-btn {
      position: absolute;
      top: 6px;
      right: 6px;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1rem;
      z-index: 10;
      cursor: pointer;
      transition: all 0.2s ease;
      border: 3px solid white;
      background: #ef4444;
      color: white;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

    .visit-toggle-btn::before {
      content: '○';
    }

    .visit-toggle-btn:hover {
      background: #dc2626;
      transform: scale(1.15);
      box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    }

    .visit-toggle-btn.visited {
      background: var(--success);
      border-color: white;
      color: white;
    }

    .visit-toggle-btn.visited::before {
      content: none;
    }

    .visit-toggle-btn.visited:hover {
      background: #16a34a;
      transform: scale(1.15);
      box-shadow: 0 3px 8px rgba(0,0,0,0.4);
    }

    .beach-card.expanded .visit-toggle-btn {
      top: 10px;
      right: 10px;
      width: 32px;
      height: 32px;
      font-size: 1.1rem;
    }

    .beach-image {
      width: 100%;
      height: 100px;
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--sand-light) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 2rem;
      transition: all 0.3s ease;
    }

    .beach-card.expanded .beach-image {
      height: 150px;
      font-size: 2.5rem;
    }

    .beach-info {
      padding: 0.5rem;
      transition: all 0.3s ease;
    }

    .beach-card.expanded .beach-info {
      padding: 1rem;
    }

    .beach-number {
      font-family: 'Roboto', sans-serif;
      font-size: 0.6rem;
      color: var(--primary-light);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

    .beach-card.expanded .beach-number {
      font-size: 0.7rem;
    }

    .beach-name {
      font-family: 'Roboto', sans-serif;
      font-size: 0.75rem;
      color: var(--primary);
      margin: 0.25rem 0;
      font-weight: 600;
      line-height: 1.2;
    }

    .beach-card.expanded .beach-name {
      font-size: 1rem;
    }

    .beach-category {
      display: inline-block;
      padding: 0.2rem 0.4rem;
      background: var(--neutral-light);
      color: var(--primary-light);
      border-radius: 12px;
      font-size: 0.55rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .beach-card.expanded .beach-category {
      padding: 0.25rem 0.5rem;
      border-radius: 15px;
      font-size: 0.6rem;
    }

    .beach-photos-section {
      padding: 1rem;
      border-top: 2px solid var(--neutral-light);
      background: var(--neutral-light);
    }

    .beach-photos-title {
      font-family: 'Roboto', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
    }

    .beach-upload-buttons {
      display: flex;
      gap: 0.5rem;
    }

    .beach-upload-btn {
      padding: 0.4rem 0.75rem;
      background: var(--primary);
      color: white;
      border: none;
      border-radius: 15px;
      font-size: 0.75rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .beach-upload-btn:hover {
      background: var(--primary-dark);
      transform: translateY(-1px);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

    .beach-upload-btn:active {
      transform: translateY(0);
    }

    .beach-photos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 0.5rem;
    }

    .beach-photo-item {
      position: relative;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .beach-photo-item:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .beach-photo-item img {
      width: 100%;
      height: 100px;
      object-fit: cover;
    }

    .beach-photo-delete {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(239, 68, 68, 0.95);
      color: white;
      border: none;
      cursor: pointer;
      font-size: 0.8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .beach-photo-item:hover .beach-photo-delete {
      opacity: 1;
    }

    .no-photos-message {
      text-align: center;
      padding: 1.5rem;
      color: var(--text-secondary);
      font-size: 0.85rem;
      font-style: italic;
    }

    .find-nearest-btn {
      position: fixed;
      bottom: 2rem;
      right: 2rem;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, #00A650 0%, #22c55e 100%);
      color: white;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      box-shadow: 0 4px 20px rgba(0, 166, 80, 0.4);
      z-index: 1000;
      transition: transform 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .find-nearest-btn:hover {
      transform: scale(1.1);
    }

    .find-nearest-btn:active {
      transform: scale(0.95);
    }

    .show-all-toggle {
      display: flex;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .toggle-btn {
      padding: 0.75rem 1.5rem;
      background: white;
      border: 2px solid var(--primary);
      border-radius: 25px;
      color: var(--primary);
      font-family: 'Roboto', sans-serif;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .toggle-btn:hover {
      background: var(--primary-light);
      color: white;
      border-color: var(--primary-light);
    }

    .toggle-btn.active {
      background: var(--primary);
      color: white;
      border-color: var(--primary);
    }

    .emoji-filter-container {
      background: white;
      border-radius: 15px;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 15px rgba(10, 77, 104, 0.1);
    }

    .emoji-filter-title {
      font-family: 'Roboto', sans-serif;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .emoji-filter-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .emoji-filter-btn {
      padding: 0.5rem 0.75rem;
      background: white;
      border: 2px solid var(--border-color);
      border-radius: 20px;
      font-size: 1.25rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      opacity: 0.5;
    }

    .emoji-filter-btn:hover {
      transform: scale(1.1);
      border-color: var(--primary-light);
      opacity: 0.75;
    }

    .emoji-filter-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      opacity: 1;
      transform: scale(1.05);
      box-shadow: 0 2px 8px rgba(10, 77, 104, 0.2);
    }

    .emoji-filter-btn.active:hover {
      transform: scale(1.15);
    }

    .emoji-filter-clear {
      padding: 0.5rem 1rem;
      background: var(--neutral-light);
      border: 2px solid var(--border-color);
      border-radius: 20px;
      font-family: 'Roboto', sans-serif;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--text-secondary);
      cursor: pointer;
      transition: all 0.2s ease;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .emoji-filter-clear:hover {
      background: var(--primary-light);
      color: white;
      border-color: var(--primary-light);
    }

    .filter-search-box {
      margin-bottom: 1rem;
    }

    .filter-search-input {
      width: 100%;
      padding: 0.75rem 1rem;
      border: 2px solid var(--border-color);
      border-radius: 25px;
      font-family: 'Roboto', sans-serif;
      font-size: 0.9rem;
      outline: none;
      transition: all 0.2s ease;
    }

    .filter-search-input:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
    }

    .filter-search-input::placeholder {
      color: var(--text-secondary);
      opacity: 0.6;
    }

    .star-filter-section {
      margin-bottom: 1rem;
      padding-bottom: 1rem;
      border-bottom: 1px solid var(--border-color);
    }

    .star-filter-buttons {
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      flex-wrap: wrap;
    }

    .star-filter-btn {
      padding: 0.5rem 0.75rem;
      background: white;
      border: 2px solid var(--border-color);
      border-radius: 20px;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.25rem;
      opacity: 0.5;
    }

    .star-filter-btn:hover {
      transform: scale(1.05);
      border-color: var(--primary-light);
      opacity: 0.75;
    }

    .star-filter-btn.active {
      background: var(--primary);
      border-color: var(--primary);
      opacity: 1;
      color: white;
      transform: scale(1.05);
      box-shadow: 0 2px 8px rgba(10, 77, 104, 0.2);
    }

    .star-filter-btn.active:hover {
      transform: scale(1.1);
    }

    .accessibility-legend {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 255, 0.95) 100%);
      border: 2px solid var(--primary-light);
      border-radius: 15px;
      padding: 1rem;
      margin-bottom: 1.5rem;
      box-shadow: 0 4px 15px rgba(10, 77, 104, 0.1);
    }

    .legend-title {
      font-family: 'Roboto', sans-serif;
      font-size: 0.85rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      text-align: center;
    }

    .legend-items {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .legend-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      color: var(--text-secondary);
    }

    .legend-stars {
      font-size: 0.9rem;
      min-width: 60px;
    }

    .beach-accessibility {
      display: inline-block;
      font-size: 0.65rem;
      margin-left: 0.25rem;
      opacity: 0.7;
    }

    .comprehensive-guide {
      background: white;
      border-radius: 15px;
      padding: 1.5rem;
      margin-top: 2rem;
      box-shadow: 0 4px 15px rgba(10, 77, 104, 0.1);
      border: 2px solid var(--border-color);
    }

    .guide-section {
      margin-bottom: 1.5rem;
    }

    .guide-section:last-child {
      margin-bottom: 0;
    }

    .guide-section-title {
      font-family: 'Roboto', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .guide-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 0.75rem;
    }

    .guide-grid-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.8rem;
      color: var(--text-secondary);
      padding: 0.5rem;
      background: var(--neutral-light);
      border-radius: 8px;
    }

    .guide-emoji {
      font-size: 1.25rem;
      min-width: 30px;
      text-align: center;
    }

    .share-container {
      margin-top: 2rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--border-color);
    }

    .share-text {
      font-size: 0.75rem;
      color: var(--text-secondary);
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .share-buttons {
      display: flex;
      gap: 0.75rem;
      justify-content: center;
      align-items: center;
    }

    .share-btn {
      width: 32px;
      height: 32px;
      border: none;
      background: transparent;
      cursor: pointer;
      opacity: 0.4;
      transition: all 0.2s ease;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .share-btn:hover {
      opacity: 1;
      transform: translateY(-2px);
    }

    .share-btn svg {
      width: 20px;
      height: 20px;
    }

    .notification {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: white;
      padding: 1rem 1.5rem;
      border-radius: 15px;
      box-shadow: 0 10px 40px rgba(10, 77, 104, 0.3);
      z-index: 3000;
      animation: slideInRight 0.5s ease;
      border-left: 5px solid var(--accent);
      max-width: 300px;
    }

    @keyframes slideInRight {
      from { opacity: 0; transform: translateX(100px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .notification-title {
      font-family: 'Roboto', sans-serif;
      font-size: 1rem;
      color: var(--primary);
      margin-bottom: 0.25rem;
      font-weight: 600;
    }

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

    .loading {
      text-align: center;
      padding: 4rem;
      font-family: 'Roboto', sans-serif;
      font-size: 1.5rem;
      color: var(--primary-light);
    }

    @media (max-width: 768px) {
      h1 { font-size: 2rem; }
      .stats-grid { grid-template-columns: 1fr 1fr; }
      .beaches-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
      }
      .beach-card.expanded {
        grid-column: span 2;
      }
      .nav-tabs { flex-direction: column; }
      .tab-btn { width: 100%; }
      .notification { right: 1rem; left: 1rem; max-width: none; }
      .user-menu-container {
        top: 0.5rem;
        right: 0.5rem;
      }
      .user-avatar {
        width: 36px;
        height: 36px;
      }
      .user-dropdown {
        min-width: 150px;
      }
      .user-dropdown-header {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
      }
      .user-dropdown-item {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
      }
      #beach-map { height: 400px; }
      .upload-buttons { grid-template-columns: 1fr !important; }
      .beach-photos-title {
        flex-direction: column;
        align-items: flex-start;
      }
      .beach-upload-buttons {
        width: 100%;
      }
      .beach-upload-btn {
        flex: 1;
        justify-content: center;
      }
      .find-nearest-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
      }
      .beach-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
      }

      /* Show reassign hint on mobile without hover */
      .photo-reassign-hint {
        opacity: 0.8;
        font-size: 0.65rem;
        padding: 0.4rem;
      }

      .photo-status-badge {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
      }

      /* Show delete button on mobile */
      .photo-delete-btn {
        opacity: 0.9;
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
      }

      .duplicate-badge {
        font-size: 0.6rem;
        padding: 2px 6px;
      }

      /* Header backdrop on mobile */
      header.has-backdrop {
        padding: 2rem 1rem;
      }

      header.has-backdrop h1 {
        font-size: 1.75rem;
      }
    }
