/* ========================================
   HOMEPAGE SPECIFIC STYLES
   Styles unique to the main homepage
======================================== */

/* ========================================
   HOMEPAGE SPECIFIC BUTTONS
======================================== */
.btn--youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn--youtube::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s;
}

.btn--youtube:hover::before {
    left: 100%;
}

.btn--youtube:hover {
    box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

/* ========================================
   SECTION TITLE STYLING - Homepage specific
======================================== */

/* ========================================
   HERO SECTION - Completely Redesigned
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0e2e 25%, #2d1b3d 50%, #1a0e2e 75%, #0a0a0a 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(147, 51, 234, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(107, 70, 193, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(2deg);
    }
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero__logo {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    padding-bottom: 0.2em;
    animation: heroFloat 4s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    text-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
    position: relative;
}

.hero__logo::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(236, 72, 153, 0.1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: -1;
    filter: blur(10px);
    transform: scale(1.1);
}

@keyframes heroFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: translateY(-20px) scale(1.02);
        filter: brightness(1.1);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(147, 51, 234, 0.5);
    }
    to {
        text-shadow: 0 0 40px rgba(147, 51, 234, 0.8), 0 0 60px rgba(236, 72, 153, 0.3);
    }
}

.hero__tagline {
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: #ffffff;
    margin: 0 0 3rem 0;
    line-height: 1.4;
    padding-bottom: 0.1em;
    font-weight: 300;
    background: linear-gradient(135deg, #e2d5ff 0%, #c4b5fd 50%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.hero__cta {
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero__cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    margin: 0 0.5rem;
    position: relative;
    overflow: hidden;
}

.hero__cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.8s;
}

.hero__cta .btn:hover::before {
    left: 100%;
}

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

.hero__poem-container {
    margin-top: 2.5rem;
    z-index: 2;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero__poem-line {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #ffffff;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 0.5rem;
    min-height: 2rem;
    z-index: 2;
    position: relative;
    opacity: 0; /* Hidden initially for typing animation */
    font-weight: 300;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.typing-cursor {
    color: #ffffff;
    animation: blink 1s infinite;
    font-weight: normal;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ========================================
   PRODUCTS SECTION - Homepage grid layout
======================================== */
.products {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* ========================================
   STATS SECTION - Completely Redesigned
======================================== */
.stats {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(30px);
    padding: 6rem 2rem;
    margin: 0 auto;
    max-width: 1000px;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(147, 51, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.stats__grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.stats__item {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.15) 0%, rgba(147, 51, 234, 0.1) 100%);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(147, 51, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stats__item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(147, 51, 234, 0.1) 90deg, transparent 180deg);
    opacity: 0;
    transition: all 0.6s ease;
    animation: rotateBackground 10s linear infinite paused;
}

.stats__item:hover::before {
    opacity: 1;
    animation-play-state: running;
}

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

.stats__item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(147, 51, 234, 0.3),
        0 5px 15px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stats__item-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #9333ea 0%, #ec4899 50%, #a855f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(147, 51, 234, 0.3));
    transition: all 0.3s ease;
}

.stats__item:hover .stats__item-value {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(147, 51, 234, 0.5));
}

.stats__item-label {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.stats__item:hover .stats__item-label {
    color: #ffffff;
    transform: translateY(-2px);
}

.stats__item-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    opacity: 0.3;
    transition: all 0.3s ease;
    z-index: 1;
}

.stats__item:hover .stats__item-icon {
    opacity: 0.6;
    transform: scale(1.2) rotate(5deg);
}

/* ========================================
   YOUTUBE SECTION - Video embedding
======================================== */
.youtube-section {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: 25px;
    padding: 6rem 2rem;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(30px);
    box-shadow: 0 20px 60px rgba(147, 51, 234, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.youtube-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(147, 51, 234, 0.1) 60deg, transparent 120deg);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

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

.youtube-section > * {
    position: relative;
    z-index: 1;
}

.youtube-section__header {
    margin-bottom: 3rem;
}

.youtube-section__title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.3;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #e2d5ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.youtube-section__description {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.youtube-section__stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.youtube-section__stat {
    background: rgba(147, 51, 234, 0.25);
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(147, 51, 234, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.youtube-section__stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.youtube-section__stat:hover::before {
    left: 100%;
}

.youtube-section__stat:hover {
    transform: translateY(-2px);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.3);
}

.youtube-cta {
    display: flex;
    justify-content: center;
    margin: 2rem auto 3rem auto;
}

.youtube-cta .btn {
    font-size: 1.2rem;
    padding: 1.5rem 3rem;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Advanced hover effects for youtube section - similar to product cards */
.youtube-section {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Override existing transition for smoother hover */
.youtube-section,
.youtube-section .youtube-section__title,
.youtube-section .youtube-section__description,
.youtube-section .youtube-section__stat {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.youtube-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.youtube-section:hover::after {
    opacity: 1;
}

.youtube-section:hover {
    transform: translateY(-8px) scale(1.01) rotateX(1deg);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 12px 25px rgba(147, 51, 234, 0.25),
        0 8px 15px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.youtube-section:hover .youtube-section__title {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(147, 51, 234, 0.3));
}

.youtube-section:hover .youtube-section__description {
    transform: translateY(-1px);
    color: rgba(255, 255, 255, 0.95);
}

.youtube-section:hover .youtube-section__stat {
    transform: translateY(-3px) scale(1.05);
    border-color: rgba(236, 72, 153, 0.6);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.4);
}

.youtube-section:hover .btn--youtube {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

/* ========================================
   MOBILE TOUCH EFFECTS - Alternative to hover for touch devices
======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Product Cards - Touch effects */
    .product-card:active,
    .product-card:focus {
        transform: translateY(-8px) scale(1.01);
        border-color: rgba(236, 72, 153, 0.5);
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.2),
            0 10px 20px rgba(147, 51, 234, 0.25);
    }
    
    .product-card:active .product-card__icon,
    .product-card:focus .product-card__icon {
        transform: scale(1.1) translateY(-3px);
    }
    
    .product-card:active .product-card__title,
    .product-card:focus .product-card__title {
        background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    /* Stats Items - Touch effects */
    .stats__item:active,
    .stats__item:focus {
        transform: translateY(-5px) scale(1.01);
        border-color: rgba(236, 72, 153, 0.4);
        box-shadow: 0 10px 25px rgba(147, 51, 234, 0.2);
    }
    
    /* YouTube Section - Touch effects */
    .youtube-section:active,
    .youtube-section:focus {
        transform: translateY(-4px) scale(1.005);
        border-color: rgba(236, 72, 153, 0.4);
        box-shadow: 0 15px 30px rgba(147, 51, 234, 0.2);
    }
    
    .youtube-section:active .btn--youtube,
    .youtube-section:focus .btn--youtube {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
    }
    
    /* YouTube Button - Touch effects */
    .btn--youtube:active,
    .btn--youtube:focus {
        box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
        transform: scale(1.02);
    }
    
    /* YouTube Stats - Touch effects */
    .youtube-section__stat:active,
    .youtube-section__stat:focus {
        transform: translateY(-2px) scale(1.03);
        border-color: rgba(236, 72, 153, 0.5);
        box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
    }
    
    /* Donations Section - Touch effects */
    .donations:active,
    .donations:focus {
        transform: translateY(-4px) scale(1.005);
        border-color: rgba(236, 72, 153, 0.4);
        box-shadow: 0 15px 30px rgba(147, 51, 234, 0.2);
    }
    
    .donations:active .btn--primary,
    .donations:focus .btn--primary {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 
            0 8px 25px rgba(147, 51, 234, 0.4),
            0 5px 15px rgba(236, 72, 153, 0.2);
    }
    
    /* General Button Effects */
    .btn:active,
    .btn:focus {
        transform: scale(1.03);
    }
}

/* ========================================
   JAVASCRIPT TOUCH CLASSES - Applied dynamically on mobile
======================================== */
.product-card-touched {
    transform: translateY(-8px) scale(1.01) !important;
    border-color: rgba(236, 72, 153, 0.5) !important;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(147, 51, 234, 0.25) !important;
}

.product-card-touched .product-card__icon {
    transform: scale(1.1) translateY(-3px) !important;
}

.product-card-touched .product-card__title {
    background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.stats-item-touched {
    transform: translateY(-5px) scale(1.01) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.2) !important;
}

.youtube-section-touched {
    transform: translateY(-4px) scale(1.005) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.2) !important;
}

.youtube-section-touched .btn--youtube {
    transform: translateY(-2px) scale(1.03) !important;
    box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3) !important;
}

.youtube-stat-touched {
    transform: translateY(-2px) scale(1.03) !important;
    border-color: rgba(236, 72, 153, 0.5) !important;
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3) !important;
}

.btn-touched {
    transform: scale(1.03) !important;
}

.btn--youtube.btn-touched {
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4) !important;
    transform: scale(1.02) !important;
}

.donations-touched {
    transform: translateY(-4px) scale(1.005) !important;
    border-color: rgba(236, 72, 153, 0.4) !important;
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.2) !important;
}

.donations-touched .btn--primary {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 
        0 8px 25px rgba(147, 51, 234, 0.4),
        0 5px 15px rgba(236, 72, 153, 0.2) !important;
}

/* ========================================
   DONATIONS SECTION - Support section
======================================== */
.donations {
    background: linear-gradient(135deg, rgba(107, 70, 193, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: 25px;
    backdrop-filter: blur(30px);
    padding: 6rem 2rem;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.donations__image {
    max-width: 300px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 20px rgba(147, 51, 234, 0.3));
    animation: float-smooth 3s ease-in-out infinite;
}

@keyframes float-smooth {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.donations__description {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.donations .btn {
    position: relative;
    z-index: 2;
}

/* Advanced hover effects for donations section - similar to product cards */
.donations {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.donations::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.donations:hover::after {
    opacity: 1;
}

.donations:hover {
    transform: translateY(-8px) scale(1.01) rotateX(1deg);
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 12px 25px rgba(147, 51, 234, 0.25),
        0 8px 15px rgba(236, 72, 153, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.donations:hover .donations__description {
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 2px 4px rgba(147, 51, 234, 0.2));
}

.donations:hover .btn--primary {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 12px 35px rgba(147, 51, 234, 0.5),
        0 8px 20px rgba(236, 72, 153, 0.3);
    filter: brightness(1.1) saturate(1.1);
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
        margin-top: 65px;
    }

    .hero__content {
        padding: 0 1rem;
    }

    .products {
        padding: 4rem 1rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .stats, .donations {
        margin: 3rem 1rem;
        padding: 4rem 1.5rem;
    }

    .donations__image {
        max-width: 280px;
        margin: 2rem auto 2rem;
        display: block;
    }

    .youtube-section {
        margin: 3rem 1rem;
        padding: 3rem 1.5rem;
    }

    .youtube-section__title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .youtube-section__description {
        font-size: 1.1rem;
    }

    .youtube-section__stats {
        gap: 1rem;
        justify-content: center;
    }

    .youtube-section__stat {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   COIN FLIP EFFECT - Board Games Icons
======================================== */
.product-card__icon--coin {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 1.5rem auto;
    perspective: 1000px;
}

.product-card__icon--coin img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    backface-visibility: hidden;
    transition: transform 0.6s ease-in-out;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.product-card__icon--coin .coin-front {
    transform: rotateY(0deg);
}

.product-card__icon--coin .coin-back {
    transform: rotateY(180deg);
}

.product-card:hover .product-card__icon--coin .coin-front {
    transform: rotateY(180deg);
}

.product-card:hover .product-card__icon--coin .coin-back {
    transform: rotateY(360deg);
}

/* Touch devices - activate on tap/active */
@media (hover: none) and (pointer: coarse) {
    .product-card:active .product-card__icon--coin .coin-front,
    .product-card:focus .product-card__icon--coin .coin-front {
        transform: rotateY(180deg);
    }

    .product-card:active .product-card__icon--coin .coin-back,
    .product-card:focus .product-card__icon--coin .coin-back {
        transform: rotateY(360deg);
    }
}

/* JavaScript touch class support */
.product-card-touched .product-card__icon--coin .coin-front {
    transform: rotateY(180deg) !important;
}

.product-card-touched .product-card__icon--coin .coin-back {
    transform: rotateY(360deg) !important;
}

/* ========================================
   LIGHTNING EFFECT - Tentacoli Scattanti Icon
======================================== */
.product-card__icon--lightning {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 1.5rem auto;
}

.product-card__icon--lightning img {
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 96px;
    object-fit: contain;
    transition: opacity 0.1s ease-in-out;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.product-card__icon--lightning .lightning-front {
    opacity: 1;
    z-index: 2;
}

.product-card__icon--lightning .lightning-back {
    opacity: 0;
    z-index: 1;
}

/* Lightning flash effect on hover */
.product-card:hover .product-card__icon--lightning .lightning-front {
    opacity: 0;
    animation: lightning-flash 0.3s ease-in-out;
}

.product-card:hover .product-card__icon--lightning .lightning-back {
    opacity: 1;
    animation: lightning-glow 0.3s ease-in-out;
}

@keyframes lightning-flash {
    0% { opacity: 1; }
    50% { opacity: 0; filter: brightness(2); }
    100% { opacity: 0; }
}

@keyframes lightning-glow {
    0% { opacity: 0; filter: brightness(2) drop-shadow(0 0 10px #ffeb3b); }
    50% { opacity: 1; filter: brightness(1.5) drop-shadow(0 0 15px #ffeb3b); }
    100% { opacity: 1; filter: brightness(1); }
}

/* Touch devices - activate on tap/active */
@media (hover: none) and (pointer: coarse) {
    .product-card:active .product-card__icon--lightning .lightning-front,
    .product-card:focus .product-card__icon--lightning .lightning-front {
        opacity: 0;
    }

    .product-card:active .product-card__icon--lightning .lightning-back,
    .product-card:focus .product-card__icon--lightning .lightning-back {
        opacity: 1;
    }
}

/* JavaScript touch class support */
.product-card-touched .product-card__icon--lightning .lightning-front {
    opacity: 0 !important;
}

.product-card-touched .product-card__icon--lightning .lightning-back {
    opacity: 1 !important;
}