/* Custom styles for Mystic Tarot */

/* Base styles */
body {
    overflow-x: hidden;
}

/* Navigation */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: white;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.cta-button {
    background: linear-gradient(45deg, #D4AF37, #B8860B);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Tarot Cards */
.tarot-card {
    background: linear-gradient(135deg, rgba(45, 27, 59, 0.8), rgba(26, 27, 75, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    height: 400px;
    width: 300px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tarot-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.tarot-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    z-index: 0;
}

/* Card Front and Back Styles */
.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.card-front {
    background: linear-gradient(135deg, rgba(45, 27, 59, 0.9), rgba(26, 27, 75, 0.9));
    transform: rotateY(0deg);
}

.card-back {
    background: linear-gradient(135deg, rgba(26, 27, 75, 0.9), rgba(45, 27, 59, 0.9));
    transform: rotateY(180deg);
}

/* Card Icon Styles */
.card-icon {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-icon i {
    font-size: 3rem;
    color: var(--mystic-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* Card Decoration */
.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--mystic-gold), transparent);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card Content Styles */
.tarot-card h3 {
    position: relative;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--mystic-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    z-index: 1;
    text-align: center;
}

.tarot-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    z-index: 1;
    text-align: center;
    font-size: 1.1rem;
}

/* Flip Animation */
.tarot-card.flipped .card-front {
    transform: rotateY(180deg);
}

.tarot-card.flipped .card-back {
    transform: rotateY(0deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tarot-card {
        height: 350px;
        width: 280px;
        padding: 2rem;
    }

    .card-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .card-icon i {
        font-size: 2.5rem;
    }

    .tarot-card h3 {
        font-size: 1.75rem;
    }
    
    .tarot-card p {
        font-size: 1rem;
    }
}

/* Add a subtle glow effect to the back of the card */
.card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Add a mystical shimmer effect */
@keyframes shimmer {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.tarot-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite linear;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tarot-card:hover::after {
    opacity: 1;
}

/* Reading Cards */
.reading-card {
    background: rgba(45, 27, 59, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.reading-card:hover::before {
    transform: translateX(100%);
}

.reading-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.card-icon {
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.reading-card:hover .card-icon {
    transform: scale(1.2);
}

.reading-button {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.reading-button:hover {
    background: #D4AF37;
    color: #2D1B3B;
    transform: translateY(-3px);
}

/* Social Icons */
.social-icon {
    color: #D4AF37;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #FFD700;
    transform: translateY(-3px);
}

/* Particles Container */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #2D1B3B;
}

::-webkit-scrollbar-thumb {
    background: #D4AF37;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B8860B;
}

/* Modal Styles */
.modal {
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform, opacity;
}

.modal > div {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
    margin: auto;
    will-change: transform, opacity;
}

.modal:not(.hidden) {
    display: flex;
}

.modal:not(.hidden) > div {
    transform: scale(1);
    opacity: 1;
}

/* Single Card Modal */
.tarot-card-modal {
    perspective: 1000px;
    height: 400px;
    position: relative;
    margin: 2rem 0;
}

.card-front-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-front-modal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

/* Three Card Spread Modal */
.tarot-card-spread {
    background: rgba(45, 27, 59, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.tarot-card-spread:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.card-container {
    perspective: 1000px;
    height: 200px;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.card-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.card-container:hover img {
    transform: rotateY(180deg);
}

/* Celtic Cross Modal */
.celtic-cross-layout {
    background: rgba(45, 27, 59, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2rem;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

.celtic-card {
    background: rgba(26, 27, 75, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1rem;
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
}

.celtic-card:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.card-reading {
    background: rgba(45, 27, 59, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Buttons */
.share-button, .save-button {
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.share-button:hover, .save-button:hover {
    background: #D4AF37;
    color: #2D1B3B;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tarot-card-spread {
        margin-bottom: 2rem;
    }
    
    .celtic-cross-layout {
        padding: 1rem;
    }
    
    .celtic-card {
        padding: 0.5rem;
    }
    
    .card-container {
        height: 150px;
    }
    
    .celtic-reading-details {
        max-height: 60vh;
    }
    
    .tarot-card-modal {
        height: 300px;
    }
}

/* Optimize scrolling performance */
.celtic-reading-details {
    transform: translateZ(0);
    backface-visibility: hidden;
    overflow-y: auto;
    max-height: 70vh;
    will-change: transform;
}

/* Tarot Card Base Styles */
.tarot-card-base {
    background: rgba(45, 27, 59, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Single Card Layout */
.single-card-container {
    perspective: 1000px;
    height: 400px;
    margin: 2rem auto;
    cursor: pointer;
}

.single-card {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

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

.single-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.single-card-front,
.single-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.single-card-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.single-card-back {
    background: linear-gradient(135deg, rgba(45, 27, 59, 0.9), rgba(26, 27, 75, 0.9));
    border: 1px solid rgba(255, 215, 0, 0.2);
    transform: rotateY(180deg);
}

.single-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

.single-card-back .card-title {
    color: var(--mystic-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.single-card-back .card-meaning {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Add hover effect to indicate clickable */
.single-card-container:hover .single-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Add a subtle glow effect to the back of the card */
.single-card-back::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: -1;
}

/* Three Card Spread Layout */
.three-card-spread {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.spread-card {
    perspective: 1000px;
    height: 300px;
}

.spread-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.spread-card-inner.flipped {
    transform: rotateY(180deg);
}

.spread-card-front,
.spread-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.spread-card-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.spread-card-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.spread-card-label {
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--mystic-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Celtic Cross Layout */
.celtic-cross-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.celtic-card {
    perspective: 1000px;
    height: 250px;
}

.celtic-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.celtic-card-inner.flipped {
    transform: rotateY(180deg);
}

.celtic-card-front,
.celtic-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
}

.celtic-card-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.celtic-card-back {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.2);
    transform: rotateY(180deg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.celtic-card-label {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--mystic-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Card Content Styles */
.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mystic-gold);
    margin-bottom: 0.5rem;
}

.card-meaning {
    font-size: 0.9rem;
    color: var(--mystic-light);
    line-height: 1.4;
}

.card-reading {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .three-card-spread {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .single-card-container,
    .spread-card,
    .celtic-card {
        height: 250px;
    }
}

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

    .single-card-container,
    .spread-card,
    .celtic-card {
        height: 200px;
    }
}

/* Ancient Art Section Styles */
#ancient-art {
    position: relative;
    isolation: isolate;
}

#ancient-art::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23D4AF37' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: -1;
}

.ancient-card {
    position: relative;
    background: linear-gradient(135deg, rgba(45, 27, 59, 0.8), rgba(26, 27, 75, 0.8));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.ancient-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.ancient-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    z-index: 0;
}

.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    z-index: 1;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
}

.card-icon i {
    font-size: 2.5rem;
    color: var(--mystic-gold);
    transition: all 0.4s ease;
}

.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--mystic-gold), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.ancient-card h3 {
    position: relative;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--mystic-gold);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    z-index: 1;
}

.ancient-card p {
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    z-index: 1;
}

/* Hover Effects */
.ancient-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.4);
}

.ancient-card:hover .card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
}

.ancient-card:hover .card-icon::before {
    opacity: 1;
}

.ancient-card:hover .card-icon i {
    transform: scale(1.1);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.ancient-card:hover .card-decoration {
    opacity: 1;
    height: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ancient-card {
        padding: 2rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .card-icon i {
        font-size: 2rem;
    }

    .ancient-card h3 {
        font-size: 1.5rem;
    }
}

#ancient-art .text-mystic-gold {
    position: relative;
}

#ancient-art .text-mystic-gold::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 2px;
    background: linear-gradient(to right, transparent, #D4AF37, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

#ancient-art .ancient-card:hover .text-mystic-gold::after {
    opacity: 1;
}

#ancient-art .font-playfair {
    letter-spacing: 0.05em;
}

#ancient-art .text-mystic-light {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #ancient-art .grid {
        gap: 2rem;
    }
    
    .ancient-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
} 