/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1d24;
    color: white;
}

/* Header styles */
header {
    padding: 1rem;
    background-color: white;
    border-radius: 50px;
    margin: 1rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
}

/* Menu toggle button styles */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-toggle span::before {
    top: -8px;
}

.menu-toggle span::after {
    bottom: -8px;
}

/* Active state for menu toggle */
.menu-toggle.active span {
    background-color: transparent;
}

.menu-toggle.active span::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle.active span::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Navigation styles */
.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #333;
}

/* Hero section styles */
.hero {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-section {
    margin-top: 2rem;
}

.download-section h2 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.phone-input {
    display: flex;
    gap: 1rem;
    max-width: 400px;
}

input[type="tel"] {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 25px;
    background-color: white;
}

.get-app-btn {
    padding: 0.8rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: white;
        padding: 2rem;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
    }

    .hero-image {
        order: -1;
    }
}

/* Advantages section */
.advantages {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.advantage-item {
    background-color: #554AB8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

.advantage-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.advantage-label {
    color: white;
    text-transform: uppercase;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    padding-left: 2rem;
}

.advantage-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.5rem;
    height: 1px;
    background-color: white;
}

.advantage-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
}

.advantage-content p {
    color: white;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 90%;
}

.advantage-image {
    height: 100%;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.advantage-item:nth-child(odd) .advantage-content {
    order: 1;
}

.advantage-item:nth-child(odd) .advantage-image {
    order: 2;
}

/* Mobile styles */
@media (max-width: 768px) {
    .advantage-item {
        grid-template-columns: 1fr;
    }

    .advantage-item:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .advantage-content {
        padding: 2rem;
        order: 2 !important;
    }

    .advantage-image {
        order: 1 !important;
        height: 300px;
    }

    .advantage-content h2 {
        font-size: 2rem;
    }
}

/* Footer styles */
footer {
    background-color: #1a1d24;
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    margin-bottom: 2rem;
}

.disclaimer {
    flex: 2;
}

.disclaimer h3 {
    color: white;
    margin-bottom: 1rem;
}

.disclaimer p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 2rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #4CAF50;
}

.copyright {
    text-align: center;
    color: #9ca3af;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

/* Mobile styles */
@media (max-width: 768px) {
    .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-item.reverse {
        flex-direction: column;
    }

    .advantage-label {
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .advantage-label::before {
        left: 50%;
        top: 0;
        transform: translateX(-50%);
        width: 2rem;
    }

    .advantage-item h2 {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Age verification popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.popup-content h2 {
    color: black;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.popup-btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    min-width: 120px;
}

.popup-btn-no {
    background-color: transparent;
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.popup-btn-yes {
    background-color: #4CAF50;
    color: white;
}

.popup-hidden {
    display: none;
}

/* FAQ styles */
.faq-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
}

.faq-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.faq-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.faq-content p {
    color: #9ca3af;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.faq-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.faq-questions {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-label {
    color: #4CAF50;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.questions-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.question-item {
    background-color: #554AB8;
    padding: 2rem;
    border-radius: 10px;
}

.question-item h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.question-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-content h1 {
        font-size: 2.5rem;
    }

    .faq-questions {
        margin: 2rem auto;
    }

    .question-item {
        padding: 1.5rem;
    }
}

/* How to Play styles */
.play-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
    display: flex;
    flex-wrap:wrap;
}

.play-content {
    max-width: 1200px;
    margin: 0 auto;
}

.play-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.play-content p {
    color: #9ca3af;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.play-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.play-instructions {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-label {
    color: #4CAF50;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.instructions-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.instruction-item {
    background-color: #554AB8;
    padding: 2rem;
    border-radius: 10px;
}

.instruction-item h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.instruction-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .play-content h1 {
        font-size: 2.5rem;
    }

    .play-instructions {
        margin: 2rem auto;
    }

    .instruction-item {
        padding: 1.5rem;
    }
}

/* Contacts styles */
.contacts-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
}

.contacts-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.contacts-form {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    max-width: 600px;
}

.form-container input,
.form-container textarea {
    padding: 1rem;
    border: none;
    border-radius: 25px;
    background-color: white;
}

.form-container textarea {
    min-height: 150px;
    resize: vertical;
}

.send-btn {
    padding: 1rem 2rem;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    align-self: flex-start;
}

.reach-out {
    background-color: #554AB8;
    padding: 4rem 2rem;
    text-align: center;
}

.reach-out h2 {
    color: white;
    margin-bottom: 1rem;
}

.reach-out p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.info-item .icon {
    font-size: 2rem;
}

.info-item p {
    color: white;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }
}

.form-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .form-wrapper {
        grid-template-columns: 1fr;
    }

    .form-image {
        display: none;
    }
}

.disclaimer-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.age-icon {
    width: 40px;
    height: auto;
}

/* Balls hero section */
.balls-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
    display: flex;
    flex-wrap: wrap;
}

.balls-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.balls-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
}

.balls-content p {
    color: #9ca3af;
    font-size: 1.2rem;
}

.balls-image {
    max-width: 400px;
}

.balls-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Points system section */
.points-system {
    background-color: #1a1d24;
    padding: 4rem 2rem;
}

.points-content {
    max-width: 1200px;
    margin: 0 auto;
}

.points-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.points-category {
    background: linear-gradient(145deg, #554AB8, #443a96);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.points-category:hover {
    transform: translateY(-5px);
}

.points-category h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.points-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.points-item:last-child {
    border-bottom: none;
}

.points-name {
    flex: 1;
    padding-right: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

.points-value {
    font-weight: 600;
    font-size: 1.1rem;
    color: #4CAF50;
    min-width: 60px;
    text-align: right;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
    background: rgba(76, 175, 80, 0.1);
}

.points-value.negative {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.note {
    background-color: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

/* Responsive styles */
@media (max-width: 768px) {
    .balls-content {
        flex-direction: column;
    }

    .balls-content h1 {
        font-size: 2.5rem;
    }

    .balls-image {
        margin-top: 2rem;
        max-width: 100%;
    }

    .points-system {
        padding: 2rem 1rem;
    }

    .points-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .points-category {
        padding: 1.5rem;
    }

    .points-name {
        font-size: 0.9rem;
    }

    .points-value {
        font-size: 1rem;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    .balls-content h1 {
        font-size: 2rem;
    }

    .points-category h3 {
        font-size: 1.25rem;
    }

    .points-item {
        padding: 0.5rem 0;
    }
}

.privacy-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
}

.privacy-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.privacy-container {
    background: linear-gradient(145deg, #554AB8, #443a96);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.privacy-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.privacy-section ul {
    list-style: none;
    padding-left: 0;
}

.privacy-section li {
    margin-bottom: 1rem;
}

.privacy-section a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #3d8b40;
}

@media (max-width: 768px) {
    .privacy-hero {
        padding: 2rem 1rem;
    }

    .privacy-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .privacy-container {
        padding: 1.5rem;
    }

    .privacy-section h2 {
        font-size: 1.5rem;
    }

    .privacy-section p {
        font-size: 1rem;
    }
}

.terms-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
}

.terms-content {
    max-width: 1200px;
    margin: 0 auto;
}

.terms-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.terms-container {
    background: linear-gradient(145deg, #554AB8, #443a96);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.terms-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.terms-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.terms-section h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.terms-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.terms-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.terms-section ul li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.75rem;
    position: relative;
}

.terms-section ul li::before {
    content: "•";
    color: #4CAF50;
    position: absolute;
    left: -1.5rem;
}

@media (max-width: 768px) {
    .terms-hero {
        padding: 2rem 1rem;
    }

    .terms-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .terms-container {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.5rem;
    }

    .terms-section p {
        font-size: 1rem;
    }
}

.cookie-hero {
    background-color: #1a1d24;
    padding: 4rem 2rem;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.cookie-container {
    background: linear-gradient(145deg, #554AB8, #443a96);
    border-radius: 20px;
    padding: 3rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cookie-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cookie-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-section h2 {
    color: #4CAF50;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
}

.cookie-section h3 {
    color: white;
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
}

.cookie-section p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cookie-section ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.cookie-section ul li {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
    position: relative;
}

.cookie-section ul li::before {
    content: "•";
    color: #4CAF50;
    position: absolute;
    left: -1.5rem;
}

.cookie-section ul li strong {
    color: white;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.cookie-section a {
    color: #4CAF50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cookie-section a:hover {
    color: white;
}

@media (max-width: 768px) {
    .cookie-hero {
        padding: 2rem 1rem;
    }

    .cookie-content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .cookie-container {
        padding: 1.5rem;
    }

    .cookie-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .cookie-section h2 {
        font-size: 1.5rem;
    }

    .cookie-section h3 {
        font-size: 1.2rem;
    }

    .cookie-section p {
        font-size: 1rem;
    }
}

.player-reviews {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.player-reviews h2 {
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: 700;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 100%;
    max-width: 350px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reviews-container {
        flex-direction: column;
        align-items: center;
    }

    .review-card {
        max-width: 100%;
    }
}