html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #000;
    font-family: 'Satoshi', sans-serif;
    color: #fff;
}

body::-webkit-scrollbar {
    display: none;
}

.scroll-container,
.page {
    height: 100vh;
}

.page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Intro Page */
.intro-page {
    background-color: #000;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.location, .contact-mail {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.location {
    top: 40px;
    margin: 0;
    font-weight: 700;
}

.contact-mail {
    top: 54px;
    font-size: 0.8em;
    font-weight: 700;
    color: #999;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    margin: 1rem 0;
}

.subtitle {
    font-size: 2rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* Image Gallery */
.veit-images {
    position: relative;
    height: 400px;
    width: 670px;
    margin: 2rem auto;
    perspective: 1000px;
}

.veit-images .image {
    position: absolute;
    width: 250px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: filter 0.3s ease;
    cursor: pointer;
}

.image-1 { left: 0; top: 20px; transform: rotate(3deg); }
.image-2 { left: 140px; top: 0px; transform: rotate(-6deg); }
.image-3 { left: 280px; top: 70px; transform: rotate(6deg); }
.image-4 { left: 420px; top: 40px; transform: rotate(-3deg); }

.veit-images:hover .image {
    filter: brightness(1.1);
}

.bottom-content {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.motivation-title {
    font-weight: 700;
}

.motivation-text {
    font-size: 0.8em;
    font-weight: 700;
    color: #999;
    margin-bottom: 12px;
    margin-top: 4px;
}

/* About Page */
.profile-header {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
    position: relative;
}

.name {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.roles ul,
.contact-info ul {
    list-style: none;
    padding: 0;
}

.roles li {
    margin-bottom: 0.75rem;
}

.contact-info {
    margin: 2rem 0;
}

.contact-info a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.contact-info a:hover {
    opacity: 0.8;
}

/* Projects Section */
.projects-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
}

.image-stack {
    position: relative;
    width: 400px;
    height: 400px;
    flex: 0 0 400px;
    perspective: 2000px;
    cursor: pointer;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
}

.project-image {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.project-image:nth-child(1) {
    z-index: 3;
    transform: translateY(0) scale(1);
}

.project-image:nth-child(2) {
    z-index: 2;
    transform: translateY(15px) scale(0.97);
    opacity: 0.7;
    filter: brightness(0.8);
}

.project-image:nth-child(3) {
    z-index: 1;
    transform: translateY(30px) scale(0.94);
    opacity: 0.4;
    filter: brightness(0.6);
}

.image-stack.switching .project-image:nth-child(1) {
    transform: translateY(-100%) rotate(-10deg);
    opacity: 0;
}

.image-stack.switching .project-image:nth-child(2) {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1);
    z-index: 3;
}

.image-stack.switching .project-image:nth-child(3) {
    transform: translateY(15px) scale(0.97);
    opacity: 0.7;
    filter: brightness(0.8);
    z-index: 2;
}

.text-section {
    flex: 1;
    transition: opacity 0.3s ease;
}

.text-section h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.text-section span {
    font-size: 1.5rem;
    color: gray;
}

.text-section.left { text-align: right; }
.text-section.right { text-align: left; }

.text-section .project-title {
    transition: opacity 0.3s ease;
}

/* Project Counter */
.project-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #fff;
    z-index: 10;
}

.project-counter span {
    font-weight: bold;
}

/* Button Styles */
.button-wrapper {
    margin-top: 2rem;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.scale-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center top;
    white-space: nowrap;
}

button {
    background: #fff;
    color: #000;
    font-size: 1rem;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 1000px;
    position: relative;
    box-shadow: 0 0 0.25rem 0.125rem rgba(247, 147, 26, 0.5), 
                0 0 0.5rem 0.25rem rgba(247, 147, 26, 0.3), 
                0 0 1rem 0.5rem rgba(247, 147, 26, 0.1);
    transition: transform 0.1s ease, box-shadow 0.3s ease;
    transform-origin: center;
    display: block;
    white-space: nowrap;
}

.click-counter {
    opacity: 0;
    margin-top: 60px;
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease, margin-top 0.3s ease;
}

/* Utility Classes */
.bitcoin-orange {
    color: #F7931A;
    font-weight: bold;
}

/* Footer & Scroll Hint */
.footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

.scroll-arrow {
    color: #F7931A;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

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

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

.pulse-emoji {
    display: inline-block;
    animation: pulseEmoji 1.5s infinite;
}

section {
    position: relative;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #F7931A;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 1;
    box-shadow: 0 0 50px 20px rgba(247, 147, 26, 0.5),
                0 0 100px 40px rgba(247, 147, 26, 0.3),
                0 0 200px 80px rgba(247, 147, 26, 0.1);
}

.orange-background {
    transition: background-color 0.3s ease;
}