/**
 * GOQUEER Blocks - Styles
 *
 * VHS/Glitch Effects and Block Components
 */

/* ========== CSS VARIABLES ========== */
:root {
    --gq-primary: #6962FE;
    --gq-green: #61FF70;
    --gq-green-dark: #52EE61;
    --gq-pink: #FF1493;
    --gq-cyan: #00FFFF;
    --gq-purple: #9D00FF;
    --gq-glow-intensity: 0.4;
}

/* ========== TYPOGRAPHY ========== */
.gq-heading {
    font-family: 'Arvo', serif;
}

.gq-text-white {
    color: white;
}

.gq-text-green {
    color: var(--gq-green);
    text-shadow: 0 0 10px rgba(97, 255, 112, 0.6);
}

.gq-text-gray {
    color: rgba(255, 255, 255, 0.9);
}

.gq-text-center {
    text-align: center;
}

.gq-rainbow {
    background: linear-gradient(90deg, #FF0000 0%, #FF7F00 16%, #FFFF00 33%, #00FF00 50%, #0000FF 66%, #8B00FF 83%, #FF0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== GLITCH EFFECTS ========== */

/* Standard Glitch (quick effect at start, then 30s pause) */
.glitch {
    display: inline-block;
    animation: distortion-1 30s infinite;
}

@keyframes distortion-1 {
    0%, 3%, 100% {
        transform: skew(0deg) scaleX(1) scaleY(1);
        filter: blur(0);
    }
    0.5% {
        transform: skew(-5deg) scaleX(1.1) scaleY(0.95);
        filter: blur(1px);
    }
    1% {
        transform: skew(5deg) scaleX(0.9) scaleY(1.1);
        filter: blur(0);
    }
    1.5% {
        transform: skew(-3deg) scaleX(1.05) scaleY(0.98);
        filter: blur(1px);
    }
    2% {
        transform: skew(0deg) scaleX(1) scaleY(1);
        filter: blur(0);
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch::before {
    color: var(--gq-green);
    animation: distortion-layer-1 30s infinite;
}

.glitch::after {
    color: var(--gq-pink);
    animation: distortion-layer-2 30s infinite 0.05s;
}

@keyframes distortion-layer-1 {
    0%, 3%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
    0.5% {
        clip-path: inset(25% 0 35% 0);
        transform: translateX(-15px) scaleY(1.3);
        opacity: 0.8;
    }
    1% {
        clip-path: inset(60% 0 10% 0);
        transform: translateX(10px) scaleY(0.7);
        opacity: 0.9;
    }
    1.5% {
        clip-path: inset(40% 0 45% 0);
        transform: translateX(-8px) scaleY(1.1);
        opacity: 0.7;
    }
}

@keyframes distortion-layer-2 {
    0%, 3%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleY(1);
        opacity: 0;
    }
    0.5% {
        clip-path: inset(15% 0 55% 0);
        transform: translateX(12px) scaleY(0.8);
        opacity: 0.7;
    }
    1% {
        clip-path: inset(70% 0 5% 0);
        transform: translateX(-14px) scaleY(1.4);
        opacity: 0.8;
    }
    1.5% {
        clip-path: inset(35% 0 50% 0);
        transform: translateX(9px) scaleY(0.9);
        opacity: 0.6;
    }
}

/* Fast Glitch */
.glitch-fast {
    position: relative;
    display: inline-block;
    animation: distortion-2 2s infinite;
}

@keyframes distortion-2 {
    0%, 85%, 100% {
        transform: skew(0deg) scaleX(1);
    }
    87% {
        transform: skew(-8deg) scaleX(1.15);
    }
    89% {
        transform: skew(8deg) scaleX(0.85);
    }
    91% {
        transform: skew(-4deg) scaleX(1.08);
    }
}

.glitch-fast::before,
.glitch-fast::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-fast::before {
    color: var(--gq-cyan);
    animation: distortion-fast-1 2s infinite;
}

.glitch-fast::after {
    color: #FFFF00;
    animation: distortion-fast-2 2s infinite 0.1s;
}

@keyframes distortion-fast-1 {
    0%, 85%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(0);
        opacity: 0;
    }
    87% {
        clip-path: inset(20% 0 60% 0);
        transform: translateY(-8px);
        opacity: 0.7;
    }
    89% {
        clip-path: inset(55% 0 25% 0);
        transform: translateY(8px);
        opacity: 0.8;
    }
}

@keyframes distortion-fast-2 {
    0%, 85%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateY(0);
        opacity: 0;
    }
    87% {
        clip-path: inset(30% 0 45% 0);
        transform: translateY(10px);
        opacity: 0.6;
    }
    89% {
        clip-path: inset(65% 0 15% 0);
        transform: translateY(-10px);
        opacity: 0.7;
    }
}

/* Slow Glitch - quick effect at start, then 64s pause */
.glitch-slow {
    position: relative;
    display: inline-block;
    animation: distortion-3 64s infinite;
}

@keyframes distortion-3 {
    0%, 2.5%, 100% {
        transform: skew(0deg) scaleY(1);
        filter: blur(0);
    }
    0.4% {
        transform: skew(-6deg) scaleY(1.2);
        filter: blur(2px);
    }
    0.8% {
        transform: skew(6deg) scaleY(0.8);
        filter: blur(1px);
    }
    1.2% {
        transform: skew(-3deg) scaleY(1.1);
        filter: blur(2px);
    }
    1.6% {
        transform: skew(0deg) scaleY(1);
        filter: blur(0);
    }
}

.glitch-slow::before,
.glitch-slow::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-slow::before {
    color: var(--gq-green);
    animation: distortion-slow-1 64s infinite;
}

.glitch-slow::after {
    color: var(--gq-purple);
    animation: distortion-slow-2 64s infinite 0.05s;
}

/* 64s total, quick effect at start */
@keyframes distortion-slow-1 {
    0%, 2.5%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
    0.4% {
        clip-path: inset(10% 0 70% 0);
        transform: translateX(-20px) scaleX(1.3);
        opacity: 0.9;
    }
    0.8% {
        clip-path: inset(50% 0 30% 0);
        transform: translateX(15px) scaleX(0.7);
        opacity: 0.8;
    }
    1.2% {
        clip-path: inset(25% 0 55% 0);
        transform: translateX(-10px) scaleX(1.15);
        opacity: 0.7;
    }
}

@keyframes distortion-slow-2 {
    0%, 2.5%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0) scaleX(1);
        opacity: 0;
    }
    0.4% {
        clip-path: inset(35% 0 45% 0);
        transform: translateX(18px) scaleX(0.8);
        opacity: 0.8;
    }
    0.8% {
        clip-path: inset(65% 0 15% 0);
        transform: translateX(-22px) scaleX(1.4);
        opacity: 0.9;
    }
    1.2% {
        clip-path: inset(40% 0 40% 0);
        transform: translateX(12px) scaleX(1.1);
        opacity: 0.7;
    }
}

/* Subtle Glitch */
.glitch-subtle {
    position: relative;
    display: inline-block;
    animation: distortion-4 5s infinite;
}

@keyframes distortion-4 {
    0%, 96%, 100% {
        transform: skew(0deg);
    }
    97% {
        transform: skew(-2deg) scaleX(1.03);
    }
    98% {
        transform: skew(2deg) scaleX(0.97);
    }
}

.glitch-subtle::before,
.glitch-subtle::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
}

.glitch-subtle::before {
    color: var(--gq-pink);
    animation: distortion-subtle-1 5s infinite;
}

.glitch-subtle::after {
    color: var(--gq-cyan);
    animation: distortion-subtle-2 5s infinite 0.3s;
}

@keyframes distortion-subtle-1 {
    0%, 96%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0);
        opacity: 0;
    }
    97% {
        clip-path: inset(30% 0 50% 0);
        transform: translateX(-6px);
        opacity: 0.5;
    }
}

@keyframes distortion-subtle-2 {
    0%, 96%, 100% {
        clip-path: inset(0 0 100% 0);
        transform: translateX(0);
        opacity: 0;
    }
    97.5% {
        clip-path: inset(45% 0 35% 0);
        transform: translateX(6px);
        opacity: 0.4;
    }
}

/* ========== GLASS CARD ========== */
.gq-glass-card {
    background: rgba(105, 98, 254, 0.85);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(97, 255, 112, calc(var(--gq-glow-intensity)));
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(97, 255, 112, calc(var(--gq-glow-intensity) * 0.375));
    transition: all 0.3s;
}

.gq-glass-card--hover:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 48px rgba(97, 255, 112, calc(var(--gq-glow-intensity) * 1.5)), inset 0 0 30px rgba(97, 255, 112, calc(var(--gq-glow-intensity) * 0.5));
    border-color: rgba(97, 255, 112, calc(var(--gq-glow-intensity) * 1.5));
    background: rgba(105, 98, 254, 0.9);
}

/* ========== BUTTONS ========== */
.gq-btn {
    padding: 15px 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gq-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gq-primary);
    border: 2px solid rgba(97, 255, 112, 0.5);
}

.gq-btn-primary:hover {
    background: var(--gq-green);
    color: var(--gq-primary);
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.5);
}

.gq-btn-secondary {
    background: var(--gq-green);
    color: var(--gq-primary);
    border: 2px solid rgba(97, 255, 112, 0.8);
}

.gq-btn-secondary:hover {
    background: var(--gq-green-dark);
    transform: scale(1.08) rotate(2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.6);
}

/* ========== GRID LAYOUTS ========== */
.gq-grid {
    display: grid;
    gap: 25px;
}

.gq-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.gq-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.gq-grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ========== VIDEO FEED SECTION ========== */
.video-feed-section .video-feed-title {
    padding: 0 40px;
}

.video-feed-section .video-feed-grid {
    padding: 0 40px;
}

.video-feed-section .video-feed-slider {
    padding: 0 40px;
}

/* ========== HERO SECTION ========== */
.gq-hero {
    padding: 60px 0;
}

.gq-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.gq-hero__badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.gq-hero__title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
}

.gq-hero__subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.gq-hero__buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.gq-hero__stats {
    display: flex;
    gap: 20px;
}

.gq-hero__card {
    padding: 40px;
    text-align: center;
}

.gq-hero__card-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.gq-hero__card-date {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== STAT BOX ========== */
.gq-stat-box {
    background: rgba(105, 98, 254, 0.7);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: 25px;
    text-align: center;
    border: 2px solid rgba(97, 255, 112, 0.6);
    box-shadow: 0 4px 20px rgba(97, 255, 112, 0.3);
    transition: all 0.3s;
}

.gq-stat-box:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(97, 255, 112, 0.5);
    background: rgba(105, 98, 254, 0.85);
}

.gq-stat-box__number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(97, 255, 112, 0.8);
}

.gq-stat-box__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ========== FEATURE CARD ========== */
.gq-feature-card {
    background: rgba(105, 98, 254, 0.75);
    backdrop-filter: blur(15px);
    padding: 35px;
    border-radius: 35px;
    text-align: center;
    border: 2px solid rgba(97, 255, 112, 0.5);
    box-shadow: 0 8px 32px rgba(97, 255, 112, 0.3);
    transition: all 0.4s;
}

.gq-feature-card:hover {
    transform: translateY(-8px) rotate(-1deg) scale(1.05);
    box-shadow: 0 16px 48px rgba(97, 255, 112, 0.5), 0 0 50px rgba(97, 255, 112, 0.4);
    border-color: rgba(97, 255, 112, 0.8);
    background: rgba(105, 98, 254, 0.85);
}

.gq-feature-card__icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(97, 255, 112, 0.6));
}

.gq-feature-card__title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(97, 255, 112, 0.8);
}

.gq-feature-card__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

/* ========== EPISODE CARD ========== */
.gq-episode-card {
    background: rgba(105, 98, 254, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(97, 255, 112, 0.5);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(97, 255, 112, 0.3);
    transition: all 0.4s;
}

.gq-episode-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 50px rgba(97, 255, 112, 0.5), 0 0 60px rgba(97, 255, 112, 0.3);
    border-color: rgba(97, 255, 112, 0.8);
}

.gq-episode-card__thumbnail {
    background: var(--gq-green);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 4px 15px rgba(97, 255, 112, 0.3));
}

.gq-episode-card__icon {
    font-size: 4rem;
}

.gq-episode-card__views {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--gq-primary);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gq-episode-card__content {
    padding: 25px;
    background: rgba(105, 98, 254, 0.55);
}

.gq-episode-card__date {
    color: var(--gq-green);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(97, 255, 112, 0.6);
}

.gq-episode-card__title {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gq-episode-card__button {
    width: 100%;
    text-align: center;
}

/* ========== CONTACT ITEM ========== */
.gq-contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px 0;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.gq-contact-item:hover {
    transform: translateX(5px);
}

.gq-contact-item__icon {
    background: var(--gq-green);
    color: var(--gq-primary);
    padding: 12px;
    border-radius: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
}

.gq-contact-item__title {
    font-weight: 700;
    color: white;
}

.gq-contact-item__text {
    color: rgba(255, 255, 255, 0.9);
}

/* ========== TEAM MEMBER ========== */
.gq-team-member {
    background: white;
    padding: 20px;
    border-left: 4px solid var(--gq-primary);
    border-radius: 8px;
    transition: transform 0.3s;
}

.gq-team-member:hover {
    transform: translateX(5px);
}

.gq-team-member__name {
    font-weight: 700;
    color: #333;
}

.gq-team-member__role {
    color: var(--gq-primary);
    font-size: 0.95rem;
}

.gq-team-member__pronouns {
    color: #999;
    font-size: 0.85rem;
}

/* ========== CTA SECTION ========== */
.gq-cta-section__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.gq-cta-section__title {
    margin-bottom: 20px;
}

.gq-cta-section__text {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .gq-hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .gq-hero__title {
        font-size: 3.5rem;
    }

    .gq-hero__stats {
        flex-wrap: wrap;
    }

    .gq-hero__buttons {
        flex-direction: column;
    }
}

/* ========== SECTION & CONTAINER ========== */
.gq-section {
    padding: 60px 0;
}

.gq-section--full {
    width: 100%;
    max-width: none;
}

.gq-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== TEXT ELEMENT ========== */
.gq-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin: 0 0 1em 0;
}

/* ========== IMAGE ELEMENT ========== */
.gq-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.gq-image-placeholder {
    background: rgba(105, 98, 254, 0.5);
    border: 2px dashed rgba(97, 255, 112, 0.4);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
}

/* ========== SPACER ELEMENT ========== */
.gq-spacer {
    display: block;
    width: 100%;
}

/* ========== PAGE SECTION ========== */
.page-section--full {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.page-section--full > * {
    max-width: none;
}

/* ========== FULL WIDTH ELEMENT ========== */
.element-full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.element-full-width > * {
    width: 100%;
}

/* ========== EDITOR STYLES ========== */
.editor-styles-wrapper .gq-glass-card,
.editor-styles-wrapper .gq-feature-card,
.editor-styles-wrapper .gq-episode-card,
.editor-styles-wrapper .gq-stat-box {
    background: rgba(105, 98, 254, 0.85);
}

/* ========== RESPONSIVE VISIBILITY ========== */
/* Hide on specific devices */
@media (min-width: 1025px) {
    .gqrc-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .gqrc-hide-tablet {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .gqrc-hide-mobile {
        display: none !important;
    }
}

/* ========== ENTRANCE ANIMATIONS ========== */
.gqrc-animate {
    animation-fill-mode: both;
}

.gqrc-animate--fadeIn {
    animation-name: gqrc-fadeIn;
    animation-duration: 1s;
}

.gqrc-animate--fadeInUp {
    animation-name: gqrc-fadeInUp;
    animation-duration: 1s;
}

.gqrc-animate--fadeInDown {
    animation-name: gqrc-fadeInDown;
    animation-duration: 1s;
}

.gqrc-animate--fadeInLeft {
    animation-name: gqrc-fadeInLeft;
    animation-duration: 1s;
}

.gqrc-animate--fadeInRight {
    animation-name: gqrc-fadeInRight;
    animation-duration: 1s;
}

.gqrc-animate--zoomIn {
    animation-name: gqrc-zoomIn;
    animation-duration: 1s;
}

.gqrc-animate--zoomInUp {
    animation-name: gqrc-zoomInUp;
    animation-duration: 1s;
}

.gqrc-animate--zoomInDown {
    animation-name: gqrc-zoomInDown;
    animation-duration: 1s;
}

.gqrc-animate--slideInUp {
    animation-name: gqrc-slideInUp;
    animation-duration: 0.8s;
}

.gqrc-animate--slideInDown {
    animation-name: gqrc-slideInDown;
    animation-duration: 0.8s;
}

.gqrc-animate--slideInLeft {
    animation-name: gqrc-slideInLeft;
    animation-duration: 0.8s;
}

.gqrc-animate--slideInRight {
    animation-name: gqrc-slideInRight;
    animation-duration: 0.8s;
}

.gqrc-animate--bounceIn {
    animation-name: gqrc-bounceIn;
    animation-duration: 1s;
}

.gqrc-animate--pulse {
    animation-name: gqrc-pulse;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.gqrc-animate--shake {
    animation-name: gqrc-shake;
    animation-duration: 0.5s;
}

/* ========== ANIMATION KEYFRAMES ========== */
@keyframes gqrc-fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes gqrc-fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gqrc-fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes gqrc-zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes gqrc-zoomInUp {
    from { opacity: 0; transform: scale(0.8) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes gqrc-zoomInDown {
    from { opacity: 0; transform: scale(0.8) translateY(-30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes gqrc-slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@keyframes gqrc-slideInDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes gqrc-slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes gqrc-slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes gqrc-bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

@keyframes gqrc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes gqrc-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========== ELEMENT BASE STYLES ========== */
.gqrc-text {
    line-height: 1.7;
}

.gqrc-image {
    margin: 0;
}

.gqrc-image__caption {
    text-align: center;
}

.gqrc-divider {
    padding: 10px 0;
}

.gqrc-video {
    width: 100%;
}

.gqrc-social-icons a:hover {
    opacity: 0.7;
}

/* ========== COUNTDOWN ELEMENT ========== */
.goqueer-countdown {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(97, 255, 112, 0.2);
    border-radius: 20px;
    padding: 30px 40px;
}

.goqueer-countdown-inline {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    align-items: baseline;
}

.goqueer-countdown-days,
.goqueer-countdown-hours,
.goqueer-countdown-minutes,
.goqueer-countdown-seconds {
    font-size: 4rem !important;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    line-height: 1;
    display: inline-block !important;
    width: 2ch !important;
    min-width: 2ch !important;
    text-align: center !important;
    font-variant-numeric: tabular-nums;
    position: relative;
}

/* Countdown Glitch Effect on number change */
.goqueer-countdown-days.glitch-flash,
.goqueer-countdown-hours.glitch-flash,
.goqueer-countdown-minutes.glitch-flash,
.goqueer-countdown-seconds.glitch-flash {
    animation: countdown-glitch 0.15s ease-out;
}

@keyframes countdown-glitch {
    0% {
        transform: skew(0deg);
        text-shadow: none;
    }
    20% {
        transform: skew(-5deg) translateX(-2px);
        text-shadow:
            -2px 0 #FF1493,
            2px 0 #00FFFF;
        filter: brightness(1.5);
    }
    40% {
        transform: skew(3deg) translateX(2px);
        text-shadow:
            2px 0 #FF1493,
            -2px 0 #00FFFF;
    }
    60% {
        transform: skew(-2deg);
        text-shadow:
            -1px 0 #FF1493,
            1px 0 #00FFFF;
    }
    80% {
        transform: skew(1deg);
        text-shadow: none;
    }
    100% {
        transform: skew(0deg);
        text-shadow: none;
    }
}

/* Responsive countdown */
@media (max-width: 768px) {
    .goqueer-countdown {
        padding: 25px 30px;
    }

    .goqueer-countdown-inline {
        gap: 20px;
    }

    .goqueer-countdown-days,
    .goqueer-countdown-hours,
    .goqueer-countdown-minutes,
    .goqueer-countdown-seconds {
        font-size: 3rem;
        min-width: 2ch;
    }
}

@media (max-width: 480px) {
    .goqueer-countdown {
        padding: 20px;
        border-radius: 15px;
    }

    .goqueer-countdown-inline {
        gap: 12px;
    }

    .goqueer-countdown-days,
    .goqueer-countdown-hours,
    .goqueer-countdown-minutes,
    .goqueer-countdown-seconds {
        font-size: 2rem;
        min-width: 2ch;
    }
}
