/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.header-logo {
    height: 60px;
    width: auto;
}

/* Hamburger Menu */
.hamburger {
    width: 30px;
    height: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #d937bb 0%, #7e34a3 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: #d937bb;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.98);
    border-left: 2px solid rgba(217, 55, 187, 0.5);
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 80px 40px 40px 40px;
}

.side-menu.active {
    right: 0;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: #d937bb;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.menu-close:hover {
    color: #7e34a3;
}

.menu-section {
    margin-bottom: 40px;
}

.menu-section h3 {
    color: #49a8e5;
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-section li {
    margin-bottom: 12px;
}

.menu-section a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.menu-section a:hover {
    color: #d937bb;
    padding-left: 10px;
}

/* Planet Page Styles */
.planet-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    padding-top: 120px;
    padding-bottom: 60px;
}

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

.planet-heading {
    font-size: 64px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #d937bb 0%, #7e34a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Planet Stats Section */
.planet-stats {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(217, 55, 187, 0.2);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 20px;
    color: #d937bb;
    font-weight: 600;
}

.stat-value {
    font-size: 20px;
    color: #ffffff;
    font-weight: 400;
}

/* Lore Section */
.planet-lore {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(217, 55, 187, 0.2);
}

.section-heading {
    font-size: 32px;
    font-weight: bold;
    color: #d937bb;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lore-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.lore-content p:last-child {
    margin-bottom: 0;
}

/* Character Cards Section */
.planet-cards {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(217, 55, 187, 0.2);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.card-placeholder {
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-placeholder img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

.card-placeholder:hover {
    box-shadow: 0 0 20px rgba(217, 55, 187, 0.4);
    transform: translateY(-5px);
}

/* Coming Soon Card Styles */
.card-coming-soon {
    position: relative;
    pointer-events: none;
}

.card-coming-soon img {
    filter: blur(8px);
}

.card-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.coming-soon-text {
    font-size: 32px;
    font-weight: bold;
    color: #d937bb;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(217, 55, 187, 0.8),
                 0 0 40px rgba(217, 55, 187, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(217, 55, 187, 0.8),
                     0 0 40px rgba(217, 55, 187, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(217, 55, 187, 1),
                     0 0 60px rgba(217, 55, 187, 0.7);
    }
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

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

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.card-content {
    color: rgba(255, 255, 255, 0.5);
    font-size: 18px;
    font-weight: 600;
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .header-logo {
        height: 50px;
    }

    .planet-heading {
        font-size: 48px;
    }

    .planet-container {
        padding: 0 30px;
    }

    .cards-grid {
        gap: 20px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .header-logo {
        height: 40px;
    }

    .header-container {
        padding: 0 20px;
    }

    .planet-page {
        padding-top: 100px;
    }

    .planet-container {
        padding: 0 20px;
    }

    .planet-heading {
        font-size: 36px;
        margin-bottom: 30px;
    }

    .planet-stats,
    .planet-lore,
    .planet-cards {
        padding: 30px 20px;
    }

    .section-heading {
        font-size: 24px;
    }

    .stat-label,
    .stat-value {
        font-size: 16px;
    }

    .lore-content p {
        font-size: 16px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-content {
        font-size: 16px;
    }

    .coming-soon-text {
        font-size: 24px;
    }
}

