:root {
    --primary-color: #00E5FF;
    --primary-dark: #00B3CC;
    --secondary-color: #FFD700;
    --dark-blue: #001F3F;
    --ocean-blue: #005A8D;
    --sand-light: #F4E8D6;
    --white: #FFFFFF;
    --text-dark: #111827;
    --text-light: #374151;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(0, 0, 0, 0.2);
    --shadow-soft: 0 8px 32px rgba(0, 31, 63, 0.2);
    --transition-fast: 0.25s ease;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 1.125rem;
    font-weight: 500;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    font-weight: 800;
    line-height: 1.3;
}

/* CURSOR SYSTEM */
a, button, .btn, .interactive-card, input[type="submit"] {
    cursor: grab !important;
}
a:active, button:active, .btn:active, .interactive-card:active, input[type="submit"]:active {
    cursor: grabbing !important;
}

/* HOVER SYSTEM */
.hover-line {
    position: relative;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.hover-line::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-fast);
}

.hover-line:hover::after {
    width: 100%;
}

/* ANNOUNCEMENT BAR */
.announcement-bar {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.announcement-bar span {
    color: var(--primary-color);
}

/* NAVIGATION */
.main-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--dark-blue);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

/* HERO SECTION & GAME */
.hero-section {
    padding: 4rem 0 2rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(0, 31, 63, 0.8) 0%, rgba(0, 31, 63, 0.4) 100%), url('images/majestic-pirate-boat-sailing-from-top-to-bottom.png') no-repeat center top;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.game-wrapper {
    width: 92%;
    max-width: 1450px;
    height: 60vh;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 31, 63, 0.6);
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 4px solid var(--dark-blue);
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* SECTIONS BASE */
.section-pad {
    padding: 6rem 5%;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .desc {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header .support-p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* GRID LAYOUTS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* CARDS */
.feature-card, .blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast);
    border: 2px solid rgba(0,31,63,0.1);
}

.feature-card:hover, .blog-card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.card-content p {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--dark-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.125rem;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: background-color var(--transition-fast), transform 0.2s;
}

.btn:hover {
    background-color: var(--ocean-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 3px solid var(--dark-blue);
    color: var(--dark-blue);
}

.btn-outline:hover {
    background-color: var(--dark-blue);
    color: var(--white);
}

/* STATS */
.stats-section {
    background-color: var(--dark-blue);
    color: var(--white);
    text-align: center;
}

.stats-section h2 {
    color: var(--white);
}

.stat-item h4 {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stat-item p {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gallery-item {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(0,31,63,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 2px solid rgba(0,31,63,0.1);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: grab;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--dark-blue);
}

.faq-answer {
    display: none;
    padding-top: 1rem;
    color: var(--text-dark);
    font-size: 1.1rem;
}

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

/* NEWSLETTER */
.newsletter-section {
    background-color: var(--sand-light);
    text-align: center;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.25rem;
    border: 2px solid var(--dark-blue);
    border-radius: 30px;
    outline: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* FOOTER */
.site-footer {
    background-color: #001224;
    color: var(--white);
    padding: 4rem 5% 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

.footer-links h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 2px solid var(--dark-blue);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0.5rem;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

/* PAGE WRAPPERS FOR CONTENT PAGES */
.page-header {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 6rem 5% 4rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: 3.5rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.content-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.content-container h2 {
    margin: 2.5rem 0 1.25rem;
}

.content-container p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.15rem;
}

/* FORMS */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--dark-blue);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.25rem;
    border: 2px solid var(--dark-blue);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .game-wrapper {
        width: 95%;
        height: 55vh;
    }
    .grid-2, .grid-3 {
        gap: 2rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .game-wrapper {
        width: 100%;
        height: 50vh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .grid-2, .grid-3, .footer-grid {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
}