
/* Modern CSS for Sortea2 Homepage */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --secondary-color: #8b5cf6;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

.homepage {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-light);
  padding-bottom: 3rem;
}

/* Hero Message Box */
.message-box-modern {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  margin: 2rem auto 3rem;
  max-width: 1200px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.message-box-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.message-box-modern h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  position: relative;
  color:white;
}

.message-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.message-list-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  text-align: center;
}

.message-list-item:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.message-list-item img {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  filter: none;
  opacity: 0.85;
}

.message-list-item a {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  display: block;
  line-height: 1.5;
}

.message-list-item a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

/* Section Styling */
.section-modern {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
}

.section-header img {
  width: 48px;
  height: 48px;
}

.section-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-intro {
  font-size: 1.6rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 3rem;
  text-align: center;
}

/* Raffle Cards */
.raffle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.raffle-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.raffle-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.raffle-card-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.raffle-card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.raffle-card-header a {
  text-decoration: none;
  color: inherit;
}

.price-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  margin-bottom: 1.5rem;
}

.raffle-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.raffle-features li {
  padding: 0.875rem 0;
  color: var(--text-dark);
  font-size: 1.6rem;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-color);
}

.raffle-features li:last-child {
  border-bottom: none;
}

.raffle-screenshot {
  margin: 1.5rem 0;
  text-align: center;
}

.raffle-screenshot img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.raffle-screenshot img:hover {
  transform: scale(1.02);
}

.raffle-cta {
  margin-top: auto;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  gap: 0.5rem;
}

.btn-modern:hover {
  background: linear-gradient(135deg, var(--primary-hover), #7c3aed);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: white;
  text-decoration: none;
}

/* Divider */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 4rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Promotion Section */
.promo-features {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.promo-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.promo-features ul li {
  padding: 1.25rem 0;
  color: var(--text-dark);
  font-size: 1.6rem;
  line-height: 1.8;
  border-bottom: 1px solid var(--border-color);
}

.promo-features ul li:last-child {
  border-bottom: none;
}

.promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.promo-buttons .btn-modern {
  flex: 1;
  min-width: 200px;
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.video-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.video-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Blog Section */
.blog-list {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.blog-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-list ul li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.blog-list ul li:last-child {
  border-bottom: none;
}

.blog-list a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.6rem;
  transition: color 0.2s ease;
}

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

.blog-list p {
  margin: 0.5rem 0 0 0;
  color: var(--text-light);
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h1 {
    font-size: 2rem;
  }
  
  .message-box-modern {
    padding: 2rem 1.5rem;
  }
  
  .message-box-modern h2 {
    font-size: 1.75rem;
  }
  
  .message-list-item a {
    font-size: 1.15rem;
  }
  
  .message-list {
    grid-template-columns: 1fr;
  }
  
  .raffle-grid {
    grid-template-columns: 1fr;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
  }
  
  .promo-buttons {
    flex-direction: column;
  }
  
  .promo-buttons .btn-modern {
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
}