    * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background: url("./assets/background.png") no-repeat center fixed;
            min-height: 100vh;
            font-family: 'Georgia', serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            color: #fff;
        }

        .title {
            text-align: center;
            margin-bottom: 40px;
            
            background: linear-gradient(45deg, #8b4513, #ff6b6b, #daa520,#ffd700);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shimmer 3s ease-in-out infinite;

            font-family: 'Cinzel Decorative', cursive;
            font-size: 40px;
            
            letter-spacing: 2px;
            text-transform: uppercase;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
            
        }

        @keyframes shimmer {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        .cards-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            justify-content: center;
            max-width: 1200px;
        }

        .card {
            width: 200px;
            height: 300px;
            perspective: 1000px;
            cursor: pointer;
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            transform-style: preserve-3d;
        }

        .card:hover .card-inner {
            transform: rotateY(180deg);
        }

        .card-face {
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 20px;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border: 2px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
        }

        .card-front {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
            backdrop-filter: blur(10px);
        }

        .card-back {
            transform: rotateY(180deg);
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
            backdrop-filter: blur(15px);
        }

        /* Anger - Mars */
        .anger .card-front {
            background: url("./assets/anger.png") no-repeat center center/cover;
        }
        .anger .card-back {
            background: linear-gradient(135deg, #8B0000, #CD853F);
        }

        /* Love - Venus */
        .love .card-front {
            background: url("./assets/love.png") no-repeat center center/cover;
        }
        .love .card-back {
            background: linear-gradient(135deg, #B85450, #C8A2C8);
        }

        /* Overthinking - Earth */
        .overthinking .card-front {
            background: url("./assets/overthinking.png") no-repeat center center/cover;
        }
        .overthinking .card-back {
            background: linear-gradient(135deg, #104610, #87CEEB);
        }

        /* Loneliness - Pluto */
        .loneliness .card-front {
            background: url("./assets/lonely.png") no-repeat center center/cover;
        }
        .loneliness .card-back {
            background: linear-gradient(135deg, #696969, #DDA0DD);
        }

        /* Happiness - Jupiter */
        .happiness .card-front {
            background: url("./assets/happiness.png") no-repeat center center/cover;
        }
        .happiness .card-back {
            background: linear-gradient(135deg, #FF8A80, #FFD54F);
        }

        

        

        .emotion-text {
            font-size: 1.5em;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        .planet-symbol img {
            width: 90px;            
            height: 90px;
            border-radius: 50%;     
            object-fit: cover;      
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.3); 
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .planet-name {
            
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-top: 8px;
            margin-bottom: 10px;
            text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
            font-family: 'IM Fell English SC', serif;
            font-size: 25px;
        }

        .planet-description {
            opacity: 0.9;
            text-align: center;
            padding: 0 15px;
            line-height: 1.4;
            font-family: 'IM Fell English', serif;
            font-size: 15px;
            letter-spacing: 1px;
            text-shadow: 0 0 2px rgba(255, 248, 220, 0.5);
            margin-bottom: 20px;
        }

        .mystical-border {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            bottom: 10px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 15px;
            pointer-events: none;
        }

        .mystical-border::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            border-radius: 15px;
            animation: borderGlow 3s ease-in-out infinite;
        }

        @keyframes borderGlow {
            0%, 100% { opacity: 0.3; }
            50% { opacity: 0.8; }
        }

        .instructions {
            margin-top: 40px;
            text-align: center;
            opacity: 0.8;
            max-width: 600px;
            font-family: 'IM Fell English', serif;
            font-size: 25px;
            color: #e6e6fa; 
            letter-spacing: 1px;
            text-shadow: 0 0 2px rgba(255, 248, 220, 0.5);
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .cards-container {
                gap: 20px;
            }
            .card {
                width: 160px;
                height: 280px;
            }
            .title {
                font-size: 2em;
            }
        }




        a {
            text-decoration: none;
            color: inherit;
        }

.custom-button-container {
    text-align: center;
    margin: 10px 0;
}

.custom-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-family: 'Cinzel Decorative', serif;
    background: linear-gradient(135deg, #b19cd9, #a18cd1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(177, 156, 217, 0.4);
    transition: all 0.3s ease;
}

.custom-button:hover {
    background: linear-gradient(135deg, #a18cd1, #b19cd9);
    box-shadow: 0 0 16px rgba(177, 156, 217, 0.7);
}
#exitBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    padding: 8px;
   background: rgba(252, 191, 237, 0.9); /* translucent light pink */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.3s ease, background 0.3s ease;
  }
  
  #exitBtn:hover {
    transform: scale(1.1);
         background: rgba(119, 40, 45, 0.6); 
  }
