@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Pirate-Themed Entertainment Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gentium Plus', 'Georgia', serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #0a0a1a;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23050510"/><path d="M0 50 Q 25 30, 50 50 T 100 50" stroke="%23c62828" fill="none" stroke-width="0.5" opacity="0.3"/><path d="M0 30 Q 25 10, 50 30 T 100 30" stroke="%23d4af37" fill="none" stroke-width="0.5" opacity="0.2"/></svg>');
}

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

/* Header Styles */
header {
    background: linear-gradient(90deg, #0a0a1a, #050510);
    border-bottom: 3px solid #c62828;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
}

.logo::after {
    content: "🏴‍☠️";
    position: absolute;
    right: -35px;
    top: -5px;
    font-size: 24px;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: #d4af37;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Burger Menu Animation */
.burger-menu.open .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.burger-menu.open .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.open .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

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

nav ul li {
    margin-left: 30px;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li:hover {
    border: 2px solid #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0a0a1a, #050510);
    border-top: 3px solid #c62828;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
    transform: translateY(0);
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 20px 0;
}

.mobile-nav ul li {
    margin: 10px 0;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-nav ul li:hover {
    border: 2px solid #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 500;
    padding: 15px 20px;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav ul li a:hover {
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.9), rgba(5, 5, 16, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><circle cx="100" cy="100" r="90" fill="none" stroke="%23c62828" stroke-width="2" stroke-dasharray="10,5"/><circle cx="100" cy="100" r="70" fill="none" stroke="%23d4af37" stroke-width="1" stroke-dasharray="5,5"/></svg>');
    background-size: cover;
    color: #f0f0f0;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 3px solid #c62828;
    border-radius: 10px;
    margin: 20px;
    box-shadow: 0 0 30px rgba(198, 40, 40, 0.3);
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, #0a0a1a 20%, #0a0a1a 80%, transparent 80%, transparent);
    background-size: 100px 100px;
    opacity: 0.1;
    animation: move 10s linear infinite;
}

@keyframes move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: "⚔️";
    position: absolute;
    right: -50px;
    top: -10px;
    font-size: 30px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

/* Button Styles */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #c62828, #d4af37);
    color: #0a0a1a;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    border: 2px solid #d4af37;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.5);
    text-shadow: 0 0 5px rgba(10, 10, 26, 0.7);
}

.cta-button:active {
    transform: translateY(0) scale(0.98);
}

/* Section Styles */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::before, section h2::after {
    content: "⚔️";
    position: absolute;
    top: -10px;
    font-size: 24px;
}

section h2::before {
    left: -40px;
}

section h2::after {
    right: -40px;
}

/* About Section */
.about {
    background: rgba(10, 10, 26, 0.7);
    border: 2px solid #c62828;
    border-radius: 15px;
    margin: 20px;
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.2);
}

.about .container p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
    line-height: 1.8;
}

/* Why Us Section */
.why-us {
    background: rgba(5, 5, 16, 0.8);
    position: relative;
}

.why-us::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 50 50"><path d="M25 5 L30 20 L45 20 L33 30 L38 45 L25 35 L12 45 L17 30 L5 20 L20 20 Z" fill="none" stroke="%23c62828" stroke-width="0.5" opacity="0.2"/></svg>');
    opacity: 0.3;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.feature {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    margin: 15px;
    background: linear-gradient(145deg, #0a0a1a, #050510);
    border-radius: 15px;
    border: 2px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: rotate(45deg);
    transition: 0.5s;
}

.feature:hover::before {
    transform: rotate(45deg) translate(100px, 100px);
}

.feature:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 35px rgba(198, 40, 40, 0.4);
    border-color: #c62828;
}

.feature h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.feature h3::after {
    content: "⚓";
    position: absolute;
    right: -35px;
    top: -5px;
    font-size: 20px;
}

.feature p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Game Description */
.game-description {
    text-align: center;
    background: rgba(10, 10, 26, 0.7);
    border: 2px solid #c62828;
    border-radius: 15px;
    margin: 20px;
    padding: 50px 0;
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.2);
}

.game-description h2 {
    text-align: center;
    left: auto;
    transform: none;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.game-description p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.8;
}

/* FAQ Section */
.faq {
    background: rgba(5, 5, 16, 0.8);
    position: relative;
}

.faq::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="3" fill="%23d4af37" opacity="0.2"/></svg>');
    opacity: 0.3;
}

.faq-item {
    max-width: 800px;
    margin: 0 auto 10px;
    background: linear-gradient(145deg, #0a0a1a, #050510);
    border-radius: 15px;
    border: 2px solid #c62828;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: #d4af37;
    box-shadow: 0 12px 30px rgba(198, 40, 40, 0.5);
}

.faq-question {
    color: #d4af37;
    margin: 0;
    padding: 20px 25px;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.anchor-icon {
    margin-right: 15px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-item.active .anchor-icon {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

/* Contact Section */
.contact {
    text-align: center;
    background: rgba(10, 10, 26, 0.7);
    border: 2px solid #c62828;
    border-radius: 15px;
    margin: 20px;
    padding: 50px 0;
    box-shadow: 0 0 20px rgba(198, 40, 40, 0.2);
}

.contact h2 {
    text-align: center;
    left: auto;
    transform: none;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #e0e0e0;
}

/* Game Section */
.game-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #d4af37;
    font-size: 2.8rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.game-container {
    background: linear-gradient(145deg, #0a0a1a, #050510);
    border-radius: 15px;
    border: 3px solid #d4af37;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    margin: 20px;
    position: relative;
}

.game-container::before {
    content: "🏴‍☠️";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    z-index: 10;
}

/* Policy Pages */
.policy-content {
    padding: 50px 0;
    background: rgba(10, 10, 26, 0.7);
    border: 2px solid #c62828;
    border-radius: 15px;
    margin: 20px;
}

.policy-content .container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #d4af37;
    font-size: 2.5rem;
}

.policy-content .container h2 {
    text-align: left;
    margin: 30px 0 15px;
    color: #d4af37;
    font-size: 1.8rem;
    position: relative;
    padding-left: 30px;
}

.policy-content .container h2::before {
    content: "📜";
    position: absolute;
    left: 0;
    top: -3px;
    font-size: 20px;
}

.policy-content .container p {
    margin-bottom: 15px;
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.policy-content .container ul, 
.policy-content .container ol {
    margin-left: 30px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.policy-content .container li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.policy-content .container a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-content .container a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Footer */
footer {
    background: linear-gradient(180deg, #050510, #0a0a1a);
    color: #f0f0f0;
    padding: 50px 0 20px;
    border-top: 3px solid #c62828;
    position: relative;
    overflow: hidden;
}


.disclaimer {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    border: 2px dashed #c62828;
    border-radius: 15px;
    background: rgba(198, 40, 40, 0.1);
}

.disclaimer h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    position: relative;
    display: inline-block;
}

.disclaimer h2::before, .disclaimer h2::after {
    content: "⚠️";
    position: absolute;
    top: -10px;
    font-size: 28px;
}

.disclaimer h2::before {
    left: -50px;
}

.disclaimer h2::after {
    right: -50px;
}

.disclaimer p {
    max-width: 800px;
    margin: 0 auto 15px;
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.7;
}

.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
}

.partners img {
    height: 60px;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 10px;
}

.partners img:hover {
    filter: none;
    opacity: 1;
    border: 2px solid #d4af37;
    transform: scale(1.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 30px;
    padding: 20px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 5px;
}

.footer-links a:hover {
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
    border: 1px solid #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        align-items: center;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    nav ul {
        margin-top: 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h1::after {
        right: -35px;
        font-size: 20px;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    section h2::before, section h2::after {
        font-size: 18px;
    }
    
    section h2::before {
        left: -30px;
    }
    
    section h2::after {
        right: -30px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature {
        min-width: 100%;
        margin: 15px 0;
    }
    
    .partners img {
        height: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .disclaimer h2 {
        font-size: 2rem;
    }
    
    .disclaimer h2::before, .disclaimer h2::after {
        font-size: 20px;
    }
    
    .disclaimer h2::before {
        left: -35px;
    }
    
    .disclaimer h2::after {
        right: -35px;
    }
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(145deg, #0a0a1a, #050510);
    border: 3px solid #d4af37;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-width: 400px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s ease;
    padding: 20px;
}

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

.cookie-content h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.cookie-content p {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.cookie-content a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cookie-content a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-buttons .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-buttons .cta-button.decline {
    background: linear-gradient(45deg, #050510, #0a0a1a);
    border: 2px solid #c62828;
    color: #f0f0f0; /* White text color */
}

.cookie-buttons .cta-button.decline:hover {
    background: linear-gradient(45deg, #0a0a1a, #050510);
    border: 2px solid #d4af37;
    color: #f0f0f0; /* Ensure white text on hover */
}
