/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Space+Grotesk:wght@300;400;500;600;700&family=Bungee&display=swap');

/* CSS Variables */
:root {
    --primary-color: #0088ff;
    --secondary-color: #ff0080;
    --accent-color: #00d4ff;
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #0088ff, #00d4ff);
    --gradient-secondary: linear-gradient(135deg, #ff0080, #ff6b35);
    --gradient-cosmic: linear-gradient(135deg, #0a0a0f 0%, #1a0a2e 50%, #2d1b69 100%);
    --shadow-glow: 0 0 20px rgba(0, 136, 255, 0.3);
    --shadow-pink: 0 0 20px rgba(255, 0, 128, 0.3);
    --border-radius: 15px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000428 0%, #004e92 50%, #000428 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
    z-index: 2;
}

.loading-rocket {
    margin-bottom: 30px;
    animation: rocketFloat 3s ease-in-out infinite;
}

.loading-albert {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 136, 255, 0.5));
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.loading-title {
    font-family: 'Bungee', cursive;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.5);
    animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.loading-subtitle {
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.loading-bar {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
    border: 1px solid var(--primary-color);
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 136, 255, 0.5);
}

.loading-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.loading-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Bungee', cursive;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.copy-ca-btn, .swap-btn, .btn-primary, .btn-secondary {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.copy-ca-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.copy-ca-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.swap-btn {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 700;
}

.swap-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.contract-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.contract-label {
    color: var(--text-gray);
    font-size: 0.7rem;
}

.contract-short {
    color: var(--primary-color);
    cursor: pointer;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-cosmic);
}

.cosmic-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0,136,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0,212,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 120px, #fff, transparent),
        radial-gradient(1px 1px at 200px 50px, rgba(0,136,255,0.7), transparent),
        radial-gradient(2px 2px at 250px 180px, #fff, transparent),
        radial-gradient(1px 1px at 300px 90px, rgba(0,212,255,0.5), transparent);
    background-repeat: repeat;
    background-size: 350px 200px;
    animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes cosmicPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.floating-objects {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
}

.planet {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.planet-1 {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    animation-delay: 0s;
}

.planet-2 {
    bottom: 20%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.asteroid {
    position: absolute;
    background: #666;
    border-radius: 30% 70% 70% 30%;
    animation: rotate 10s linear infinite;
}

.asteroid-1 {
    top: 60%;
    right: 20%;
    width: 30px;
    height: 30px;
}

.asteroid-2 {
    top: 30%;
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 5s;
}

.satellite {
    position: absolute;
    top: 40%;
    right: 30%;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: float 4s ease-in-out infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    margin-bottom: 30px;
}

.hero-badge span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

.hero-badge-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    vertical-align: middle;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 212, 255, 0); }
}

.hero-main-title {
    font-family: 'Bungee', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.1;
    text-align: center;
}

.hero-main-logo {
    width: clamp(42px, 5.6vw, 63px);
    height: clamp(42px, 5.6vw, 63px);
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.6);
    margin-left: 15px;
    vertical-align: middle;
    display: inline-block;
}

.hero-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-color);
    letter-spacing: 3px;
    animation: subtleGlow 6s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% { 
        text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    50% { 
        text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
}

.hero-subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.hero-date {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 50px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 25px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary, .hero-buttons .btn-secondary {
    padding: 18px 35px;
    font-size: 1.1rem;
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-buttons .btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.hero-buttons .btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.hero-contract-info {
    margin-top: 20px;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
}

.contract-address-hero {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 136, 255, 0.3);
    backdrop-filter: blur(10px);
    max-width: 500px;
}

.contract-address-hero span {
    flex: 1;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--text-gray);
    word-break: break-all;
    text-align: center;
}

.copy-btn-hero {
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    white-space: nowrap;
}

.copy-btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* About Section */
.about {
    padding: 50px 0;
    background: var(--gradient-cosmic);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Bungee', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
}

.mission-story {
    margin-top: 60px;
    margin-bottom: 40px;
}

.mission-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.mission-card h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

.timeline {
    space-y: 30px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border-left: 3px solid var(--primary-color);
}

.timeline-icon {
    font-size: 1.5rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.timeline-content h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-gray);
    margin: 0;
}

.mission-gallery {
    margin-top: 30px;
}

.gallery-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 2px;
}

.gallery-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
}

.gallery-nav {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: var(--bg-dark);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.gallery-nav:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.gallery-main {
    flex: 1;
    display: flex;
    gap: 30px;
    align-items: center;
}

.gallery-image-container {
    flex: 1;
    max-width: 500px;
}

.gallery-image-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-image-container img:hover {
    transform: scale(1.02);
}

.gallery-info {
    flex: 1;
    padding-left: 20px;
}

.gallery-info h4 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.gallery-info p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: var(--shadow-glow);
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.1);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legacy image styles for compatibility */
.about-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-card:hover {
    transform: translateY(-10px);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 1px;
}

/* Tokenomics Section */
.tokenomics {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
}

.tokenomics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 136, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.token-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 136, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.token-card:hover::before {
    left: 100%;
}

.token-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.token-card h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.big-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 15px;
    display: block;
}

.token-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin: 0;
}

/* Helmet Fitter Section */
.helmet-fitter {
    padding: 50px 0;
    background: var(--gradient-cosmic);
}

.helmet-preview {
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.preview-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(10px);
    max-width: 600px;
}

.helmet-example {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 136, 255, 0.5));
}

.preview-text h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.preview-text p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

.helmet-app {
    max-width: 900px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed var(--primary-color);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    background: rgba(0, 136, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    background: rgba(0, 136, 255, 0.1);
    border-color: var(--accent-color);
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.upload-content h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-content p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.upload-hint {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.btn-upload {
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-upload:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.helmet-editor {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.editor-canvas {
    text-align: center;
}

#helmetCanvas {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--bg-darker);
    margin-bottom: 30px;
    box-shadow: var(--shadow-glow);
}

.helmet-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.control-group label {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.control-group input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
}

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

.download-instructions {
    text-align: center;
    padding: 20px;
    background: rgba(0, 136, 255, 0.1);
    border: 1px solid rgba(0, 136, 255, 0.3);
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.download-text {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.download-text strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Custom Notification Styles */
.custom-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    border: 2px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInRight 0.3s ease;
    transform: translateX(100%);
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.custom-notification.success {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--accent-color);
}

.custom-notification.error {
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--secondary-color);
}

.custom-notification.info {
    background: rgba(0, 136, 255, 0.1);
    border-color: var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--text-light);
}

.notification-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-message {
    flex: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Mission Complete Modal */
.mission-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.mission-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.5s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--gradient-cosmic);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-glow);
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header h2 {
    font-family: 'Bungee', cursive;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 136, 255, 0.5);
}

.modal-albert {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
    margin-bottom: 20px;
}

.modal-body h3 {
    font-family: 'Orbitron', monospace;
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-body p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.modal-body .highlight {
    color: var(--primary-color);
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.modal-footer {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Space Game Section */
.space-game {
    padding: 50px 0;
    background: linear-gradient(135deg, #0f1419 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
}

.space-game::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 128, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 136, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.game-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

#spaceGameCanvas {
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: linear-gradient(180deg, #000428 0%, #004e92 100%);
    margin-bottom: 30px;
    box-shadow: var(--shadow-glow);
}

.game-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#startGameBtn {
    padding: 15px 30px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

#startGameBtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.game-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.game-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.game-stats .stat span:first-child {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.game-stats .stat span:last-child {
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Community Section */
.community {
    padding: 50px 0;
    background: var(--gradient-cosmic);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s ease;
    min-width: 200px;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(0, 136, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.social-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 136, 255, 0.1);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.social-link:hover .social-icon {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.social-link span {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.social-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-family: 'Space Grotesk', sans-serif;
}

.contract-info {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contract-info h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 136, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contract-address span {
    flex: 1;
    font-family: 'Orbitron', monospace;
    font-size: 1rem;
    color: var(--text-gray);
    word-break: break-all;
}

.copy-btn {
    padding: 12px 20px;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Footer */
.footer {
    padding: 50px 0 30px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 136, 255, 0.2);
}

.footer-content {
    text-align: center;
}

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

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.footer-logo span {
    font-family: 'Bungee', cursive;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* Animations */
@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 12px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .nav-logo img {
        width: 35px;
        height: 35px;
    }
    
    .nav-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .copy-ca-btn, .swap-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .btn-logo {
        width: 16px;
        height: 16px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 60px 0 40px;
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-badge span {
        padding: 8px 16px;
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .hero-badge-icon {
        width: 14px;
        height: 14px;
    }
    
    .hero-main-title {
        font-size: clamp(2rem, 6vw, 4rem);
        margin-bottom: 15px;
    }
    
    .hero-main-logo {
        width: clamp(30px, 4vw, 45px);
        height: clamp(30px, 4vw, 45px);
        margin-left: 10px;
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 3vw, 2rem);
        letter-spacing: 1px;
    }
    
    .hero-date {
        font-size: 1rem;
        margin-bottom: 30px;
        letter-spacing: 1px;
    }
    
    .hero-stats {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .stat-card {
        padding: 20px 15px;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-buttons {
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .hero-buttons .btn-primary, .hero-buttons .btn-secondary {
        padding: 14px 25px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .contract-address-hero {
        padding: 12px 15px;
        gap: 10px;
        margin: 0 15px;
    }
    
    .contract-address-hero span {
        font-size: 0.75rem;
    }
    
    .copy-btn-hero {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .section-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Gallery Mobile */
    .gallery-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .gallery-container {
        flex-direction: column;
        gap: 15px;
        padding: 20px 15px;
    }
    
    .gallery-main {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-image-container img {
        height: 250px;
    }
    
    .gallery-info {
        padding-left: 0;
        text-align: center;
    }
    
    .gallery-info h4 {
        font-size: 1.1rem;
    }
    
    .gallery-info p {
        font-size: 0.9rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .gallery-thumbnails {
        gap: 10px;
        padding: 0 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
    
    /* Mission Story Mobile */
    .mission-card {
        padding: 20px 15px;
        margin: 0 15px 25px;
    }
    
    .mission-card h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .timeline-item {
        padding: 15px;
        margin: 0 15px 20px;
        gap: 15px;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
    
    /* Helmet Fitter Mobile */
    .preview-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
        margin: 0 15px;
    }
    
    .helmet-example {
        width: 80px;
        height: 80px;
    }
    
    .preview-text h3 {
        font-size: 1.1rem;
    }
    
    .upload-area {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .upload-content h3 {
        font-size: 1.2rem;
    }
    
    .upload-content p {
        font-size: 1rem;
    }
    
    .upload-hint {
        font-size: 0.8rem;
    }
    
    .helmet-editor {
        padding: 20px 15px;
        margin: 20px 15px 0;
    }
    
    #helmetCanvas {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
    
    .helmet-controls {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .control-group label {
        font-size: 0.8rem;
    }
    
    .editor-buttons {
        gap: 15px;
        flex-wrap: wrap;
    }
    
    /* Tokenomics Mobile */
    .tokenomics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .token-card {
        padding: 30px 20px;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .token-card h3 {
        font-size: 1.1rem;
    }
    
    .big-number {
        font-size: 1.8rem;
    }
    
    /* Game Mobile */
    .game-container {
        padding: 0 15px;
    }
    
    #spaceGameCanvas {
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    
    .game-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    #startGameBtn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .game-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .game-stats .stat span:first-child {
        font-size: 0.8rem;
    }
    
    .game-stats .stat span:last-child {
        font-size: 1rem;
    }
    
    /* Community Mobile */
    .social-links {
        gap: 20px;
        padding: 0 15px;
    }
    
    .social-link {
        padding: 25px 20px;
        min-width: 150px;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .social-icon img {
        width: 28px;
        height: 28px;
    }
    
    .social-link span {
        font-size: 1rem;
    }
    
    .social-desc {
        font-size: 0.8rem;
    }
    
    .contract-info {
        padding: 0 15px;
    }
    
    .contract-info h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .contract-address {
        padding: 15px;
        gap: 15px;
        margin: 0 15px;
    }
    
    .contract-address span {
        font-size: 0.85rem;
    }
    
    .copy-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-logo {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo span {
        font-size: 1rem;
    }
    
    .footer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Modal Mobile */
    .modal-content {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .custom-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification-content {
        padding: 12px 15px;
    }
    
    .notification-message {
        font-size: 0.85rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .modal-albert {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .modal-body p {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .modal-footer {
        gap: 15px;
        margin-top: 20px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-main-title {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
    }
    
    .hero-main-logo {
        width: clamp(25px, 3.5vw, 40px);
        height: clamp(25px, 3.5vw, 40px);
        margin-left: 8px;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.8rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contract-address-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-image-container img {
        height: 200px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .contract-address {
        flex-direction: column;
    }
    
    #spaceGameCanvas {
        max-width: 320px;
        height: 240px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
}