body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #0d0d0d, #1a1a1a);
    color: #ff6600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Allow scrolling */
    min-height: 100vh;
    overflow-y: auto; /* Enable vertical scrolling */
    font-size: 1.5em; /* Larger base font size */
}

h1, h2 {
    color: #ff6600; /* Orange color for headings */
    transition: color 0.3s, text-shadow 0.3s;
}

h1 {
    font-size: 3em; /* Larger heading size */
}

h2 {
    font-size: 2.5em; /* Larger subheading size */
}

p, ol {
    color: #ffffff; /* White color for content text */
}

p {
    font-size: 1.8em; /* Larger paragraph size */
    line-height: 1.6; /* Improve readability */
}

.container {
    width: 90%; /* Adjust width for responsiveness */
    max-width: 800px; /* Increase max width */
    background: rgba(15, 15, 15, 0.95);
    border: 3px solid #ff6600; /* Keep border */
    border-radius: 20px; /* Keep border radius */
    padding: 30px; /* Increase padding */
    box-shadow: 0 0 25px #ff6600; /* Adjust shadow */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top */
    margin: 20px auto; /* Center the container */
}

.date-location, .countdown, .content {
    flex: 1; /* Allow sections to grow and fill available space */
    margin: 20px 0; /* Increase spacing between sections */
    padding: 25px; /* Increase padding */
    border: 2px solid #ff6600; /* Keep border */
    border-radius: 15px; /* Keep border radius */
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 20px #ff6600; /* Adjust shadow */
}

.date-location-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: space-between;
    gap: 15px; /* Adjust gap */
    align-items: stretch; /* Ensure blocks align to the same height */
    margin-bottom: 20px; /* Adjust bottom margin */
}

.date, .location {
    flex: 1 1 calc(50% - 15px); /* Adjust width for responsiveness */
    padding: 20px; /* Increase padding */
    border: 2px solid #ff6600; /* Keep border */
    border-radius: 10px; /* Keep border radius */
    background: rgba(20, 20, 20, 0.9);
    box-shadow: 0 0 15px #ff6600; /* Adjust shadow */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}

.date .countdown {
    margin-top: 2px; /* Reduce spacing above the countdown */
    margin-bottom: 0; /* Remove bottom margin */
    font-size: 1em; /* Smaller countdown font size */
    font-weight: normal; /* Keep font weight normal */
    color: #ffcc00; /* Keep countdown color */
    text-align: center; /* Center align the countdown */
    border: none; /* Ensure no border */
    box-shadow: none; /* Ensure no shadow */
    background: transparent; /* Keep background transparent */
}

.date p {
    margin: 5px 0; /* Reduce spacing between lines */
}

.location .more-info {
    display: block;
    margin-top: 10px; /* Adjust margin */
    font-size: 1.2em; /* Larger font size */
    color: #ffcc00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location .more-info:hover {
    color: #ffffff;
    text-decoration: underline;
}

.countdown {
    font-size: 1.5em; /* Smaller countdown font size */
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 20px; /* Add spacing below the countdown */
}

button {
    background: #ff6600;
    color: #ffffff;
    border: none;
    padding: 20px 40px; /* Increase button size */
    border-radius: 15px; /* Keep border radius */
    font-size: 1.5em; /* Larger button font size */
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #ffcc00;
    color: #000000;
}

ol {
    text-align: left;
    margin: 20px 0; /* Adjust margin */
    padding-left: 25px;
    font-size: 1.6em; /* Larger font size */
    color: #ffffff;
}

ol li {
    margin-bottom: 15px; /* Increase spacing between list items */
}

.music {
    margin: 20px 0; /* Add spacing */
    padding: 25px; /* Add padding */
    border: 2px solid #ff6600; /* Add border */
    border-radius: 15px; /* Add border radius */
    background: rgba(20, 20, 20, 0.9); /* Background color */
    box-shadow: 0 0 20px #ff6600; /* Add shadow */
    text-align: center;
}

.music img {
    max-width: 100%; /* Ensure image fits within the block */
    border-radius: 10px; /* Add rounded corners */
    margin-bottom: 15px; /* Add spacing below the image */
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.4s;
}

.music img:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 0 30px #ffcc00;
}

.music p {
    font-size: 1.6em; /* Match content font size */
    color: #ffffff; /* White text color */
    line-height: 1.6; /* Improve readability */
}

.confirmation {
    margin: 20px 0; /* Add spacing */
    padding: 25px; /* Add padding */
    border: 2px solid #ff6600; /* Add border */
    border-radius: 15px; /* Add border radius */
    background: rgba(20, 20, 20, 0.9); /* Background color */
    box-shadow: 0 0 20px #ff6600; /* Add shadow */
    text-align: center;
}

.confirmation h2 {
    font-size: 2em; /* Adjust heading size */
    color: #ff6600; /* Orange color for heading */
    margin-bottom: 15px; /* Add spacing below heading */
}

.confirmation p {
    font-size: 1.6em; /* Match content font size */
    color: #ffffff; /* White text color */
    margin-bottom: 20px; /* Add spacing below text */
}

.confirmation button {
    background: #ff6600;
    color: #ffffff;
    border: none;
    padding: 15px 30px; /* Adjust button size */
    border-radius: 10px; /* Add border radius */
    font-size: 1.2em; /* Adjust button font size */
    cursor: pointer;
    transition: background 0.3s ease;
}

.confirmation button:hover {
    background: #ffcc00;
    color: #000000;
}

.drinks {
    margin: 20px 0; /* Add spacing */
    padding: 25px; /* Add padding */
    border: 2px solid #ff6600; /* Add border */
    border-radius: 15px; /* Add border radius */
    background: rgba(20, 20, 20, 0.9); /* Background color */
    box-shadow: 0 0 20px #ff6600; /* Add shadow */
    text-align: center;
    cursor: pointer; /* Make the block clickable */
    transition: transform 0.3s ease; /* Add hover effect */
}

.drinks:hover {
    transform: scale(1.05); /* Slightly enlarge the block on hover */
}

.drinks h2 {
    font-size: 2em; /* Adjust heading size */
    color: #ff6600; /* Orange color for heading */
    margin-bottom: 15px; /* Add spacing below heading */
}

.drinks p {
    font-size: 1.6em; /* Match content font size */
    color: #ffffff; /* White text color */
    margin-bottom: 15px; /* Add spacing below text */
}

.drinks .more-info {
    display: block;
    margin-top: 10px; /* Adjust margin */
    font-size: 1.2em; /* Match font size */
    color: #ffcc00; /* Match color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Add transition for hover effect */
}

.drinks .more-info:hover {
    color: #ffffff; /* Match hover color */
    text-decoration: underline; /* Add underline on hover */
}

.more-info {
    display: inline-block;
    font-size: 1.2em; /* Match font size */
    color: #ffcc00; /* Match button color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Add hover effect */
    margin-top: 10px; /* Add spacing */
}

.more-info:hover {
    color: #ffffff; /* Match hover color */
    text-decoration: underline; /* Add underline on hover */
}

.scroll-animate {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: opacity 0.7s cubic-bezier(.68,-0.55,.27,1.55), transform 0.7s cubic-bezier(.68,-0.55,.27,1.55);
}

.scroll-animate.scrolled {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 25px #ff6600; }
    50% { box-shadow: 0 0 45px #ffcc00, 0 0 80px #ff6600 inset; }
    100% { box-shadow: 0 0 25px #ff6600; }
}

@keyframes glowText {
    0% { text-shadow: 0 0 0 #ffcc00; }
    50% { text-shadow: 0 0 20px #ffcc00, 0 0 40px #ff6600; }
    100% { text-shadow: 0 0 0 #ffcc00; }
}

.container > * {
    animation: fadeInUp 1s ease both;
}

h1 {
    animation: glowText 2s infinite;
}

h2 {
    transition: color 0.3s, text-shadow 0.3s;
}

h2:hover {
    color: #ffcc00;
    text-shadow: 0 0 10px #ffcc00;
}

.music img {
    transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.4s;
    animation: pulse 2.5s infinite;
}

.music img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 0 40px #ffcc00;
}

button, .more-info {
    transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
}

button:hover, .more-info:hover {
    box-shadow: 0 0 15px #ffcc00;
    transform: scale(1.05);
}

.date, .location, .confirmation, .music, .content {
    animation: fadeInUp 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

.confirmation {
    animation-delay: 0.2s;
}

.music {
    animation-delay: 0.4s;
}

.calendar-icon, .location-icon {
    margin: 10px 0 0 0;
    font-size: 2.2em;
    color: #ffcc00;
    text-align: center;
}

.large-icon {
    font-size: 3.5em;
}

.calendar-icon i, .location-icon i {
    filter: drop-shadow(0 0 6px #ff6600);
    transition: transform 0.3s, color 0.3s;
}

.calendar-icon i:hover, .location-icon i:hover {
    color: #ff6600;
    transform: scale(1.15) rotate(-8deg);
}

.typing-effect {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8em;
    color: #ffffff;
    background: transparent;
    padding-left: 12px;
    min-height: 7em;
    letter-spacing: 0.5px;
    position: relative;
    display: block;
    text-align: center;
}

.typing-line {
    width: 100%;
    min-height: 1.2em;
    display: block;
    text-align: center;
}

#typing-cursor {
    display: inline-block;
    width: 1ch;
    height: 1.2em;
    background: none;
    border-left: 3px solid #ffcc00;
    margin-left: 2px;
    animation: typing-cursor-blink 1s steps(1) infinite;
    vertical-align: bottom;
}

#typing-cursor.done {
    animation: none;
    border-left: none;
}

@keyframes typing-cursor-blink {
    0%, 100% { border-color: #ffcc00; }
    50% { border-color: transparent; }
}

@media (max-width: 600px) {
    body {
        padding: 15px; /* Adjust padding for smaller screens */
    }
    h1 {
        font-size: 2.5em; /* Adjust heading size for smaller screens */
    }
    h2 {
        font-size: 2.2em; /* Adjust subheading size for smaller screens */
    }
    p {
        font-size: 1.5em; /* Adjust paragraph size for smaller screens */
    }
    .container {
        width: 100%;
        padding: 20px; /* Adjust padding for smaller screens */
    }
    .date, .location {
        flex: 1 1 100%; /* Stack blocks vertically on smaller screens */
    }
    button {
        font-size: 1.2em; /* Adjust button font size for smaller screens */
        padding: 15px 30px; /* Adjust button size for smaller screens */
    }
}

.main-glow-header {
    font-size: 3.5em;
    color: #fff;
    letter-spacing: 2px;
    text-shadow:
        0 0 18px #ff6600,
        0 0 32px #ffcc00,
        0 0 48px #ff6600,
        0 0 80px #ffcc00;
    position: relative;
    animation: main-glow-pulse 2.5s infinite alternate;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    z-index: 2;
}

@keyframes main-glow-pulse {
    0% {
        text-shadow:
            0 0 18px #ff6600,
            0 0 32px #ffcc00,
            0 0 48px #ff6600,
            0 0 80px #ffcc00;
        color: #fff;
    }
    50% {
        text-shadow:
            0 0 32px #ffcc00,
            0 0 64px #ff6600,
            0 0 96px #ffcc00,
            0 0 120px #ff6600;
        color: #ffcc00;
    }
    100% {
        text-shadow:
            0 0 18px #ff6600,
            0 0 32px #ffcc00,
            0 0 48px #ff6600,
            0 0 80px #ffcc00;
        color: #fff;
    }
}

/* Efekt wybuchu dla nagłówka */
.header-explosion-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2001;
    will-change: transform, opacity, filter;
    box-shadow: 0 0 20px #ffcc00, 0 0 40px #ff6600;
    opacity: 1;
    transition: transform 1.2s cubic-bezier(.68,-0.55,.27,1.55), opacity 1.2s, filter 1.2s;
}

.confetti-explosion-piece {
    position: fixed;
    pointer-events: none;
    will-change: transform, opacity, filter;
    opacity: 1;
    box-shadow: 0 0 24px #ffcc00, 0 0 48px #ff6600;
    transition: transform 1.7s cubic-bezier(.68,-0.55,.27,1.55), opacity 1.7s, filter 1.7s;
    z-index: 2500;
}
