/* styles.css */

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

body {
    font-family: 'Roboto', sans-serif;
    background: url('img/bg.png') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 20, 40, 0.7);
    z-index: -1;
}

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

/* Header Styles */
.transparent-header {
    background: rgba(0, 20, 40, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid rgba(64, 224, 208, 0.5);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.logo h1 {
    font-family: 'Pirata One', cursive;
    font-size: 2.5rem;
    color: #40e0d0;
    text-shadow: 0 0 15px rgba(64, 224, 208, 0.8);
    letter-spacing: 1px;
    position: relative;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(0, 20, 40, 0.3);
    border: 2px solid rgba(64, 224, 208, 0.4);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 30px;
    background: rgba(0, 20, 40, 0.5);
    border: 2px solid #40e0d0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-block;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #40e0d0, #008080);
    transition: all 0.5s ease;
    z-index: -1;
}

nav ul li a:hover::before {
    width: 100%;
}

nav ul li a:hover {
    color: #0a0a1a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('img/hero-bg.png') no-repeat center center;
    background-size: cover;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(64, 224, 208, 0.4);
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 20, 40, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(64, 224, 208, 0.4);
    margin: 0 20px;
    z-index: 1;
    position: relative;
}

.hero-content h1 {
    font-family: 'Pirata One', cursive;
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(64, 224, 208, 0.7);
    position: relative;
}

.hero-content h1::before {
    left: -50px;
}

.hero-content h1::after {
    right: -50px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #e0f7fa;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Sections */
section {
    padding: 70px 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about, .game-description, .faq, .contact-section, .policy-section {
    background: rgba(0, 20, 40, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 50px;
    margin: 40px auto;
    border: 2px solid rgba(64, 224, 208, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
}

.about::before, .game-description::before, .faq::before, 
.contact-section::before, .policy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(64, 224, 208, 0.05), 
        rgba(0, 128, 128, 0.05));
    z-index: -1;
}

section h1, section h2 {
    font-family: 'Pirata One', cursive;
    text-align: center;
    margin-bottom: 30px;
    color: #40e0d0;
    font-size: 2.5rem;
    position: relative;
    padding: 10px 0;
}


section h1::before,
section h2::before {
    left: 20px;
}

section h1::after,
section h2::after {
    right: 20px;
}

section h3 {
    color: #40e0d0;
    margin-bottom: 15px;
}

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

.feature-card {
    background: rgba(5, 30, 50, 0.7);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.5s ease;
    border: 2px solid rgba(64, 224, 208, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(5, 30, 50, 0.7), rgba(0, 20, 40, 0.9));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: rgba(64, 224, 208, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Button Styles */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, #40e0d0, #008080);
    color: #0a0a1a;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #008080, #40e0d0);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    color: #0a0a1a;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #40e0d0;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #40e0d0;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(64, 224, 208, 0.2);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: #0a0a1a;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Game Description */
.game-description p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: center;
}

.game-description .btn {
    display: inline-block;
    background: linear-gradient(45deg, #40e0d0, #008080);
    color: #0a0a1a;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateX(-50%);
    left: 50%;
}

.game-description .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #008080, #40e0d0);
    transition: all 0.5s ease;
    z-index: -1;
}

.game-description .btn:hover::before {
    width: 100%;
}

.game-description .btn:hover {
    transform: translateX(-50%) translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    color: #0a0a1a;
    text-decoration: none;
}

/* FAQ Section */
.faq {
    cursor: pointer;
}

.faq-item {
    margin-bottom: 20px;
    padding: 25px;
    background: rgba(5, 30, 50, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(64, 224, 208, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(64, 224, 208, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-question {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: #40e0d0;
    position: relative;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(64, 224, 208, 0.3);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Game Section */
.game-section {
    padding: 40px 0;
}

.game-section .faq {
    margin-top: 50px;
}

.game-section .faq h2 {
    text-align: center;
    margin-bottom: 30px;
}

.game-container {
    background: rgba(0, 20, 40, 0.7);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(64, 224, 208, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .btn {
    display: flex;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #40e0d0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid rgba(64, 224, 208, 0.3);
    background: rgba(5, 30, 50, 0.7);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #40e0d0;
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
}

.form-group .btn {
    width: 100%;
    margin-top: 10px;
    display: inline-block;
    background: linear-gradient(45deg, #40e0d0, #008080);
    color: #0a0a1a;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.form-group .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(45deg, #008080, #40e0d0);
    transition: all 0.5s ease;
    z-index: -1;
}

.form-group .btn:hover::before {
    width: 100%;
}

.form-group .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    color: #0a0a1a;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background: rgba(0, 20, 40, 0.9);
    margin: 15% auto;
    padding: 40px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    border: 1px solid rgba(64, 224, 208, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #40e0d0;
}

/* Footer */
footer {
    background: rgba(0, 10, 20, 0.8);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.3);
}

.disclaimer {
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
    background: rgba(200, 0, 0, 0.3);
    border-radius: 20px;
    border: 3px solid rgba(255, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.disclaimer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 0, 0, 0.1),
        rgba(255, 0, 0, 0.1) 10px,
        rgba(255, 0, 0, 0.2) 10px,
        rgba(255, 0, 0, 0.2) 20px
    );
    animation: move 3s linear infinite;
    z-index: -1;
}

@keyframes move {
    0% { transform: translateX(0); }
    100% { transform: translateX(20px); }
}

.disclaimer h2 {
    font-size: 5rem;
    color: #ff0000;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.9);
    letter-spacing: 5px;
}

.disclaimer p {
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0, 20, 40, 0.4);
    border-radius: 15px;
    border: 2px solid rgba(64, 224, 208, 0.3);
}

.partners img {
    opacity: 0.7;
    transition: all 0.5s ease;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 10px;
    background: rgba(5, 30, 50, 0.5);
    width: 200px;
    height: 50px;
    object-fit: contain;
}

.partners img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.15) translateY(-10px);
    border-color: #40e0d0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .partners {
        flex-direction: column;
    }
    
    .partners img {
        width: 220px;
        height: 60px;
        margin: 10px 0;
    }
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(0, 20, 40, 0.4);
    border-radius: 15px;
    border: 2px solid rgba(64, 224, 208, 0.2);
}

.footer-column h4 {
    color: #40e0d0;
    margin-bottom: 25px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #40e0d0;
    border-radius: 3px;
}

.footer-column ul li a {
    color: #e0f7fa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
    position: relative;
}

.footer-column ul li a::before {
    content: '➤';
    margin-right: 10px;
    color: #40e0d0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    color: #40e0d0;
    padding-left: 15px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(64, 224, 208, 0.2);
    color: #e0f7fa;
}

/* Policy Pages */
.policy-section {
    padding: 40px;
}

.policy-section h1 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.policy-section h2 {
    font-size: 1.5rem;
    margin: 25px 0 15px;
    text-align: left;
}

.policy-section p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.policy-section ul {
    margin: 20px 0 20px 30px;
}

.policy-section ul li {
    margin-bottom: 10px;
}

.policy-section a {
    color: #40e0d0;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .transparent-header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    section h1, section h2 {
        font-size: 2rem;
    }
    
    .disclaimer h2 {
        font-size: 3rem;
    }
    
    .partners {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    .about, .game-description, .faq, .contact-section, .policy-section {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(64, 224, 208, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
}

.cookie-consent.show {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #e0f7fa;
}

.cookie-content a {
    color: #40e0d0;
    text-decoration: none;
    font-weight: bold;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}


/* Responsive design for cookie consent */
@media (max-width: 768px) {
    .cookie-consent {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 20px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
