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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #0f0f23 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    line-height: 1.6;
}

/* Subtle Star Field */
.stars, .stars2, .stars3 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.stars {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="20" r="0.5" fill="white"/><circle cx="80" cy="30" r="0.3" fill="white"/><circle cx="30" cy="70" r="0.4" fill="white"/><circle cx="60" cy="10" r="0.2" fill="white"/><circle cx="90" cy="80" r="0.6" fill="white"/></svg>') repeat;
    animation: move-stars 200s linear infinite;
}

.stars2 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="0.4" fill="white"/><circle cx="75" cy="75" r="0.6" fill="white"/><circle cx="15" cy="80" r="0.3" fill="white"/></svg>') repeat;
    animation: move-stars 300s linear infinite;
}

.stars3 {
    background: transparent url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="0.3" fill="white"/><circle cx="5" cy="95" r="0.4" fill="white"/></svg>') repeat;
    animation: move-stars 400s linear infinite;
}

@keyframes move-stars {
    from { transform: translateY(0px); }
    to { transform: translateY(-100vh); }
}

/* Floating Interactive Elements */
/* Star Wars Crawling Text - COMPLETELY NEW APPROACH */
.crawl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.crawl-text {
    position: absolute;
    bottom: -200vh;
    left: 50%;
    width: 100vw;
    color: #FFE81F;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
    animation: massiveCrawl 40s linear infinite;
    transform: translateX(-50%);
    font-size: 8vw;
}

.crawl-title {
    font-size: 20vw;
    font-weight: 900;
    text-align: center;
    margin-bottom: 8vh;
    color: #FFE81F;
    text-shadow: 0 0 80px #FFE81F, 0 0 120px #FFE81F;
    letter-spacing: 2vw;
    text-transform: uppercase;
}

.crawl-subtitle {
    font-size: 15vw;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10vh;
    color: #FFE81F;
    text-shadow: 0 0 60px #FFE81F, 0 0 100px #FFE81F;
    letter-spacing: 1.5vw;
    text-transform: uppercase;
}

.crawl-content {
    font-size: 12vw;
    line-height: 1.3;
    margin-bottom: 8vh;
    text-align: center;
}

.crawl-content p {
    margin-bottom: 8vh;
    text-align: center;
}

@keyframes massiveCrawl {
    0% {
        bottom: -200vh;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        bottom: 150vh;
        opacity: 0;
    }
}

/* Main Layout */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

/* Content Card */
.content-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 3rem 2rem;
    max-width: 600px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Enhanced Droid Eyes */
.droid-indicator {
    margin-bottom: 2rem;
    position: relative;
}

.droid-eyes {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 1rem;
    position: relative;
}

.eye {
    width: 24px;
    height: 24px;
    background: radial-gradient(circle at 40% 40%, #ffff00, #ffaa00, #ff6600, #cc3300);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    
    /* Intense Sith glow effect */
    box-shadow: 
        0 0 20px #ffaa00,
        0 0 40px rgba(255, 170, 0, 0.8),
        0 0 60px rgba(255, 170, 0, 0.6),
        0 0 80px rgba(255, 170, 0, 0.4),
        inset 0 0 8px rgba(255, 255, 255, 0.3),
        inset 0 0 4px rgba(0, 0, 0, 0.4);
    
    /* Menacing pulsing animation */
    animation: sith-glow 2.5s ease-in-out infinite;
}

.pupil {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%, #333333, #000000);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
    
    /* Dark pupil with menacing shadow */
    box-shadow: 
        inset 1px 1px 2px rgba(255, 170, 0, 0.3),
        0 0 3px rgba(0, 0, 0, 0.8),
        0 0 6px rgba(255, 170, 0, 0.4);
}

.eye::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.9), rgba(255, 170, 0, 0.4));
    border-radius: 50%;
    /* Sith-like golden reflection */
    z-index: 2;
}

.eye:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px #ffaa00,
        0 0 50px rgba(255, 170, 0, 0.9),
        0 0 70px rgba(255, 170, 0, 0.6),
        0 0 90px rgba(255, 170, 0, 0.3);
}

@keyframes sith-glow {
    0%, 100% { 
        box-shadow: 
            0 0 20px #ffaa00,
            0 0 40px rgba(255, 170, 0, 0.8),
            0 0 60px rgba(255, 170, 0, 0.6),
            0 0 80px rgba(255, 170, 0, 0.4),
            inset 0 0 8px rgba(255, 255, 255, 0.3),
            inset 0 0 4px rgba(0, 0, 0, 0.4);
    }
    50% { 
        box-shadow: 
            0 0 30px #ffaa00,
            0 0 60px rgba(255, 170, 0, 0.9),
            0 0 90px rgba(255, 170, 0, 0.7),
            0 0 120px rgba(255, 170, 0, 0.5),
            inset 0 0 12px rgba(255, 255, 255, 0.4),
            inset 0 0 6px rgba(0, 0, 0, 0.5);
    }
}

/* Typography */
.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.text-line {
    display: block;
    background: linear-gradient(45deg, #4a9eff, #0066cc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: subtle-glow 4s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.2); }
}

/* Status Display */
.status-display {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #ffd700;
}

.status-label {
    color: #aaa;
    margin-right: 0.5rem;
}

.status-value {
    color: #ffd700;
    font-weight: 600;
}

/* Message Box */
.message-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.message-box p {
    margin-bottom: 0.5rem;
}

.message-box p:last-child {
    margin-bottom: 0;
}

/* Buttons */
.buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    font-family: 'Inter', sans-serif;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 160px;
}

.btn-primary {
    background: linear-gradient(135deg, #4a9eff, #0066cc);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 158, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 158, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .content-card {
        padding: 2rem 1.5rem;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

/* Special Effects */
.force-effect {
    animation: gentle-force 1s ease-out;
}

@keyframes gentle-force {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); filter: brightness(1.1); }
    100% { transform: scale(1); }
}
