@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Roboto+Mono&display=swap');

:root {
    --primary-color: #ffcc00;
    --secondary-color: #f4e4bc;
    --background-dark: #1b0c03;
    --background-light: #4b2e1a;
    --text-color: #f4e4bc;
    --font-main: 'Roboto Mono', monospace;
    --font-heading: 'Cinzel Decorative', cursive;
}

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

body {
    font-family: var(--font-main);
    background: linear-gradient(180deg, var(--background-dark), var(--background-light));
    color: var(--text-color);
    overflow-x: hidden;
    transition: all 0.5s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

header {
    background: url('formagicaluseonlygrafittiwall.png') no-repeat center center/cover;
    padding: 120px 20px;
    text-align: center;
    border-bottom: 5px solid var(--primary-color);
    animation: fadeInDown 1s ease-in-out;
}

header h1 {
    font-size: 6em;
    font-weight: 700;
}

nav {
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
}

nav a {
    margin: 0 15px;
    font-size: 1.8em;
    transition: transform 0.3s ease;
}

nav a:hover {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 50px 20px;
    animation: fadeInUp 1s ease-in-out;
}

.tours-section, .marketplace-section, .support-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.carousel {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 20px;
}

.welcome-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 900px;
    margin: 40px auto;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    border: 1px solid var(--primary-color);
}

.welcome-text h2 {
    font-size: 2.8em;
    margin-bottom: 30px;
}

.welcome-text .mission-statement {
    font-size: 1.4em;
    font-family: var(--font-heading);
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--secondary-color);
}

.welcome-text .invitation {
    font-size: 1.2em;
    line-height: 1.7;
}

#easter-egg-trigger {
    cursor: pointer;
    font-weight: bold;
}

.easter-egg-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: var(--background-dark);
    padding: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-popup {
    color: var(--secondary-color);
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-popup:hover {
    color: var(--primary-color);
}


.data-vis-section {
    padding: 40px 20px;
    text-align: center;
}

.data-vis-section h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.power-vis-container {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    background-color: #000;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 0 15px var(--primary-color);
}

.power-bar {
    height: 30px;
    background: linear-gradient(90deg, #ffcc00, #ffeb3b);
    width: 0%; /* Initial width */
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
    box-shadow: 0 0 10px #ffeb3b;
}

.carousel img {
    max-width: 300px;
    height: auto;
    border: 3px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.gallery .item img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

.tour-package, .product, .tier {
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    width: 30%;
    min-width: 300px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tour-package img, .product .product-media, .tier img,
.tour-package video, .product .product-media, .tier video {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

.button {
    background-color: var(--primary-color);
    color: var(--background-dark);
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 4em;
    }

    nav {
        padding: 15px;
    }

    nav a {
        margin: 10px;
        font-size: 1.2em;
    }

    .tours-section, .marketplace-section, .support-section {
        flex-direction: column;
        align-items: center;
    }

    .tour-package, .product, .tier {
        width: 80%;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 3em;
    }

    nav {
        flex-direction: column;
    }

    nav a {
        font-size: 1em;
        margin: 5px 0;
    }

    .container {
        padding: 30px 15px;
    }

    .button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .tour-package, .product, .tier {
        width: 95%;
    }
}

/* Tarot Page Specific Styles */
#tarot-container {
    text-align: center;
    padding: 50px 20px;
}

#tarot-intro {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

#tarot-intro p {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

#draw-button {
    background-color: var(--primary-color);
    color: var(--background-dark);
    padding: 20px 40px;
    font-size: 1.5em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-family: var(--font-heading);
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    text-transform: uppercase;
}

#draw-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

.card {
    position: absolute;
    background: var(--background-light);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    transition: transform 0.5s ease-out;
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card p {
    font-size: 1em;
}
