    /* Green Theme Teaser for Public Tournament Directory */
    :root {
      --tournament-green: #16a085;
      --tournament-green-hover: #138d75;
      --tournament-green-light: #e8f5f3;
      --tournament-green-muted: #a8d8cf;
      --tournament-green-dark: #0e6655;
    }

    /* Browse Tournaments Button - Green Theme - now handled by components/buttons.css */
    /* Variables are kept for backward compatibility with custom sections */

    /* Public Directory Promotion Section - Green Theme */
    .directory-promotion-section {
      background: var(--tournament-green-light);
      padding: 4rem 2rem;
    }

    .directory-promotion-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    .directory-promotion-section .section-title {
      color: var(--tournament-green-dark);
    }

    .directory-promotion-section .directory-subtitle {
      color: #555;
      font-size: 1.1rem;
      margin-bottom: 2rem;
    }

    .directory-features {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
      margin: 2rem 0;
    }

    .directory-feature {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem;
      background: white;
      border-radius: 8px;
      border-left: 3px solid var(--tournament-green);
      box-shadow: 0 2px 6px rgba(22, 160, 133, 0.08);
      transition: all 0.3s ease;
    }

    .directory-feature:hover {
      border-left-width: 4px;
      box-shadow: 0 4px 12px rgba(22, 160, 133, 0.15);
      transform: translateX(4px);
    }

    .directory-feature svg {
      color: var(--tournament-green);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .directory-feature span {
      color: #333;
      line-height: 1.6;
    }

    /* Use .btn-directory for green buttons in this section */
    .directory-promotion-section .btn-directory,
    .directory-promotion-section .btn-public {
      font-size: 1.1rem;
      padding: 0.875rem 2.5rem;
      margin-top: 1.5rem;
    }

    /* Animated World Map with Leaflet */
    .world-map-container {
      position: relative;
      margin: 3rem 0;
      padding: 0;
      background: white;
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(22, 160, 133, 0.1);
      overflow: hidden;
      height: 450px;
    }

    #world-map {
      width: 100%;
      height: 100%;
      z-index: 1;
    }

    /* Customize Leaflet controls */
    .leaflet-control-zoom {
      border: none !important;
      box-shadow: 0 2px 8px rgba(22, 160, 133, 0.15) !important;
    }

    .leaflet-control-zoom a {
      color: var(--tournament-green) !important;
    }

    .leaflet-control-zoom a:hover {
      color: var(--tournament-green-hover) !important;
    }

    /* Pulsing animation for tournament markers */
    @keyframes pulse {
      0%, 100% {
        opacity: 1;
        transform: scale(1);
      }
      50% {
        opacity: 0.4;
        transform: scale(1.2);
      }
    }

    .tournament-marker {
      width: 16px;
      height: 16px;
      background-color: var(--tournament-green);
      border: 2px solid white;
      border-radius: 50%;
      box-shadow: 0 0 8px rgba(22, 160, 133, 0.6);
      animation: pulse 4s ease-in-out infinite;
    }

    .tournament-marker.delay-1 {
      animation-delay: 0.4s;
    }

    .tournament-marker.delay-2 {
      animation-delay: 0.8s;
    }

    .tournament-marker.delay-3 {
      animation-delay: 1.2s;
    }

    .tournament-marker.delay-4 {
      animation-delay: 1.6s;
    }

    .tournament-marker.delay-5 {
      animation-delay: 2s;
    }

    @media (max-width: 768px) {
      .world-map-container {
        height: 350px;
      }
    }

    /* Subtle green accent on "How It Works" step 5 (Publish) */
    .step-card:last-child {
      border-left: 3px solid var(--tournament-green-muted);
    }

    .step-card:last-child .step-number {
      background: var(--tournament-green-light);
      color: var(--tournament-green-dark);
    }

    /* Add green hint to navigation for tournaments */
    @media (max-width: 768px) {
      .directory-features {
        gap: 1rem;
      }

      .directory-feature {
        font-size: 0.95rem;
      }
    }

    /* Purple Theme for Tournament Owner Section */
    :root {
      --owner-purple: #8e44ad;
      --owner-purple-hover: #7d3c98;
      --owner-purple-light: #f3e8f9;
      --owner-purple-muted: #d7bde2;
      --owner-purple-dark: #6c3483;
    }

    /* Tournament management area styling */
    .tournaments-list {
      background: transparent;
      padding: 0;
      margin-top: 2rem;
    }

    .tournaments-list .tournaments-header {
      padding-bottom: 1rem;
      margin-bottom: 2rem;
    }

    .tournaments-list .tournaments-header h2 {
      color: var(--owner-purple-dark);
    }

    /* Tournament cards in management section */
    .tournaments-list .tournament-card {
      border-left: 4px solid var(--owner-purple);
      background: white;
      transition: all 0.3s ease;
    }

    .tournaments-list .tournament-card:hover {
      border-left-color: var(--owner-purple-dark);
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2);
      transform: translateY(-2px);
    }

    /* Buttons in tournament management - now use centralized .btn-primary (purple by default) */

    /* Tournament detail sections */
    .tournament-details {
      border-top: 3px solid var(--owner-purple);
      background: white;
      box-shadow: 0 2px 8px rgba(142, 68, 173, 0.1);
    }

    /* Tab styling in tournament management */
    .tournaments-list .tabs .tab.active {
      border-bottom-color: var(--owner-purple);
      color: var(--owner-purple);
    }

    .tournaments-list .tabs .tab:hover {
      color: var(--owner-purple-hover);
    }

    /* Form sections in tournament management */
    .tournaments-list .form-section {
      border-left: 3px solid var(--owner-purple-muted);
    }

    /* Action buttons and controls - icon buttons use default styling */

    /* Player list and standings */
    .tournaments-list .player-card,
    .tournaments-list .standing-row:hover {
      background: var(--owner-purple-light);
    }

    /* Match cards */
    .tournaments-list .match-card {
      border-left: 3px solid var(--owner-purple-muted);
    }

    .tournaments-list .match-card:hover {
      border-left-color: var(--owner-purple);
    }

    /* Success states in management area */
    .tournaments-list .alert-success,
    .tournaments-list .success-message {
      background-color: var(--owner-purple-light);
      color: var(--owner-purple-dark);
      border-left: 4px solid var(--owner-purple);
    }

    /* Modal styling for tournament management */
    #tournament-modal .modal-content,
    #round-info-modal .modal-content,
    #schedule-modal .modal-content,
    #share-modal .modal-content {
      border-top: 4px solid var(--owner-purple);
    }

    /* Modal buttons use centralized .btn-primary (purple by default) */

    /* View config panel */
    .view-config-panel {
      background: var(--owner-purple-light);
      border-left: 3px solid var(--owner-purple);
    }

    /* Filter toggles - now use centralized toggle switch from forms.css */

    /* Header purple theme when tournaments list is active */
    body:has(.tournaments-list[style*="display: block"]) header,
    body:has(.tournaments-list:not([style*="display: none"])) header {
      background: var(--owner-purple);
      border-bottom: 3px solid var(--owner-purple-dark);
    }

    body:has(.tournaments-list[style*="display: block"]) header h1,
    body:has(.tournaments-list[style*="display: block"]) header .slogan,
    body:has(.tournaments-list:not([style*="display: none"])) header h1,
    body:has(.tournaments-list:not([style*="display: none"])) header .slogan {
      color: white;
    }

    /* Create Tournament button styling */
    #create-tournament-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 10px 20px;
      font-weight: 500;
      letter-spacing: 0.3px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      background: linear-gradient(135deg, var(--owner-purple) 0%, var(--owner-purple-hover) 100%);
      box-shadow: 0 2px 8px rgba(142, 68, 173, 0.25),
                  0 1px 3px rgba(0, 0, 0, 0.1);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    #create-tournament-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s;
    }

    #create-tournament-btn:hover::before {
      left: 100%;
    }

    #create-tournament-btn svg {
      transition: transform 0.3s ease;
    }

    #create-tournament-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(142, 68, 173, 0.4),
                  0 2px 8px rgba(0, 0, 0, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
    }

    #create-tournament-btn:hover svg {
      transform: rotate(90deg);
    }

    #create-tournament-btn:active {
      transform: translateY(0);
      box-shadow: 0 2px 8px rgba(142, 68, 173, 0.3);
    }

    /* Create Tournament button - subtle darker shade when logged in for better visibility */
    body:has(.tournaments-list[style*="display: block"]) #create-tournament-btn,
    body:has(.tournaments-list:not([style*="display: none"])) #create-tournament-btn {
      background: linear-gradient(135deg, var(--owner-purple-dark) 0%, var(--owner-purple) 100%);
      border-color: rgba(255, 255, 255, 0.25);
      color: white;
      box-shadow: 0 3px 12px rgba(108, 52, 131, 0.35),
                  0 1px 4px rgba(0, 0, 0, 0.2);
    }

    body:has(.tournaments-list[style*="display: block"]) #create-tournament-btn:hover,
    body:has(.tournaments-list:not([style*="display: none"])) #create-tournament-btn:hover {
      background: linear-gradient(135deg, var(--owner-purple-hover) 0%, var(--owner-purple-dark) 100%);
      border-color: rgba(255, 255, 255, 0.35);
      box-shadow: 0 5px 20px rgba(108, 52, 131, 0.45),
                  0 2px 8px rgba(0, 0, 0, 0.25);
    }

    /* Radio buttons styling */
    .tournaments-list input[type="radio"],
    #registration-modal input[type="radio"],
    .entry-fee-option input[type="radio"] {
      accent-color: var(--owner-purple);
      cursor: pointer;
    }

    .tournaments-list input[type="radio"]:checked,
    #registration-modal input[type="radio"]:checked,
    .entry-fee-option input[type="radio"]:checked {
      accent-color: var(--owner-purple);
    }

    /* Focus states for radios */
    .tournaments-list input[type="radio"]:focus,
    #registration-modal input[type="radio"]:focus,
    .entry-fee-option input[type="radio"]:focus {
      outline: 2px solid var(--owner-purple-light);
      outline-offset: 2px;
    }

    /* Checkboxes now use centralized toggle switch from forms.css */

    /* Button groups and toggle buttons - use centralized button styles */

    /* Expandable sections */
    .tournaments-list .collapsible-toggle {
      color: var(--owner-purple);
    }

    .tournaments-list .collapsible-toggle:hover {
      color: var(--owner-purple-dark);
      background: var(--owner-purple-light);
    }

    /* Pagination and navigation controls */
    .tournaments-list .pagination .active {
      background: var(--owner-purple);
      border-color: var(--owner-purple);
    }

    .tournaments-list .pagination button:hover {
      border-color: var(--owner-purple);
      color: var(--owner-purple);
    }

    /* Context Switcher - Neutral styling that works with both themes */
    .context-switcher {
      display: none; /* Hidden by default, shown when logged in */
      background: white;
      border-bottom: 1px solid #e0e0e0;
      padding: 0.5rem 0;
      margin-bottom: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .context-switcher-tabs {
      display: flex;
      gap: 0.5rem;
      max-width: 400px;
      margin: 0 auto;
      background: #f5f5f5;
      padding: 0.25rem;
      border-radius: 8px;
    }

    .context-tab {
      flex: 1;
      padding: 0.625rem 1.25rem;
      border: none;
      background: transparent;
      color: #666;
      font-size: 0.9rem;
      font-weight: 500;
      cursor: pointer;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
    }

    .context-tab:hover {
      background: rgba(0, 0, 0, 0.05);
      color: #333;
    }

    .context-tab.active {
      background: white;
      color: #333;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .context-tab svg {
      width: 16px;
      height: 16px;
    }

    /* Show context switcher when tournaments list is visible */
    body:has(.tournaments-list[style*="display: block"]) .context-switcher,
    body:has(.tournaments-list:not([style*="display: none"])) .context-switcher {
      display: block;
    }

    /* Hide Browse Tournaments button when logged in (context switcher replaces it) */
    body:has(.tournaments-list[style*="display: block"]) #browse-tournaments-btn,
    body:has(.tournaments-list:not([style*="display: none"])) #browse-tournaments-btn {
      display: none;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
      .context-switcher-tabs {
        max-width: 100%;
        margin: 0 1rem;
      }

      .context-tab {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
      }

      .context-tab span {
        display: none; /* Hide text on mobile, show only icons */
      }
    }

    /* Landing Page - Hide header and context switcher */
    body:has(#landing-page:not([style*="display: none"])) header,
    body:has(#landing-page:not([style*="display: none"])) .context-switcher {
      display: none;
    }

    /* Landing Page Navigation */
    .landing-nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.98);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid #e5e7eb;
      z-index: 1000;
      padding: 1rem 2.5rem;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .landing-nav-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .landing-nav-logo {
      display: block;
      text-decoration: none;
      color: var(--owner-purple-dark);
    }

    .landing-nav-logo h1 {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 0;
      color: var(--owner-purple);
    }

    .landing-nav-logo .tagline {
      font-size: 0.875rem;
      color: #6b7280;
      display: block;
      margin-top: var(--spacing-xs);
    }

    .landing-nav-actions {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .landing-nav-link {
      padding: 0.5rem 1rem;
      color: #4b5563;
      text-decoration: none;
      font-weight: 500;
      font-size: 0.9375rem;
      border-radius: 6px;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .landing-nav-link:hover {
      color: var(--tournament-green);
      background: var(--tournament-green-light);
    }

    .landing-nav-link svg {
      width: 16px;
      height: 16px;
    }

    .landing-nav-language {
      padding: 0.5rem 0.75rem;
      background: white;
      color: #4b5563;
      border: 1px solid #e5e7eb;
      border-radius: 6px;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s ease;
      min-width: 120px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 14px;
      padding-right: 36px;
    }

    .landing-nav-language:hover {
      border-color: var(--owner-purple-muted);
      background-color: #f9fafb;
    }

    .landing-nav-language:focus {
      outline: none;
      border-color: var(--owner-purple);
      box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
    }

    /* User menu in landing nav - override default dark theme styles */
    .landing-nav .user-menu-button {
      background: white;
      border: 1.5px solid var(--owner-purple-muted);
      color: var(--owner-purple);
    }

    .landing-nav .user-menu-button:hover {
      border-color: var(--owner-purple);
      background: var(--owner-purple-light);
    }

    .landing-nav .user-menu-dropdown {
      background: white;
      border: 1px solid #e5e7eb;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .landing-nav .user-menu-label {
      color: #6b7280;
    }

    .landing-nav .user-menu-language {
      background: #f9fafb !important;
      background-color: #f9fafb !important;
      color: #1f2937 !important;
      -webkit-text-fill-color: #1f2937 !important;
      border: 1px solid #e5e7eb;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3c/polyline%3e%3c/svg%3e") !important;
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 14px;
      padding-right: 36px;
    }

    .landing-nav .user-menu-language:hover {
      background-color: white;
      border-color: var(--owner-purple-muted);
    }

    .landing-nav .user-menu-language option {
      background: white !important;
      background-color: white !important;
      color: #1f2937 !important;
    }

    /* Specific override for landing page language selector by ID */
    #landing-language-selector {
      background: #f9fafb !important;
      background-color: #f9fafb !important;
      color: #1f2937 !important;
      -webkit-text-fill-color: #1f2937 !important;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2937' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
      background-repeat: no-repeat !important;
      background-position: right 10px center !important;
      background-size: 14px !important;
      padding-right: 36px !important;
    }

    #landing-language-selector option {
      background: white !important;
      background-color: white !important;
      color: #1f2937 !important;
    }

    .landing-nav .user-menu-divider {
      background: #e5e7eb;
    }

    .landing-nav .user-menu-item {
      color: #1f2937;
    }

    .landing-nav .user-menu-item:hover {
      background: #f3f4f6;
    }

    .landing-nav .user-menu-item-primary {
      color: var(--owner-purple);
    }

    .landing-nav .user-menu-item-primary:hover {
      background: rgba(142, 68, 173, 0.06);
      color: var(--owner-purple-dark);
    }

    /* Landing page body adjustments */
    body:has(#landing-page:not([style*="display: none"])) {
      padding-top: 0;
    }

    body:has(#landing-page:not([style*="display: none"])) .container {
      max-width: 100%;
      padding: 0;
    }

    #landing-page {
      padding-top: 70px; /* Account for fixed nav */
      background: white;
      min-height: 100vh;
    }

    /* Hero section - Purple theme */
    .hero-section {
      padding: 4rem 2rem;
      text-align: center;
      background: var(--owner-purple-light);
    }

    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    .hero-icon-badge {
      margin: 0 auto 2rem;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: var(--owner-purple);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2);
    }

    .hero-icon-badge .chess-icon {
      font-size: 3rem;
    }

    .hero-title {
      color: var(--owner-purple-dark) !important;
      background: none !important;
      -webkit-background-clip: unset !important;
      -webkit-text-fill-color: var(--owner-purple-dark) !important;
      background-clip: unset !important;
    }

    .hero-subtitle {
      color: #666;
    }

    .hero-cta {
      display: flex;
      gap: 1rem;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      margin-top: 2rem;
    }

    /* Hero section buttons use centralized styles from buttons.css */
    .hero-cta .btn-large {
      min-width: 200px;
    }

    /* Landing page feature cards - purple theme only in features section */
    #landing-page .features-section .feature-card {
      border-top: 3px solid var(--owner-purple-muted);
      transition: all 0.3s ease;
    }

    #landing-page .features-section .feature-card::before {
      background: var(--owner-purple) !important;
    }

    #landing-page .features-section .feature-card:hover {
      border-top-color: var(--owner-purple);
      box-shadow: 0 8px 24px rgba(142, 68, 173, 0.15) !important;
    }

    #landing-page .features-section .feature-card:hover::before {
      background: var(--owner-purple-dark) !important;
    }

    /* Feature section specific - purple theme */
    #landing-page .features-section .feature-icon svg {
      color: var(--owner-purple);
      stroke: var(--owner-purple) !important;
    }

    #landing-page .features-section .feature-card:hover .feature-icon svg {
      stroke: var(--owner-purple-dark) !important;
      filter: drop-shadow(0 4px 8px rgba(142, 68, 173, 0.3)) !important;
    }

    #landing-page .features-section .section-title {
      color: var(--owner-purple-dark);
    }

    /* Fix feature list colors - override external CSS blue color */
    #landing-page .features-section .feature-list li strong {
      color: var(--owner-purple);
    }

    #landing-page .hero-section .section-title {
      color: var(--owner-purple-dark);
    }

    #landing-page .pricing-section .section-title {
      color: var(--owner-purple-dark);
    }

    #landing-page .cta-section .section-title {
      color: var(--owner-purple-dark);
    }

    #landing-page .how-it-works-section .section-title {
      color: var(--owner-purple-dark);
    }

    /* How it works section - override gold/blue colors from external CSS */
    #landing-page .step-card {
      border-left: 3px solid var(--owner-purple-muted);
      border: 2px solid var(--owner-purple-muted) !important;
      transition: all 0.3s ease;
    }

    #landing-page .step-card::after {
      background: var(--owner-purple) !important;
    }

    #landing-page .step-card:hover {
      border-left-color: var(--owner-purple);
      border-color: var(--owner-purple) !important;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.1) !important;
    }

    #landing-page .step-number {
      background: var(--owner-purple) !important;
      color: white !important;
      border: 3px solid var(--owner-purple-muted) !important;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.2) !important;
    }

    #landing-page .step-card:hover .step-number {
      box-shadow: 0 6px 20px rgba(142, 68, 173, 0.4) !important;
    }

    /* Override for the last step (Publish) - use green */
    #landing-page .step-card:last-child {
      border-left-color: var(--tournament-green-muted);
      border-color: var(--tournament-green-muted) !important;
    }

    #landing-page .step-card:last-child:hover {
      border-left-color: var(--tournament-green);
      border-color: var(--tournament-green) !important;
    }

    #landing-page .step-card:last-child::after {
      background: var(--tournament-green) !important;
    }

    #landing-page .step-card:last-child .step-number {
      background: var(--tournament-green) !important;
      color: white !important;
      border-color: var(--tournament-green-muted) !important;
      box-shadow: 0 4px 12px rgba(22, 160, 133, 0.2) !important;
    }

    #landing-page .step-card:last-child:hover .step-number {
      box-shadow: 0 6px 20px rgba(22, 160, 133, 0.4) !important;
    }


    /* Footer links in landing page - purple theme for most sections */
    #landing-page .features-section a,
    #landing-page .pricing-section a,
    #landing-page .cta-section a,
    #landing-page .hero-section a,
    #landing-page .how-it-works-section a {
      color: var(--owner-purple);
    }

    #landing-page .features-section a:hover,
    #landing-page .pricing-section a:hover,
    #landing-page .cta-section a:hover,
    #landing-page .hero-section a:hover,
    #landing-page .how-it-works-section a:hover {
      color: var(--owner-purple-dark);
    }

    /* Directory section links - green theme */
    #landing-page .directory-promotion-section a {
      color: var(--tournament-green);
    }

    #landing-page .directory-promotion-section a:hover {
      color: var(--tournament-green-dark);
    }

    /* Features section */
    #landing-page .features-section {
      padding: 4rem 2rem;
      background: white;
    }

    #landing-page .features-section > .section-title {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    #landing-page .features-grid {
      display: grid;
      gap: 2rem;
      max-width: 1200px;
      margin: 2rem auto;
    }

    /* Demo section - Clean white background */
    #landing-page .demo-section {
      background: #f8f9fa;
      padding: 4rem 2rem;
    }

    #landing-page .demo-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    #landing-page .demo-container {
      max-width: 1200px;
      margin: 0 auto;
      background: white;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      border: 1px solid #e0e0e0;
    }

    #landing-page .demo-section .section-title {
      color: var(--owner-purple-dark);
    }

    #landing-page .demo-subtitle {
      color: #666;
      max-width: 700px;
      margin: 0 auto 2rem;
    }

    /* Fix demo features - override gold colors and white text */
    #landing-page .demo-feature {
      color: var(--owner-purple-dark) !important;
      background: var(--owner-purple-light) !important;
      border: 1px solid var(--owner-purple-muted) !important;
    }

    #landing-page .demo-feature:hover {
      background: var(--owner-purple-muted) !important;
      border-color: var(--owner-purple) !important;
    }

    #landing-page .demo-feature svg {
      stroke: var(--owner-purple) !important;
    }

    #landing-page .demo-note {
      color: #666 !important;
    }

    /* How it works section */
    #landing-page .how-it-works-section {
      padding: 4rem 2rem;
      background: white;
    }

    #landing-page .how-it-works-section > .section-title {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    #landing-page .steps-container {
      max-width: 1200px;
      margin: 2rem auto;
    }

    /* Pricing section - Purple theme */
    #landing-page .pricing-section {
      padding: 4rem 2rem;
      background: var(--owner-purple-light);
    }

    #landing-page .pricing-section > .section-title {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }

    #landing-page .pricing-cards,
    #landing-page .pricing-grid {
      display: grid;
      gap: 2rem;
      max-width: 1200px;
      margin: 2rem auto;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    #landing-page .pricing-card {
      background: white;
      border-radius: 12px;
      border: 2px solid var(--owner-purple-muted);
      transition: all 0.3s ease;
      overflow: visible;
      position: relative;
      padding-top: 2rem;
    }

    #landing-page .pricing-card:hover {
      border-color: var(--owner-purple);
      box-shadow: 0 12px 32px rgba(142, 68, 173, 0.2);
      transform: translateY(-4px);
    }

    #landing-page .pricing-card.featured {
      border-color: var(--owner-purple);
      border-width: 3px;
    }

    #landing-page .pricing-header {
      background: white;
      padding: 2rem;
      text-align: center;
      border-bottom: 2px solid var(--owner-purple-muted);
    }

    #landing-page .pricing-card.featured .pricing-header {
      background: var(--owner-purple);
      color: white;
    }

    #landing-page .pricing-price {
      font-size: 3rem;
      font-weight: 700;
      color: var(--owner-purple-dark);
    }

    #landing-page .pricing-card.featured .pricing-price {
      color: white;
    }

    #landing-page .pricing-features {
      padding: 2rem;
    }

    #landing-page .pricing-feature {
      padding: 0.75rem 0;
      border-bottom: 1px solid var(--owner-purple-light);
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    #landing-page .pricing-feature svg {
      color: var(--owner-purple);
      flex-shrink: 0;
    }

    /* Fix pricing badges - override blue gradient with purple */
    #landing-page .pricing-badge {
      background: var(--owner-purple) !important;
      color: white;
    }

    #landing-page .pricing-badge-save {
      background: var(--tournament-green) !important;
      color: white;
    }

    #landing-page .pricing-cta {
      padding: 2rem;
      text-align: center;
      border-top: 2px solid var(--owner-purple-light);
    }

    #landing-page .pricing-cta .btn {
      width: 100%;
      padding: 1rem;
      font-size: 1.125rem;
      font-weight: 600;
      background: var(--owner-purple);
      color: white;
      border: 2px solid var(--owner-purple);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    #landing-page .pricing-cta .btn:hover {
      background: var(--owner-purple-dark);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(142, 68, 173, 0.3);
    }

    #landing-page .pricing-cta .btn-secondary {
      background: white;
      color: var(--owner-purple);
      border-color: var(--owner-purple-muted);
    }

    #landing-page .pricing-cta .btn-secondary:hover {
      background: var(--owner-purple-light);
      border-color: var(--owner-purple);
    }

    /* CTA section - Enhanced with purple theme */
    #landing-page .cta-section {
      padding: 5rem 2rem;
      text-align: center;
      background: linear-gradient(135deg, var(--owner-purple-light) 0%, #ffffff 100%);
      border-top: 3px solid var(--owner-purple);
    }

    #landing-page .cta-content {
      max-width: 800px;
      margin: 0 auto;
    }

    #landing-page .cta-icon {
      width: 80px;
      height: 80px;
      margin: 0 auto 2rem;
      background: var(--owner-purple);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 24px rgba(142, 68, 173, 0.3);
    }

    #landing-page .cta-icon svg {
      stroke: white;
    }

    #landing-page .cta-title {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--owner-purple-dark);
      margin: 0 0 1rem;
    }

    #landing-page .cta-subtitle {
      font-size: 1.25rem;
      color: #666;
      margin: 0 0 2rem;
      line-height: 1.6;
    }

    #landing-page .cta-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
      margin: 2rem 0 1.5rem;
    }

    #landing-page .cta-buttons .btn {
      padding: 1rem 2.5rem;
      font-size: 1.125rem;
      font-weight: 600;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s ease;
      min-width: 200px;
    }

    #landing-page .cta-buttons .btn-primary {
      background: var(--owner-purple);
      color: white;
      border: 2px solid var(--owner-purple);
    }

    #landing-page .cta-buttons .btn-primary:hover {
      background: var(--owner-purple-dark);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(142, 68, 173, 0.3);
    }

    #landing-page .cta-buttons .btn-secondary {
      background: var(--tournament-green);
      color: white;
      border: 2px solid var(--tournament-green);
    }

    #landing-page .cta-buttons .btn-secondary:hover {
      background: var(--tournament-green-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(22, 160, 133, 0.3);
    }

    #landing-page .cta-note {
      color: #666;
      font-size: 0.95rem;
      margin: 0;
    }

    /* Footer and legal sections */
    #landing-page .footer-section,
    #landing-page .privacy-section {
      background: #f8f9fa;
      border-top: 1px solid var(--owner-purple-muted);
    }

    #landing-page .footer-links a {
      color: var(--owner-purple);
      transition: color 0.2s ease;
    }

    #landing-page .footer-links a:hover {
      color: var(--owner-purple-dark);
      text-decoration: underline;
    }

    /* Privacy modal links */
    #landing-page .privacy-link {
      color: var(--owner-purple);
      cursor: pointer;
      text-decoration: underline;
    }

    #landing-page .privacy-link:hover {
      color: var(--owner-purple-dark);
    }

    @media (max-width: 640px) {
      .landing-nav {
        padding: 0.75rem 1rem;
      }

      .landing-nav-link span {
        display: none;
      }

      .hero-section {
        padding: 3rem 1.5rem;
      }

      .hero-cta .btn-large {
        width: 100%;
        min-width: unset;
      }

      .hero-icon-badge {
        width: 80px;
        height: 80px;
      }

      .hero-icon-badge .chess-icon {
        font-size: 2.5rem;
      }

      #landing-page .cta-buttons .btn {
        width: 100%;
        min-width: unset;
      }

      #landing-page .cta-title {
        font-size: 2rem;
      }

      #landing-page .cta-subtitle {
        font-size: 1.1rem;
      }

      #landing-page .pricing-cards,
      #landing-page .pricing-grid {
        grid-template-columns: 1fr;
      }

      #landing-page .features-grid {
        grid-template-columns: 1fr;
      }
    }
    /* LANDING PAGE CLEANUP - Remove borders, shadows, and simplify design */
    
    /* Remove side borders by making sections full-width with consistent padding */
    #landing-page .features-section,
    #landing-page .how-it-works-section,
    #landing-page .hero-section,
    #landing-page .demo-section,
    #landing-page .pricing-section,
    #landing-page .cta-section {
      padding: 4rem 2rem;
      background: #fafafa;
      border: none !important;
    }
    
    /* Only directory section gets green background */
    .directory-promotion-section {
      background: var(--tournament-green-light);
      padding: 4rem 2rem;
      border: none !important;
    }
    
    /* Remove all section title borders and shadows */
    #landing-page .section-title {
      border: none !important;
      text-shadow: none !important;
      box-shadow: none !important;
    }
    
    /* Remove borders from feature cards */
    #landing-page .features-section .feature-card {
      border: none !important;
      border-top: none !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
      background: white;
    }
    
    #landing-page .features-section .feature-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
      border: none !important;
    }
    
    #landing-page .features-section .feature-card::before {
      display: none !important;
    }
    
    /* Remove borders from step cards */
    #landing-page .step-card {
      border: none !important;
      border-left: none !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
      background: white;
    }
    
    #landing-page .step-card:hover {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
      border: none !important;
    }
    
    /* Subtle green accent only on last step */
    .step-card:last-child {
      border-left: none !important;
      border: none !important;
    }
    
    /* Remove drop shadows from icons */
    #landing-page .feature-icon svg,
    #landing-page .features-section .feature-card:hover .feature-icon svg {
      filter: none !important;
      text-shadow: none !important;
    }
    
    /* Clean up directory section - remove excessive shadows */
    .world-map-container {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      border: none !important;
    }
    
    .directory-feature {
      box-shadow: none !important;
      border: none !important;
    }
    
    /* Remove borders from buttons but keep subtle shadow */
    .directory-promotion-section .btn-primary {
      box-shadow: 0 2px 6px rgba(22, 160, 133, 0.15);
      border: none !important;
    }
    
    .directory-promotion-section .btn-primary:hover {
      box-shadow: 0 4px 12px rgba(22, 160, 133, 0.25);
    }
    
    /* Clean header - remove border */
    #landing-page nav {
      border-bottom: none !important;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    }
    
    /* Remove text shadows from all text */
    #landing-page * {
      text-shadow: none !important;
    }
    
    /* Alternate section backgrounds for subtle visual separation */
    #landing-page .hero-section {
      background: white;
    }
    
    #landing-page .features-section {
      background: #fafafa;
    }
    
    #landing-page .how-it-works-section {
      background: white;
    }
    
    /* Ensure content width without harsh borders */
    #landing-page .features-section > .section-title,
    #landing-page .features-grid,
    #landing-page .how-it-works-section > .section-title,
    #landing-page .steps-grid,
    #landing-page .pricing-section > .section-title {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .directory-promotion-content,
    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    /* COMPLETE FULL-WIDTH FIX - Remove all borders and center content */
    
    /* Remove body padding only on landing page */
    body:has(#landing-page:not([style*="display: none"])) {
      margin: 0 !important;
      padding: 0 !important;
      width: 100%;
      overflow-x: hidden;
    }

    html {
      margin: 0;
    }
    
    /* Container must be truly full-width on landing page */
    body:has(#landing-page:not([style*="display: none"])) .container,
    #landing-page,
    #landing-page > *:not(.landing-nav) {
      margin: 0 !important;
      padding: 0 !important;
      max-width: 100% !important;
      width: 100%;
    }
    
    /* All sections must span full width */
    #landing-page .hero-section,
    #landing-page .features-section,
    #landing-page .directory-promotion-section,
    #landing-page .how-it-works-section,
    #landing-page .demo-section,
    #landing-page .pricing-section,
    #landing-page .cta-section {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 4rem 2rem !important;
      box-sizing: border-box;
    }
    
    /* CENTER ALL CONTENT */
    
    /* Hero section - center everything */
    #landing-page .hero-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .hero-content {
      max-width: 1200px;
      margin: 0 auto !important;
      text-align: center;
      width: 100%;
    }
    
    /* Directory section - center everything */
    #landing-page .directory-promotion-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .directory-promotion-content {
      max-width: 1200px;
      margin: 0 auto !important;
      text-align: center;
      width: 100%;
    }
    
    /* Features section - center grid and title */
    #landing-page .features-section {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    #landing-page .features-section .section-title {
      text-align: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto 2rem auto !important;
    }
    
    #landing-page .features-grid {
      max-width: 1200px;
      margin: 0 auto !important;
      width: 100%;
    }
    
    /* How it works section - center grid */
    #landing-page .how-it-works-section {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    #landing-page .how-it-works-section .section-title {
      text-align: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto 2rem auto !important;
    }
    
    #landing-page .steps-grid {
      max-width: 1200px;
      margin: 0 auto !important;
      width: 100%;
    }
    
    /* Pricing section - center everything */
    #landing-page .pricing-section {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    
    #landing-page .pricing-section .section-title {
      text-align: center;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto 2rem auto !important;
    }
    
    #landing-page .pricing-grid {
      max-width: 1200px;
      margin: 0 auto !important;
      width: 100%;
    }
    
    /* Navigation - truly full width */
    .landing-nav {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      left: 0 !important;
      right: 0 !important;
      padding: 1rem 2.5rem !important;
      box-sizing: border-box;
    }
    
    .landing-nav-content {
      max-width: 1200px !important;
      margin: 0 auto !important;
      padding: 0 !important;
      width: 100%;
    }

    /* FIX 1: Remove side borders only on landing page */
    body:has(#landing-page:not([style*="display: none"])),
    body:has(#landing-page:not([style*="display: none"])) .container {
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    
    #landing-page {
      margin: 0 !important;
      padding: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }
    
    /* FIX 2: Increase hero section height */
    #landing-page .hero-section {
      padding: 6rem 2rem !important;
      min-height: 500px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* FIX 3: Change all buttons to purple theme */
    
    /* Demo section buttons (Try it now) */
    #landing-page .demo-section .btn-primary,
    #landing-page .demo-section button.btn-primary {
      background: var(--owner-purple) !important;
      border-color: var(--owner-purple) !important;
      color: white !important;
    }
    
    #landing-page .demo-section .btn-primary:hover,
    #landing-page .demo-section button.btn-primary:hover {
      background: var(--owner-purple-dark) !important;
      border-color: var(--owner-purple-dark) !important;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.25) !important;
    }
    
    /* CTA section buttons */
    #landing-page .cta-section .btn-primary,
    #landing-page .cta-section button.btn-primary {
      background: var(--owner-purple) !important;
      border-color: var(--owner-purple) !important;
      color: white !important;
    }
    
    #landing-page .cta-section .btn-primary:hover,
    #landing-page .cta-section button.btn-primary:hover {
      background: var(--owner-purple-dark) !important;
      border-color: var(--owner-purple-dark) !important;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.25) !important;
    }
    
    /* Pricing section buttons (Choose your plan) */
    #landing-page .pricing-section .btn-primary,
    #landing-page .pricing-section button.btn-primary,
    #landing-page .pricing-card .btn-primary,
    #landing-page .pricing-card button {
      background: var(--owner-purple) !important;
      border-color: var(--owner-purple) !important;
      color: white !important;
    }
    
    #landing-page .pricing-section .btn-primary:hover,
    #landing-page .pricing-section button.btn-primary:hover,
    #landing-page .pricing-card .btn-primary:hover,
    #landing-page .pricing-card button:hover {
      background: var(--owner-purple-dark) !important;
      border-color: var(--owner-purple-dark) !important;
      box-shadow: 0 4px 12px rgba(142, 68, 173, 0.25) !important;
    }
    
    /* Hero section buttons */
    #landing-page .hero-section .btn-primary,
    #landing-page .hero-section button.btn-primary {
      background: var(--owner-purple) !important;
      border-color: var(--owner-purple) !important;
      color: white !important;
      font-size: 1.1rem;
      padding: 0.875rem 2.5rem;
    }
    
    #landing-page .hero-section .btn-primary:hover,
    #landing-page .hero-section button.btn-primary:hover {
      background: var(--owner-purple-dark) !important;
      border-color: var(--owner-purple-dark) !important;
      box-shadow: 0 6px 16px rgba(142, 68, 173, 0.3) !important;
      transform: translateY(-2px);
    }
    
    /* Secondary buttons */
    #landing-page .hero-section .btn-secondary,
    #landing-page .hero-section button.btn-secondary {
      background: white !important;
      border: 2px solid var(--owner-purple) !important;
      color: var(--owner-purple) !important;
      font-size: 1.1rem;
      padding: 0.875rem 2.5rem;
    }
    
    #landing-page .hero-section .btn-secondary:hover,
    #landing-page .hero-section button.btn-secondary:hover {
      background: var(--owner-purple-light) !important;
      border-color: var(--owner-purple-dark) !important;
      color: var(--owner-purple-dark) !important;
    }

    /* Remove horizontal bar before directory section */
    .directory-promotion-section {
      border-top: none !important;
      margin-top: 0 !important;
    }
    
    /* Remove any decorative elements before section titles */
    .section-title::before {
      display: none !important;
    }
    
    #landing-page .section-title::before {
      display: none !important;
    }
    
    /* Increase navigation bar height */
    .landing-nav {
      padding: 1.5rem 2.5rem !important;
      min-height: 80px;
    }
    
    .landing-nav-content {
      min-height: 48px;
    }
    
    /* Remove chess pawn or any icons before how-it-works */
    #landing-page .how-it-works-section::before,
    #landing-page .how-it-works-section .section-title::before {
      display: none !important;
      content: none !important;
    }
    
    /* Remove step icons if any */
    .step-number::before,
    .step-card::before {
      display: none !important;
      content: none !important;
    }

    /* Display directory features side by side */
    .directory-features {
      display: flex !important;
      flex-direction: row !important;
      justify-content: center;
      gap: 2rem !important;
      margin: 2rem 0;
      flex-wrap: wrap;
    }
    
    .directory-feature {
      flex: 1;
      min-width: 250px;
      max-width: 350px;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    
    /* Responsive: stack on mobile */
    @media (max-width: 768px) {
      .directory-features {
        flex-direction: column !important;
        gap: 1.25rem !important;
      }
      
      .directory-feature {
        max-width: 100%;
      }
    }

    /* Vertically center all navigation bar content */
    .landing-nav {
      display: flex;
      align-items: center;
    }
    
    .landing-nav-content {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between;
      width: 100%;
    }
    
    .landing-nav-logo {
      display: block !important;
    }
    
    .landing-nav-logo h1 {
      margin: 0 !important;
      line-height: 1 !important;
    }
    
    .landing-nav-actions {
      display: flex !important;
      align-items: center !important;
      gap: 1rem;
    }
    
    .landing-nav-link,
    .landing-nav-language {
      display: flex !important;
      align-items: center !important;
      margin: 0 !important;
    }
    
    /* Center language selector */
    #landing-language-selector {
      height: auto;
      padding: 0.5rem;
      display: flex;
      align-items: center;
    }

    /* Remove all horizontal lines/borders before directory section */
    .directory-promotion-section {
      border: none !important;
      border-top: none !important;
      border-bottom: none !important;
      margin-top: 0 !important;
    }
    
    /* Remove border from hero section bottom */
    .hero-section {
      border: none !important;
      border-bottom: none !important;
      margin-bottom: 0 !important;
    }
    
    .hero-section::after {
      display: none !important;
      border: none !important;
    }
    
    /* Remove any decorative borders between sections */
    #landing-page section {
      border: none !important;
      border-top: none !important;
      border-bottom: none !important;
    }
    
    #landing-page section::before,
    #landing-page section::after {
      border: none !important;
      display: none !important;
    }

    /* Remove gradient decoration line between sections */
    .hero-decoration,
    .chess-pattern {
      display: none !important;
      visibility: hidden !important;
      height: 0 !important;
      border: none !important;
      background: none !important;
    }
    
    /* Ensure no gradient lines anywhere */
    .hero-section .hero-decoration {
      display: none !important;
    }
    
    /* Remove any border-image with gradients */
    #landing-page section {
      border-image: none !important;
    }
    
    /* Remove all ::after and ::before elements that might have gradients */
    .hero-section::after,
    .hero-section::before,
    .hero-decoration::after,
    .hero-decoration::before {
      display: none !important;
      content: none !important;
      background: none !important;
      border: none !important;
    }

    /* Add top border to owner sections to match directory section */
    #landing-page .features-section,
    #landing-page .how-it-works-section,
    #landing-page .pricing-section,
    #landing-page .cta-section {
      border-top: 1px solid rgba(142, 68, 173, 0.15) !important;
    }
    
    /* Ensure hero section has no top border, add top padding for spacing from nav */
    #landing-page .hero-section {
      border-top: none !important;
      margin-top: 0 !important;
      padding-top: 180px !important;
    }

    /* Ensure landing page keeps fixed nav without gap */
    body:has(#landing-page:not([style*="display: none"])) .landing-nav {
      top: 0;
      margin-top: 0;
    }

    /* Owner area: Uses standard body padding from style.css (24px) */

    /* Remove top padding from main content area */
    body:not(:has(#landing-page:not([style*="display: none"]))) main {
      padding-top: 0 !important;
    }

    /* Remove all container borders on landing page to prevent artifacts */
    body:has(#landing-page:not([style*="display: none"])) .container {
      border: none !important;
    }
