/* ==================== */
/* ARROW BUTTON REDESIGN */
/* ==================== */

.flatpickr-time .arrowUp, 
.flatpickr-time .arrowDown {
  /* Structure */
  width: 24px !important;
  height: 12px !important;
  border: none !important;
  margin-top: 5px;



  
  /* Gold gradient background */
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.9),
    rgba(212, 175, 55, 0.7)
  ) !important;
  
  /* Shadow and border */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  border-radius: 3px !important;
  
  /* Positioning */
  right: 6px !important;
  left: auto !important;
}

/* Up arrow position */
.flatpickr-time .arrowUp {
  top: 6px !important;
  margin-left: 5px;
}

/* Down arrow position */
.flatpickr-time .arrowDown {
  top: 20px !important;
}

/* Arrow triangle styling */
.flatpickr-time .arrowUp:after,
.flatpickr-time .arrowDown:after {
  /* Modern triangular arrow */
  content: "" !important;
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border-style: solid !important;
}

/* Up arrow triangle */
.flatpickr-time .arrowUp:after {
  top: 3px !important;
  border-width: 0 4px 5px 4px !important;
  border-color: transparent transparent #2a2a2a transparent !important;
}

/* Down arrow triangle */
.flatpickr-time .arrowDown:after {
  top: 3px !important;
  border-width: 5px 4px 0 4px !important;
  border-color: #2a2a2a transparent transparent transparent !important;
}

/* Hover effects */
.flatpickr-time .arrowUp:hover,
.flatpickr-time .arrowDown:hover {
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 1),
    rgba(212, 175, 55, 0.9)
  ) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Active state */
.flatpickr-time .arrowUp:active,
.flatpickr-time .arrowDown:active {
  transform: scale(0.95);
}

/* Main About Section Styles */
.about-main {
    background-color: #3B3131;
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    padding: 0;
    min-height: calc(100vh - 120px);
}

/* Hero Section */
.about-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 3rem;
    margin-left: 0px;
    padding-top: 80px;
}

.hero-content {
    max-width: 60%;
    margin-left: 55px;
}

.hero-title {
    font-family: 'MedievalSharp', cursive;
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-illustration {
    position: relative;
    width: 30%;
    height: 200px;
    margin-top: 15px;
}

.gate-animation {
    width: 100%;
    height: 240px;
    /* Reduced from 400px to 250px */
    background: linear-gradient(135deg, #1a0f12 0%, #2a1e1e 100%);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    perspective: 1000px;
    margin-bottom: 20px;
    /* Added some space below the gate */
}


.feature-list {
    list-style-type: none;
    /* Remove default bullets */
    padding-left: 0;
    /* Remove default padding */
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    /* Space for icon */
    margin-bottom: 8px;
    /* Space between items */
    color: white;
    /* Adjust color as needed */
}

.feature-list li::before {
    content: "•";
    /* Bullet character */
    position: absolute;
    left: 10px;
    /* Position between icon and text */
    color: white;
    /* Bullet color */
    font-size: 1.2em;
}

.feature-list .fas {
    position: absolute;
    left: 0;
    color: #4CAF50;
    /* Green check color - adjust as needed */
}


/* Gate doors with 3D effect */
.gate-animation::before,
.gate-animation::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    transition: all 1s ease;
    z-index: 2;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.gate-animation::before {
    left: 0;
    transform-origin: left center;
    background: linear-gradient(135deg, #2a1e1e 0%, #3a2a2a 100%);
    border-right: 2px solid #f8d49a;
    box-shadow: inset -15px 0 20px -10px rgba(0, 0, 0, 0.8);
    animation: gateLeftOpen 8s infinite ease-in-out;
}

.gate-animation::after {
    right: 0;
    transform-origin: right center;
    background: linear-gradient(135deg, #3a2a2a 0%, #2a1e1e 100%);
    border-left: 2px solid #f8d49a;
    box-shadow: inset 15px 0 20px -10px rgba(0, 0, 0, 0.8);
    animation: gateRightOpen 8s infinite ease-in-out;
}

/* Sunlight effect with gradient glow */
.light-ray {
    position: absolute;
    width: 0;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: linear-gradient(90deg,
            rgba(248, 212, 154, 0) 0%,
            rgba(248, 212, 154, 0.8) 50%,
            rgba(248, 212, 154, 0) 100%);
    z-index: 1;
    animation: sunlightBurst 8s infinite;
    filter: blur(5px);
}

/* Light rays with varying timing */
.light-ray::before,
.light-ray::after,
.light-ray div {
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(248, 212, 154, 0),
            #f8d49a,
            rgba(248, 212, 154, 0));
    box-shadow: 0 0 15px 2px #d4af37;
    animation: lightRay 4s infinite;
    top: 0;
}

.light-ray::before {
    left: 20%;
    animation-delay: 0.2s;
}

.light-ray::after {
    right: 20%;
    animation-delay: 0.4s;
}

.light-ray div:nth-child(1) {
    left: 35%;
    animation-delay: 0.1s;
}

.light-ray div:nth-child(2) {
    right: 35%;
    animation-delay: 0.3s;
}

/* Magical particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
}

.particles::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
            rgba(248, 212, 154, 0.2) 0%,
            transparent 70%);
    animation: particleGlow 8s infinite;
}

/* Animations */
@keyframes gateLeftOpen {

    0%,
    25% {
        transform: rotateY(0);
    }

    35%,
    65% {
        transform: rotateY(-70deg);
    }

    75%,
    100% {
        transform: rotateY(0);
    }
}

@keyframes gateRightOpen {

    0%,
    25% {
        transform: rotateY(0);
    }

    35%,
    65% {
        transform: rotateY(70deg);
    }

    75%,
    100% {
        transform: rotateY(0);
    }
}

@keyframes sunlightBurst {

    0%,
    25% {
        width: 0;
        opacity: 0;
    }

    35% {
        width: 100%;
        opacity: 0.8;
    }

    65% {
        width: 100%;
        opacity: 0.8;
    }

    75%,
    100% {
        width: 0;
        opacity: 0;
    }
}

@keyframes lightRay {

    0%,
    25% {
        transform: scaleY(0);
        opacity: 0;
    }

    35%,
    65% {
        transform: scaleY(1);
        opacity: 0.8;
    }

    75%,
    100% {
        transform: scaleY(0);
        opacity: 0;
    }
}

@keyframes particleGlow {

    0%,
    25% {
        opacity: 0;
        transform: scale(0.5);
    }

    35%,
    65% {
        opacity: 1;
        transform: scale(1);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* About Cards */
.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: rgba(52, 40, 44, 0.7);
    border-radius: 10px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.about-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f8d49a);
}

.card-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 1rem;
}

.about-card h2 {
    font-family: 'MedievalSharp', cursive;
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: #d4af37;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

/* Comparison */
.comparison {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.pros {
    flex: 1;
}

.pros h3 {
    color: #7fb685;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.pros i {
    margin-right: 0.5rem;
}

.pros ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.pros li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.2rem;
}

.pros li::before {
    content: "•";
    color: #7fb685;
    position: absolute;
    left: 0;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cta-primary,
.cta-secondary {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-primary {
    background: linear-gradient(to right, #d4af37, #f8d49a);
    color: #34282C;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.cta-secondary {
    background: transparent;
    border: 2px solid #d4af37;
    color: #d4af37;
}

.cta-secondary:hover {
    background: rgba(212, 175, 55, 0.1);
}



/* Modern Flatpickr Calendar Design */
.flatpickr-calendar {
  background: #34282C !important;
  border: 1px solid #d4af37 !important;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
  color: #f0f0f0 !important;
  font-family: 'Roboto', sans-serif;
  border-radius: 10px;
  overflow: hidden;
  width: 320px;
}

/* Calendar container */
.flatpickr-innerContainer {
  padding: 12px;
}

/* Day numbers - improved contrast */
.flatpickr-day {
  color: #f0f0f0 !important;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  height: 36px;
  line-height: 36px;
  margin: 2px;
  transition: all 0.2s ease;
}

/* Hover effect - more subtle */
.flatpickr-day:hover {
  background-color: rgba(212, 175, 55, 0.1) !important;
  border-color: rgba(212, 175, 55, 0.3);
  color: #d4af37 !important;
  transform: scale(1.05);
}

/* Today highlight - more prominent */
.flatpickr-day.today {
  border: 1px solid #d4af37;
  color: #d4af37 !important;
  background-color: rgba(212, 175, 55, 0.05) !important;
  font-weight: 600;
}

/* Selected date - smoother transition */
.flatpickr-day.selected {
  background-color: #d4af37 !important;
  color: #34282C !important;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
}

/* Month/Year header - cleaner */
.flatpickr-months {
  padding: 10px 0;
  background: #34282C !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.flatpickr-month {
  height: 48px;
}

/* Month/Year dropdowns - more elegant */
.flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #d4af37 !important;
  background: transparent;
  font-size: 1.1em;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid transparent;
}

.flatpickr-monthDropdown-months:hover,
.flatpickr-current-month input.cur-year:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

/* Weekday labels - better spacing */
.flatpickr-weekdays {
  margin-bottom: 8px;
  background: rgba(59, 49, 49, 0.6);
  padding: 8px 0;
}

.flatpickr-weekday {
  color: #d4af37 !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.85em;
}

/* Navigation arrows - more visible */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #d4af37 !important;
  fill: #d4af37 !important;
  top: 12px !important;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  background: rgba(212, 175, 55, 0.1);
}

/* Time picker - modernized */
.flatpickr-time {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 12px;
}

.flatpickr-time {
  background: #34282C;
  border-radius: 10px; /* Slightly larger radius */
  padding: 20px 16px; /* Increased vertical padding */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  min-height: 100px; /* Ensures minimum height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.flatpickr-time .flatpickr-time-wrapper {
  display: flex;
  gap: 10px; /* Slightly more spacing */
  align-items: center;
}


.flatpickr-time input {
  background: rgba(59, 49, 49, 0.8);
  color: #f0f0f0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 12px 14px; /* Taller input padding */
  font-size: 1.2em; /* Slightly larger font */
  font-weight: bold !important; /* Semi-bold */
  width: 70px; /* Wider to accommodate larger text */
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.2);
  height: 48px; /* Fixed height for consistency */
}

.flatpickr-time input:hover {
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(59, 49, 49, 1);
}

.flatpickr-time input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3),
              inset 0 1px 4px rgba(0, 0, 0, 0.2);
  background: rgba(59, 49, 49, 1);
  outline: none;
}

.flatpickr-time .flatpickr-time-separator {
  color: #d4af37;
  font-size: 1.4em; /* Larger separator */
  margin: 0 4px;
  font-weight: bold;
}

.flatpickr-time .flatpickr-am-pm {
  background: rgba(59, 49, 49, 0.8);
  color: #f0f0f0;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  padding: 12px 14px; /* Taller AM/PM button */
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.2s ease;
  height: 48px; /* Matches input height */
}

.flatpickr-time .flatpickr-am-pm:hover {
  background: rgba(59, 49, 49, 1);
  border-color: rgba(212, 175, 55, 0.6);
}

.flatpickr-time .flatpickr-am-pm:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
  outline: none;
}

/* Animation when calendar opens */
.flatpickr-calendar.open {
  animation: fadeInZoom 0.3s ease;
}

/* Dim days that are outside the current month */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: rgba(240, 240, 240, 0.2) !important;
  pointer-events: none; /* Optional: prevent hover/click */
}


@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* Organize Session Modal */
.organize-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.organize-modal-content {
    background: #34282C;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
    border: 1px solid #d4af37;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.organize-modal-content h3 {
    font-family: 'MedievalSharp', cursive;
    color: #d4af37;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.organize-modal-content label {
    color: #f0f0f0;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.organize-modal-content input,
.organize-modal-content textarea {
    width: 100%;
    padding: 0.8rem;
    background: rgba(59, 49, 49, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #f0f0f0;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1rem;
}

.organize-modal-content textarea {
    resize: vertical;
    min-height: 100px;
}

.organize-modal-content .button-row {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.organize-modal-content button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
}

#cancel-organize {
    background-color: #555;
    color: #fff;
}

#submit-organize {
    background-color: #d4af37;
    color: #000;
}

/* Animations */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-280px * 5 - 1.5rem * 4));
    }
}


/* Testimonials */
.testimonials {
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
}

.section-title {
    text-align: center;
    font-family: 'MedievalSharp', cursive;
    color: #d4af37;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #d4af37, #f8d49a);
    margin: 0.5rem auto 0;
}

.support-section {
  background-color: rgba(52, 40, 44, 0.7); /* Same as footer */
  color: #f5f5f5;
  padding: 60px 20px;
  margin-bottom: 0;
}

.support-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.support-text h2 {
  color: #f5cc49;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.support-text p {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.support-link-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(to right, #d4af37, #f8d49a);
  color: #2c2325;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.support-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.support-image img {
  width: 180px;
  max-width: 100%;
  height: auto;
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .support-section {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .support-content {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  
  .support-text h2 {
    justify-content: center;
  }
  
  .support-image img {
    max-width: 220px;
  }
}

.testimonial-slider-container {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.testimonial-slider-track {
    display: flex;
    gap: 2rem;
    animation: scroll 50s linear infinite;
    width: calc(300px * 8 + 2rem * 7); /* Adjust based on number of cards */
}



.testimonial-card {
    background: rgba(52, 40, 44, 0.8);
    padding: 2rem;
    border-radius: 10px;
    min-width: 300px;
    position: relative;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

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

.testimonial-card::before {
    content: "";
    font-family: 'Times New Roman', Times, serif;
    font-size: 5rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: 10px;
    left: 10px;
    line-height: 1;
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    border: 3px solid #d4af37;
}

.player-name {
    display: block;
    margin-top: 1rem;
    font-style: italic;
    color: #d4af37;
    text-align: right;
    font-size: 0.9rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-300px * 6 - 2rem * 5)); /* Move by original cards width */
    }
}

/* Pause animation on hover */
.testimonial-slider-container:hover .testimonial-slider-track {
    animation-play-state: paused;
}
/* Animations */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.1000s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .hero-illustration {
        width: 80%;
    }

    .cta-buttons {
        justify-content: center;
    }
}


