/* ================================
   RESET & BASE STYLES
   ================================ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  background: #f8f9fa;
  color: #2c3e50;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1rem 0;
}

/* ================================
   STICKY SOCIAL BAR (TOP)
   ================================ */
.social-container {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 10px 16px;
  padding-top: calc(10px + env(safe-area-inset-top));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

.social-btn:hover { 
  transform: translateY(-2px); 
  opacity: 0.8;
}
.social-btn:active { transform: translateY(0); }

.social-btn img { 
  display: block; 
  width: 28px; 
  height: 28px; 
  object-fit: contain; 
}

.contact-link {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transition: opacity 0.12s ease;
}

.contact-link:hover { 
  opacity: 0.7;
}

.contact-link img { 
  width: 28px; 
  height: 28px; 
  display: block; 
  object-fit: contain; 
}

/* ================================
   STICKY CTA BAR (BOTTOM)
   ================================ */
.cta-container {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.download-btn span { white-space: nowrap; }

.download-btn:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 24px rgba(0,0,0,0.3); 
}

.download-btn:active { 
  transform: translateY(0); 
  box-shadow: 0 6px 18px rgba(0,0,0,0.25); 
}

.download-btn.ios { 
  background: #000; 
  border: 1px solid rgba(255,255,255,0.08); 
}

.download-btn.android { 
  background: #000; 
  border: 1px solid rgba(255,255,255,0.08); 
}

.download-btn img { 
  width: 18px; 
  height: 18px; 
  display: block; 
  object-fit: contain; 
}

/* ================================
   MAIN CONTENT
   ================================ */
.main-content {
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 100%;
}

/* ================================
   IN-PAGE NAVIGATION (ANCHOR LINKS)
   ================================ */
.site-nav {
  max-width: 1200px;
  margin: 0 auto 10px;
  padding: 0 20px;
}

.site-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.site-nav-list::-webkit-scrollbar { display: none; } /* WebKit */

.site-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  color: #2c3e50;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.12s ease, background 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.site-nav a:hover {
  transform: translateY(-1px);
  background: #fffae6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Make content anchors visually match surrounding text (subtle links) */
.main-content a {
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
  border-bottom: none;
}
.main-content a:hover,
.main-content a:focus {
  text-decoration: underline;
  outline: none;
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
  background: linear-gradient(135deg, #ffde59 0%, #ffa500 100%);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-image {
  max-width: 100%;
  width: 100%;
  max-height: 700px;
  object-fit: contain;
  margin: 0 auto 30px;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-title {
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  margin: 0 0 10px 0;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.2);
  margin: 0;
  font-weight: 600;
}

/* ================================
   CONTENT SECTIONS
   ================================ */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.about-section {
  background: #fff;
  text-align: justify;
}

.about-section h2 {
  color: #2c3e50;
  margin-bottom: 30px;
}

.about-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #555;
}

/* FAQ headings: center titles for readability */
#faq h2,
#faq h3 {
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

#faq h3 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
}

/* ================================
   FEATURES SECTION
   ================================ */
.features-section {
  background: #f8f9fa;
}

.features-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature-card {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 1.3rem;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
}

/* ================================
   CAROUSEL SECTION
   ================================ */
.carousel-section {
  background: #fff;
  padding: 60px 20px;
}

.carousel-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.carousel-container {
  position: relative;
  max-width: clamp(320px, 92vw, 560px);
  margin: 0 auto;
  padding: 0 36px;
}

.carousel-track-wrapper {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  max-height: min(70vh, 720px);
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: min(70vh, 720px);
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, opacity 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.carousel-btn.prev {
  left: 0;
}

.carousel-btn.next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.carousel-dot:hover {
  background: #bbb;
  transform: scale(1.2);
}

.carousel-dot.active {
  background: #ffde59;
  transform: scale(1.3);
}

/* ================================
   HOW TO PLAY SECTION
   ================================ */
.howto-section {
  background: #f8f9fa;
  text-align: center;
}

.howto-section h2 {
  margin-bottom: 30px;
  color: #2c3e50;
}

.howto-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  counter-reset: howto-counter;
}

.howto-list li {
  position: relative;
  padding: 15px 15px 15px 60px;
  margin-bottom: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  font-size: 1.1rem;
  color: #555;
  counter-increment: howto-counter;
}

.howto-list li::before {
  content: counter(howto-counter);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #ffde59, #ffa500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
  background: linear-gradient(135deg, #ffde59 0%, #ffa500 100%);
  text-align: center;
  color: #fff;
  padding: 80px 20px;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.1);
}

.made-in-greece {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 30px;
}

/* ================================
   FOOTER
   ================================ */
.footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.footer p {
  margin: 10px 0;
  font-size: 0.95rem;
}

.footer a {
  color: #ffde59;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-image {
    max-height: 700px;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  section {
    padding: 40px 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .carousel-container {
    padding: 0 40px;
  }
  
  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .cta-section h2 {
    font-size: 1.8rem;
  }
  
  .cta-section p {
    font-size: 1rem;
  }
}

/* Small mobile */
@media (max-width: 420px) {
  .social-container {
    padding: 8px 12px;
    gap: 8px;
  }
  
  .social-btn img,
  .contact-link img {
    width: 24px;
    height: 24px;
  }
  
  .cta-container { 
    gap: 8px; 
    padding: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  
  .download-btn { 
    padding: 10px 12px; 
    font-size: 14px; 
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .carousel-container {
    padding: 0 35px;
  }
  
  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}

/* Desktop optimizations */
@media (min-width: 900px) {
  .hero-section {
    padding: 80px 40px;
  }
  
  .hero-image {
    max-width: 390px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .carousel-container {
    max-width: 600px;
  }
}

@media (min-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
} 

/* Specific styling for #powers section to center the grid */
#powers .features-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
  margin: 0 auto;
} 


