:root {
    --bg-section-primary: #0D1B2A;
    --bg-section-secondary: #1B263B;
    --bg-section-accent: #415A77;
    --bg-black-transparent: rgba(13, 27, 42, 0.2);
    --txt-primary: #E0E1DD;
    --txt-secondary: #778DA9;
    --txt-hover: #F72585;
    --txt-accent: #4CC9F0;
    --el-bg-hover: #415A77;
    --bg-linear-1: #7209B7;
    --bg-linear-2: #480CA8;
    --button-primary: #F72585;
    --button-hover: #B5179E;
    --button-secondary: #4CC9F0;
    --button-secondary-hover: #4895EF;
    --box-shadow-color: rgba(247, 37, 133, 0.3);
    --accent-gold: #FFD60A;
    --accent-green: #06FFA5;

    --desktop-px: 8%;
    --desktop-py: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, var(--bg-section-primary) 0%, var(--bg-section-secondary) 100%);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

/* HEADER - Redesigned */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--button-primary);
    padding: 1rem var(--desktop-px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(247, 37, 133, 0.2);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
  header {
    position: static;
  }
}

header h1 {
    color: var(--txt-primary);
    font-size: 2rem;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(247, 37, 133, 0.5);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-list-item {
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, transparent, rgba(247, 37, 133, 0.1));
    border: 1px solid transparent;
}

.nav-list-item a {
    text-decoration: none;
    color: var(--txt-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

.nav-list-item:hover {
    background: linear-gradient(135deg, var(--button-primary), var(--button-hover));
    border: 1px solid var(--button-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 37, 133, 0.4);
}

.nav-list-item:hover a {
    color: white;
}

.hero-1 {
    margin-top: 80px;
    background: url(images/hero.png) no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 4rem 0px;
    position: relative;
    overflow: hidden;
}

.hero-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(247, 37, 133, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 201, 240, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 214, 10, 0.1) 0%, transparent 70%);
}

.hero-1 .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-1 .text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 20px 20px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.8);
}

.text h1 {
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--txt-primary);
    line-height: 1.1;
    background: linear-gradient(135deg, var(--txt-primary), var(--txt-accent), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(247, 37, 133, 0.3);
}

.text p {
    font-size: 1.3rem;
    color: white;
    line-height: 1.6;
}

.hero-1 .image-placeholder {
    position: relative;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(247, 37, 133, 0.3);
    animation: slideInRight 1s ease-out 0.4s both;
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1), rgba(76, 201, 240, 0.1));
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--button-primary) 0%, var(--button-hover) 100%);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 30px rgba(247, 37, 133, 0.4);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.powerball-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.powerball-content {
    max-width: 800px;
    margin: 0 auto;
}

.powerball-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-align: center;
}

.powerball-content h3 {
    color: #444;
    margin: 1.5rem 0 1rem;
}

.powerball-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.powerball-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.powerball-content li {
    margin-bottom: 0.5rem;
}

/* CARD SECTION - Redesigned */
.card-3 {
    padding: 6rem var(--desktop-px);
    background: var(--bg-section-secondary);
    position: relative;
}

.card-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(76, 201, 240, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 214, 10, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.card-3-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--txt-primary);
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--txt-primary), var(--txt-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.card-3 .card {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.card img {
    max-width: 320px;
    max-height: 320px;
    width: 50%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.card-3 .card-content {
    background: linear-gradient(135deg, rgba(247, 37, 133, 0.1), rgba(76, 201, 240, 0.1));
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(247, 37, 133, 0.2);
    backdrop-filter: blur(10px);
}

.card-3 .overlay {
    align-items: center;
    background: none;
    padding: 0;
    color: var(--txt-primary);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.overlay h2 {
    font-size: 2.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--button-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.overlay p {
    font-size: 1.2rem;
    color: var(--txt-secondary);
    line-height: 1.6;
}

.overlay a {
    color: var(--txt-accent);
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 2px solid var(--txt-accent);
}

.overlay button {
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PLAY SMART - Redesigned */
.play-smart {
    padding: 6rem var(--desktop-px);
    position: relative;
    overflow: hidden;
}



.play-smart h1 {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--txt-primary);
    margin-bottom: 4rem;
    position: relative;
}

.play-smart-wrapper {
    color: var(--txt-primary);
    display: grid;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.info-item {
    padding: 3rem 2.5rem;
    border-radius: 25px;
    border: 1px solid rgba(247, 37, 133, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
    border-radius: 25px;
    pointer-events: none;
}

.info-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--txt-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--txt-secondary);
    margin-bottom: 1rem;
}

.contact-info {
    background: linear-gradient(135deg, var(--button-primary));
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* FOOTER - Redesigned */
footer {
    padding: 4rem var(--desktop-px) 2rem;
    color: var(--txt-primary);
    position: relative;
    border-top: 2px solid var(--button-primary);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(247, 37, 133, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(76, 201, 240, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.logo p {
    color: var(--txt-secondary);
    font-size: 1.1rem;
}

.menu {
    text-align: center;
}

.menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu ul li a {
    color: var(--txt-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.menu ul li a:hover {
    background: linear-gradient(135deg, var(--button-primary), var(--button-hover));
    color: white;
    transform: translateY(-2px);
}

.legal {

    background: rgb(186, 186, 255);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-img {
    height: 60px;
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    border-radius: 10px;
}

.legal-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.legal-text {
    text-align: center;
    color: var(--txt-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 1000px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
}

.legal-text p {
    margin-bottom: 1rem;
}

*, *::after, *::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}

a {
  color: hsl(250, 84%, 54%);
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

.registration-form.active{
    display: block;
}

.login-form.active{
    display: block;
}

.registration-form, .login-form {
    display: none;
    width: 30%;
    position: fixed;
    z-index: 1000;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-section-primary);
    padding: 20px;
    border-radius: 10px;
    color: var(--txt-primary);
}

.registration-form h2{
  text-align: center;
  font-size: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  background-color:white;
  border-radius: 5px;
  color: black;
  padding: 5px;
}

.form-group{
  margin-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-group label{
  margin-bottom: 5px;
}

.btn-reg{
    margin-top: 10px;
  background-color: var(--button-primary);
  color: var(--txt-primary);
  padding: 10px 20px;
  border-radius: 5px;
}

.form-close-btn {
    position: absolute;
    top: 12px;
    right: 20px;
    background: linear-gradient(135deg, var(--button-primary), var(--button-hover));
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 37, 133, 0.3);
    z-index: 1001;
}

.form-close-btn:hover {
    background: linear-gradient(135deg, var(--button-hover), var(--button-primary));
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(247, 37, 133, 0.5);
}

.form-close-btn:active {
    transform: scale(0.95);
}

@media(max-width: 1200px){
  .nav-list {
    margin: 5px;
    gap: 5px;
  }

  header h1 {
    margin: 5px 20px;
  }

  .card-3-title {
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .registration-form, .login-form{
    width: 90%;
  }

  .hero {
    display: none;
  }

  .card-3 {
    width: 100%;
    padding: 20px 3px;
  }

  .card-3 .card {
    height: 100%;
  }
  
  .card-3 .card-content {
    width: 100%;
    text-align: center;
    padding: 10px;
  }

  .card-3 .card img {
  }

  .play-smart h1 {
    font-size: 2rem;
  }
  
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    :root {
        --desktop-px: 5%;
    }
    
    .hero-1 .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .text h1 {
        font-size: 3rem;
    }
    
    .card-3 .card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .play-smart {
        padding: 10px 5%;
    }
    
    .play-smart-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .nav-list-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-1 {
        padding: 2rem 5%;
        margin-top: 120px;
    }
    
    .text h1 {
        font-size: 2.5rem;
    }
    
    .text p {
        font-size: 1.1rem;
    }
    
    .hero-1 .image-placeholder {
        height: 300px;
    }
    
    .card-3-title {
        font-size: 2.5rem;
    }
    
    .overlay h2 {
        font-size: 2rem;
    }
    
    .play-smart h1 {
        font-size: 2.5rem;
    }
    
    .info-item {
        padding: 2rem 1.5rem;
    }
    
    .registration-form {
        width: 95%;
    }
}

@media (max-width: 480px) {
    .text h1 {
        font-size: 2rem;
    }
    
    .card-3-title {
        font-size: 2rem;
    }
    
    .play-smart h1 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .info-item h3 {
        font-size: 1.5rem;
    }
    
    .overlay h2 {
        font-size: 1.8rem;
    }
    
    .legal {
        gap: 1rem;
    }
    
    .legal-img {
        height: 50px;
    }
}