/* Pirate Themed Styles */
:root {
    /* Pirate Color Palette */
    --pirate-deep-blue: #0A1628;
    --pirate-ocean: #1B4B73;
    --pirate-gold: #D4AF37;
    --pirate-treasure: #FFD700;
    --pirate-brown: #8B4513;
    --pirate-red: #8B0000;
    --pirate-cream: #F5E6D3;
    --pirate-wood: #654321;
    --pirate-rope: #8B7355;
    --ocean-foam: #87CEEB;
    --parchment: #F4E4BC;

    /* Typography */
    --pirate-font: 'Pirata One', cursive;
    --fancy-font: 'Cinzel', serif;
    --body-font: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--body-font);
    background: linear-gradient(135deg, var(--pirate-deep-blue) 0%, var(--pirate-ocean) 100%);
    color: var(--pirate-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Age Gate Modal */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--pirate-deep-blue), var(--pirate-ocean));
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3C/g%3E%3C/svg%3E");
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.age-gate-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.age-gate-container {
    background: linear-gradient(145deg, var(--pirate-wood), var(--pirate-brown));
    border: 4px solid var(--pirate-gold);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 215, 0, 0.2);
    position: relative;
    max-width: 500px;
    width: 90%;
}

.age-gate-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    border-radius: 25px;
    z-index: -1;
    animation: treasureGlow 2s ease-in-out infinite alternate;
}

@keyframes treasureGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.pirate-skull {
    margin-bottom: 30px;
}

.skull-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: radial-gradient(circle, var(--pirate-cream) 30%, var(--pirate-brown) 100%);
    border-radius: 50%;
    border: 3px solid var(--pirate-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: var(--pirate-red);
}

.crossbones::before,
.crossbones::after {
    content: '☠️';
    position: absolute;
    font-size: 20px;
    animation: float 2s ease-in-out infinite;
}

.crossbones::before {
    top: -10px;
    left: -10px;
    animation-delay: -1s;
}

.crossbones::after {
    bottom: -10px;
    right: -10px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.pirate-title {
    font-family: var(--pirate-font);
    font-size: 2.5rem;
    color: var(--pirate-gold);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.age-description {
    font-size: 1.1rem;
    color: var(--pirate-cream);
    margin-bottom: 30px;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.pirate-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    min-width: 180px;
}

.pirate-btn.confirm {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    color: var(--pirate-deep-blue);
}

.pirate-btn.deny {
    background: linear-gradient(45deg, var(--pirate-red), #A0522D);
    color: var(--pirate-cream);
}

.pirate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-treasure {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: treasureSweep 2s infinite;
}

@keyframes treasureSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Navigation */
.pirate-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, var(--pirate-wood) 0%, var(--pirate-brown) 50%, var(--pirate-wood) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--pirate-gold);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.pirate-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.compass-icon {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, var(--pirate-gold) 0%, var(--pirate-treasure) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid var(--pirate-cream);
    animation: compassSpin 10s linear infinite;
}

.compass-needle {
    width: 20px;
    height: 20px;
    background: var(--pirate-red);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

@keyframes compassSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    font-family: var(--pirate-font);
    font-size: 1.8rem;
    color: var(--pirate-gold);
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    color: var(--pirate-cream);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.nav-item:hover {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    color: var(--pirate-deep-blue);
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--pirate-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.pirate-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.ocean-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pirate-deep-blue) 0%, var(--pirate-ocean) 50%, var(--ocean-foam) 100%);
    z-index: -2;
}

.waves-layer {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z' fill='%231B4B73' opacity='0.7'/%3E%3C/svg%3E") repeat-x;
    animation: waveMovement 20s linear infinite;
}

@keyframes waveMovement {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.floating-treasures {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.treasure-coin {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, var(--pirate-gold) 0%, var(--pirate-treasure) 100%);
    border-radius: 50%;
    border: 2px solid var(--pirate-cream);
    animation: floatTreasure 6s ease-in-out infinite;
}

.treasure-coin::before {
    content: '💰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
}

.treasure-coin:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

.treasure-coin:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: -2s;
}

.treasure-coin:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: -3s;
}

.treasure-coin:nth-child(4) {
    bottom: 40%;
    left: 15%;
    animation-delay: -4s;
}

.treasure-coin:nth-child(5) {
    top: 70%;
    right: 10%;
    animation-delay: -5s;
}

@keyframes floatTreasure {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-40px) rotate(180deg); }
    75% { transform: translateY(-20px) rotate(270deg); }
}

.ship-silhouette {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 150'%3E%3Cpath d='M20,120 Q100,80 180,120 L170,130 Q100,100 30,130 Z' fill='%23654321'/%3E%3Cline x1='100' y1='120' x2='100' y2='40' stroke='%23654321' stroke-width='4'/%3E%3Cpath d='M60,40 Q100,20 140,40 L100,80 Z' fill='%23F5E6D3'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    opacity: 0.3;
    animation: shipSway 8s ease-in-out infinite;
}

@keyframes shipSway {
    0%, 100% { transform: translateX(0px) rotate(-2deg); }
    50% { transform: translateX(20px) rotate(2deg); }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.treasure-chest-container {
    margin-bottom: 40px;
    position: relative;
}

.treasure-chest {
    width: 100px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    background: linear-gradient(145deg, var(--pirate-wood), var(--pirate-brown));
    border-radius: 10px;
    border: 3px solid var(--pirate-gold);
    animation: chestBreathe 3s ease-in-out infinite;
}

.chest-lid {
    position: absolute;
    top: -10px;
    left: -3px;
    right: -3px;
    height: 30px;
    background: linear-gradient(145deg, var(--pirate-brown), var(--pirate-wood));
    border: 3px solid var(--pirate-gold);
    border-radius: 10px 10px 5px 5px;
    animation: chestOpen 4s ease-in-out infinite;
}

.chest-glow {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 40px;
    height: 20px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, var(--pirate-treasure) 0%, transparent 70%);
    animation: treasureGlow 2s ease-in-out infinite alternate;
}

@keyframes chestBreathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes chestOpen {
    0%, 70% { transform: rotateX(0deg); }
    85% { transform: rotateX(-20deg); }
    100% { transform: rotateX(0deg); }
}

.pirate-hero-title {
    font-family: var(--pirate-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    line-height: 1.2;
}

.title-line {
    display: block;
    color: var(--pirate-cream);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.treasure-gradient {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: treasureShimmer 3s ease-in-out infinite;
}

@keyframes treasureShimmer {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--pirate-gold);
    font-weight: normal;
    margin-top: 10px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--pirate-cream);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.treasure-cta-button {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    color: var(--pirate-deep-blue);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.treasure-cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-sparkle {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sparkle 3s infinite;
}

@keyframes sparkle {
    0% { left: -100%; }
    100% { left: 100%; }
}

.anchor-icon {
    font-size: 1.5rem;
    animation: anchorSway 2s ease-in-out infinite;
}

@keyframes anchorSway {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

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

/* Overview Section */
.pirate-overview {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-ocean) 0%, var(--pirate-deep-blue) 100%);
    position: relative;
}

.pirate-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ship-wheel-container {
    position: relative;
}

.ship-wheel {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
    border: 8px solid var(--pirate-wood);
    border-radius: 50%;
    background: linear-gradient(45deg, var(--pirate-brown), var(--pirate-wood));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 5px 15px rgba(212, 175, 55, 0.2);
    animation: wheelTurn 20s linear infinite;
}

@keyframes wheelTurn {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wheel-spokes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wheel-spokes::before,
.wheel-spokes::after {
    content: '';
    position: absolute;
    background: var(--pirate-wood);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wheel-spokes::before {
    width: 80%;
    height: 8px;
}

.wheel-spokes::after {
    width: 8px;
    height: 80%;
}

.ship-wheel img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 4px solid var(--pirate-gold);
    object-fit: cover;
}

.overview-content {
    text-align: left;
}

.section-title {
    font-family: var(--pirate-font);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pirate-gold);
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.pirate-font {
    font-family: var(--pirate-font);
}

.parchment-text {
    background: linear-gradient(145deg, var(--parchment), #F0E68C);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid var(--pirate-gold);
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.parchment-text::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid var(--pirate-rope);
    border-radius: 10px;
    pointer-events: none;
}

.section-text {
    font-size: 1.1rem;
    color: var(--pirate-wood);
    line-height: 1.8;
    margin: 0;
}

/* Features Section */
.pirate-features {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-deep-blue) 0%, var(--pirate-brown) 100%);
    position: relative;
}

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

.treasure-map-card {
    background: linear-gradient(145deg, var(--parchment), #F0E68C);
    border: 3px solid var(--pirate-gold);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

.treasure-map-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure), var(--pirate-gold));
    border-radius: 22px;
    z-index: -1;
    animation: mapGlow 3s ease-in-out infinite alternate;
}

@keyframes mapGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

.treasure-map-card:hover {
    transform: translateY(-10px) rotate(1deg);
}

.map-marker {
    margin-bottom: 25px;
    position: relative;
}

.compass-rose {
    font-size: 3rem;
    display: inline-block;
    animation: compassFloat 3s ease-in-out infinite;
}

@keyframes compassFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.feature-title {
    font-family: var(--fancy-font);
    font-size: 1.5rem;
    color: var(--pirate-wood);
    margin-bottom: 20px;
    font-weight: 600;
}

.parchment-bg {
    background: rgba(244, 228, 188, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed var(--pirate-rope);
}

.feature-description {
    color: var(--pirate-brown);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Game Preview Section */
.treasure-preview {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-ocean) 0%, var(--pirate-deep-blue) 100%);
    text-align: center;
}

.treasure-chest-screen {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.chest-frame {
    background: linear-gradient(145deg, var(--pirate-wood), var(--pirate-brown));
    padding: 20px;
    border-radius: 20px;
    border: 5px solid var(--pirate-gold);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.chest-frame img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

.treasure-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pirate-play-btn {
    background: linear-gradient(45deg, var(--pirate-red), #CD5C5C);
    color: var(--pirate-cream);
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 3px solid var(--pirate-gold);
}

.pirate-play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.4);
}

.cannon-icon {
    font-size: 1.5rem;
    animation: cannonRecoil 2s ease-in-out infinite;
}

@keyframes cannonRecoil {
    0%, 95% { transform: translateX(0px); }
    5% { transform: translateX(-5px); }
}

.coin-trail {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: coinTrail 2s infinite;
}

@keyframes coinTrail {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* About Section */
.pirate-about {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-brown) 0%, var(--pirate-wood) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.pirate-scroll-card {
    background: linear-gradient(145deg, var(--parchment), #F0E68C);
    border: 3px solid var(--pirate-rope);
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.pirate-scroll-card::before,
.pirate-scroll-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--pirate-rope);
    border-radius: 50%;
}

.pirate-scroll-card::before {
    top: 15px;
    left: 15px;
}

.pirate-scroll-card::after {
    top: 15px;
    right: 15px;
}

.pirate-scroll-card:hover {
    transform: translateY(-5px) rotate(1deg);
}

.scroll-header {
    margin-bottom: 20px;
    text-align: center;
}

.scroll-header h2 {
    font-family: var(--fancy-font);
    font-size: 1.8rem;
    color: var(--pirate-wood);
    margin-bottom: 10px;
}

.rope-divider {
    width: 60px;
    height: 3px;
    background: var(--pirate-rope);
    margin: 0 auto;
    border-radius: 2px;
}

.scroll-content p {
    color: var(--pirate-brown);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.treasure-link {
    color: var(--pirate-red);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.treasure-link:hover {
    color: var(--pirate-gold);
}

.treasure-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pirate-gold);
    transition: width 0.3s ease;
}

.treasure-link:hover::after {
    width: 100%;
}

/* Disclaimer Section */
.pirate-disclaimer {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-deep-blue) 0%, var(--pirate-ocean) 100%);
}

.disclaimer-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.warning-scroll {
    background: linear-gradient(145deg, var(--parchment), #F0E68C);
    border: 3px solid var(--pirate-red);
    border-radius: 15px;
    padding: 40px 30px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.warning-scroll::before {
    content: '⚠️';
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--pirate-red);
    color: var(--pirate-cream);
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    border: 3px solid var(--pirate-gold);
}

.disclaimer-point {
    color: var(--pirate-brown);
    margin-bottom: 20px;
    line-height: 1.7;
    padding-left: 30px;
    position: relative;
}

.disclaimer-point:last-child {
    margin-bottom: 0;
}

.treasure-map-frame {
    position: relative;
    border: 5px solid var(--pirate-wood);
    border-radius: 15px;
    overflow: hidden;
    background: var(--pirate-brown);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.treasure-map-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.map-pins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pin {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--pirate-red);
    border-radius: 50%;
    border: 2px solid var(--pirate-gold);
    animation: pinPulse 2s ease-in-out infinite;
}

.pin:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: -0.5s;
}

.pin:nth-child(2) {
    top: 60%;
    right: 25%;
    animation-delay: -1s;
}

.pin:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -1.5s;
}

@keyframes pinPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Contact Section */
.pirate-contact {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--pirate-ocean) 0%, var(--pirate-deep-blue) 100%);
    position: relative;
    overflow: hidden;
}

.ocean-waves {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 200px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%231B4B73' opacity='0.5'/%3E%3C/svg%3E") repeat-x;
    animation: waveMovement 15s linear infinite reverse;
    z-index: 0;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

.message-bottle-container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.message-bottle-form {
    background: linear-gradient(145deg, var(--parchment), #F0E68C);
    border: 5px solid var(--pirate-wood);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.bottle-top {
    background: linear-gradient(135deg, var(--pirate-wood), var(--pirate-brown));
    padding: 30px;
    text-align: center;
    position: relative;
}

.bottle-top::before {
    content: '🍾';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    background: var(--pirate-gold);
    padding: 10px;
    border-radius: 50%;
    border: 3px solid var(--pirate-cream);
}

.form-title {
    font-family: var(--pirate-font);
    font-size: 2rem;
    color: var(--pirate-cream);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.bottle-content {
    padding: 40px 30px;
}

.form-grid {
    display: grid;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--pirate-wood);
    margin-bottom: 8px;
    font-family: var(--fancy-font);
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--pirate-rope);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pirate-wood);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pirate-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.treasure-submit-btn {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    color: var(--pirate-deep-blue);
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    justify-self: center;
}

.treasure-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

.btn-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: waveEffect 3s infinite;
}

@keyframes waveEffect {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Badges Section */
.pirate-badges {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--pirate-brown) 0%, var(--pirate-wood) 100%);
}

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.treasure-badge {
    text-align: center;
    transition: all 0.3s ease;
}

.badge-frame {
    background: linear-gradient(145deg, var(--pirate-gold), var(--pirate-treasure));
    padding: 20px;
    border-radius: 20px;
    border: 3px solid var(--pirate-wood);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.treasure-badge:hover .badge-frame {
    transform: translateY(-5px) rotate(3deg);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.badge-frame img {
    width: 100%;
    max-width: 120px;
    height: auto;
}

/* Footer */
.pirate-footer {
    background: linear-gradient(135deg, var(--pirate-deep-blue) 0%, var(--pirate-wood) 100%);
    padding: 60px 0 30px;
    border-top: 5px solid var(--pirate-gold);
    position: relative;
}

.pirate-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(
        45deg,
        var(--pirate-gold),
        var(--pirate-gold) 10px,
        var(--pirate-treasure) 10px,
        var(--pirate-treasure) 20px
    );
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.anchor-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.anchor-icon::before {
    content: '⚓';
    font-size: 1.5rem;
    color: var(--pirate-deep-blue);
}

.anchor-chain {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 2px;
    height: 20px;
    background: var(--pirate-rope);
    transform: translateX(-50%);
}

.footer-disclaimer {
    color: var(--pirate-cream);
    line-height: 1.7;
    font-size: 0.95rem;
    opacity: 0.9;
}

.newsletter {
    text-align: right;
    margin-bottom: 30px;
}

.newsletter h3 {
    font-family: var(--fancy-font);
    color: var(--pirate-gold);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.newsletter-form input {
    padding: 12px 15px;
    border: 2px solid var(--pirate-rope);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--pirate-wood);
    font-size: 1rem;
    min-width: 200px;
}

.newsletter-btn {
    background: linear-gradient(45deg, var(--pirate-gold), var(--pirate-treasure));
    color: var(--pirate-deep-blue);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.footer-links {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--pirate-cream);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--pirate-gold);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--pirate-rope);
    padding-top: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--pirate-cream);
    opacity: 0.8;
}

.ship-wheel-small {
    width: 30px;
    height: 30px;
    border: 3px solid var(--pirate-gold);
    border-radius: 50%;
    position: relative;
    animation: wheelTurn 10s linear infinite;
}

.ship-wheel-small::before,
.ship-wheel-small::after {
    content: '';
    position: absolute;
    background: var(--pirate-gold);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ship-wheel-small::before {
    width: 80%;
    height: 2px;
}

.ship-wheel-small::after {
    width: 2px;
    height: 80%;
}

/* Utility Classes */
.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, var(--pirate-wood), var(--pirate-brown));
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .pirate-hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
    }

    .treasure-cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .ship-wheel {
        width: 250px;
        height: 250px;
    }

    .ship-wheel img {
        width: 180px;
        height: 180px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .disclaimer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .newsletter {
        text-align: center;
    }

    .newsletter-form {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .age-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pirate-btn {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .age-gate-container {
        padding: 30px 20px;
        margin: 20px;
    }

    .pirate-title {
        font-size: 2rem;
    }

    .treasure-chest {
        width: 80px;
        height: 60px;
    }

    .chest-lid {
        height: 25px;
        top: -8px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .treasure-map-card,
    .pirate-scroll-card {
        padding: 25px 20px;
    }

    .message-bottle-form {
        margin: 0 10px;
    }

    .bottle-content {
        padding: 30px 20px;
    }

    .form-grid {
        gap: 20px;
    }

    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Print Styles */
@media print {
    .age-gate-overlay,
    .pirate-navbar,
    .floating-treasures,
    .treasure-cta-button,
    .pirate-play-btn,
    .pirate-contact,
    .pirate-footer {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .main-content {
        opacity: 1 !important;
        pointer-events: all !important;
    }
}

/* Animation Performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --pirate-deep-blue: #000000;
        --pirate-ocean: #1a1a1a;
        --pirate-gold: #ffff00;
        --pirate-treasure: #ffffff;
        --pirate-cream: #ffffff;
        --pirate-wood: #000000;
        --parchment: #ffffff;
    }
}

a{
    text-decoration: none;
}
.content {
    /* background-color: #ffffff; */
    padding: 40px 10%;
    /* background: linear-gradient(rgb(17 17 17), rgb(17 17 17)), url(../image/bg1.png) center / cover; */
    /* background-attachment: fixed; */
}

.content-block {}

.content-block h2 {
    color: #d2a81e;
}

.content-block p,
ul {
    color: #c29510;
}
.play-ground-area {
  padding: 2rem;
  background: black;
}

.play-game {
  max-width: 940px;
  margin: 0 auto;
}
a {
  text-decoration: none;
}