/* Base Styles */
:root {
    --dark-purple: #2a0845;
    --medium-purple: #4b2e83;
    --light-purple: #7b52ab;
    --dark-orange: #d35400;
    --medium-orange: #e67e22;
    --light-orange: #f39c12;
    --black: #1a1a1a;
    --white: #f5f5f5;
    --text-dark: #222;
    --text-light: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bangers', cursive;
    background-color: var(--black);
    color: var(--white);
    position: relative;
    overflow-x: hidden;
    letter-spacing: 1px;
}

/* Animation Control Button */
.play-pause-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--medium-purple);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.play-pause-btn:hover {
    background: var(--light-purple);
    transform: translateY(-2px);
}

/* Stains */
.stain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.stain {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: 0.7;
    animation: drip 8s infinite ease-in-out;
}

.stain.s1 {
    width: 120px;
    height: 80px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background-color: var(--medium-purple);
}

.stain.s2 {
    width: 200px;
    height: 150px;
    top: 30%;
    right: 8%;
    animation-delay: 1s;
    background-color: var(--dark-orange);
}

.stain.s3 {
    width: 80px;
    height: 120px;
    bottom: 15%;
    left: 10%;
    animation-delay: 2s;
    background-color: var(--light-purple);
}

.stain.s4 {
    width: 180px;
    height: 100px;
    bottom: 25%;
    right: 15%;
    animation-delay: 3s;
    background-color: var(--medium-orange);
}

.stain.s5 {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 20%;
    animation-delay: 4s;
    background-color: var(--light-orange);
}

.stain.s6 {
    width: 150px;
    height: 120px;
    top: 20%;
    left: 50%;
    animation-delay: 5s;
    background-color: var(--dark-purple);
}

.stain.s7 {
    width: 100px;
    height: 150px;
    bottom: 10%;
    right: 25%;
    animation-delay: 6s;
    background-color: var(--medium-purple);
}

.stain.s8 {
    width: 70px;
    height: 70px;
    top: 70%;
    right: 10%;
    animation-delay: 7s;
    background-color: var(--dark-orange);
}

@keyframes drip {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(20px) rotate(5deg);
        opacity: 0.9;
    }
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--dark-purple), var(--dark-orange));
    padding: 20px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--medium-purple);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

h1 {
    font-size: 4rem;
    color: white;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.drip-btn {
    background-color: transparent;
    color: var(--white);
    padding: 8px 25px;
    border-radius: 0;
    text-decoration: none;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: none;
    border-bottom: 3px solid var(--medium-orange);
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.drip-btn:hover {
    transform: translateY(-5px);
    color: var(--light-orange);
    border-bottom: 3px solid var(--light-purple);
}

.drip-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(233, 30, 99, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.drip-btn:hover::before {
    transform: translateX(100%);
}

/* Main Content Styles */
main {
    max-width: 100%;
    margin: 0 auto;
    padding: 30px 0;
    position: relative;
}

section {
    margin-bottom: 3px;
    position: relative;
    padding: 40px 20px;
    width: 100%;
}

/* Section Background Patterns */
.hero {
    background: 
        linear-gradient(135deg, var(--dark-purple), var(--medium-purple)),
        repeating-linear-gradient(
            45deg,
            var(--dark-purple),
            var(--dark-purple) 10px,
            var(--medium-purple) 10px,
            var(--medium-purple) 20px
        );
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.about {
    background: 
        linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.7)),
        repeating-linear-gradient(
            to right,
            var(--dark-orange),
            var(--dark-orange) 2px,
            transparent 2px,
            transparent 4px
        );
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.steinmap {
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.7)),
        repeating-linear-gradient(
            to bottom,
            var(--medium-purple),
            var(--medium-purple) 3px,
            transparent 3px,
            transparent 6px
        );
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.roadmap {
    background: 
        linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.7)),
        repeating-linear-gradient(
            135deg,
            var(--medium-orange),
            var(--medium-orange) 5px,
            var(--dark-orange) 5px,
            var(--dark-orange) 10px
        );
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.ritual {
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(0,0,0,0.7)),
        repeating-radial-gradient(
            circle,
            var(--light-purple),
            var(--light-purple) 2px,
            transparent 2px,
            transparent 5px
        );
    background-blend-mode: overlay;
    background-attachment: fixed;
}

/* Content container to prevent blur */
.section-content {
    position: relative;
    z-index: 1;
}

h2 {
    font-size: 3rem;
    color: var(--light-orange);
    margin-bottom: 30px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.prophet-img {
    max-width: 350px;
    height: auto;
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
    margin: 0 auto 30px;
    z-index: 1;
    display: block;
}

.sticky-quote {
    font-size: 2.2rem;
    color: white;
    background-color: rgba(74, 46, 131, 0.8);
    padding: 30px 40px;
    border-radius: 20px;
    position: relative;
    text-align: center;
    max-width: 800px;
    box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
    z-index: 1;
    line-height: 1.4;
    border: 2px solid var(--light-orange);
    margin: 0 auto;
}

cite {
    display: block;
    font-size: 1.5rem;
    margin-top: 15px;
    font-style: italic;
    color: var(--light-orange);
}

/* Text Highlight Styles */
.highlight-text {
    color: var(--light-orange);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.3);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background-color: var(--medium-purple);
    z-index: -1;
    opacity: 0.7;
    border-radius: 4px;
}

.glow-text {
    color: var(--light-orange);
    text-shadow: 0 0 10px var(--medium-orange), 0 0 20px var(--dark-orange);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px var(--medium-orange), 0 0 10px var(--dark-orange);
    }
    to {
        text-shadow: 0 0 10px var(--medium-orange), 0 0 20px var(--dark-orange), 0 0 30px var(--dark-orange);
    }
}

.drip-text {
    color: var(--light-purple);
    position: relative;
    display: inline-block;
}

.drip-text::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--light-purple), var(--medium-purple));
    border-radius: 3px;
}

.strike-text {
    position: relative;
    display: inline-block;
}

.strike-text::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    right: -5px;
    height: 3px;
    background-color: var(--medium-orange);
    transform: rotate(-5deg);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.contract-input {
    display: flex;
    margin-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.contract-input input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(0,0,0,0.5);
    border: 2px solid var(--medium-purple);
    color: white;
    font-family: monospace;
    border-radius: 5px 0 0 5px;
}

.copy-btn {
    padding: 0 20px;
    background: var(--medium-purple);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--light-purple);
}

/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s;
    border: 5px solid var(--medium-purple);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.gallery-img:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--light-orange);
}

/* Roadmap Section */
.sticky-note {
    background-color: rgba(33, 33, 33, 0.8);
    padding: 40px;
    border-radius: 20px;
    position: relative;
    box-shadow: 10px 10px 0 rgba(0,0,0,0.2);
    border: 3px dashed var(--medium-orange);
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}

.sticky-note::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px dashed var(--light-purple);
    border-radius: 25px;
    z-index: -1;
    opacity: 0.5;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 2px solid var(--medium-purple);
}

th {
    background-color: var(--medium-purple);
    color: white;
    font-size: 1.3rem;
}

tr:hover {
    background-color: rgba(74, 46, 131, 0.2);
}

.disclaimer {
    font-size: 1.1rem;
    font-style: italic;
    text-align: center;
    color: var(--light-orange);
    opacity: 0.9;
}

/* Ritual Section */
.ritual-image {
    width: 100%;
    max-width: 1000px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 auto 40px;
    display: block;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border: 5px solid var(--medium-orange);
    position: relative;
    z-index: 1;
}

.ritual-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.step {
    background-color: rgba(33, 33, 33, 0.8);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    text-align: center;
    border: 2px solid var(--medium-purple);
}

.step::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: calc(100% - 60px);
    height: 15px;
    background: var(--medium-purple);
    filter: blur(8px);
    border-radius: 50%;
    opacity: 0.7;
}

.step h3 {
    color: var(--light-orange);
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.step p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--dark-purple), var(--dark-orange));
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--medium-purple));
    clip-path: circle(50% at 50% 100%);
    filter: blur(8px);
    opacity: 0.7;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.footer-text p {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Floating stains */
.floating-stain {
    position: fixed;
    width: 80px;
    height: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    z-index: 999;
    animation: float 8s infinite linear;
    will-change: transform;
    pointer-events: none;
    top: -100px;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) translateX(0);
    }
    100% {
        transform: translateY(calc(100vh + 100px)) rotate(360deg) translateX(50px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .sticky-quote {
        font-size: 1.6rem;
        padding: 20px;
    }
    
    .ritual-steps {
        grid-template-columns: 1fr;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
    
    .about-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: center;
    }
    
    .drip-btn {
        width: 100%;
        justify-content: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .sticky-quote {
        font-size: 1.3rem;
    }
    
    .contract-input {
        flex-direction: column;
    }
    
    .contract-input input {
        border-radius: 5px;
        margin-bottom: 5px;
    }
    
    .copy-btn {
        border-radius: 5px;
        padding: 10px;
    }
}