/**
 * Streamzy Elementor Widgets Styles
 */

/* Live Stream Embed Widget */
.streamzy-live-embed {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.streamzy-live-embed.aspect-16-9 {
    padding-bottom: 56.25%;
}

.streamzy-live-embed.aspect-4-3 {
    padding-bottom: 75%;
}

.streamzy-live-embed.aspect-21-9 {
    padding-bottom: 42.86%;
}

.streamzy-live-embed.aspect-1-1 {
    padding-bottom: 100%;
}

.streamzy-embed-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.streamzy-embed-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 19, 48, 0.5);
    border: 1px dashed rgba(47, 53, 85, 0.5);
    border-radius: 20px;
}

.streamzy-embed-placeholder p {
    color: #828cc1;
    font-size: 14px;
}

/* Pricing Table Widget */
.streamzy-pricing-wrapper {
    position: relative;
}

.streamzy-pricing-wrapper.featured {
    padding: 4px;
    border-radius: 20px;
    background: linear-gradient(78deg, #1869CC 4.2%, #742AFE 47.06%, #E30BEB 100%);
}

.streamzy-pricing-badge {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    padding: 16px 12px;
}

.streamzy-pricing-badge p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
}

.streamzy-pricing-card {
    padding: 40px 24px;
    border-radius: 16px;
    border: 1px solid rgba(24, 105, 204, 0.2);
    background: rgba(22, 26, 32, 0.3);
    font-family: 'Mulish', sans-serif;
}

.streamzy-pricing-wrapper.featured .streamzy-pricing-card {
    background: #161A20;
}

.streamzy-pricing-card .plan-name {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 32px 0;
    color: #ffffff;
}

.streamzy-pricing-card .plan-description {
    color: #b4b7c8;
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 24px 0;
}

.streamzy-pricing-card .plan-price {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid #2F3555;
    margin-bottom: 40px;
}

.streamzy-pricing-card .price {
    font-size: 50px;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
}

.streamzy-pricing-card .period {
    font-size: 18px;
    color: #b4b7c8;
    margin: 0;
}

.streamzy-pricing-card .plan-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.streamzy-pricing-card .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
}

.streamzy-pricing-card .feature-item svg,
.streamzy-pricing-card .feature-item img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.streamzy-pricing-card .feature-item p {
    margin: 0;
    color: #ffffff;
}

.streamzy-pricing-card .plan-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 0;
    background: #171C40;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.streamzy-pricing-card .plan-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.streamzy-pricing-card .plan-button img {
    width: 16px;
    height: 16px;
}

/* Custom CTA Widget */
.streamzy-cta {
    position: relative;
    border: 1px solid #2F3555;
    border-radius: 40px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.streamzy-cta-hero {
    padding: 62px 5%;
}

.streamzy-cta-box {
    padding: 40px;
}

.streamzy-cta-inline {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.streamzy-cta-content {
    position: relative;
    z-index: 1;
}

.streamzy-cta-heading {
    font-size: clamp(1.75rem, 1.375rem + 1.6667vw, 3.375rem);
    line-height: 1.1;
    margin: 0 0 16px 0;
    max-width: 550px;
}

.streamzy-cta-heading .font-playfair {
    font-family: 'Playfair', serif;
}

.streamzy-cta-description {
    max-width: 620px;
    margin: 0 0 60px 0;
    font-size: 18px;
    line-height: 1.5;
}

.streamzy-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #3756fe;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    text-transform: capitalize;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.streamzy-cta-button:hover {
    transform: scale(1.05);
    opacity: 0.95;
}

.streamzy-cta-button svg {
    width: 24px;
    height: 24px;
}

/* Blog Layout Widget */
.streamzy-blog-layout {
    display: grid;
    gap: 40px;
}

.streamzy-blog-layout.streamzy-blog-card,
.streamzy-blog-layout.streamzy-blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.streamzy-blog-layout.columns-1 {
    grid-template-columns: 1fr;
}

.streamzy-blog-layout.columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.streamzy-blog-layout.columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.streamzy-blog-layout.columns-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.streamzy-blog-card {
    position: relative;
}

.streamzy-blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.streamzy-blog-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.streamzy-blog-image:hover img {
    transform: scale(1.05);
}

.streamzy-blog-overlay {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(181deg, rgba(14, 19, 48, 0) 28.6%, #0E1330 99.4%);
}

.streamzy-blog-content {
    padding: 30px 20px;
    background: rgba(47, 53, 93, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid #828CC1;
    border-radius: 30px;
    margin-top: -50%;
    transform: translateY(50%);
    position: relative;
}

.streamzy-blog-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.streamzy-blog-category svg {
    width: 16px;
    height: 16px;
}

.streamzy-blog-category span {
    font-size: 14px;
    font-weight: 700;
    color: #828CC1;
}

.streamzy-blog-title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    margin: 0 0 16px 0;
    max-width: 372px;
}

.streamzy-blog-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.streamzy-blog-title a:hover {
    color: #3756fe;
}

.streamzy-blog-excerpt {
    margin: 0 0 16px 0;
    line-height: 1.6;
}

.streamzy-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 4px;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.streamzy-blog-read-more:hover {
    opacity: 0.8;
}

.streamzy-blog-read-more svg {
    width: 16px;
    height: 16px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .streamzy-blog-layout.columns-3,
    .streamzy-blog-layout.columns-4 {
        grid-template-columns: 1fr;
    }

    .streamzy-cta-inline {
        flex-direction: column;
        align-items: flex-start;
    }
}
