body {
    font-family: 'Lora', serif;
    background-color: #1a1a1d; /* Dark charcoal */
    background-image: url('/Image 002.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e0e0e0; /* Off-white */
    text-align: center;
    padding: 2em;
    margin: 0;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    position: relative;
    z-index: 1;
}

#background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 29, 0.7); /* Corresponds to body background-color */
    z-index: -2;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4em;
    margin-bottom: 0.1em;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.7), 0 0 20px rgba(0, 240, 255, 0.5); /* Neon glow */
}

p {
    font-size: 1.3em;
    margin-top: 0;
    color: #c5c6c7;
}

#page-index {
    margin: 2em auto 3em;
    padding: 1em;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 240, 255, 0.3);
    max-width: 900px;
}

#page-index ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
}

#page-index a {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 240, 255, 0.7);
}

#page-index a:hover {
    color: #1a1a1d;
    background-color: #00f0ff;
    text-shadow: none;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.8);
}

#enigmatic-menu-container {
    background-color: #fefabc; /* Post-it yellow */
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5em;
    margin: 3em auto;
    max-width: 900px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#enigmatic-menu-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

#enigmatic-menu-container h2 {
    font-family: 'Caveat', cursive;
    font-size: 3em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
    text-shadow: none;
}

#enigmatic-slogans-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    column-count: 2;
    column-gap: 2em;
}

#enigmatic-slogans-list li {
    margin-bottom: 1em;
    font-family: 'Caveat', cursive;
    font-size: 1.6em;
    font-weight: 400;
    font-style: normal;
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
            page-break-inside: avoid; /* Firefox */
                 break-inside: avoid; /* IE 10+ */
}

@media (max-width: 768px) {
    #enigmatic-slogans-list {
        column-count: 1;
    }
}

#revealed-slogans-container {
    background-color: #fefabc; /* Post-it yellow */
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-radius: 4px;
    padding: 1.5em;
    margin: 3em auto;
    max-width: 900px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    transform: rotate(1.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#revealed-slogans-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

#revealed-slogans-container h2 {
    font-family: 'Caveat', cursive;
    font-size: 3em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
    text-shadow: none;
}

#revealed-slogans-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

#revealed-slogans-list li {
    margin-bottom: 1.5em;
    font-family: 'Caveat', cursive;
    font-size: 1.5em;
    line-height: 1.4;
}

#revealed-slogans-list .enigmatic {
    font-weight: 700;
    margin: 0 0 0.2em 0;
}

#revealed-slogans-list .revealed {
    margin: 0;
    padding-left: 1em;
    font-style: italic;
    font-weight: 400;
    color: #555;
}

.labels-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3em;
    margin-top: 3em;
    perspective: 1500px; /* For the 3D flip effect */
}

.label-card {
    width: 350px;
    height: 250px;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.label-card.is-flipped {
    transform: rotateY(180deg);
}

.label-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    border: 2px solid #00f0ff;
    border-radius: 10px;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 240, 255, 0.3);
}

.label-front {
    /* Front face styles */
}

.label-back {
    transform: rotateY(180deg);
    justify-content: space-around;
}

.slogan {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.4;
}

.brand-image {
    max-width: 90%;
    max-height: 65%;
    object-fit: contain;
    border-radius: 8px;
}

.brand {
    font-family: 'Lora', serif;
    font-size: 2em;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.8);
}

#pdf-container {
    margin: 4em auto;
    padding: 2em;
    background: rgba(10, 25, 47, 0.8);
    backdrop-filter: blur(5px);
    border: 2px solid #00f0ff;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5), inset 0 0 10px rgba(0, 240, 255, 0.3);
    max-width: 500px;
}

#pdf-container p {
    font-size: 1.2em;
    margin-bottom: 1em;
}

#pdf-container a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #ffffff;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 1px solid #00f0ff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#pdf-container a:hover {
    color: #1a1a1d;
    background-color: #00f0ff;
    text-shadow: none;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.8);
}