/* Numerology Calculator Specific Styles */

.tool-page {
    padding-top: 0;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-gray);
}

.breadcrumb a {
    color: var(--text-gray);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-purple);
}

.breadcrumb .separator {
    margin: 0 10px;
    color: var(--border-color);
}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 600;
}

.tool-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.tool-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.tool-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

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

.tool-header h1 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 15px;
}

.tool-subtitle {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 25px;
    line-height: 1.6;
}

.tool-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 16px;
}

.meta-separator {
    opacity: 0.5;
}

.tool-content {
    padding: 60px 20px;
    background: var(--bg-light);
}

/* Numerology Calculator Container */
.numerology-calc-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.numerology-calc-header {
    text-align: center;
    color: white;
    margin-bottom: 35px;
}

.numerology-calc-header h2 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 900;
}

.numerology-calc-header p {
    font-size: 16px;
    opacity: 0.95;
}

.numerology-input-group {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.numerology-input-group label {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    font-size: 15px;
}

.numerology-input-group input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
}

.numerology-input-group input:focus {
    outline: none;
    border-color: #f093fb;
    box-shadow: 0 0 0 3px rgba(240, 147, 251, 0.1);
}

.numerology-input-group small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 13px;
}

.numerology-calc-btn {
    width: 100%;
    padding: 18px;
    background: white;
    color: #f5576c;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.numerology-calc-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Numerology Result */
.numerology-result {
    margin-top: 30px;
    display: none;
}

.numerology-result.show {
    display: block;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Number Cards Grid */
.number-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.number-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border-left: 5px solid;
}

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

.number-card.life-path {
    border-left-color: #4CAF50;
}

.number-card.destiny {
    border-left-color: #FF9800;
}

.number-card.soul {
    border-left-color: #9C27B0;
}

.number-card.personality {
    border-left-color: #2196F3;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-icon {
    font-size: 28px;
}

.card-header h3 {
    font-size: 18px;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.number-display {
    font-size: 72px;
    font-weight: 900;
    text-align: center;
    margin: 20px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-label {
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.number-desc {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Numerology Details */
.numerology-details {
    background: white;
    border-radius: 15px;
    padding: 30px;
}

.detail-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.detail-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.detail-section h4 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 800;
}

.traits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trait-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    border-left: 4px solid #f093fb;
}

.trait-item strong {
    display: block;
    margin-bottom: 10px;
    color: #f5576c;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trait-item p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
}

/* Lucky Elements Grid */
.lucky-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.lucky-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #fff5f8 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #ffe0e8;
}

.lucky-icon {
    font-size: 32px;
}

.lucky-item strong {
    display: block;
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
}

.lucky-item p {
    color: #f5576c;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.detail-section > p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

/* Info Box */
.numerology-info-box {
    margin-top: 30px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    border-left: 5px solid #f093fb;
}

.numerology-info-box h4 {
    color: #f5576c;
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 800;
}

.numerology-info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.numerology-info-box ul {
    margin: 0;
    padding-left: 25px;
    color: #555;
}

.numerology-info-box li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.numerology-info-box strong {
    color: #333;
}

/* SEO Content */
.seo-content {
    padding: 80px 20px;
    background: white;
}

.content-article {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-article h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.content-article p {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 16px;
}

.content-article ul {
    margin-bottom: 25px;
    padding-left: 30px;
    color: var(--text-gray);
}

.content-article li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.content-article strong {
    color: var(--text-dark);
    font-weight: 700;
}

.related-tools {
    max-width: 900px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
}

.related-tools h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.related-tool-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 25px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.related-tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #f093fb;
}

.related-tool-card .tool-icon {
    font-size: 42px;
}

.related-tool-card .tool-name {
    font-weight: 700;
    color: var(--text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 32px;
    }
    
    .tool-subtitle {
        font-size: 16px;
    }
    
    .tool-icon-large {
        font-size: 52px;
    }
    
    .numerology-calc-container {
        padding: 25px;
    }
    
    .numerology-calc-header h2 {
        font-size: 28px;
    }
    
    .number-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .numerology-details {
        padding: 20px;
    }
    
    .traits-list {
        grid-template-columns: 1fr;
    }
    
    .lucky-grid {
        grid-template-columns: 1fr;
    }
    
    .content-article h2 {
        font-size: 26px;
    }
    
    .content-article h3 {
        font-size: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tool-header {
        padding: 40px 20px;
    }
    
    .tool-header h1 {
        font-size: 26px;
    }
    
    .numerology-calc-header h2 {
        font-size: 24px;
    }
    
    .numerology-calc-btn {
        font-size: 16px;
        padding: 15px;
    }
    
    .number-display {
        font-size: 56px;
    }
    
    .detail-section h4 {
        font-size: 20px;
    }
}