body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f1ea;
    overflow-x: hidden;
    color: #222;
}

header {
    background: #7b1113;
    color: white;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 10;
    transform: rotate(-0.3deg);
}

h1 {
    margin: 0;
}

nav {
    margin-top: 10px;
}

nav a {
    color: white;
    margin-right: 20px;
    text-decoration: none;
}

.hero {
    padding: 80px 20px;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
}

.button {
    display: inline-block;
    padding: 15px 30px;
    background: #7b1113;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    user-select: none;
    margin-top: 20px;
}

.section {
    padding: 50px 20px;
    max-width: 800px;
    margin: auto;
}

.broken-image {
    width: 300px;
    transition: transform 1s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.fallen {
    transform: rotate(89deg) translateX(300px);
}

.loading-bar {
    width: 300px;
    height: 30px;
    border: 2px solid #333;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
    background: white;
}

.loading-fill {
    height: 100%;
    width: 100%;
    background: #2d8f4e;
    transition: width 0.4s linear;
}

.popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 2px solid black;
    padding: 15px;
    box-shadow: 5px 5px 0 black;
    max-width: 250px;
    z-index: 1000;
}

.stagehand {
    position: fixed;
    left: -250px;
    bottom: 40px;
    font-size: 2rem;
    transition: left 2s linear;
}

.stagehand.walk {
    left: 110%;
}

.notice {
    background: white;
    border-left: 6px solid #7b1113;
    padding: 20px;
    margin-bottom: 20px;
    transform: rotate(-0.4deg);
}

footer {
    padding: 40px;
    text-align: center;
    background: #222;
    color: white;
    position: relative;
    animation: escape 20s linear infinite;
}

@keyframes escape {
    from { left: 0; }
    to { left: 100px; }
}
