/* Life Path Numbers Meanings Section */

.life-path-meanings-section {
    background: transparent;
    padding: var(--space-8xl) 0;
    position: relative;
}

.life-path-meanings {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Header Section */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.life-path-meanings-section .section-title {
    font-family: sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    letter-spacing: 2px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-intro {
    font-family: sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Numbers Grid */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Second Row Centering (Numbers 6-9) */
.number-card:nth-child(6) { grid-column: 1; }
.number-card:nth-child(7) { grid-column: 2; }
.number-card:nth-child(8) { grid-column: 4; }
.number-card:nth-child(9) { grid-column: 5; }

/* Third Row Centering (Numbers 11, 22, 33) */
.number-card:nth-child(10) { grid-column: 2; }
.number-card:nth-child(11) { grid-column: 3; }
.number-card:nth-child(12) { grid-column: 4; }

/* Number Cards */
.number-card {
    background: linear-gradient(135deg, rgba(97, 97, 125, 0.15) 0%, rgba(97, 97, 125, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.number-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    pointer-events: none;
}

/* Number Digits */
.digit {
    font-family: sans-serif;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Unique Colors for Each Number */
.number-1 .digit { color: #FFE5FE; text-shadow: 0 0 20px rgba(255, 229, 254, 0.5); }
.number-2 .digit { color: #7CFCEB; text-shadow: 0 0 20px rgba(124, 252, 235, 0.5); }
.number-3 .digit { color: #5CFEEE; text-shadow: 0 0 20px rgba(92, 254, 238, 0.5); }
.number-4 .digit { color: #E5FFE5; text-shadow: 0 0 20px rgba(229, 255, 229, 0.5); }
.number-5 .digit { color: #FBCD6C; text-shadow: 0 0 20px rgba(251, 205, 108, 0.5); }
.number-6 .digit { color: #FEE7FD; text-shadow: 0 0 20px rgba(254, 231, 253, 0.5); }
.number-7 .digit { color: #5EDDFD; text-shadow: 0 0 20px rgba(94, 221, 253, 0.5); }
.number-8 .digit { color: #CECDFE; text-shadow: 0 0 20px rgba(206, 205, 254, 0.5); }
.number-9 .digit { color: #FFDBFE; text-shadow: 0 0 20px rgba(255, 219, 254, 0.5); }
.number-11 .digit { color: #64D3FD; text-shadow: 0 0 20px rgba(100, 211, 253, 0.5); }
.number-22 .digit { color: #FCE1BC; text-shadow: 0 0 20px rgba(252, 225, 188, 0.5); }
.number-33 .digit { color: #E1C7FE; text-shadow: 0 0 20px rgba(225, 199, 254, 0.5); }

/* Enhanced Hover Effect for Digits */
.number-card:hover .digit {
    transform: scale(1.05);
}

.number-1:hover .digit { text-shadow: 0 0 30px rgba(255, 229, 254, 0.8); }
.number-2:hover .digit { text-shadow: 0 0 30px rgba(124, 252, 235, 0.8); }
.number-3:hover .digit { text-shadow: 0 0 30px rgba(92, 254, 238, 0.8); }
.number-4:hover .digit { text-shadow: 0 0 30px rgba(229, 255, 229, 0.8); }
.number-5:hover .digit { text-shadow: 0 0 30px rgba(251, 205, 108, 0.8); }
.number-6:hover .digit { text-shadow: 0 0 30px rgba(254, 231, 253, 0.8); }
.number-7:hover .digit { text-shadow: 0 0 30px rgba(94, 221, 253, 0.8); }
.number-8:hover .digit { text-shadow: 0 0 30px rgba(206, 205, 254, 0.8); }
.number-9:hover .digit { text-shadow: 0 0 30px rgba(255, 219, 254, 0.8); }
.number-11:hover .digit { text-shadow: 0 0 30px rgba(100, 211, 253, 0.8); }
.number-22:hover .digit { text-shadow: 0 0 30px rgba(252, 225, 188, 0.8); }
.number-33:hover .digit { text-shadow: 0 0 30px rgba(225, 199, 254, 0.8); }

/* Card Content */
.card-title {
    font-family: sans-serif;
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 12px;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.card-description {
    font-family: sans-serif;
    font-size: clamp(12px, 1.8vw, 14px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .numbers-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 22px;
    }

    /* Reset grid positioning for smaller screens */
    .number-card:nth-child(6) { grid-column: auto; }
    .number-card:nth-child(7) { grid-column: auto; }
    .number-card:nth-child(8) { grid-column: auto; }
    .number-card:nth-child(9) { grid-column: auto; }
    .number-card:nth-child(10) { grid-column: auto; }
    .number-card:nth-child(11) { grid-column: auto; }
    .number-card:nth-child(12) { grid-column: auto; }
}

@media (max-width: 900px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .life-path-meanings {
        padding: 50px 15px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .life-path-meanings-section .section-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .section-intro {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .life-path-meanings {
        padding: 40px 15px;
    }

    .number-card {
        padding: 20px;
    }

    .digit {
        font-size: 40px;
        margin-bottom: 12px;
    }

    .card-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .card-description {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .life-path-meanings {
        padding: 30px 10px;
    }

    .life-path-meanings-section .section-title {
        font-size: 28px;
    }

    .section-intro {
        font-size: 15px;
    }

    .number-card {
        padding: 18px;
    }

    .digit {
        font-size: 36px;
    }

    .card-title {
        font-size: 15px;
    }

    .card-description {
        font-size: 11px;
    }
}

/* Animation for scroll-triggered effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.number-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Staggered Animation */
.number-card:nth-child(1) { animation-delay: 0.1s; }
.number-card:nth-child(2) { animation-delay: 0.15s; }
.number-card:nth-child(3) { animation-delay: 0.2s; }
.number-card:nth-child(4) { animation-delay: 0.25s; }
.number-card:nth-child(5) { animation-delay: 0.3s; }
.number-card:nth-child(6) { animation-delay: 0.35s; }
.number-card:nth-child(7) { animation-delay: 0.4s; }
.number-card:nth-child(8) { animation-delay: 0.45s; }
.number-card:nth-child(9) { animation-delay: 0.5s; }
.number-card:nth-child(10) { animation-delay: 0.55s; }
.number-card:nth-child(11) { animation-delay: 0.6s; }
.number-card:nth-child(12) { animation-delay: 0.65s; }