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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #c9e6ff;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

.parallax-container {
    position: relative;
    height: 220vh;
    width: 100%;
}

.parallax-layer {
    position: fixed;
    top: 0vh;
    left: 0;
    width: 100%;
    height: 165vh;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    transform-origin: center center;
    transform-style: preserve-3d;
}

/* Parallax layers with different scroll speeds */
.layer-1 { z-index: 14; }
.layer-2 { z-index: 13; }
.layer-3 { z-index: 12; }
.layer-4 { z-index: 11; }
.layer-5 { z-index: 10; }
.layer-6 { z-index: 9; }
.layer-7 { z-index: 8; }
.layer-8 { z-index: 7; }
.layer-9 { z-index: 6; }
.layer-10 { z-index: 5; }
.layer-11 { z-index: 4; }
.layer-12 { z-index: 3; }
.layer-13 { z-index: 2; }
.layer-14 { z-index: 1; }

.content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    pointer-events: none;
}

.content-wrapper > * {
    pointer-events: auto;
}

.parallax-group {
    text-align: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.unofficial-text,
.cobblemon-logo-container,
.hosted-by-text,
.tavern-logo-container,
.server-info {
    text-align: center;
}

.cobblemon-section {
    margin-top: 75rem;
    margin-bottom: 15rem;
}

.tavern-section {
    margin-top: 15rem;
    margin-bottom: 50rem;
}

.unofficial-text {
    margin-bottom: 1rem;
}

.unofficial-text h2 {
    color: #ed436e;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    letter-spacing: 0.1em;
}

.hosted-by-text {
    margin-bottom: 1rem;
}

.hosted-by-text h3 {
    color: #e0e0e0;
    font-size: 1.8rem;
    font-weight: normal;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    letter-spacing: 0.05em;
    font-style: italic;
}

.logo-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.cobblemon-logo {
    max-width: 400px;
}

.tavern-logo {
    max-width: 350px;
}

.server-info {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.ip-container {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.ip-container:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ip-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.ip-address {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
}

.click-to-copy {
    color: #70c7ff;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.copied-message {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.copied-message.show {
    opacity: 1;
}

.discord-button {
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.discord-button:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

.discord-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 8px;
}

.scroll-arrow svg {
    width: 28px;
    height: 28px;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
    text-align: center;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
    }
    
    .scroll-arrow svg {
        width: 24px;
        height: 24px;
    }
    
    .scroll-text {
        font-size: 0.8rem;
    }
}

.footer {
    position: relative;
    top: 10vh;
    background: rgb(87 36 54);
    color: rgb(185, 185, 185);
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 10rem;
    padding-right: 10rem;
    width: 100%;
    z-index: 25;
    font-size: 0.8rem;
    text-align: center;
}
