* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b00;
    --secondary-color: #ffd700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #888888;
    --accent-red: #ff3333;
    --accent-green: #00ff00;
    --neon-glow: rgba(255, 107, 0, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--darker-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neon-glow);
    margin-bottom: 2rem;
    letter-spacing: 0.2em;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.loading-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: loading 2s ease-in-out forwards;
    box-shadow: 0 0 10px var(--primary-color);
}

@keyframes loading {
    to {
        width: 100%;
    }
}

.loading-text {
    color: var(--text-gray);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

.hidden {
    display: none !important;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-glow);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 5px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 15px var(--neon-glow);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.cta-button):hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-glow);
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary-color);
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 0 15px var(--neon-glow);
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 107, 0, 0.03) 2px, rgba(255, 107, 0, 0.03) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1200px;
    padding: 2rem;
}

.wanted-poster {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 215, 0, 0.1));
    border: 3px solid var(--primary-color);
    padding: 2rem 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 0 30px var(--neon-glow);
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.wanted-image-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    position: relative;
}

.wanted-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    box-shadow: 
        0 0 20px var(--neon-glow),
        inset 0 0 20px rgba(255, 107, 0, 0.2);
    animation: imagePulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.6));
}

@keyframes imagePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 0 20px var(--neon-glow),
            inset 0 0 20px rgba(255, 107, 0, 0.2);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 
            0 0 30px var(--neon-glow),
            inset 0 0 30px rgba(255, 107, 0, 0.4);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.wanted-poster::before,
.wanted-poster::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
}

.wanted-poster::before {
    top: 10px;
    left: 10px;
}

.wanted-poster::after {
    bottom: 10px;
    right: 10px;
}

.wanted-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
}

.wanted-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.wanted-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--neon-glow);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.wanted-tagline {
    font-size: 1.1rem;
    color: var(--secondary-color);
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.title-line {
    display: block;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line:nth-child(4) { animation-delay: 0.8s; }
.title-line:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title-line.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neon-glow);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-glow);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-glow);
}

.btn-large {
    padding: 1.3rem 3rem;
    font-size: 1.3rem;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* Story Section */
.story-section {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255, 107, 0, 0.02) 10px, rgba(255, 107, 0, 0.02) 20px);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neon-glow);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.title-underline {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    box-shadow: 0 0 10px var(--neon-glow);
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text {
    font-size: 1.3rem;
    line-height: 1.8;
}

.story-intro {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.highlight-text {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-glow);
    font-weight: 700;
}

.story-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.story-mission {
    font-size: 1.5rem;
    line-height: 1.6;
}

.mission-emphasis {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.character-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 215, 0, 0.1));
    border: 2px solid var(--primary-color);
    padding: 2rem;
    box-shadow: 0 0 30px var(--neon-glow);
    position: relative;
    overflow: hidden;
}

.character-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.character-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.2), rgba(0, 0, 0, 0.5));
    padding: 15px;
    box-shadow: 
        0 0 25px var(--neon-glow),
        inset 0 0 25px rgba(255, 107, 0, 0.3);
    animation: characterRotate 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 107, 0, 0.8));
    position: relative;
}

.character-image::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    animation: rotateBorder 3s linear infinite;
    opacity: 0.6;
}

@keyframes characterRotate {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
    }
    25% { 
        transform: rotate(-2deg) scale(1.02);
    }
    75% { 
        transform: rotate(2deg) scale(1.02);
    }
}

@keyframes rotateBorder {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.stat-label {
    color: var(--text-gray);
    font-weight: 600;
}

.stat-value {
    color: var(--text-light);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-glow);
}

.stat-value.active {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

/* Mission Section */
.mission-section {
    padding: 6rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    animation: missionPulse 6s ease-in-out infinite;
}

@keyframes missionPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-card {
    background: rgba(255, 107, 0, 0.05);
    border: 2px solid var(--primary-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--neon-glow);
    border-color: var(--secondary-color);
}

.mission-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--neon-glow);
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Token Section */
.token-section {
    padding: 6rem 0;
    background: var(--darker-bg);
}

.token-content {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.token-card {
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.1), rgba(255, 215, 0, 0.1));
    border: 3px solid var(--primary-color);
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 0 40px var(--neon-glow);
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.token-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--neon-glow);
}

.token-badge {
    background: var(--accent-green);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

.token-details {
    margin-bottom: 2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
}

.detail-label {
    color: var(--text-gray);
    font-weight: 600;
}

.detail-value {
    color: var(--text-light);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    text-align: right;
    max-width: 60%;
}

.detail-value.active {
    color: var(--accent-green);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.6);
}

.token-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 107, 0, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.link-btn:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--neon-glow);
    transform: translateX(5px);
}

.link-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.link-btn:hover .link-arrow {
    transform: translateX(5px);
}

/* Game Section */
.game-section {
    padding: 6rem 0;
    background: var(--darker-bg);
    position: relative;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.game-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.stat-item .stat-label {
    color: var(--text-gray);
    font-weight: 600;
    font-size: 1rem;
}

.stat-item .stat-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--neon-glow);
    font-family: 'Orbitron', sans-serif;
}

.game-area {
    position: relative;
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.05), rgba(255, 215, 0, 0.05));
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 30px var(--neon-glow);
    margin-bottom: 2rem;
    touch-action: none;
    -webkit-touch-callout: none;
}

.game-character {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.character-sprite {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 107, 0, 0.8));
    animation: characterIdle 2s ease-in-out infinite;
}

@keyframes characterIdle {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
}

.war-enemy {
    position: absolute;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-red);
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    animation: enemyFall linear;
    z-index: 5;
    transition: transform 0.1s ease;
    min-width: 60px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.war-enemy:hover {
    transform: scale(1.2);
}

.war-enemy.destroyed {
    animation: enemyDestroy 0.3s ease-out forwards;
}

@keyframes enemyFall {
    from {
        transform: translateY(-50px);
        opacity: 1;
    }
    to {
        transform: translateY(550px);
        opacity: 1;
    }
}

@keyframes enemyDestroy {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    transition: opacity 0.3s ease;
}

.game-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.game-overlay-content {
    text-align: center;
    color: var(--text-light);
}

.game-overlay-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--neon-glow);
    margin-bottom: 1rem;
}

.game-overlay-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.game-instructions {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.game-instructions p {
    margin-bottom: 0.5rem;
}

/* Join Section */
.join-section {
    padding: 8rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.join-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(255, 107, 0, 0.2) 0%, transparent 70%);
    animation: joinPulse 4s ease-in-out infinite;
}

@keyframes joinPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.join-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.join-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 30px var(--neon-glow);
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.join-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.join-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.join-tagline {
    margin-top: 3rem;
    font-size: 1.3rem;
    color: var(--text-light);
}

.tagline-emphasis {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    padding: 3rem 0;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 15px var(--neon-glow);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    padding: 8px;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px var(--neon-glow);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--neon-glow);
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 1rem;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-bar {
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .wanted-poster {
        padding: 1.5rem;
    }

    .wanted-name {
        font-size: 2.5rem;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .join-title {
        font-size: 2.5rem;
    }

    .hero-buttons,
    .join-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .game-area {
        height: 400px;
    }
    
    .game-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-stats {
        justify-content: space-around;
        gap: 1rem;
    }
    
    .character-sprite {
        width: 80px;
        height: 80px;
    }
    
    .war-enemy {
        font-size: 2rem;
        min-width: 50px;
        min-height: 50px;
        padding: 5px;
    }
    
    .game-instructions {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
    
    .game-overlay-content h3 {
        font-size: 2rem;
    }
    
    .game-overlay-content p {
        font-size: 1rem;
    }
}

