.mysticmeg-love-match {
    /*max-width: 625px;*/
    margin: 2em auto;
    padding: 2em;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

img mysticmeg-letter-image {
width:150px;
height:auto;
}

.mysticmeg-celebrity-header {
display:flex;
width:100%;
justify-content:space-between;
}

.mysticmeg-celebrity-content {
display:flex;
align-items:flex-start;
flex-wrap:wrap;
gap:30px;
margin-bottom:25px;
width:100%;
}

.celeb_image {
width:30%;
max-width:300px;
height:auto;
}

.celeb_blurb {
 width: calc(70% - 30px);
}

.mysticmeg-celebrity-content img {
border-radius:50%;
float:left;
margin-right:20px;
max-width:300px;
height:auto;
width:100%;
}

.mysticmeg-celebrity-content p:first-of-type {
margin-top:0;
}

.celebrity-tarot-card {
display:flex;
background-image: url(/wp-content/uploads/2025/08/pattern3.png.webp);
padding:25px;
margin-bottom:15px;
border-radius:10px;
}

.card-description h2 {
font-weight:600;
text-align:center;
margin-top:0;
}

.single.single-celebrity_tarot .card-description p {
width:80%;
margin-left:auto;
margin-right:auto;
}

.celebrity-tarot-card img {
max-width:200px;
border-radius:10px;
}

.mysticmeg-form-group {
    margin-bottom: 1.5em;
}

.mysticmeg-form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.mysticmeg-form-group input {
    width: 100%;
    padding: 0.8em;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.mysticmeg-submit {
    background: #ff69b4;
    color: white;
    border: none;
    padding: 1em 2em;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.mysticmeg-submit:hover {
    background: #ff1493;
}

#mysticmeg-love-match-result {
margin-top:20px;
}

.mysticmeg-result {
    padding: 5px 15px;
	margin-bottom:20px;
    /*background: #f9f0ff;*/
    /*text-align: center;*/
	/*text-align:center;*/
background-color:#ffffff;
/*background-image: url(/wp-content/uploads/2025/08/pattern4.png.webp);
  background-repeat: repeat;*/
  border-radius:5px;
}

#mysticmeg-rune-result {
  padding-bottom: 15px;
}

.mysticmeg-letter-images {
    display: flex;
    justify-content: space-around;
    gap: 2em;
    margin-bottom: 1.5em;
}

.mysticmeg-letter-container {
    text-align: center;
}

.mysticmeg-letter-image {
    width: 150px;
    height: 150px;
    /*border-radius: 50%;
    border: 3px solid #3c0173;*/
    object-fit: cover;
    margin-bottom: 0.5em;
    transition: transform 0.3s ease;
}

.mysticmeg-letter-image:hover {
    transform: scale(1.1);
}

.mysticmeg-letter-label {
    display: block;
    font-size: 2em;
    font-weight: bold;
    color: #3c0173;
}

.mysticmeg-result-content {
    /*font-size: 1.1em;
    line-height: 1.6;*/
font-size: 1.8em;
line-height: 175%;
margin: 1.2em auto;
font-family: "Niramit", Arial;
font-weight:400;
/*max-width:625px;*/

}


.mysticmeg-match-percentage {
    font-size: 2em;
    font-weight: 600;
    color: #3c0173;
    margin-top: 1em;
	line-height:130%;
}

/* Star Sign Match Styles */
.mysticmeg-starsign-match {
    max-width: 1200px;
   /* margin: 2em auto;
    padding: 2em;*/
}

.mysticmeg-starsign-grids {
    display: flex;
    /*gap: 2em;*/
    margin-bottom: 2em;
}

.mysticmeg-starsign-section {
    flex: 1;
}

.mysticmeg-starsign-section h3 {
    margin-bottom: 0.5em;
	margin-top:0;
	/*text-align:center;*/
}

.mysticmeg-starsign-section p {

	/*text-align:center;*/
}

.mysticmeg-grid {
    display: grid;
	
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    margin-top: 1em;
}

.mysticmeg-grid.grid-1 {
padding-right:20px;
border-right:1px solid #3c0173;
} 

.mysticmeg-grid.grid-2 {
padding-left:20px;
border-left:1px solid #3c0173;

} 

.starsign-item {
    background: #fff;
    border-radius: 8px;
    padding: 0.5em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
	/*background-image: url(/wp-content/uploads/2025/08/pattern4.png.webp);
  background-repeat: repeat;*/

}

.starsign-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.starsign-item.selected {
    border-color: #3c0173;
    /*box-shadow: 0 0 0 2px rgba(255,20,147,0.3);*/
}

.starsign-item img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0.5em;
}

.starsign-info {
    text-align: center;
}

.starsign-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 0.2em;
	text-transform:capitalize;
	font-size: 2em;
}

.starsign-dates {
    font-size: 1.5em;
    color: #666;
}

/* Mystic Mandala Styles */
.mysticmeg-mandala {
    max-width: 575px;
    margin: 2em 0;
}

.mysticmeg-mandala-container {
    position: relative;
    margin-bottom: 2em;
}

.mysticmeg-mandala-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.mysticmeg-mandala area {
    cursor: pointer;
    transition: outline 0.3s ease;
}

.mysticmeg-mandala area:hover {
    outline: 2px solid rgba(255, 20, 147, 0.5);
}

/* Highlight effect for selected areas */
.mysticmeg-mandala area[data-selected="true"] {
    outline: 2px solid rgba(255, 20, 147, 0.8);
}

/* Custom styling for the mandala result */
#mysticmeg-mandala-result {
    /*background: linear-gradient(135deg, #f9f0ff 0%, #fff0f5 100%);
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);*/
    margin-top: 2em;
    transition: opacity 0.3s ease;
}

#mysticmeg-mandala-result h3 {
    color: #4a154b;
text-align:center;
}

#mysticmeg-mandala-result p {
    font-size: inherit;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0;
}

/* Your Runes Styles */
.mysticmeg-runes {
width:100%;
    max-width: 1200px;
    margin: 2em auto;
}

.mysticmeg-runes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2em 1em;
    margin-bottom: 2em;
}

.mysticmeg-rune-item {
    aspect-ratio: 1;
    cursor: pointer;
    perspective: 1000px;
    transform-style: preserve-3d;
    position: relative;
}

.mysticmeg-rune-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    transform-origin: center;
}

.mysticmeg-rune-item:hover .mysticmeg-rune-inner {
    transform: scale(1.05) rotateY(15deg);
}

@keyframes flipCard {
    0% {
        transform: rotateY(0);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.mysticmeg-rune-item.flipping .mysticmeg-rune-inner {
    animation: flipCard 0.8s ease-in-out forwards;
}

.mysticmeg-rune-item.selected .mysticmeg-rune-inner {
    transform: scale(1.1);
}

.mysticmeg-rune-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
}

.mysticmeg-rune-item.selected::after {
    content: '';
    position: absolute;
    inset: -5px;
    /*border: 2px solid #4a154b;*/
    border-radius: 5px;
    pointer-events: none;
}

/* Rune Readings */
.mysticmeg-rune-readings {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 2em;
    margin-top: 1.5em;
}

h3.mysticmeg-rune-title {
font-size:3em;
color:#1d1d1b;
}

.mysticmeg-reading{

background-image: 
    url(/wp-content/uploads/2025/08/pattern4.png.webp);
	background-repeat: repeat;
border-radius:5px;	
	
	}

.mysticmeg-reading h4 {
    color: #4a154b;
	text-align:center;
    /*font-size: 3em;*/
    margin-bottom: 0;	
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5em;
	font-size:2em;
}

.mysticmeg-reading p {
    /*font-size: 1.6em;*/
    /*line-height: 1.6;
    color: #333;*/
	margin-top:0;
	text-align:left;
	padding:15px;
}

.mysticmeg-rune-title {
    color: #4a154b;
    font-size: 2em;
    text-align: center;
    margin-bottom: 1em;
}

/* Passion Meter Styles */
.mysticmeg-passion-meter {
max-width: 100%;

  text-align: center;
  background-color: #fff;
  border-radius: 5px;
}

.mysticmeg-passion-start {
padding:20px 0;
}

.mysticmeg-start-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1.6em;
    background-color: #e62000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 1em;
}

.mysticmeg-start-btn:hover {
    background-color: #d22329;
    transform: scale(1.05);
}

.mysticmeg-thumb-prompt {
    margin: 2em 0;
	padding:20px;
}

.mysticmeg-thumb-area {
    width: 150px;
    height: 150px;
    margin: 1em auto;
    border: 3px solid #4a154b;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.mysticmeg-thumb-area:hover {
    transform: scale(1.05);
}

.mysticmeg-thumb-area.active {
    background-color: rgba(74, 21, 75, 0.1);
}

.mysticmeg-thumb-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 2px dashed #4a154b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }
}

.mysticmeg-passion-gauge {
    margin: 2em 10px;
    max-width: 320px;
	display:flex;
	flex-direction:column;
	align-items:center;
}

.mysticmeg-gauge-bg {
    height: 30px;
    background-color: #f0f0f0;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
	border:1px solid #4a154b;
	width:300px;
}

.mysticmeg-gauge-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #4a154b, #ff6b6b);
    transition: width 0.1s linear;
}

.mysticmeg-gauge-value {
    font-size: 1.4em;
    margin-top: 0.5em;
    font-weight: bold;
    color: #4a154b;
	padding-bottom:15px;
}

.mysticmeg-passion-result {
    margin: 2em 0;
	padding:20px 0;
}

.mysticmeg-result-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #4a154b;
    margin: 0.5em 0;
}

.mysticmeg-result-text {
    font-size: 1.8em;
    color: #3c0173;
    font-weight: bold;
    text-transform: uppercase;
}

.mysticmeg-retest-btn {
display: inline-block;
    padding: 12px 30px;
    font-size: 1.6em;
    background-color: #e62000;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    margin-top: 1em;
}

.mysticmeg-retest-btn:hover {
    background-color: #d22329;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mysticmeg-starsign-grids {
        flex-direction: column;
    }

    .mysticmeg-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mysticmeg-letter-images {
        gap: 1em;
    }

    .mysticmeg-letter-image {
        width: 100px;
        height: 100px;
    }

    .mysticmeg-letter-label {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .mysticmeg-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design for Runes */
@media (max-width: 1024px) {
    .mysticmeg-runes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .mysticmeg-runes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .mysticmeg-runes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 400px) {
    .mysticmeg-runes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
