/* Global Styles */
:root {
  --primary-color: #6200ee;
  --secondary-color: #03dac6;
  --accent-color: #ff4081;
  --dark-color: #121212;
  --light-color: #ffffff;
  --gray-color: #757575;
  --light-gray-color: #f5f5f5;
  --success-color: #00c853;
  --warning-color: #ffab00;
  --danger-color: #ff1744;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--light-color);
  color: var(--dark-color);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

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

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background-color: #5000d6;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.btn-secondary:hover {
  background-color: #00c4b4;
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  color: var(--light-color);
}

.btn-accent:hover {
  background-color: #f50057;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

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

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  margin-right: 2rem;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  position: relative;
  color: var(--dark-color);
  font-weight: 600;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-item.active .nav-link:after {
  width: 100%;
}

.nav-item.active .nav-link {
  color: var(--primary-color);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: var(--light-color);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255, 255, 255, 0.1)" fill-opacity="1" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,149.3C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: cover;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-color);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Features Section */
.features {
  background-color: var(--light-gray-color);
}

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

.feature-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.feature-title {
  margin-bottom: 1rem;
}

/* Promotions */
.promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.promotion-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.promotion-image {
  height: 200px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 3rem;
}

.promotion-content {
  padding: 1.5rem;
}

.promotion-tag {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--light-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.promotion-title {
  margin-bottom: 1rem;
}

.promotion-desc {
  color: var(--gray-color);
  margin-bottom: 1.5rem;
}

/* Invite Section */
.invite {
  background-color: var(--light-color);
}

.invite-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.invite-info {
  flex: 1;
}

.invite-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.invite-image {
  width: 300px;
  height: 300px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 6rem;
  color: var(--light-color);
}

.invite-bonus {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  width: 100%;
}

.invite-percentage {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.invite-steps {
  margin-top: 2rem;
}

.invite-step {
  display: flex;
  margin-bottom: 1.5rem;
}

.step-number {
  background-color: var(--primary-color);
  color: var(--light-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 1rem;
  flex-shrink: 0;
}

.invite-link {
  display: flex;
  background-color: var(--light-gray-color);
  border-radius: var(--border-radius);
  margin-top: 2rem;
  overflow: hidden;
}

.invite-link input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background-color: transparent;
  font-size: 1rem;
}

.invite-link .btn {
  border-radius: 0;
}

.social-share {
  margin-top: 2rem;
  text-align: center;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-button {
  background-color: var(--light-gray-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-button:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
}

/* Rankings */
.rankings {
  background-color: var(--light-gray-color);
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  background-color: transparent;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.tab-button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.tab-button.active {
  color: var(--primary-color);
}

.tab-button.active:after {
  width: 100%;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.rankings-top {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.top-player {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  margin: 0 1rem;
  width: 200px;
  transition: all 0.3s ease;
}

.top-player:hover {
  transform: translateY(-5px);
}

.top-player.first {
  transform: scale(1.1);
  padding-top: 2rem;
  z-index: 1;
}

.player-rank {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.rank-1 {
  background-color: gold;
  color: var(--dark-color);
}

.rank-2 {
  background-color: silver;
  color: var(--dark-color);
}

.rank-3 {
  background-color: #cd7f32;
  color: white;
}

.player-avatar {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-size: 2rem;
}

.top-player.first .player-avatar {
  position: relative;
}

.crown {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
}

.player-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.player-level {
  color: var(--primary-color);
  font-weight: 600;
}

.ranking-list {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.ranking-header {
  display: grid;
  grid-template-columns: 80px 1fr 120px 100px;
  padding: 1rem;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-weight: 600;
}

.ranking-item {
  display: grid;
  grid-template-columns: 80px 1fr 120px 100px;
  padding: 1rem;
  border-bottom: 1px solid var(--light-gray-color);
  align-items: center;
}

.ranking-item:last-child {
  border-bottom: none;
}

.rank-value {
  text-align: center;
  font-weight: 600;
}

.player-info {
  display: flex;
  align-items: center;
}

.mini-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  margin-right: 1rem;
}

.player-value {
  text-align: center;
  font-weight: 600;
  color: var(--primary-color);
}

.trend {
  text-align: center;
}

.trend.up {
  color: var(--success-color);
}

.trend.down {
  color: var(--danger-color);
}

.your-ranking {
  margin-top: 2rem;
}

.highlighted {
  background-color: rgba(98, 0, 238, 0.1);
}

/* VIP Tiers */
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.vip-tier {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.vip-tier:hover {
  transform: translateY(-10px);
}

.tier-header {
  padding: 2rem 1rem;
  text-align: center;
}

.bronze-tier .tier-header {
  background: linear-gradient(135deg, #cd7f32 0%, #e6bc97 100%);
  color: white;
}

.silver-tier .tier-header {
  background: linear-gradient(135deg, #c0c0c0 0%, #e6e6e6 100%);
  color: var(--dark-color);
}

.gold-tier .tier-header {
  background: linear-gradient(135deg, #ffd700 0%, #ffecb3 100%);
  color: var(--dark-color);
}

.diamond-tier .tier-header {
  background: linear-gradient(135deg, #b9f2ff 0%, #e6f9ff 100%);
  color: var(--dark-color);
}

.tier-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tier-benefits {
  padding: 1.5rem;
}

.tier-benefits ul {
  margin-bottom: 1.5rem;
}

.tier-benefits li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.tier-benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
}

.tier-price {
  padding: 1.5rem;
  background-color: var(--light-gray-color);
  text-align: center;
}

.price-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Daily Rewards */
.rewards-calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.day-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.day-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--light-gray-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 600;
}

.day-reward {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.day-value {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.special-day {
  border: 2px solid var(--accent-color);
}

.special-day .day-number {
  background-color: var(--accent-color);
  color: white;
}

.premium-day {
  border: 2px solid var(--primary-color);
}

.premium-day .day-number {
  background-color: var(--primary-color);
  color: white;
}

/* Limited Time Offers */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.offer-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.offer-timer {
  background-color: var(--danger-color);
  color: white;
  padding: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.offer-content {
  padding: 1.5rem;
  text-align: center;
}

.offer-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.offer-title {
  margin-bottom: 1rem;
}

.offer-prices {
  margin: 1.5rem 0;
}

.original-price {
  text-decoration: line-through;
  color: var(--gray-color);
  margin-right: 0.5rem;
}

.discount-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--danger-color);
}

/* Events Timeline */
.events-timeline {
  margin-top: 3rem;
}

.timeline-event {
  display: flex;
  margin-bottom: 2rem;
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem;
  min-width: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event-month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.event-day {
  font-size: 2rem;
  font-weight: 700;
}

.event-content {
  padding: 1.5rem;
  flex: 1;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #9147ff 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-title, .cta-subtitle {
  color: white;
}

.cta-buttons {
  margin-top: 2rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: white;
}

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

.footer-links ul li a {
  color: #adb5bd;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #adb5bd;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .invite-content {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--light-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  
  .nav-item {
    margin: 1rem 0;
  }
  
  .nav-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 15px;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  
  .nav-buttons .btn {
    flex: 1;
    max-width: calc(25% - 10px);
    margin: 0 5px;
    padding: 10px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .nav-buttons .btn i {
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .auth-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    background-color: var(--light-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .auth-buttons .btn {
    flex: 1;
    margin: 0 0.5rem;
  }
  
  .rewards-calendar {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .premium-day {
    grid-column: span 4;
  }
  
  .rankings-top {
    flex-direction: column;
    align-items: center;
  }
  
  .top-player {
    width: 80%;
    margin-bottom: 1.5rem;
  }
  
  .top-player.first {
    order: -1;
  }
  
  .ranking-header, .ranking-item {
    grid-template-columns: 60px 1fr 100px;
  }
  
  .trend {
    display: none;
  }
  
  /* Add padding to the bottom of the page to account for fixed buttons */
  body {
    padding-bottom: 80px;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .rewards-calendar {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .premium-day {
    grid-column: span 3;
  }
  
  .timeline-event {
    flex-direction: column;
  }
  
  .event-date {
    flex-direction: row;
    justify-content: center;
    padding: 0.75rem;
  }
  
  .event-month {
    margin-right: 0.5rem;
  }
  
  .ranking-header, .ranking-item {
    grid-template-columns: 50px 1fr;
  }
  
  .player-value {
    display: none;
  }
  
  .invite-link {
    flex-direction: column;
  }
  
  .invite-link .btn {
    border-radius: var(--border-radius);
  }
}