/* 6346 Ayet Purple Theme - Hero Styling */

:root {
    --ayet-primary: #7c3aed;      /* Purple */
    --ayet-secondary: #a855f7;    /* Light Purple */
    --ayet-accent: #c084fc;       /* Lighter Purple */
    --ayet-glow: rgba(124, 58, 237, 0.4);
    --ayet-bg-light: #faf5ff;     /* Very light purple bg */
    --ayet-bg-medium: #f3e8ff;    /* Light purple bg */
    --ayet-bg-dark: #e9d5ff;      /* Medium purple bg */
}

/* Hero 6346 - Purple gradient theme */
.hero-6346-style {
    background: linear-gradient(135deg, var(--ayet-bg-light) 0%, var(--ayet-bg-medium) 50%, var(--ayet-bg-dark) 100%);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Dark mode support */
.dark .hero-6346-style {
    background: linear-gradient(135deg, #1a1625 0%, #2d1b3d 50%, #3d2755 100%);
}

/* Central 6346 Number Styling */
.number-main-6346 {
    font-size: 9rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--ayet-primary) 0%, var(--ayet-secondary) 50%, var(--ayet-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    line-height: 1;
    position: relative;
    margin: 2rem 0;
    animation: pulse-glow 3s ease-in-out infinite;
}

/* Glow effect for 6346 */
.number-main-6346::before {
    content: '6346';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: inherit;
    font-weight: inherit;
    background: var(--ayet-glow);
    filter: blur(20px);
    z-index: -1;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

/* Hero content container */
.hero-content-6346 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Formula bubbles orbit for 6346 */
.calculation-orbit-6346 {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
    animation: orbit-rotation 30s linear infinite;
}

/* Individual formula bubble positioning for 6346 */
.calculation-orbit-6346 .formula-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--ayet-primary);
    border-radius: 25px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ayet-primary);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dark .calculation-orbit-6346 .formula-bubble {
    background: rgba(30, 25, 40, 0.95);
    color: var(--ayet-accent);
    border-color: var(--ayet-accent);
}

/* 8 formula positions around 6346 */
.calculation-orbit-6346 .formula-1 { top: 0; left: 50%; transform: translateX(-50%); }
.calculation-orbit-6346 .formula-2 { top: 15%; right: 15%; }
.calculation-orbit-6346 .formula-3 { top: 50%; right: 0; transform: translateY(-50%); }
.calculation-orbit-6346 .formula-4 { bottom: 15%; right: 15%; }
.calculation-orbit-6346 .formula-5 { bottom: 0; left: 50%; transform: translateX(-50%); }
.calculation-orbit-6346 .formula-6 { bottom: 15%; left: 15%; }
.calculation-orbit-6346 .formula-7 { top: 50%; left: 0; transform: translateY(-50%); }
.calculation-orbit-6346 .formula-8 { top: 15%; left: 15%; }

/* Hover effects */
.calculation-orbit-6346 .formula-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 20px var(--ayet-glow)); }
    50% { filter: drop-shadow(0 0 40px var(--ayet-glow)); }
}

@keyframes glow-pulse {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

@keyframes orbit-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-6346-style {
        padding: 2rem 1rem;
    }
    
    .number-main-6346 {
        font-size: 6rem;
    }
    
    .calculation-orbit-6346 {
        width: 300px;
        height: 300px;
    }
    
    .calculation-orbit-6346 .formula-bubble {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .number-main-6346 {
        font-size: 4.5rem;
    }
    
    .calculation-orbit-6346 {
        width: 250px;
        height: 250px;
    }
}

/* 6346 specific color variations */
.ayet-card {
    border-left: 4px solid var(--ayet-primary);
}

.ayet-highlight {
    color: var(--ayet-primary);
    font-weight: 700;
}

.ayet-badge {
    background: var(--ayet-primary);
    color: white;
}

/* Section dividers with purple theme */
.section-divider-6346 {
    border-top: 2px solid var(--ayet-accent);
    margin: 3rem 0;
    position: relative;
}

.section-divider-6346::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--ayet-primary);
}