/* How to Host a Tournament Page Styles */

:root {
  --ncpa-blue: #7EADED;
  --ncpa-bg: #000;
  --ncpa-panel: #1a1a1a;
  --ncpa-text: #fff;
  --ncpa-muted: #b9c4d3;
  --ncpa-border: rgba(255,255,255,0.1);
}

.host-tournament-page {
  color: var(--ncpa-text);
}

.host-tournament-page .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

/* Hero Section */
.host-hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/wp-content/uploads/2025/09/40-DSC02148-1.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  padding: 100px 0 120px 0;
  text-align: center;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.host-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.host-hero .container {
  position: relative;
  z-index: 2;
}

.host-hero h1 {
  margin: 0 0 15px;
  font-size: 3.5em;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.host-hero .lead {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.host-hero .lead a {
  color: var(--ncpa-blue);
  text-decoration: none;
  font-weight: 600;
}

.host-hero .lead a:hover {
  text-decoration: underline;
}

/* Fundraising Ticker */
.fundraising-ticker {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.ticker-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 25px 35px;
  border-radius: 20px;
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-width: 180px;
}

.ticker-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(126, 173, 237, 0.4);
  border-color: rgba(126, 173, 237, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.ticker-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--ncpa-blue);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  display: block;
  line-height: 1;
}

.ticker-label {
  font-size: 1.1rem;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Icons */
.icon {
  color: var(--ncpa-blue);
  margin-right: 8px;
}

.icon-small {
  color: var(--ncpa-blue);
  margin-right: 6px;
  font-size: 0.9em;
}

/* CTA Buttons */
.host-cta {
  display: inline-block;
  background: var(--ncpa-blue);
  color: #000;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.host-cta:hover {
  background: transparent;
  color: var(--ncpa-blue);
  border-color: var(--ncpa-blue);
}

/* Sections */
.host-section {
  padding: 60px 0;
  background: var(--ncpa-bg);
}

.host-section.alt {
  background: #0b0b0b;
}

.host-section h2 {
  text-align: center;
  margin: 0 0 40px;
  font-size: 2.2em;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.info-card {
  background: var(--ncpa-panel);
  border: 1px solid var(--ncpa-border);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 173, 237, 0.3);
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--ncpa-text);
  font-size: 1.3em;
}

.info-card .icon-small {
  display: block;
  margin: 0 0 12px 0;
  font-size: 1.8em;
  text-align: center;
}

.info-card p {
  margin: 0;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Contact List */
.contact-list {
  margin: 0;
  padding-left: 20px;
  color: #e0e0e0;
}

.contact-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Additional Information */
.additional-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.info-block {
  background: var(--ncpa-panel);
  border: 1px solid var(--ncpa-border);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.info-block:hover {
  transform: translateY(-2px);
}

.info-block-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-block-header i {
  color: var(--ncpa-blue);
  font-size: 1.8em;
  margin-right: 12px;
}

.info-block-header h3 {
  margin: 0;
  color: var(--ncpa-text);
  font-size: 1.4em;
}

.info-block p {
  margin: 0;
  line-height: 1.6;
  color: #e0e0e0;
}

.note {
  color: var(--ncpa-muted);
  font-style: italic;
  font-size: 0.9em;
}

/* Next Steps */
.next-steps {
  background: var(--ncpa-panel);
  border: 1px solid var(--ncpa-border);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.next-steps h2 {
  margin: 0 0 15px;
  font-size: 2em;
}

.next-steps-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0 0 25px;
}

/* CTA Section */
.host-cta-section {
  background: #050505;
  padding: 60px 0;
  text-align: center;
}

.host-cta-section h2 {
  margin: 0 0 10px;
  font-size: 2.2em;
}

.host-cta-section p {
  color: var(--ncpa-muted);
  margin: 0 0 25px;
  font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .additional-info {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  /* Start centering buttons on tablet and below */
  .host-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .host-hero {
    padding: 80px 0 100px 0;
    background-attachment: scroll;
    min-height: 70vh;
    background-position: center top;
  }
  
  .host-hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
  }
  
  .host-hero .lead {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }
  
  .fundraising-ticker {
    gap: 30px;
    margin: 30px 0;
  }
  
  .ticker-item {
    padding: 20px 25px;
    min-width: 150px;
  }
  
  .ticker-number {
    font-size: 2.5rem;
  }
  
  .ticker-label {
    font-size: 1rem;
  }
  
  .host-section {
    padding: 40px 0;
    overflow-x: hidden;
  }
  
  .host-section .container {
    padding: 0 15px;
    overflow-x: hidden;
  }
  
  .host-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    text-align: center;
    word-wrap: break-word;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .next-steps {
    padding: 30px 20px;
  }
  
  /* Center all buttons on mobile */
  .host-cta {
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .host-hero {
    padding: 100px 0 120px 0;
    min-height: 80vh;
    background-position: center top;
  }
  
  .host-hero h1 {
    font-size: 2.2em;
    margin-bottom: 25px;
    line-height: 1.2;
  }
  
  .host-hero .lead {
    font-size: 1rem;
    margin-bottom: 35px;
  }
  
  .fundraising-ticker {
    flex-direction: column;
    gap: 20px;
    margin: 35px 0;
  }
  
  .ticker-item {
    padding: 20px 25px;
    min-width: auto;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .ticker-number {
    font-size: 2.2rem;
  }
  
  .ticker-label {
    font-size: 0.9rem;
  }
  
  .host-cta {
    width: calc(100% - 40px);
    max-width: 280px;
    text-align: center;
    padding: 12px 20px;
    display: block;
    margin: 0 auto;
  }
  
  .info-card,
  .info-block {
    padding: 20px;
  }
  
  .next-steps {
    padding: 25px 15px;
  }
  
  .host-section h2 {
    font-size: 1.8em;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Force center alignment for all button containers on small screens */
  .host-cta-section,
  .info-block,
  .next-steps {
    text-align: center;
  }
  
  /* Ensure proper container spacing */
  .host-section .container {
    padding: 0 15px;
    overflow-x: hidden;
  }
}
