/* BoomAHOY Pirate Defense Specific Styles */

:root {
    --boom-gold: #fdb813;
    --boom-gold-glow: rgba(253, 184, 19, 0.4);
    --boom-cyan: #00d4ff;
    --boom-cyan-glow: rgba(0, 212, 255, 0.4);
    --boom-navy: #091929;
    --boom-dark-blue: #0f2742;
    --boom-wood: #8b4513;
    --boom-red: #ff3e3e;
}

body.boomahoy-page {
    background-color: var(--boom-navy);
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Video Background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.boomahoy-page .hero::before {
    display: none;
}

.boomahoy-page .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(9, 25, 41, 0.6) 0%, rgba(9, 25, 41, 0.85) 100%);
    z-index: 1;
}

.boomahoy-page .hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
}

.boomahoy-page .hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.boomahoy-page .hero-content {
    max-width: 750px;
    text-align: left;
}

.boomahoy-hero-logo {
    max-width: 420px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 30px var(--boom-gold-glow));
    transition: transform 0.4s ease;
}

.boomahoy-hero-logo:hover {
    transform: scale(1.03);
}

.boomahoy-page .hero-content h2 {
    color: var(--boom-cyan);
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    margin: 15px 0 10px 0;
    font-weight: 700;
    text-shadow: 0 0 15px var(--boom-cyan-glow);
}

.boomahoy-page .hero-content .tagline {
    color: #e0f2fe;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-gameplay {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 38px;
    background: linear-gradient(135deg, var(--boom-gold) 0%, #d48806 100%);
    color: #0b1a2d;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--boom-gold-glow);
    text-decoration: none;
}

.btn-gameplay:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(253, 184, 19, 0.6);
    color: #0b1a2d;
}

.btn-trailer-modal {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px var(--boom-cyan-glow);
}

.btn-trailer-modal:hover {
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.6);
}

/* Download / Coming Soon Badges */
.hero-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: rgba(15, 39, 66, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    color: var(--boom-cyan);
    font-weight: 600;
    font-size: 0.95rem;
}

/* About Game Section */
.about-game {
    padding: 90px 0;
    background: linear-gradient(180deg, var(--boom-navy) 0%, var(--boom-dark-blue) 100%);
    position: relative;
}

.about-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-logo {
    flex-shrink: 0;
    width: 340px;
    text-align: center;
}

.about-logo img {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    animation: floatLogo 4s ease-in-out infinite;
}

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

.about-text {
    flex-grow: 1;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    display: none;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 18px;
}

/* Feature Highlights Grid */
.game-features {
    padding: 90px 0;
    background: var(--boom-navy);
}

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

.feature-card {
    background: rgba(15, 39, 66, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--boom-gold), var(--boom-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 39, 66, 0.9);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px var(--boom-cyan-glow);
    border-color: rgba(0, 212, 255, 0.3);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(253, 184, 19, 0.15) 0%, rgba(0, 212, 255, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--boom-gold);
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-card p {
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--boom-dark-blue) 0%, var(--boom-navy) 100%);
    text-align: center;
}

.community-description {
    max-width: 700px;
    margin: 20px auto 40px auto;
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.community-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(15, 39, 66, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-box:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--boom-cyan);
    color: #0b1a2d;
    box-shadow: 0 10px 25px var(--boom-cyan-glow);
}

/* Gallery Section Overrides */
.boomahoy-page .gallery {
    padding: 90px 0;
    background: var(--boom-navy);
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

.video-modal-content video,
.video-modal-content iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.2s ease;
}

.video-modal-close:hover {
    color: var(--boom-gold);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-layout {
        flex-direction: column;
        text-align: center;
    }
    
    .about-logo {
        width: 100%;
    }
    
    .boomahoy-page .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions, .hero-badges {
        justify-content: center;
    }
}
