/* ===== PELAMIKO.INFO - MAIN STYLESHEET ===== */

:root {
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --primary-light: #a855f7;
  --accent: #06b6d4;
  --accent2: #10b981;
  --dark: #0d0d1a;
  --dark2: #13131f;
  --dark3: #1a1a2e;
  --card-bg: #16213e;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --border: rgba(124, 58, 237, 0.3);
  --gradient: linear-gradient(135deg, #7c3aed 0%, #06b6d4 100%);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(13, 13, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-brand span {
  -webkit-text-fill-color: transparent;
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-light) !important;
  background: rgba(124, 58, 237, 0.15);
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28168, 85, 247, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,13,26,0.95) 40%, rgba(13,13,26,0.4) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--primary);
  color: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

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

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary-light);
  padding: 0.7rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title .accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-label {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border);
  color: var(--primary-light);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* ===== CARDS ===== */
.game-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  height: 100%;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

.game-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.game-card .card-body {
  padding: 1.25rem;
  background: var(--card-bg);
}

.game-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.game-card .card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.genre-badge {
  display: inline-block;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.rating-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.rating-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent2);
}

/* ===== TOURNAMENT SECTION ===== */
.tournament-section {
  background: var(--dark2);
  padding: 5rem 0;
}

.tournament-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s;
}

.tournament-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
}

.tournament-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.tournament-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.tournament-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.meta-tag {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.meta-tag i {
  color: var(--primary-light);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-live {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.status-upcoming {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent2);
}

.status-ended {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--text-muted);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.newsletter-form .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px 0 0 8px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
}

.newsletter-form .form-control:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  color: var(--text);
}

.newsletter-form .form-control::placeholder {
  color: var(--text-muted);
}

.newsletter-form .btn-subscribe {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.75rem 1.75rem;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.newsletter-form .btn-subscribe:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ===== CONTACT FORM ===== */
.contact-section {
  padding: 5rem 0;
  background: var(--dark3);
}

.contact-form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control, .form-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  color: var(--text);
}

.form-control::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.form-select option {
  background: var(--dark3);
  color: var(--text);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 5rem 0;
  background: var(--dark2);
}

.about-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
}

.about-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

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

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list li i {
  color: var(--accent2);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 5rem 0;
  background: var(--dark);
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(6, 182, 212, 0.15) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 2rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 33, 62, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  display: none;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
}

/* ===== POLICY PAGES ===== */
.policy-content {
  padding: 4rem 0;
}

.policy-content h2 {
  font-size: 1.4rem;
  color: var(--primary-light);
  margin: 2rem 0 0.75rem;
}

.policy-content h3 {
  font-size: 1.1rem;
  color: var(--accent);
  margin: 1.5rem 0 0.5rem;
}

.policy-content p, .policy-content li {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.policy-content ul, .policy-content ol {
  padding-left: 1.5rem;
}

.policy-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
}

/* ===== ALERTS ===== */
.alert-success-custom {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero-stats {
    gap: 1.25rem;
  }
  .stat-number {
    font-size: 1.4rem;
  }
  .contact-form-wrap {
    padding: 1.5rem;
  }
}
