/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Unbounded', sans-serif;
    line-height: 1.6;
    color: rgba(26, 26, 26, 1);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 24px;
    text-decoration: unset;
    color: rgba(43, 15, 255, 1);
}

.logo img {
    width: 30px;
    height: 30px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: rgba(43, 15, 255, 1);
}

/* Hero Section - DASI Hospital */
.hero {
    margin-top: 60px;
    color: white;
    background: rgba(43, 15, 255, 1);
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr 260px;
    gap: 30px;
    align-items: flex-start;
}

.hero h1 {
    font-size: 62px;
    font-weight: 700;
    line-height: 1.1;
    
}

.hero-description p {
    font-size: 14px;
    line-height: 1.1;
}

.play-btn {
    background: white;
    color: rgba(43, 15, 255, 1);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: unset;
    transition: transform 0.3s, box-shadow 0.3s;
}

.play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* About Game Section */
.about-game {
    padding: 80px 0;
}

.about-game-content {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 30px;
    align-items: center;
}

.about-game .play-btn {
  background: rgba(43, 15, 255, 1);
  color: #fff;
}

.about-text h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(43, 15, 255, 1);
    margin-bottom: 30px;
    
}

.about-text p {
    font-size: 14px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* Main Hero Section */
.main-hero {
    background: rgba(43, 15, 255, 1);
    color: #fff;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}


.shark-character {
  margin-top: 60px;
  height: 520px;
}

.main-hero-text {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: center;
}

.main-hero-text .col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: space-between;
}


.shark-character img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.main-hero h1 {
    font-size: 120px;
    font-weight: 700;
    line-height: 1.1;
}


.barcode img {
    height: 73px;
}

.main-hero p {
    font-size: 14px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.discover-btn {
  display: flex;
  width: max-content;
  max-width: 100%;
  justify-content: center;
  align-items: center;
  text-decoration: unset;
    background: rgba(43, 15, 255, 1);
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-hero-text .discover-btn {
  background: #fff;
  color: rgba(43, 15, 255, 1);
}

.discover-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* About Section */
.about-section {
    padding: 40px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 30px;
    align-items: center;
}

.about-section h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(43, 15, 255, 1);
    margin-bottom: 30px;
    
}

.about-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    
}

.about-character img {
    width: 100%;
    height: auto;
    max-width: 500px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Why Choose Section */
.why-choose-section {
    padding: 40px 0;
}

.why-choose-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(43, 15, 255, 1);
    text-align: center;
    margin-bottom: 20px;
    
}

.subtitle {
    text-align: center;
    font-size: 18px;
    
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
  display: flex;
  gap: 20px;
    background: rgba(43, 15, 255, 1);
    color: white;
    padding: 20px;
    border-radius: 26px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.3);
}

.feature-icon img {
    width: 60px;
    height: 60px;
}
.feature-card .col {
  display: flex;
  flex-direction: column;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.2;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.2;
}

.feature-img {
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  display: block;
}

.why-choose-section .discover-btn {
    display: block;
    margin: 0 auto;
}

/* Trending Section */
.trending-section {
    padding: 100px 0;
    background: rgba(43, 15, 255, 1);
    color: white;
}

.trending-section h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    
}

.trending-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 60px;
    opacity: 0.9;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.games-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.games-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: center; 
}



@media (min-width:1200px){
  .games-img {
    margin-right: calc((100vw - 1200px + 20px) / 2 * -1);
  }
}

@media (max-width:1200px){
  .games-img {
    margin-right: -20px;
    max-width: 500px;
    margin-left: auto;
  }
}


.games-img img {
  width: 100%;
  height: auto;
}

.game-card {
  display: flex;
  justify-content: center;
  align-items: center;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
    aspect-ratio: 1/1;
    width: 100%;
    transition: all 0.3s ease;
    height: auto;
}

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



.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-section .discover-btn {
  background: #fff;
  color: rgba(43, 15, 255, 1);
}

/* Island Section */
.island-section {
    padding: 100px 0;
    background: white;
}

.island-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: center;
}

.island-section h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    color: rgba(43, 15, 255, 1);
    margin-bottom: 30px;
    
}

.island-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    
}

.dragon-character img {
    width: 100%;
    height: auto;
    max-width: 500px;
    animation: wiggle 4s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* Footer */
.footer {
    background: rgba(43, 15, 255, 1);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 24px;
    color: #fff;
    text-decoration: unset;
}

.footer-logo img {
    width: 30px;
    height: 30px;
}

.footer-nav {
    display: flex;
    column-gap: 30px;
    row-gap: 16px;
    flex-wrap: wrap;
}

.footer-nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.barcode-footer img {
    height: 40px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-links {
    display: flex;
    gap: 15px;
}


.social-links img {

}

.hero-content h1 {
  word-break: break-word;
  text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 1024px) {
.hero-content {
  grid-template-columns: 1fr 320px;
  margin-bottom: 30px;
}
    .shark-character {
      height: 490px;
    }

    .main-hero h1 {
      font-size: 60px;
    }

    .about-content {
      grid-template-columns: 1fr 300px;
    }

    .features-grid {
      grid-template-columns: 1fr 1fr;
    }
    
}

@media (max-width: 768px) {
      .hero-content,
    .about-game-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .container {
        padding: 0 15px;
    }

    .games-content,
    .main-hero-text {
      grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .main-hero-content,
    .about-content,
    .island-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .hero h1,
    .about-section h2,
    .why-choose-section h2,
    .trending-section h2,
    .island-section h2 {
        font-size: 36px;
    }
    
    .main-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-description p,
    .about-section p,
    .trending-section p,
    .island-section p {
        font-size: 14px;
    }
    
    .play-btn,
    .discover-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

.game-card {
  position: relative;
}
.game-card span {
  position: absolute;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  text-align: center;
  color: #000;
  padding: 20px;
  opacity: 0;
  z-index: 2;
  word-break: break-word;
}

.game-card:hover span {
  opacity: 1;
}

.game-card::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.game-card:hover::after {
  background: rgba(255, 255, 255, 0.7);
}

.policy {
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.policy h1 {
  color: rgba(43, 15, 255, 1);
  margin-bottom: 16px;
  font-size: 62px;
  line-height: 1.1;
}

@media (max-width:768px){
    .policy h1  {
      font-size: 40px;
    }
}