@font-face {
    font-family: 'Dihjauti';
    src: url('../fonts/dihjauti.s-bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

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

body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Dihjauti', cursive;
    src: url('../fonts/dihjauti.s-bold.otf') format('opentype');
    min-height: 100vh;
    overflow-x: hidden;
}

/* Blood drip animation */
.blood-drip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.drip {
    position: absolute;
    top: -50px;
    width: 8px;
    height: 0;
    background: linear-gradient(to bottom, #8B0000, #FF0000);
    border-radius: 0 0 50% 50%;
    animation: dripping 4s ease-in infinite;
}

@keyframes dripping {
    0% { height: 0; opacity: 1; }
    50% { height: 100px; opacity: 1; }
    100% { height: 100px; top: 100vh; opacity: 0; }
}

/* Flickering effect */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.4;
    }
}

/* Header */
header {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.9)),
                url('https://images.unsplash.com/photo-1509248961895-45cf170cab51?w=1920') center/cover;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, #0a0a0a 70%);
}

.main-title {
    font-family: 'Dihjauti', 'Creepster', cursive;
    font-size: 5rem;
    color: #8B0000;
    text-shadow: 0 0 10px #FF0000, 0 0 20px #FF0000, 0 0 30px #FF0000;
    animation: flicker 3s infinite;
    position: relative;
    z-index: 2;
    letter-spacing: 5px;
}

.subtitle {
    font-size: 1.5rem;
    color: #888;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    letter-spacing: 3px;
}

.date-badge {
    background: #8B0000;
    color: #fff;
    padding: 10px 30px;
    margin-top: 30px;
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    border: 2px solid #FF0000;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 2;
}

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

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 30px;
    border-right: 3px solid #8B0000;
    border-bottom: 3px solid #8B0000;
    transform: rotate(45deg);
}

/* Navigation */
.logo {
    font-family: 'Dihjauti', 'Creepster', cursive;
    font-size: 1.8rem;
    color: #8B0000 !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: #f5f5f5 !important;
    font-family: 'Dihjauti', 'Creepster', cursive;
    letter-spacing: 2px;
    transition: color 0.3s, text-shadow 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #FF0000 !important;
    text-shadow: 0 0 10px #FF0000;
}

/* Sections */
section {
    padding: 100px 10%;
    position: relative;
}

.section-title {
    font-family: 'Dihjauti', 'Creepster', cursive;
    font-size: 3rem;
    color: #8B0000;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

/* Story Section */
#story {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 100%);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 2;
    font-size: 1.1rem;
}

.story-content p {
    margin-bottom: 30px;
    text-align: justify;
}

.story-highlight {
    color: #FF0000;
    font-weight: bold;
}

.crime-details {
    background: rgba(139, 0, 0, 0.1);
    border-left: 4px solid #8B0000;
    padding: 30px;
    margin: 40px 0;
}

.victim-list {
    list-style: none;
    margin: 20px 0;
}

.victim-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
    display: flex;
    align-items: center;
}

.victim-list li::before {
    content: '†';
    color: #8B0000;
    font-size: 1.5rem;
    margin-right: 15px;
}

/* Experience Section */
#experience {
    background: #0a0a0a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border: 1px solid #2a0000;
    padding: 40px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #FF0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #aaa;
    line-height: 1.8;
}

/* Booking Section */
#booking {
    background: linear-gradient(135deg, #1a0000 0%, #0a0a0a 100%);
}

.booking-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #8B0000;
    padding: 50px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #FF0000;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #f5f5f5;
    font-family: 'Special Elite', cursive;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.form-group select option {
    background: #1a1a1a;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #8B0000, #5c0000);
    border: none;
    color: #fff;
    font-family: 'Creepster', cursive;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #FF0000, #8B0000);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.5);
    transform: scale(1.02);
}

.warning-text {
    text-align: center;
    margin-top: 30px;
    color: #888;
    font-size: 0.9rem;
}

.warning-text span {
    color: #FF0000;
}

/* Footer */
footer {
    background: #050505;
    padding: 50px 10%;
    text-align: center;
    border-top: 1px solid #2a0000;
}

.footer-title {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    color: #8B0000;
    letter-spacing: 3px;
}

footer a {
    font-family: 'Special Elite', cursive;
    transition: all 0.3s !important;
}

footer a:hover {
    color: #FF0000 !important;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Main content area */
main {
    min-height: calc(100vh - 150px);
}

/* Audio Controls */
.audio-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: rgba(139, 0, 0, 0.8);
    border: 2px solid #FF0000;
    color: #fff;
    padding: 15px 20px;
    cursor: pointer;
    font-family: 'Special Elite', cursive;
    transition: all 0.3s;
}

.audio-control:hover {
    background: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

/* Confirmation Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #1a1a1a;
    border: 2px solid #8B0000;
    padding: 50px;
    text-align: center;
    max-width: 500px;
}

.modal-content h2 {
    font-family: 'Creepster', cursive;
    color: #8B0000;
    font-size: 2rem;
    margin-bottom: 20px;
}

.modal-content p {
    margin-bottom: 30px;
    line-height: 1.8;
}

.modal-close {
    background: #8B0000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-family: 'Creepster', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #FF0000;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .nav-links a {
        margin-left: 15px;
        font-size: 0.8rem;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .booking-container {
        padding: 30px 20px;
    }
}

/* Who We Are - roll-up images */
.slide-from-left,
.slide-from-right {
    opacity: 0;
    transform: translateY(80px) rotate(-4deg);
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-from-left.in-view,
.slide-from-right.in-view {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Who We Are - blur-in bio */
.blur-in {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.2s ease, filter 1.2s ease;
}

.blur-in.in-view {
    opacity: 1;
    filter: blur(0px);
}

/* Typewriter cursor blink */
.typewriter-cursor::after {
    content: '|';
    color: #8B0000;
    animation: blink-cursor 1.2s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Escape Rooms ghost images */
.ghost-static {
    position: absolute;
    width: clamp(200px, 18vw, 400px);
    object-fit: cover;
    border-radius: 0px;
    filter: blur(0.8px) brightness(0.3) saturate(2);
    animation: ghost-shake 4s  infinite linear;
    pointer-events: none;
    z-index: 0;
}

@keyframes ghost-shake {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(-2px, 1px) rotate(-0.4deg); }
    40%  { transform: translate(1px, -1px) rotate(0.4deg); }
    60%  { transform: translate(-1px, 2px) rotate(-0.3deg); }
    80%  { transform: translate(1px, -2px) rotate(0.3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Home page animations */
@keyframes shine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shine-text {
    background: linear-gradient(90deg, #8B0000 20%, #ff2222 45%, #ff6666 50%, #ff2222 55%, #8B0000 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3.5s linear infinite;
}

@keyframes blurshake {
    0%   { transform: translateX(0);    filter: blur(0px); }
    5%   { transform: translateX(-6px); filter: blur(2px); }
    10%  { transform: translateX(6px);  filter: blur(3px); }
    15%  { transform: translateX(-5px); filter: blur(4px); }
    20%  { transform: translateX(5px);  filter: blur(5px); }
    25%  { transform: translateX(-7px); filter: blur(4px); }
    30%  { transform: translateX(7px);  filter: blur(3px); }
    35%  { transform: translateX(-4px); filter: blur(5px); }
    40%  { transform: translateX(4px);  filter: blur(4px); }
    50%  { transform: translateX(-3px); filter: blur(3px); }
    60%  { transform: translateX(3px);  filter: blur(2px); }
    75%  { transform: translateX(-2px); filter: blur(1px); }
    90%  { transform: translateX(1px);  filter: blur(0.5px); }
    100% { transform: translateX(0);    filter: blur(0px); }
}

.blurshake {
    display: inline-block;
    animation: blurshake 2.4s ease-in-out 0.8s 1 forwards;
}
