 body {
    background: #4A1A2C;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: 'Noto Sans', sans-serif;
    color: white;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Page Load Animation */
.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-load:nth-child(1) {
    animation-delay: 0.2s;
}

.animate-on-load:nth-child(2) {
    animation-delay: 0.4s;
}

.animate-on-load:nth-child(3) {
    animation-delay: 0.6s;
}

.animate-on-load:nth-child(4) {
    animation-delay: 0.8s;
}

/* Pop-in Animation for Countdown */
.pop-in {
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.5s ease-out forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.pop-in:nth-child(1) {
    animation-delay: 1s;
}

.pop-in:nth-child(2) {
    animation-delay: 1.2s;
}

.pop-in:nth-child(3) {
    animation-delay: 1.4s;
}

.pop-in:nth-child(4) {
    animation-delay: 1.6s;
}

/* Sign Board */
.sign-board {
    background: white;
    color: #4A1A2C;
    padding: 2rem 4rem;
    border-radius: 1rem;
    position: relative;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: swing 3s infinite ease-in-out, glow 2s infinite ease-in-out;
    z-index: 1;
}

.sign-board::before,
.sign-board::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 50%;
    top: -6px;
    border: 2px solid #4A1A2C;
}

.sign-board::before {
    left: 20px;
}

.sign-board::after {
    right: 20px;
}

.sign-board .rope {
    position: absolute;
    width: 2px;
    height: 50px;
    background: #FFFFFF;
    top: -50px;
}

.sign-board .rope.left {
    left: 24px;
}

.sign-board .rope.right {
    right: 24px;
}

/* Swing and Glow Animations */
@keyframes swing {

    0%,
    100% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-3deg);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    }
}

/* Decorative Elements */
.decor {
    position: absolute;
    color: #FFFFFF;
    font-size: 1.5rem;
    z-index: 1;
}

.decor.star {
    font-size: 2rem;
}

.decor.line Kirchbach {
    width: 30px;
    height: 2px;
    background: #FFFFFF;
}

.decor.dot {
    width: 8px;
    height: 8px;
    background: #FFFFFF;
    border-radius: 50%;
}

/* Countdown Timer */
.countdown-box {
    border: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    width: 80px;
    height: 80px;
    display: flex;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.15);
    transition: transform 0.5s ease, background 0.3s ease;
    z-index: 1;
}

.countdown-box:hover {
    transform: rotate(45deg) scale(1.15);
    background: rgba(255, 215, 0, 0.25);
}

.countdown-box span {
    transform: rotate(-45deg);
    font-size: 2rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.countdown-box:hover span {
    color: #FFD700;
}

.countdown-label {
    transform: rotate(-45deg);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.5rem;
}

/* Responsive Design */
/* Extra Small Devices (Phones, <640px) */
@media (max-width: 640px) {
    header {
        padding: 1rem;
        text-align: center;
    }

    header img {
        width: 80px;
    }

    header h1 {
        font-size: 1.25rem;
    }

    header p {
        font-size: 0.875rem;
    }

    main h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    main p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .countdown-box {
        width: 60px;
        height: 60px;
    }

    .countdown-box span {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .flex-wrap {
        gap: 1rem;
    }

    .sign-board {
        padding: 1rem 2rem;
    }

    .sign-board h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 1rem;
    }

    footer p {
        font-size: 0.75rem;
    }

    .decor {
        display: none;
        /* Hide decorative elements on small screens */
    }
}

/* Small to Medium Devices (Tablets, 641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    header {
        padding: 1.5rem;
    }

    header img {
        width: 100px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header p {
        font-size: 1rem;
    }

    main h2 {
        font-size: 2.5rem;
    }

    main p {
        font-size: 1.125rem;
    }

    .countdown-box {
        width: 70px;
        height: 70px;
    }

    .countdown-box span {
        font-size: 1.75rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .flex-wrap {
        gap: 1.5rem;
    }

    .sign-board {
        padding: 1.5rem 3rem;
    }

    .sign-board h2 {
        font-size: 2rem;
    }

    footer {
        padding: 1.5rem;
    }
}

/* Medium to Large Devices (Small Laptops, 769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    header {
        padding: 2rem;
    }

    header img {
        width: 120px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    header p {
        font-size: 1.125rem;
    }

    main h2 {
        font-size: 3rem;
    }

    main p {
        font-size: 1.25rem;
    }

    .countdown-box {
        width: 85px;
        height: 85px;
    }

    .countdown-box span {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.9rem;
    }

    .flex-wrap {
        gap: 2rem;
    }

    .sign-board {
        padding: 1.5rem 3rem;
    }

    .sign-board h2 {
        font-size: 2.5rem;
    }
}

/* Large Devices (Desktops, >1024px) */
@media (min-width: 1025px) {
    header {
        padding: 2rem 4rem;
    }

    header img {
        width: 140px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1.25rem;
    }

    main h2 {
        font-size: 3.5rem;
    }

    main p {
        font-size: 1.5rem;
    }

    .countdown-box {
        width: 100px;
        height: 100px;
    }

    .countdown-box span {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 1rem;
    }

    .flex-wrap {
        gap: 2.5rem;
    }

    .sign-board {
        padding: 2rem 4rem;
    }

    .sign-board h2 {
        font-size: 3rem;
    }
} 