/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: rgba(0, 0, 0, 1);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body.scrollable {
    overflow-y: auto; /* Enable scrolling after age verification */
}

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

/* Age Verification Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #2A2D35 0%, #3D2B7A 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.age-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #FF4757;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.age-number {
    font-size: 24px;
    font-weight: 700;
    color: #FF4757;
}

.age-modal h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #ffffff;
}

.age-modal p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #B8B8B8;
}

/* Buttons */
.btn-primary {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  max-width: 100%;
    background: radial-gradient(67% 140% at 4.6% 40.8%, #291C58 0%, #6F5ACC 100%);
    box-shadow: 0px -3px 3px 0px rgba(36, 28, 70, 1) inset;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 120px;
    text-decoration: unset;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 120px;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #2D1B69;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 29, 34, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    column-gap: 30px;
    row-gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-link {
    color: #B8B8B8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.btn-play {
    background: radial-gradient(67% 140% at 4.6% 40.8%, #291C58 0%, #6F5ACC 100%);
    box-shadow: 0px -3px 3px 0px rgba(36, 28, 70, 1) inset;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-play:hover {
    transform: translateY(-2px);
}

.btn-login {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    border-color: #6C5CE7;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #1A1D22 0%, #2D1B69 100%);
  border-radius: 16px;
  padding: 48px 40px;
}

.game-page {
  padding-bottom: 0;
}

.game {
  padding-top: 80px;
}

.game-page .container {
  grid-template-columns: 380px 1fr;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #A29BFE 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    color: #B8B8B8;
    margin-bottom: 20px;
}

.hero-image {
    text-align: center;
}

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

/* Stats Section */
.stats {
    padding: 50px 0;
}

.stats .container {
  background: linear-gradient(135deg, #1A1D22 0%, #2D1B69 100%);
  border-radius: 16px;
  padding: 48px 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 24px;
padding: 32px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 12px;
padding: 16px;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    color: #A29BFE;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: #B8B8B8;
    font-weight: 500;
}

/* Games Section */
.games {
    padding: 50px 0;
}

.games h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: rgba(225, 215, 255, 1);
    line-height: 1.2;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}

.game-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Top Players Section */
.top-players {
    padding: 50px 0;
 
    position: relative;
}

.top-players .container {
  background: linear-gradient(135deg, #1A1D22 0%, #2D1B69 100%);
  border-radius: 16px;
  padding: 48px 68px;
}

.top-players h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: #ffffff;
}

.top-players .container > p {
    text-align: center;
    font-size: 18px;
    color: #B8B8B8;
    margin-bottom: 40px;
}

.top-players .container > img {
  width: 300px;
  height: auto;
  object-fit: contain;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
  display: block;
}

.players-list {
    margin: 0 auto 40px;
    background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 24px;
padding: 32px;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 15px;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.player-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-info {
    flex: 1;
    position: relative;
}

.player-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    display: block;
}

.player-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.player-progress {
    height: 100%;
    background: linear-gradient(90deg, #BFDBFE 0%, #D8B4FE 100%);
    border-radius: 4px;
}

.player-score {
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 600;
    color: #A29BFE;
}

.top-players .btn-primary {
    display: block;
    margin: 0 auto;
}

.chips-decoration {
    position: absolute;
    bottom: 50px;
    right: 100px;
    opacity: 0.3;
}

.chips-decoration img {
    width: 100px;
    height: auto;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
}

.testimonials h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: rgba(184, 225, 255, 1);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
    padding: 32px;
    border-radius: 16px;
}

.testimonial-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgba(184, 225, 255, 1);
    text-align: center;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(209, 213, 219, 1);
    text-align: center;
}

.testimonial-card img {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

/* Contact Section */
.contact {
    padding: 50px 0;
}

.contact .container {
  background: linear-gradient(135deg, #1A1D22 0%, #2D1B69 100%);
  border-radius: 16px;
  padding: 48px 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.4;
    max-width: 600px;
}

.contact p {
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #B8B8B8;
    margin-bottom: 24px;
    max-width: 600px;
}

.contact-form {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 16px;
padding: 32px;
    margin: 0 auto;
}

textarea {
  resize: none;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #B8B8B8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6C5CE7;
    background: rgba(255, 255, 255, 0.15);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    padding: 60px 0 30px;
    background: linear-gradient(135deg, #1A1D22 0%, #2D1B69 100%);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #A29BFE;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #B8B8B8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-column a {
    display: block;
    color: #B8B8B8;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
    line-height: 1.2;
}

.footer-column a:hover {
    color: #A29BFE;
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    color: #B8B8B8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header .container {
      justify-content: center;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .footer-links {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }

    .footer-links a {
      text-align: center;
    }
    
    .chips-decoration {
        display: none;
    }
    
    .age-modal-content {
        padding: 30px 20px;
    }
    
    .age-modal h2 {
        font-size: 24px;
    }

    .hero .container,
    .stats .container,
    .top-players .container,
    .contact .container {
      padding: 24px 20px;
      margin-left: 20px;
      margin-right: 20px;
      width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .games h2,
    .top-players h2,
    .testimonials h2,
    .contact h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
}

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

.about .container {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer {
  padding-top: 50px;
  padding-bottom: 50px;
}

#game .container {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 0 !important;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card .btn-primary {
  margin: 24px auto 0;
}

.header + .contact {
  margin-top: 100px;
}

.game iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 940/500;
}

@media (max-width:768px){
    #game .container {
      margin-left: 20px;
      margin-right: 20px;
      width: calc(100% - 40px);
    }
}

.policy {
  background: #fff;
  margin-top: 100px;
  padding-top: 60px;
  padding-bottom: 100px;
  color: #000;
}

.policy h1 {
  font-weight: 600;
  font-size: 60px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 40px;
}

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

.policy-content li {
  list-style-type: disc;
  list-style-position: inside;
}

.policy-content a {
  color: inherit;
  opacity: 0.9;
  text-decoration: unset;
}