/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: #2c1810;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    font-size: 2.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: #e6e6fa;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #ffd700;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 0 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23ffd700" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    position: relative;
}

.hero-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 4.5rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.5rem;
    color: #e6e6fa;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 35px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.btn.primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn.secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
}

.btn.secondary:hover {
    background: #ffd700;
    color: #1a1a2e;
}

/* Hero Visual */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mystical-circle {
    width: 400px;
    height: 400px;
    border: 4px solid #ffd700;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
}

.rotating-symbols {
    font-size: 2.5rem;
    animation: rotate 20s linear infinite;
    letter-spacing: 1.2rem;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.tarot-section,
.numerology-section,
.services-section,
.contact-section {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem 0;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tarot-section h2,
.numerology-section h2,
.services-section h2,
.contact-section h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.tarot-section p,
.numerology-section p {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tarot Specific Styles */
.spread-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.spread-btn {
    padding: 14px 28px;
    border: 2px solid #1a1a2e;
    background: transparent;
    color: #1a1a2e;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
    min-width: 160px;
    text-align: center;
}

.spread-btn.active,
.spread-btn:hover {
    background: #1a1a2e;
    color: white;
}

.tarot-area {
    max-width: 800px;
    margin: 0 auto;
}

.card-deck {
    text-align: center;
    margin-bottom: 2rem;
}

.deck-pile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.deck-pile:hover {
    transform: scale(1.05);
}

.card-back {
    width: 120px;
    height: 180px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 4px solid #ffd700;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.card-back::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #ffd700;
    border-radius: 8px;
    opacity: 0.5;
}

.deck-instruction {
    font-size: 1.3rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.card-spread {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.tarot-card {
    width: 140px;
    height: 210px;
    background: white;
    border: 3px solid #ffd700;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tarot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.tarot-card.flipped {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.card-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    color: #1a1a2e;
}

.card-suit {
    font-size: 1.8rem;
    margin-bottom: 0.7rem;
}

.card-meaning {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    line-height: 1.3;
}

.reading-result {
    background: rgba(26, 26, 46, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.reading-result h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.hidden {
    display: none;
}

/* Numerology Styles */
.numerology-calculator {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.input-group label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.date-input {
    padding: 16px 24px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1.2rem;
    text-align: center;
    max-width: 250px;
}

.date-input:focus {
    outline: none;
    border-color: #ffd700;
}

.numerology-result {
    background: rgba(26, 26, 46, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.life-path-number h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.number-display {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.number-display span {
    font-size: 3rem;
    font-weight: 600;
    color: #1a1a2e;
}

.number-meaning h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.number-meaning p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* 
Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: #1a1a2e;
}

.service-card p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #1a1a2e;
}

.contact-info p {
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-item .icon {
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #e6e6fa;
    padding: 2rem 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffed4e;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        margin-top: 80px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }

    .mystical-circle {
        width: 200px;
        height: 200px;
        margin-top: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer .container {
        flex-direction: column;
        text-align: center;
    }

    .card-spread {
        flex-direction: column;
        align-items: center;
    }

    /* Fix spread selector buttons for mobile */
    .spread-selector {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .spread-btn {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
    }

    /* Fix form fields for mobile */
    .form-field {
        margin-bottom: 1.5rem;
    }

    .form-field label {
        font-size: 1.1rem !important;
        margin-bottom: 0.7rem;
    }

    .contact-form .form-field input,
    .contact-form .form-field select,
    .contact-form .form-field textarea {
        font-size: 16px !important;
        padding: 14px 16px !important;
        border-radius: 8px;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Fix phone input for mobile */
    .phone-input-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    .phone-input-group select {
        flex: none;
        width: 100%;
        font-size: 1rem;
        padding: 14px 16px;
    }

    .phone-input-group input {
        width: 100%;
        font-size: 1rem;
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav {
        padding: 0.8rem;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .tarot-section h2,
    .numerology-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Better spread buttons for small screens */
    .spread-btn {
        font-size: 0.9rem;
        padding: 10px 16px;
        max-width: 180px;
    }

    /* Better form styling for small screens */
    .form-field label {
        font-size: 16px !important;
    }

    .contact-form .form-field input,
    .contact-form .form-field select,
    .contact-form .form-field textarea {
        font-size: 16px !important;
        padding: 12px 14px !important;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    .phone-input-group select,
    .phone-input-group input {
        font-size: 16px !important;
        padding: 12px 14px !important;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    /* Fix dropdown appearance on mobile */
    .contact-form select {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-flip {
    animation: cardFlip 0.6s ease-in-out;
}

@keyframes cardFlip {
    0% {
        transform: rotateY(0deg);
    }

    50% {
        transform: rotateY(90deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}

/* Mystical Effects */
.glow {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* S
ingle Card Selection Styles */
.single-card-selection {
    text-align: center;
    margin: 2rem 0;
}

.single-card-selection h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.single-card-selection p {
    color: #666;
    margin-bottom: 2rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.selectable-card {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #ffd700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.selectable-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
    border-color: #ffed4e;
}

.selectable-card.selected {
    transform: scale(1.2);
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.6);
    z-index: 10;
}

.selectable-card::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid #ffd700;
    border-radius: 4px;
    opacity: 0.3;
}

.selected-card-display {
    background: white;
    border: 3px solid #ffd700;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.selected-card-display .card-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.selected-card-display .card-symbol {
    font-size: 4rem;
    margin: 1rem 0;
}

.selected-card-display .card-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}

.selected-card-display .card-keywords {
    background: rgba(26, 26, 46, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.selected-card-display .card-keywords h5 {
    font-family: 'Cinzel', serif;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.selected-card-display .card-advice {
    font-style: italic;
    color: #666;
    border-left: 3px solid #ffd700;
    padding-left: 1rem;
    margin: 1rem 0;
}

/* For
m Field Styling */
.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-field label {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.7rem;
    font-size: 1.2rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

.contact-form .form-field input,
.contact-form .form-field select,
.contact-form .form-field textarea {
    padding: 16px 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.contact-form .form-field input:focus,
.contact-form .form-field select:focus,
.contact-form .form-field textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Admin link styling */
#admin-link {
    color: #ffd700 !important;
    opacity: 0.7;
    font-size: 0.9rem;
}

#admin-link:hover {
    opacity: 1;
}

/* Success Modal Styles */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeInModal 0.3s ease-in-out forwards;
}

.success-modal-content {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: scaleInModal 0.3s ease-in-out 0.1s forwards;
}

.success-icon {
    font-size: 4rem;
    color: #27ae60;
    margin-bottom: 1rem;
    animation: bounceIcon 0.6s ease-in-out 0.3s;
}

.success-modal h3 {
    font-family: 'Cinzel', serif;
    color: #1a1a2e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.success-modal p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-modal .btn {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.success-modal .btn:hover {
    transform: translateY(-2px);
}

@keyframes fadeInModal {
    to {
        opacity: 1;
    }
}

@keyframes scaleInModal {
    to {
        transform: scale(1);
    }
}

@keyframes bounceIcon {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive adjustments for form */
@media (max-width: 768px) {
    .success-modal-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .success-icon {
        font-size: 3rem;
    }

    .success-modal h3 {
        font-size: 1.5rem;
    }
}

* Phone Input Group */ .phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group select {
    flex: 0 0 120px;
    padding: 12px 8px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.phone-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.phone-input-group select:focus,
.phone-input-group input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

/* Fix Admin link styling to match other social links */
#admin-link {
    color: #ffd700 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    font-size: inherit !important;
    opacity: 1 !important;
}

#admin-link:hover {
    color: #ffed4e !important;
}

/* Authentication Modal */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    animation: fadeInModal 0.3s ease-in-out forwards;
}

.auth-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    animation: scaleInModal 0.3s ease-in-out 0.1s forwards;
}

.auth-modal h3 {
    font-family: 'Cinzel', serif;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.auth-modal input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.auth-modal input:focus {
    outline: none;
    border-color: #ffd700;
}

.auth-modal .btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.auth-modal .btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.auth-modal .btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #1a1a2e;
}

.auth-modal .btn-secondary {
    background: #ddd;
    color: #666;
}

/* Additional mobile optimizations */
@media (max-width: 360px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .spread-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .contact-form .form-field input,
    .contact-form .form-field select,
    .contact-form .form-field textarea {
        font-size: 16px !important;
        padding: 12px 14px !important;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
}

/*
 Admin Dashboard Buttons */
.admin-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.admin-buttons .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-buttons .btn-primary {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: white;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.admin-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.admin-buttons .btn-secondary {
    background: #95a5a6;
    color: white;
}

.admin-buttons .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-1px);
}

/* Responsive admin buttons */
@media (max-width: 480px) {
    .admin-buttons {
        flex-direction: column;
        align-items: center;
    }

    .admin-buttons .btn {
        width: 100%;
        max-width: 200px;
    }
}

/* M
obile font fix - Force proper font rendering */
@media screen and (max-width: 768px) {

    /* Override any browser default font sizing */
    input,
    select,
    textarea {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }

    /* Specific form field overrides */
    .contact-form input[type="text"],
    .contact-form input[type="tel"],
    .contact-form input[type="email"],
    .contact-form select,
    .contact-form textarea {
        font-size: 16px !important;
        line-height: 1.4 !important;
        padding: 14px 16px !important;
        min-height: 44px !important;
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }

    /* Phone input specific */
    #country-code,
    #phone {
        font-size: 16px !important;
        -webkit-text-size-adjust: 100% !important;
        -moz-text-size-adjust: 100% !important;
        text-size-adjust: 100% !important;
    }

    /* Labels */
    .form-field label {
        font-size: 16px !important;
        font-weight: 600 !important;
    }
}

/* Additional mobile fixes for very small screens */
@media screen and (max-width: 480px) {

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px !important;
        padding: 12px 16px !important;
        border-radius: 6px !important;
    }
}

/* Prevent zoom on input focus for iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {

    select,
    textarea,
    input[type="text"],
    input[type="tel"],
    input[type="email"] {
        font-size: 16px !important;
    }
}

/* Lar
ge Screen Optimizations */
@media screen and (min-width: 1400px) {
    .container {
        max-width: 1600px;
        padding: 0 40px;
    }

    .hero-content h2 {
        font-size: 5rem;
    }

    .hero-content p {
        font-size: 1.6rem;
    }

    .mystical-circle {
        width: 450px;
        height: 450px;
    }

    .rotating-symbols {
        font-size: 3rem;
    }

    .tarot-section h2,
    .numerology-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 3.5rem;
    }

    .btn {
        padding: 18px 36px;
        font-size: 1.3rem;
        min-width: 200px;
    }

    .service-card {
        padding: 3rem;
    }

    .service-card h3 {
        font-size: 2rem;
    }

    .service-card p {
        font-size: 1.2rem;
    }

    .price {
        font-size: 1.7rem;
    }
}

@media screen and (min-width: 1800px) {
    .container {
        max-width: 1800px;
    }

    .hero-content h2 {
        font-size: 5.5rem;
    }

    .tarot-section h2,
    .numerology-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 4rem;
    }
}