/* ========================================
   Shadow Fight 2 - Domendomen
   Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
  --bg-dark: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-card: #151515;
  --accent-gold: #d4a84b;
  --accent-gold-hover: #e8bc5f;
  --accent-green: #4a7c59;
  --accent-green-light: #5d9970;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-muted: #707070;
  --border-color: #2a2a2a;
  --gradient-gold: linear-gradient(135deg, #d4a84b 0%, #8b6914 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 30px rgba(212, 168, 75, 0.3);
  --transition: all 0.3s ease;
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header & Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: var(--shadow-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-gold);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.9) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--bg-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--accent-gold);
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-download {
  display: inline-block;
  transition: var(--transition);
}

.btn-download img {
  height: 55px;
  width: auto;
}

.btn-download:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* ========================================
   Section Common Styles
   ======================================== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-title h2 span {
  color: var(--accent-gold);
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-list {
  margin-top: 25px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.about-list li::before {
  content: '✓';
  color: var(--accent-gold);
  font-weight: bold;
}

/* ========================================
   Features Section
   ======================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================
   Game Modes Section
   ======================================== */
.modes-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.modes-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.modes-image img {
  width: 100%;
  height: auto;
}

.modes-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mode-item {
  background: var(--bg-card);
  padding: 25px;
  border-radius: 15px;
  border-left: 4px solid var(--accent-gold);
  transition: var(--transition);
}

.mode-item:hover {
  background: var(--bg-secondary);
  transform: translateX(10px);
}

.mode-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--accent-gold);
}

.mode-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 168, 75, 0);
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  background: rgba(212, 168, 75, 0.2);
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(10,10,10,0.8) 50%, var(--bg-dark) 100%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: var(--accent-gold);
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-column h4 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-link i {
  font-size: 1.1rem;
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--bg-dark);
}

/* ========================================
   Page Header (for inner pages)
   ======================================== */
.page-header {
  padding: 150px 0 80px;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.breadcrumb {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--accent-gold);
}

/* ========================================
   Content Pages
   ======================================== */
.content-section {
  padding: 80px 0;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--accent-gold);
}

.content-wrapper h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--text-primary);
}

.content-wrapper p {
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.content-wrapper ul, .content-wrapper ol {
  margin: 20px 0;
  padding-left: 25px;
}

.content-wrapper li {
  color: var(--text-secondary);
  margin-bottom: 10px;
  list-style: disc;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background: var(--gradient-gold);
  color: var(--bg-dark);
  padding: 15px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.contact-info-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item .icon i {
  font-size: 1.2rem;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-info-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ========================================
   News Cards
   ======================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
}

.news-card-image {
  height: 200px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-card-image img {
  transform: scale(1.1);
}

.news-card-content {
  padding: 25px;
}

.news-card-date {
  color: var(--accent-gold);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.news-card-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--accent-gold);
  font-weight: 500;
}

.news-card-link:hover {
  text-decoration: underline;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
}

/* Mobile Landscape */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
    gap: 0;
    transform: translateX(-100%);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }
  
  .nav-link {
    padding: 15px 20px;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .about-grid,
  .modes-wrapper,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-brand .logo {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2.2rem;
  }
}

/* Mobile Portrait */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .btn-download img {
    height: 45px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .contact-form {
    padding: 25px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}
