/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', cursive;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #8B4513 0%, #A0522D 25%, #CD853F 50%, #D2691E 75%, #B8860B 100%);
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Styles - alles komplett unsichtbar */
body.dark-mode {
    background: #000;
    color: #000;
    position: relative;
}

/* Schlüsselloch-Effekt */
body.dark-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 15%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.98) 25%, #000 30%);
    z-index: 1000;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: keyholePulse 3s ease-in-out infinite;
}

@keyframes keyholePulse {
    0%, 100% { 
        background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 15%, rgba(0, 0, 0, 0.95) 20%, rgba(0, 0, 0, 0.98) 25%, #000 30%);
    }
    50% { 
        background: radial-gradient(circle at 50% 50%, transparent 0%, transparent 12%, rgba(0, 0, 0, 0.9) 18%, rgba(0, 0, 0, 0.95) 23%, #000 28%);
    }
}

/* Light Switch */
.light-switch-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
    transition: all 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

body.light-mode .light-switch-container {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.light-switch {
    position: relative;
    width: 120px;
    height: 200px;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.light-switch:hover {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 12px 24px rgba(255, 215, 0, 0.6));
    animation: hoverPulse 1.5s ease-in-out infinite;
}

.light-switch:active {
    transform: scale(0.95) rotate(-2deg);
    transition: all 0.1s ease;
}

@keyframes hoverPulse {
    0%, 100% { 
        filter: drop-shadow(0 12px 24px rgba(255, 215, 0, 0.6));
    }
    50% { 
        filter: drop-shadow(0 16px 32px rgba(255, 215, 0, 0.8));
    }
}

/* Smaller switch when in top right */
body.light-mode .light-switch {
    width: 80px;
    height: 130px;
    margin: 0 auto 10px;
}

body.light-mode .switch-label {
    font-size: 1rem;
}

.switch-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.switch-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.5s ease;
}

body.dark-mode .switch-glow {
    opacity: 1;
    animation: pulse 2s ease-in-out infinite;
}

/* Click Animation */
.light-switch.clicking {
    animation: clickExplosion 0.6s ease-out;
}

@keyframes clickExplosion {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    }
    25% {
        transform: scale(0.9) rotate(-5deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: scale(1.3) rotate(10deg);
        filter: drop-shadow(0 20px 40px rgba(255, 215, 0, 0.8));
    }
    75% {
        transform: scale(1.1) rotate(-3deg);
        filter: drop-shadow(0 15px 30px rgba(255, 215, 0, 0.6));
    }
    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.switch-label {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transition: all 0.3s ease;
}

body.light-mode .switch-label {
    color: #ff6b6b;
}

/* Logo */
.logo-container {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    will-change: auto;
}

.logo {
    height: 218px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    transform-origin: center;
}

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

/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    position: relative;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.section-container {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: white;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeInUp 1.5s ease-out;
}

/* Video Section */
.video-section {
    background: 
        linear-gradient(rgba(139, 69, 19, 0.3), rgba(160, 82, 45, 0.3)),
        url('./images/background1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

/* Book Section */
.book-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./images/sektor2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Clickable Book Area */
.book-click-area {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 300px;
    cursor: pointer;
    background: transparent;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    z-index: 10;
    /* Komplett unsichtbar - nur klickbarer Bereich */
    opacity: 0;
    visibility: visible;
}

/* Kein Hover-Effekt - bleibt komplett unsichtbar */

/* Video Popup */
.video-popup {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    transition: opacity 0.3s ease;
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: 80%;
    max-width: 800px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.close-popup:hover {
    color: #ff6b6b;
    transform: scale(1.1);
}

#popupVideo {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.book-page {
    position: relative;
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 
        0 25px 50px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(139, 69, 19, 0.2);
    border: 3px solid #8B4513;
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateY(-5deg);
    min-width: 600px;
    min-height: 800px;
}

.book-page:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-10px);
    box-shadow: 
        0 35px 70px rgba(139, 69, 19, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(139, 69, 19, 0.3);
}


.book-image {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 
        0 15px 30px rgba(139, 69, 19, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    border: 2px solid #8B4513;
    filter: sepia(20%) contrast(1.1);
}

.opa-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: 100%;
    height: 100vh;
    padding: 0;
}

.opa-image {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    object-position: right bottom;
    display: block;
}

/* Talk Button */
.talk-button {
    position: absolute;
    top: 30%;
    right: 5%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.talk-button:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.talk-button:active {
    transform: scale(0.95) rotate(2deg);
    transition: all 0.1s ease;
}

.talk-image {
    width: 240px;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}




.page-indicator {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(145deg, #8B4513, #A0522D);
    color: #F5F5DC;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    border: 2px solid #654321;
    box-shadow: 
        0 4px 8px rgba(139, 69, 19, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Arrows */
.nav-arrow {
    background: linear-gradient(145deg, #8B4513, #A0522D);
    border: 3px solid #654321;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    font-size: 3rem;
    font-weight: bold;
    color: #F5F5DC;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 10px 25px rgba(139, 69, 19, 0.5),
        inset 0 3px 6px rgba(255, 255, 255, 0.3),
        inset 0 -3px 6px rgba(0, 0, 0, 0.4);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Arrow Images */
.arrow-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.6));
    transition: all 0.3s ease;
}

.arrow-left {
    transform: scaleX(-1); /* Spiegelung für linken Pfeil */
}

.arrow-right {
    transform: scaleX(1); /* Normal für rechten Pfeil */
}

.nav-arrow::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(145deg, #CD853F, #D2691E);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.nav-arrow:hover {
    background: linear-gradient(145deg, #A0522D, #CD853F);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 15px 35px rgba(139, 69, 19, 0.6),
        inset 0 3px 6px rgba(255, 255, 255, 0.4),
        inset 0 -3px 6px rgba(0, 0, 0, 0.5);
    color: #FFF8DC;
}

.nav-arrow:hover::before {
    opacity: 0.3;
    transform: scale(1.1);
}

.nav-arrow:active {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 8px 20px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.nav-left {
    margin-right: 1rem;
}

.nav-right {
    margin-left: 1rem;
}

/* NFT Section */
.nft-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./images/sektor3-1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Sector 3 Navigation Arrows */
.sector3-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 240px;
    height: 240px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector3-left {
    left: 4rem;
}

.sector3-right {
    right: 4rem;
}

.sector3-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

.sector3-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.sector3-arrow .arrow-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    transition: all 0.3s ease;
    animation: gentleGlow 2s ease-in-out infinite alternate;
}

.sector3-arrow:hover .arrow-image {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
    animation: strongGlow 0.5s ease-in-out infinite alternate;
}

@keyframes gentleGlow {
    0% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    }
    100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 25px rgba(255, 255, 255, 0.8));
    }
}

@keyframes strongGlow {
    0% {
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.8));
    }
    100% {
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(255, 255, 255, 1));
    }
}

/* Flash Effect for Sector 3 */
.sector3-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9998;
    pointer-events: none;
    animation: photoFlash 0.3s ease-out;
}

@keyframes photoFlash {
    0% {
        opacity: 0;
        background: rgba(255, 255, 255, 0);
    }
    50% {
        opacity: 1;
        background: rgba(255, 255, 255, 0.9);
    }
    100% {
        opacity: 0;
        background: rgba(255, 255, 255, 0);
    }
}

.nft-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.nft-display {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 400px;
    min-height: 400px;
    transition: all 0.3s ease;
}

.nft-display:hover {
    transform: translateY(-10px);
}

.nft-image {
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
    border-radius: 15px;
    box-shadow: 
        0 20px 40px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(139, 69, 19, 0.2);
    border: 4px solid #8B4513;
    filter: sepia(20%) contrast(1.1);
    object-fit: contain;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    padding: 0.5rem;
}



/* Social Section */
.social-section {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('./images/sektor4.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* X.com Link Overlay - Unsichtbarer klickbarer Bereich */
.x-link-overlay {
    position: absolute;
    top: 25%;
    left: 42%;
    transform: translateX(-50%);
    width: 240px;
    height: 288px;
    z-index: 10;
    cursor: pointer;
    background: transparent;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    /* Komplett unsichtbar - nur klickbarer Bereich */
    opacity: 0;
    visibility: visible;
}

/* Kein Hover-Effekt - bleibt komplett unsichtbar */

/* Active State für Touch-Feedback */
.x-link-overlay:active {
    opacity: 0.2;
    visibility: visible;
    background: rgba(29, 161, 242, 0.3);
    transform: translateX(-50%) scale(0.95);
    transition: all 0.1s ease;
}

/* OpenSea Link Overlay - Unsichtbarer klickbarer Bereich für das Schiff */
.ship-link-overlay {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translateX(-50%);
    width: 264px;
    height: 458px;
    z-index: 10;
    cursor: pointer;
    background: transparent;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    /* Komplett unsichtbar - nur klickbarer Bereich */
    opacity: 0;
    visibility: visible;
}

/* Kein Hover-Effekt - bleibt komplett unsichtbar */

/* Active State für Touch-Feedback */
.ship-link-overlay:active {
    opacity: 0.2;
    visibility: visible;
    background: rgba(0, 122, 255, 0.3);
    transform: translateX(-50%) scale(0.95);
    transition: all 0.1s ease;
}


.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #F5F5DC, #F0E68C);
    padding: 2rem;
    border-radius: 25px;
    text-decoration: none;
    color: #8B4513;
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 
        0 20px 40px rgba(139, 69, 19, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(139, 69, 19, 0.2);
    border: 3px solid #8B4513;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    gap: 1rem;
}

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

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

.social-card:hover {
    background: linear-gradient(145deg, #FFF8DC, #F5F5DC);
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(139, 69, 19, 0.3);
    color: #A0522D;
}

.social-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #8B4513, #A0522D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    box-shadow: 
        0 8px 16px rgba(139, 69, 19, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.6s ease;
}

.social-card:hover .social-icon-wrapper {
    background: linear-gradient(145deg, #A0522D, #CD853F);
    transform: scale(1.1) rotate(360deg);
    box-shadow: 
        0 12px 24px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.4);
}

.social-icon {
    font-size: 2.5rem;
    color: #F5F5DC;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.6s ease;
}

.social-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.6s ease;
}

.social-card:hover .social-icon {
    color: #FFF8DC;
    transform: scale(1.2);
}

.social-card:hover .social-logo {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}


.social-arrow {
    font-size: 2rem;
    color: #8B4513;
    transition: all 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-arrow-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
    transition: all 0.6s ease;
}

.social-card:hover .social-arrow {
    color: #A0522D;
    transform: translateX(10px) scale(1.2);
}

.social-card:hover .social-arrow-image {
    transform: translateX(10px) scale(1.2);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.4));
}

.nav-arrow:hover .arrow-image {
    transform: scale(1.1);
    filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.8));
}

.nav-arrow:hover .arrow-left {
    transform: scaleX(-1) scale(1.1);
}

.nav-arrow:hover .arrow-right {
    transform: scaleX(1) scale(1.1);
}

/* Specific card styles */
.twitter-card:hover {
    border-color: #1DA1F2;
    box-shadow: 
        0 30px 60px rgba(29, 161, 242, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(139, 69, 19, 0.3);
}


.opensea-card:hover {
    border-color: #2081E2;
    box-shadow: 
        0 30px 60px rgba(32, 129, 226, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(139, 69, 19, 0.3);
}

/* Dark Mode - alles unsichtbar außer Lichtschalter */
body.dark-mode .section,
body.dark-mode .section-title,
body.dark-mode .book-container,
body.dark-mode .book-page,
body.dark-mode .book-image,
body.dark-mode .page-indicator,
body.dark-mode .nav-arrow,
body.dark-mode .nft-container,
body.dark-mode .nft-display,
body.dark-mode .nft-image,
body.dark-mode .nft-info,
body.dark-mode .social-container,
body.dark-mode .social-grid,
body.dark-mode .social-card,
body.dark-mode .social-icon-wrapper,
body.dark-mode .social-icon,
body.dark-mode .social-content,
body.dark-mode .social-arrow {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* Logo ist im Dark Mode unsichtbar */
body.dark-mode .logo-container {
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
}

/* X-Link bleibt im Dark Mode sichtbar/klickbar */
body.dark-mode .x-link-overlay {
    opacity: 0 !important;
    visibility: visible !important;
    display: flex !important;
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
    color: #333;
    animation: lightModeReveal 1.2s ease-out;
}

@keyframes lightModeReveal {
    0% {
        background: #000;
        opacity: 0.1;
    }
    30% {
        background: radial-gradient(circle at 50% 50%, #1a252f 0%, #000 70%);
        opacity: 0.3;
    }
    60% {
        background: radial-gradient(circle at 50% 50%, #1a252f 0%, #2c3e50 50%, #000 80%);
        opacity: 0.7;
    }
    100% {
        background: linear-gradient(135deg, #1a252f 0%, #2c3e50 100%);
        opacity: 1;
    }
}

body.light-mode .logo-container {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    position: fixed !important;
    top: 2rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
}

body.light-mode .section,
body.light-mode .section-title,
body.light-mode .book-container,
body.light-mode .book-page,
body.light-mode .book-image,
body.light-mode .page-indicator,
body.light-mode .nav-arrow,
body.light-mode .nft-container,
body.light-mode .nft-display,
body.light-mode .nft-image,
body.light-mode .nft-info,
body.light-mode .social-container,
body.light-mode .social-grid,
body.light-mode .social-card,
body.light-mode .social-icon-wrapper,
body.light-mode .social-icon,
body.light-mode .social-content,
body.light-mode .social-arrow,
body.light-mode .x-link-overlay {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
}

body.light-mode .social-grid {
    display: grid !important;
}

body.light-mode .social-card {
    display: flex !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        height: 80px; /* Vergrößert von 40px für bessere Sichtbarkeit */
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .book-container,
    .nft-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .book-page {
        min-width: 300px;
        min-height: 400px;
        padding: 2rem;
    }
    
    .book-image {
        max-height: 350px;
    }
    
    .opa-image {
        max-height: 60vh; /* Vergrößert von 40vh für bessere Sichtbarkeit */
    }
    
    .talk-button {
        top: 25%;
        right: 2%;
    }
    
    .talk-image {
        width: 200px; /* Vergrößert von 160px für bessere Touch-Bedienung */
    }
    
    /* Light Switch Mobile Optimierung */
    .light-switch {
        width: 100px; /* Verkleinert von 120px für Mobile */
        height: 160px; /* Verkleinert von 200px für Mobile */
    }
    
    body.light-mode .light-switch {
        width: 70px; /* Verkleinert von 80px für Mobile */
        height: 110px; /* Verkleinert von 130px für Mobile */
    }
    
    /* Lichtschalter Container für Mobile - IMMER SICHTBAR */
    .light-switch-container {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        z-index: 9999 !important;
        pointer-events: auto !important;
    }
    
    /* Licht an Schalter (on.png) in Mobile-Version ausblenden */
    body.light-mode .light-switch-container {
        display: none !important;
    }
    
    /* Licht aus Schalter (off.png) in Mobile-Version sichtbar */
    body.dark-mode .light-switch-container {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Book Click Area Mobile Optimierung */
    .book-click-area {
        width: 336px; /* Vergrößert um 20% für bessere Touch-Bedienung */
        height: 420px; /* Vergrößert um 20% für bessere Touch-Bedienung */
    }
    
    /* Sector 3 Arrows Mobile Optimierung */
    .sector3-arrow {
        width: 120px; /* Verkleinert von 240px für Mobile */
        height: 120px; /* Verkleinert von 240px für Mobile */
    }
    
    .sector3-left {
        left: 1rem; /* Verkleinert von 4rem für Mobile */
    }
    
    .sector3-right {
        right: 1rem; /* Verkleinert von 4rem für Mobile */
    }
    
    /* Video Popup Mobile Optimierung */
    .popup-content {
        width: 95%; /* Vergrößert von 80% für Mobile */
        max-width: 95%; /* Entfernt max-width: 800px für Mobile */
        padding: 15px; /* Verkleinert von 20px für Mobile */
    }
    
    .close-popup {
        top: 5px; /* Angepasst für Mobile */
        right: 15px; /* Angepasst für Mobile */
        font-size: 30px; /* Verkleinert von 35px für Mobile */
    }
    
    .nav-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .arrow-image {
        width: 25px;
        height: 25px;
    }
    
    .social-arrow-image {
        width: 18px;
        height: 18px;
    }
    
    .nav-left,
    .nav-right {
        margin: 0;
    }
    
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-card {
        padding: 1.5rem;
        flex-direction: row;
        text-align: center;
    }
    
    .social-icon-wrapper {
        margin-right: 0;
        margin-bottom: 0;
        width: 60px;
        height: 60px;
    }
    
    .social-icon {
        font-size: 2rem;
    }
    
    .social-logo {
        width: 40px;
        height: 40px;
    }
    
    .social-arrow {
        margin-left: 0;
    }
    
    /* X-Link Mobile Optimierung */
    .x-link-overlay {
        width: 200px;
        height: 240px;
    }
}

/* Zusätzliche Mobile Breakpoints */
@media (max-width: 1024px) {
    /* Tablet Optimierungen */
    .logo {
        height: 120px;
    }
    
    .light-switch {
        width: 110px;
        height: 180px;
    }
    
    body.light-mode .light-switch {
        width: 75px;
        height: 120px;
    }
    
    .sector3-arrow {
        width: 180px;
        height: 180px;
    }
    
    .sector3-left {
        left: 2rem;
    }
    
    .sector3-right {
        right: 2rem;
    }
    
    /* X-Link Tablet Optimierung */
    .x-link-overlay {
        width: 220px;
        height: 264px;
    }
}

@media (max-width: 600px) {
    /* Kleine Tablets / große Mobile */
    .logo {
        height: 70px;
    }
    
    .talk-image {
        width: 180px;
    }
    
    .book-click-area {
        width: 312px;
        height: 384px;
    }
    
    .sector3-arrow {
        width: 140px;
        height: 140px;
    }
    
    /* X-Link kleine Tablets Optimierung */
    .x-link-overlay {
        width: 180px;
        height: 216px;
    }
}

@media (max-width: 480px) {
    /* Standard Mobile */
    .logo {
        height: 60px; /* Weitere Verkleinerung für kleine Mobile */
    }
    
    .section-title {
        font-size: 1.5rem; /* Verkleinert für kleine Mobile */
    }
    
    .social-grid {
        grid-template-columns: 1fr;
    }
    
    .book-page {
        min-width: 250px;
        min-height: 300px;
        padding: 1rem;
    }
    
    .book-image {
        max-height: 250px;
    }
    
    .opa-image {
        max-height: 50vh; /* Vergrößert von 30vh für bessere Sichtbarkeit */
    }
    
    .talk-button {
        top: 20%;
        right: 1%;
    }
    
    .talk-image {
        width: 150px; /* Vergrößert von 120px für bessere Touch-Bedienung */
    }
    
    /* Light Switch für kleine Mobile - ENTFERNT, wird in Mobile Sections überschrieben */
    
    /* Book Click Area für kleine Mobile */
    .book-click-area {
        width: 288px;
        height: 360px;
    }
    
    /* Sector 3 Arrows für kleine Mobile */
    .sector3-arrow {
        width: 100px;
        height: 100px;
    }
    
    .sector3-left {
        left: 0.5rem;
    }
    
    .sector3-right {
        right: 0.5rem;
    }
    
    /* Video Popup für kleine Mobile */
    .popup-content {
        width: 98%;
        padding: 10px;
    }
    
    .close-popup {
        top: 3px;
        right: 10px;
        font-size: 25px;
    }
    
    .nft-display {
        padding: 1rem;
    }
    
    /* X-Link Standard Mobile Optimierung */
    .x-link-overlay {
        width: 160px;
        height: 192px;
    }
}

@media (max-width: 360px) {
    /* Sehr kleine Mobile Geräte */
    .logo {
        height: 50px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .talk-image {
        width: 120px;
    }
    
    .book-click-area {
        width: 264px;
        height: 336px;
    }
    
    .sector3-arrow {
        width: 80px;
        height: 80px;
    }
    
    /* Light Switch für sehr kleine Mobile - ENTFERNT, wird in Mobile Sections überschrieben */
    
    .popup-content {
        width: 99%;
        padding: 8px;
    }
    
    /* X-Link sehr kleine Mobile Optimierung */
    .x-link-overlay {
        width: 140px;
        height: 168px;
    }
}

/* Mobile Touch Optimierungen */
@media (max-width: 768px) {
    /* Verbesserte Touch-Targets */
    .light-switch,
    .talk-button,
    .sector3-arrow,
    .book-click-area,
    .x-link-overlay {
        min-height: 44px; /* Apple's empfohlene Mindestgröße für Touch-Targets */
        min-width: 44px;
    }
    
    /* Verhindert Zoom beim Doppel-Tap */
    input, textarea, select {
        font-size: 16px;
    }
    
    /* Verbesserte Hover-Effekte für Touch-Geräte */
    .light-switch:hover,
    .talk-button:hover,
    .sector3-arrow:hover {
        transform: none; /* Deaktiviert Hover-Transforms auf Touch-Geräten */
    }
    
    /* Active States für bessere Touch-Feedback */
    .light-switch:active {
        transform: scale(0.95);
        transition: all 0.1s ease;
    }
    
    .talk-button:active {
        transform: scale(0.9);
        transition: all 0.1s ease;
    }
    
    .sector3-arrow:active {
        transform: translateY(-50%) scale(0.9);
        transition: all 0.1s ease;
    }
    
    .book-click-area:active {
        transform: translate(-50%, -50%) scale(0.95);
        transition: all 0.1s ease;
    }
    
    .x-link-overlay:active {
        transform: translateX(-50%) scale(0.9);
        transition: all 0.1s ease;
    }
}

/* Mobile Sections - Bilder in voller Breite sichtbar */
@media (max-width: 768px) {
    /* Alle Sektionen für Mobile optimieren */
    .section {
        min-height: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        aspect-ratio: 16/9;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }
    
    /* Entfernt alle Hintergründe zwischen Sektionen */
    .section::before,
    .section::after {
        display: none !important;
    }
    
    /* Video Section - Bild in voller Breite */
    .video-section {
        background: 
            linear-gradient(rgba(139, 69, 19, 0.3), rgba(160, 82, 45, 0.3)),
            url('./images/background1.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    /* Book Section - Bild in voller Breite */
    .book-section {
        background: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
            url('./images/sektor2.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    /* NFT Section - Bild in voller Breite - JavaScript kann überschreiben */
    .nft-section {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    /* Social Section - Bild in voller Breite */
    .social-section {
        background: 
            linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
            url('./images/sektor4.png') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }
    
    /* Talk Button - Sichtbar und richtig positioniert */
    .talk-button {
        position: absolute !important;
        top: 20% !important;
        right: 1% !important;
        z-index: 1000 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }
    
    /* Talk Button Image kleiner machen */
    .talk-image {
        width: 80px !important;
        height: auto !important;
    }
    
    /* Licht an Schalter (on.png) in Mobile-Version ausblenden */
    body.light-mode .light-switch-container {
        display: none !important;
    }
    
    /* Licht aus Schalter (off.png) in Mobile-Version sichtbar */
    body.dark-mode .light-switch-container {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Opa Container für Mobile anpassen */
    .opa-container {
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        display: block !important;
        align-items: unset !important;
        justify-content: unset !important;
    }
    
    /* Opa Image für Mobile anpassen - 1cm weiter runter */
    .opa-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center !important;
        display: block !important;
        margin-top: 1cm !important;
    }
    
    /* Sektor 3 Pfeile für Mobile optimieren */
    .sector3-arrow {
        width: 80px !important;
        height: 80px !important;
        z-index: 1000 !important;
        pointer-events: auto !important;
    }
    
    .sector3-left {
        left: 0.5rem !important;
    }
    
    .sector3-right {
        right: 0.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.section {
    animation: fadeInUp 0.3s ease-out;
}

.section:nth-child(odd) {
    animation: slideInFromLeft 0.3s ease-out;
}

.section:nth-child(even) {
    animation: slideInFromRight 0.3s ease-out;
}

.social-card {
    animation: scaleIn 1s ease-out;
}

.social-card:nth-child(1) {
    animation-delay: 0.2s;
}

.social-card:nth-child(2) {
    animation-delay: 0.4s;
}

.social-card:nth-child(3) {
    animation-delay: 0.6s;
}