/* FanEntry.org - Polish Sports Ticket Platform Styles */

/* CSS Variables for consistent theming */
:root {
  --fanentry-primary: #e74c3c;
  --fanentry-secondary: #c0392b;
  --fanentry-accent: #f39c12;
  --fanentry-light: #ecf0f1;
  --fanentry-dark: #2c3e50;
  --fanentry-white: #ffffff;
  --fanentry-gray: #7f8c8d;
  --fanentry-success: #27ae60;
  --fanentry-warning: #f1c40f;
  --fanentry-danger: #e74c3c;
  --fanentry-info: #3498db;
  
  /* Typography */
  --fanentry-font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --fanentry-font-size-base: 16px;
  --fanentry-line-height-base: 1.6;
  
  /* Spacing */
  --fanentry-spacing-xs: 0.25rem;
  --fanentry-spacing-sm: 0.5rem;
  --fanentry-spacing-md: 1rem;
  --fanentry-spacing-lg: 1.5rem;
  --fanentry-spacing-xl: 3rem;
  
  /* Border radius */
  --fanentry-border-radius: 12px;
  --fanentry-border-radius-lg: 20px;
  
  /* Shadows */
  --fanentry-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --fanentry-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fanentry-font-family);
  font-size: var(--fanentry-font-size-base);
  line-height: var(--fanentry-line-height-base);
  color: var(--fanentry-dark);
  background-color: var(--fanentry-white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fanentry-spacing-md);
}

/* Navigation */
.fanentry-navbar {
  background: linear-gradient(135deg, var(--fanentry-primary) 0%, var(--fanentry-secondary) 100%);
  box-shadow: var(--fanentry-shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--fanentry-spacing-md) 0;
}

.fanentry-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fanentry-spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fanentry-navbar-left {
  display: flex;
  align-items: center;
}

.fanentry-navbar-home-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--fanentry-white);
  font-weight: 700;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fanentry-navbar-logo {
  margin-right: var(--fanentry-spacing-sm);
  border-radius: 50%;
  border: 2px solid var(--fanentry-white);
}

.fanentry-navbar-title {
  font-weight: 800;
  letter-spacing: 2px;
}

.fanentry-navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  padding: var(--fanentry-spacing-sm);
}

.fanentry-navbar-toggle-bar {
  width: 30px;
  height: 4px;
  background-color: var(--fanentry-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.fanentry-navbar-right {
  display: flex;
  align-items: center;
  gap: var(--fanentry-spacing-lg);
}

.fanentry-nav-link-pill {
  color: var(--fanentry-white);
  text-decoration: none;
  padding: var(--fanentry-spacing-sm) var(--fanentry-spacing-lg);
  border-radius: var(--fanentry-border-radius);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.fanentry-nav-link-pill:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fanentry-nav-link-pill.active {
  background-color: var(--fanentry-accent);
  color: var(--fanentry-white);
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.fanentry-nav-link-cta {
  background: linear-gradient(45deg, var(--fanentry-accent), #f1c40f);
  color: var(--fanentry-white) !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
  border: 2px solid transparent;
}

.fanentry-nav-link-cta:hover {
  background: linear-gradient(45deg, #f1c40f, var(--fanentry-accent));
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
  border-color: var(--fanentry-white);
}

/* Hero Banner */
.fanentry-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: var(--fanentry-white);
  padding: var(--fanentry-spacing-xl) 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.fanentry-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.fanentry-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--fanentry-spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--fanentry-spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.fanentry-banner-left {
  animation: slideInLeft 1s ease-out;
}

.fanentry-banner-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--fanentry-spacing-lg);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: -1px;
}

.fanentry-banner-highlight {
  color: var(--fanentry-accent);
  text-shadow: 0 4px 8px rgba(243, 156, 18, 0.5);
  position: relative;
}

.fanentry-banner-highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--fanentry-accent), #f1c40f);
  border-radius: 2px;
}

.fanentry-banner-desc {
  font-size: 1.3rem;
  margin-bottom: var(--fanentry-spacing-xl);
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 300;
}

.fanentry-banner-cta {
  display: inline-block;
  background: linear-gradient(45deg, var(--fanentry-accent), #f1c40f);
  color: var(--fanentry-white);
  padding: var(--fanentry-spacing-lg) var(--fanentry-spacing-xl);
  text-decoration: none;
  border-radius: var(--fanentry-border-radius-lg);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.fanentry-banner-cta::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;
}

.fanentry-banner-cta:hover::before {
  left: 100%;
}

.fanentry-banner-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6);
  color: var(--fanentry-white);
  text-decoration: none;
  border-color: var(--fanentry-white);
}

.fanentry-banner-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out;
}

.fanentry-logo-bg {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  padding: var(--fanentry-spacing-xl);
  backdrop-filter: blur(15px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fanentry-logo-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--fanentry-white);
}

/* Sections */
.fanentry-section {
  padding: var(--fanentry-spacing-xl) 0;
  background-color: var(--fanentry-white);
}

.fanentry-section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--fanentry-spacing-md);
  color: var(--fanentry-dark);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fanentry-section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  background: linear-gradient(45deg, var(--fanentry-primary), var(--fanentry-accent));
  border-radius: 3px;
}

.fanentry-section-desc {
  text-align: center;
  font-size: 1.3rem;
  color: var(--fanentry-gray);
  margin-bottom: var(--fanentry-spacing-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
}

/* Sport Grid */
.fanentry-sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--fanentry-spacing-lg);
  margin-top: var(--fanentry-spacing-xl);
}

.fanentry-sport-card {
  background: var(--fanentry-white);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
}

.fanentry-sport-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--fanentry-primary), var(--fanentry-accent));
}

.fanentry-sport-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--fanentry-shadow-lg);
  border-color: var(--fanentry-accent);
}

.fanentry-sport-header {
  background: linear-gradient(135deg, var(--fanentry-primary), var(--fanentry-secondary));
  color: var(--fanentry-white);
  padding: var(--fanentry-spacing-lg);
  text-align: center;
  position: relative;
}

.fanentry-sport-header::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid var(--fanentry-primary);
}

.fanentry-sport-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fanentry-sport-body {
  padding: var(--fanentry-spacing-xl);
}

.fanentry-sport-features-list {
  list-style: none;
  margin-bottom: var(--fanentry-spacing-lg);
}

.fanentry-sport-features-list li {
  padding: var(--fanentry-spacing-sm) 0;
  border-bottom: 1px solid #f8f9fa;
  color: var(--fanentry-gray);
  position: relative;
  padding-left: 25px;
  font-weight: 500;
}

.fanentry-sport-features-list li:before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--fanentry-accent);
  font-weight: bold;
  font-size: 1.2rem;
}

.fanentry-sport-features-list li:last-child {
  border-bottom: none;
}

.fanentry-sport-buttons {
  display: flex;
  gap: var(--fanentry-spacing-sm);
  flex-wrap: wrap;
}

.fanentry-sport-button {
  flex: 1;
  background: linear-gradient(45deg, var(--fanentry-primary), var(--fanentry-secondary));
  color: var(--fanentry-white);
  text-decoration: none;
  padding: var(--fanentry-spacing-md) var(--fanentry-spacing-lg);
  border-radius: var(--fanentry-border-radius);
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.fanentry-sport-button:hover {
  background: linear-gradient(45deg, var(--fanentry-secondary), var(--fanentry-primary));
  transform: translateY(-2px);
  color: var(--fanentry-white);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
  border-color: var(--fanentry-accent);
}

/* Features Section */
.fanentry-features-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: var(--fanentry-spacing-xl) 0;
  position: relative;
}

.fanentry-features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e9ecef" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.fanentry-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--fanentry-spacing-lg);
  margin-top: var(--fanentry-spacing-xl);
  position: relative;
  z-index: 1;
}

.fanentry-feature-card {
  background: var(--fanentry-white);
  padding: var(--fanentry-spacing-xl);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
  text-align: center;
  transition: all 0.4s ease;
  border-top: 6px solid var(--fanentry-primary);
  position: relative;
  overflow: hidden;
}

.fanentry-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 76, 60, 0.1), transparent);
  transition: left 0.6s;
}

.fanentry-feature-card:hover::before {
  left: 100%;
}

.fanentry-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fanentry-shadow-lg);
}

.fanentry-feature-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: var(--fanentry-spacing-md);
  color: var(--fanentry-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fanentry-feature-desc {
  color: var(--fanentry-gray);
  line-height: 1.7;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Footer */
.fanentry-footer {
  background: var(--fanentry-dark);
  color: var(--fanentry-white);
  padding: var(--fanentry-spacing-xl) 0;
  text-align: center;
  position: relative;
}

.fanentry-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--fanentry-primary), var(--fanentry-accent));
}

.fanentry-footer-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--fanentry-spacing-md);
}

.fanentry-footer-disclaimer {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--fanentry-spacing-lg);
  opacity: 0.9;
}

.fanentry-footer-links {
  margin-bottom: var(--fanentry-spacing-lg);
}

.fanentry-footer-links a {
  color: var(--fanentry-white);
  text-decoration: none;
  margin: 0 var(--fanentry-spacing-md);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fanentry-footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--fanentry-accent);
}

.fanentry-footer-copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--fanentry-spacing-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .fanentry-navbar-toggle {
    display: flex;
  }
  
  .fanentry-navbar-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--fanentry-primary);
    flex-direction: column;
    padding: var(--fanentry-spacing-md);
    box-shadow: var(--fanentry-shadow);
  }
  
  .fanentry-navbar-right.active {
    display: flex;
  }
  
  .fanentry-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .fanentry-banner-title {
    font-size: 2.5rem;
  }
  
  .fanentry-banner-desc {
    font-size: 1.2rem;
  }
  
  .fanentry-section-title {
    font-size: 2.5rem;
  }
  
  .fanentry-sport-grid {
    grid-template-columns: 1fr;
  }
  
  .fanentry-features {
    grid-template-columns: 1fr;
  }
  
  .fanentry-sport-buttons {
    flex-direction: column;
  }
  
  .fanentry-sport-button {
    flex: none;
  }
}

@media (max-width: 480px) {
  .fanentry-banner-title {
    font-size: 2rem;
  }
  
  .fanentry-section-title {
    font-size: 2rem;
  }
  
  .fanentry-banner-cta {
    padding: var(--fanentry-spacing-md) var(--fanentry-spacing-lg);
    font-size: 1rem;
  }
  
  .fanentry-sport-name {
    font-size: 1.5rem;
  }
  
  .fanentry-feature-title {
    font-size: 1.5rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--fanentry-spacing-xs); }
.mb-2 { margin-bottom: var(--fanentry-spacing-sm); }
.mb-3 { margin-bottom: var(--fanentry-spacing-md); }
.mb-4 { margin-bottom: var(--fanentry-spacing-lg); }
.mb-5 { margin-bottom: var(--fanentry-spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--fanentry-spacing-xs); }
.mt-2 { margin-top: var(--fanentry-spacing-sm); }
.mt-3 { margin-top: var(--fanentry-spacing-md); }
.mt-4 { margin-top: var(--fanentry-spacing-lg); }
.mt-5 { margin-top: var(--fanentry-spacing-xl); }

/* Alert Styles */
.alert {
  display: none !important;
}

.alert.show {
  display: block !important;
}

/* Hidden/Visible utility classes */
.fanentry-hidden {
  display: none !important;
}

.fanentry-visible {
  display: block !important;
}

/* Page Card */
.fanentry-page-card {
  background: var(--fanentry-white);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
  padding: var(--fanentry-spacing-xl);
  margin: var(--fanentry-spacing-lg) 0;
}

/* Contact Form */
.fanentry-contact-form {
  background: var(--fanentry-light);
  padding: var(--fanentry-spacing-xl);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
}

.fanentry-contact-form .form-group {
  margin-bottom: var(--fanentry-spacing-lg);
}

.fanentry-contact-form label {
  font-weight: 600;
  color: var(--fanentry-dark);
  margin-bottom: var(--fanentry-spacing-sm);
  display: block;
}

.fanentry-contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--fanentry-border-radius);
  padding: var(--fanentry-spacing-md);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.fanentry-contact-form .form-control:focus {
  border-color: var(--fanentry-primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.25);
  outline: none;
}

/* Contact Info */
.fanentry-contact-info {
  background: var(--fanentry-light);
  padding: var(--fanentry-spacing-lg);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
}

.fanentry-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fanentry-contact-list li {
  padding: var(--fanentry-spacing-md) 0;
  border-bottom: 1px solid #e9ecef;
  color: var(--fanentry-gray);
}

.fanentry-contact-list li:last-child {
  border-bottom: none;
}

.fanentry-contact-list li strong {
  color: var(--fanentry-dark);
  display: block;
  margin-bottom: var(--fanentry-spacing-xs);
}

.fanentry-contact-list li a {
  color: var(--fanentry-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.fanentry-contact-list li a:hover {
  color: var(--fanentry-secondary);
  text-decoration: underline;
}

/* FAQ Items */
.fanentry-faq-item {
  background: var(--fanentry-white);
  padding: var(--fanentry-spacing-lg);
  border-radius: var(--fanentry-border-radius-lg);
  box-shadow: var(--fanentry-shadow);
  margin-bottom: var(--fanentry-spacing-lg);
  border-left: 4px solid var(--fanentry-primary);
}

.fanentry-faq-item h4 {
  color: var(--fanentry-dark);
  margin-bottom: var(--fanentry-spacing-md);
  font-weight: 600;
}

.fanentry-faq-item p {
  color: var(--fanentry-gray);
  line-height: 1.6;
  margin: 0;
}

.fanentry-about-icon {
  color: var(--fanentry-primary);
  margin-right: var(--fanentry-spacing-sm);
}

/* Print Styles */
@media print {
  .fanentry-navbar,
  .fanentry-banner-cta,
  .fanentry-sport-button {
    display: none;
  }
  
  .fanentry-banner {
    background: none;
    color: var(--fanentry-dark);
  }
}
