/* Creative UI Components - Non-rectangular Styles */

/* Hexagon Cards for Creative Uses */
.hexagon-card {
    width: 300px;
    height: 260px;
    position: relative;
    margin: 60px auto;
}

.hexagon-content {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(0deg);
    transition: all 0.5s ease;
}

.hexagon-content::before,
.hexagon-content::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 215, 0, 0.08) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.hexagon-content::before {
    transform: rotate(60deg);
}

.hexagon-content::after {
    transform: rotate(-60deg);
}

.hexagon-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.hexagon-card:hover .hexagon-content {
    transform: rotate(30deg);
}

.hexagon-card:hover .hexagon-content::before,
.hexagon-card:hover .hexagon-content::after {
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.2) 0%, rgba(255, 215, 0, 0.15) 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

/* Circular Progress Cards for Advanced Features */
.circle-feature {
    width: 280px;
    height: 280px;
    position: relative;
    margin: 2rem auto;
}

.circle-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        rgba(255, 23, 68, 0.3) 0deg,
        rgba(255, 215, 0, 0.3) 120deg,
        rgba(220, 20, 60, 0.3) 240deg,
        rgba(255, 23, 68, 0.3) 360deg
    );
    padding: 3px;
    position: relative;
    animation: rotateRing 10s linear infinite;
}

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

.circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(20, 20, 20, 0.6) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.circle-feature:hover .circle-ring {
    animation-duration: 2s;
}

.circle-feature:hover .circle-inner {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(30, 30, 30, 0.7) 100%);
}

/* Diamond/Rhombus Cards for Tips */
.diamond-tip {
    width: 250px;
    height: 250px;
    margin: 2rem auto;
    position: relative;
}

.diamond-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    transform: rotate(45deg);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}

.diamond-shape::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

.diamond-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 70%;
    text-align: center;
    z-index: 10;
}

.diamond-tip:hover .diamond-shape {
    transform: rotate(45deg) scale(1.05);
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
}

/* Wave Section Dividers */
.wave-divider {
    width: 100%;
    height: 100px;
    position: relative;
    margin: 3rem 0;
    overflow: hidden;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-path {
    fill: none;
    stroke: rgba(255, 215, 0, 0.3);
    stroke-width: 2;
    animation: waveMotion 6s ease-in-out infinite;
}

@keyframes waveMotion {
    0%, 100% { d: path('M0,50 Q150,20 300,50 T600,50 L600,100 L0,100 Z'); }
    50% { d: path('M0,50 Q150,80 300,50 T600,50 L600,100 L0,100 Z'); }
}

/* Blob/Organic Shapes */
.organic-card {
    width: 320px;
    height: 320px;
    position: relative;
    margin: 2rem auto;
}

.organic-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 8s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.5s ease;
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 70% 30% 50% 50% / 30% 70% 30% 70%;
    }
    50% {
        border-radius: 50% 50% 30% 70% / 70% 30% 70% 30%;
    }
    75% {
        border-radius: 30% 70% 30% 70% / 50% 50% 70% 30%;
    }
}

.organic-card:hover .organic-shape {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.25) 0%, rgba(255, 215, 0, 0.15) 100%);
    box-shadow: 0 20px 40px rgba(255, 23, 68, 0.3);
}

/* Zigzag/Chevron Layout */
.zigzag-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.zigzag-item {
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 215, 0, 0.05) 100%);
    position: relative;
    margin-left: 0;
    transition: all 0.3s ease;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
}

.zigzag-item:nth-child(even) {
    margin-left: 40px;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 23, 68, 0.1) 100%);
}

.zigzag-item:hover {
    transform: translateX(10px);
    box-shadow: 10px 0 30px rgba(255, 215, 0, 0.3);
}

/* Starburst/Badge Style */
.starburst-badge {
    width: 200px;
    height: 200px;
    position: relative;
    margin: 2rem auto;
}

.starburst {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff1744 0%, #ffd700 100%);
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(
        50% 0%, 61% 35%, 98% 35%, 68% 57%,
        79% 91%, 50% 70%, 21% 91%, 32% 57%,
        2% 35%, 39% 35%
    );
    transition: all 0.4s ease;
}

.starburst-badge:hover .starburst {
    transform: rotate(72deg) scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

.starburst-content {
    transform: rotate(0deg);
    transition: transform 0.4s ease;
}

.starburst-badge:hover .starburst-content {
    transform: rotate(-72deg);
}

/* Static Golden Title */
.golden-title {
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 4rem 0 1rem;
    text-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hexagon-card,
    .circle-feature,
    .organic-card {
        width: 250px;
        height: 250px;
    }
    
    .diamond-tip {
        width: 200px;
        height: 200px;
    }
    
    .zigzag-item:nth-child(even) {
        margin-left: 20px;
    }
    
    .golden-title {
        font-size: 2rem;
    }
}