body {
    font-family: 'Orbitron', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

/* iOS Safari video fixes */
@supports (-webkit-overflow-scrolling: touch) {
    #background-video {
        object-position: center center;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
}

/* Prevent video controls from showing */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.hero-title {
    font-size: 8vw;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff;
    margin: 0;
    position: relative;
    animation: neon-glow 1.5s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    0% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff; }
    100% { text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff, 0 0 60px #00ffff, 0 0 80px #00ffff; }
}

.explosion-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10vw;
    color: #ff4500;
    text-shadow: 0 0 20px #ff4500, 0 0 40px #ff4500, 0 0 60px #ff4500;
    animation: explode 0.5s forwards;
    opacity: 0;
}

@keyframes explode {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(2); }
}

.hero-subtitle {
    font-size: 2vw;
    color: #cccccc;
    margin-top: 1rem;
}

.reasons {
    padding: 100px 50px;
    text-align: center;
}

.reasons h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.action-call {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    text-align: center;
}

.action-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.action-call h2 {
    font-size: 3rem;
    color: #ffffff;
    margin: 0;
    padding: 0 50px;
}

.pointing-hand {
    font-size: 4rem;
    margin: 0 auto 20px;
    animation: point 2s infinite;
    transform-origin: center;
    contain: layout;
    display: block;
    width: 4rem;
    text-align: center;
}

@keyframes point {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.reason-card {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #00ffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px #00ffff;
}

.highlighted-card {
    background-color: #00ffff;
    color: #121212;
    transform: scale(1.1) translateY(-20px);
    box-shadow: 0 0 25px #00ffff;
    z-index: 10;
    position: relative;
}

.highlighted-card:hover {
    transform: scale(1.15) translateY(-25px);
    box-shadow: 0 0 35px #00ffff;
}

.fact-generator {
    padding: 100px 50px;
    text-align: center;
    background-color: #1a1a1a;
}

.fact-generator h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ffffff;
}

#fact-display {
    font-size: 1.5rem;
    min-height: 60px;
    margin-bottom: 30px;
    color: #cccccc;
}

#fact-button {
    background-color: #00ffff;
    color: #121212;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#fact-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.social {
    padding: 100px 50px;
    text-align: center;
}

.insta-button {
    display: inline-block;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    padding: 20px 40px;
    font-size: 2rem;
    text-decoration: none;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.insta-button:hover {
    transform: scale(1.05);
}

.quiz {
    padding: 100px 50px;
    text-align: center;
}

.quiz h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #ffffff;
}

#quiz-question {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #cccccc;
}

#quiz-progress,
#quiz-result {
    color: #00ffff;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

#quiz-answers button {
    background-color: #00ffff;
    color: #121212;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    margin: 0 10px;
}

#quiz-answers button:hover {
    background-color: #ffffff;
    color: #000000;
}

button.correct {
    background-color: #00ff00 !important;
}

button.incorrect {
    background-color: #ff5555 !important;
}

#confetti-button {
    background-color: #ffca28;
    color: #333;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-top: 20px;
}

#confetti-button:hover {
    transform: scale(1.05);
}

.loading-page {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.loading-grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 40px;
}

.loading-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.loading-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.loading-text {
    color: #00ffff;
    font-size: 1.5rem;
    text-align: center;
    text-shadow: 0 0 10px #00ffff;
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

.impressum {
    text-align: center;
    padding-bottom: 2em;
}

.impressum a {
    color: #00ffff;
    text-decoration: none;
    margin: 1em;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

/* Enhanced Impressum Page Styling */
.impressum-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 50%, #121212 100%);
    padding: 0;
}

.impressum-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
    margin-top: 40px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.impressum-page h1 {
    font-size: 4rem;
    color: #00ffff;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% { text-shadow: 0 0 20px rgba(0, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 40px rgba(0, 255, 255, 0.3); }
}

.impressum-section {
    background-color: rgba(18, 18, 18, 0.5);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.impressum-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.impressum-section p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
    text-align: left;
}

.contact-info {
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(0, 255, 255, 0.05));
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    text-align: center;
}

.contact-info h3 {
    color: #00ffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.contact-detail {
    margin: 15px 0;
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-detail strong {
    color: #00ffff;
    font-weight: 700;
}

.legal-section {
    margin-top: 40px;
}

.legal-section h3 {
    color: #00ffff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 10px;
}

.back-button {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #00cccc);
    color: #121212;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    margin-top: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.back-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.5);
    background: linear-gradient(45deg, #ffffff, #00ffff);
}

/* Mobile responsive design */
@media (max-width: 768px) {
    .impressum-container {
        margin: 20px;
        padding: 40px 20px;
    }
    
    .impressum-page h1 {
        font-size: 3rem;
    }
    
    .impressum-section {
        padding: 30px 20px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-detail {
        font-size: 1.1rem;
    }
    
    #background-video {
        object-fit: cover;
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        max-height: 100%;
    }
    
    .hero {
        height: 100vh;
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 12vw;
        z-index: 1;
    }
    
    .hero-subtitle {
        font-size: 4vw;
        z-index: 1;
    }
}

.merch-store {
    padding: 100px 50px;
    text-align: center;
    background-color: #181818;
}

.merch-store h2 {
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #00ffff;
}

.merch-coming-soon {
    font-size: 1.2rem;
    color: #222;
    background: linear-gradient(90deg, #b2fefa 0%, #e0c3fc 100%);
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    box-shadow: 0 0 8px #b2fefa66, 0 0 12px #e0c3fc33;
    margin-top: 16px;
    font-weight: 500;
    animation: merch-glow-gentle 2s infinite alternate;
    text-shadow: 0 1px 4px #fff8, 0 0 2px #b2fefa88;
    transition: all 0.3s;
    cursor: pointer;
    user-select: none;
}

.merch-coming-soon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #b2fefa99, 0 0 30px #e0c3fc66;
    background: linear-gradient(90deg, #e0c3fc 0%, #b2fefa 100%);
}

.merch-coming-soon:active {
    transform: scale(0.95);
}

.clothing-emoji {
    position: fixed;
    font-size: 4rem;
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.8));
    text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(0, 255, 255, 0.8);
    user-select: none;
    animation: emoji-glow 2s ease-in-out infinite alternate;
}

@keyframes emoji-glow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.8));
        text-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 60px rgba(0, 255, 255, 0.8);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 1)) drop-shadow(0 0 60px rgba(0, 255, 255, 1));
        text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(0, 255, 255, 1);
    }
}

@keyframes merch-glow-gentle {
    0% { box-shadow: 0 0 8px #b2fefa66, 0 0 12px #e0c3fc33; }
    100% { box-shadow: 0 0 16px #b2fefa99, 0 0 24px #e0c3fc55; }
}

.loading-emoji {
    font-size: 6rem;
    display: inline-block;
    filter: drop-shadow(0 0 20px #ffca28) drop-shadow(0 0 40px #00ffff);
    margin-bottom: 10px;
    animation: emoji-spin 0.7s linear infinite;
}

@keyframes emoji-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

.silly-bounce {
    animation: silly-bounce 0.5s infinite alternate cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes silly-bounce {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(20px) scale(1.1) rotate(-10deg); }
}

.loading-fact {
    color: #ffca28;
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 0 0 10px #ffca28, 0 0 20px #fff;
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, 'Orbitron', sans-serif;
    animation: fact-pop 1s infinite alternate;
}

@keyframes fact-pop {
    0% { letter-spacing: 0.5px; }
    100% { letter-spacing: 2px; }
}

.cancel-redirect {
    background: linear-gradient(90deg, #ff5555 0%, #ffca28 100%);
    color: #121212;
    border: none;
    padding: 15px 40px;
    font-size: 1.3rem;
    font-family: 'Orbitron', 'Comic Sans MS', cursive, sans-serif;
    border-radius: 30px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 0 0 15px #ffca28, 0 0 10px #ff5555;
    transition: transform 0.2s, background 0.2s;
    animation: cancel-wiggle 1s infinite alternate;
}

.cancel-redirect:disabled {
    background-color: #ff4444;
    cursor: not-allowed;
}

@keyframes cancel-wiggle {
    0% { transform: rotate(-3deg) scale(1); }
    100% { transform: rotate(3deg) scale(1.08); }
}

.time-machine {
    padding: 100px 50px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.time-machine h2 {
    font-size: 3rem;
    margin-bottom: 50px;
    color: #ffffff;
    text-shadow: 0 0 10px #4a9eff;
}

.time-machine-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.time-portal {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #4a9eff, #00ffff, #4a9eff);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portal-spinning {
    animation: portal-spin 10s linear infinite;
}

.portal-content {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.portal-image {
    font-size: 5rem;
    animation: float 3s ease-in-out infinite;
}

#time-period {
    font-size: 1rem;
    color: #ffffff;
    text-shadow: 0 0 5px #4a9eff;
    max-width: 200px;
}

#time-travel-btn {
    background-color: #4a9eff;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#time-travel-btn:hover {
    background-color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.4);
}

#time-travel-btn:disabled {
    background-color: #2a2a2a;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

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

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

.portal-flash {
    animation: flash 0.5s ease-out;
}

@keyframes flash {
    0% { filter: brightness(1); }
    50% { filter: brightness(3); }
    100% { filter: brightness(1); }
}