/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&amp;display=swap');

:root {
    --primary-color: #9a0000;
    --secondary-color: #4e0000;
    --dark-color: #0a0a0a;
    --light-color: #d3d3d3;
    --accent-color: #630000;
    --header-height: 80px;
    --text-shadow: 0 0 8px rgba(255, 0, 0, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--accent-color);
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

/* TV Static Effect */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.1;
    z-index: -1;
    animation: staticEffect 0.5s steps(3) infinite;
    pointer-events: none;
}

@keyframes staticEffect {
    0% { opacity: 0.05; }
    50% { opacity: 0.1; }
    100% { opacity: 0.05; }
}

.logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    width: auto;
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(154, 0, 0, 0.7));
    transition: all 0.3s ease;
}

.header-logo:hover {
    filter: drop-shadow(0 0 8px rgba(154, 0, 0, 1));
    transform: scale(1.05);
}

.header-socials {
    display: flex;
    gap: 15px;
}

.header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.header-social-icon {
    width: 20px;
    height: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #000, #0a0505);
    overflow: hidden;
}

.tv-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.5 0"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.15;
    z-index: 1;
    animation: staticFlicker 8s steps(10) infinite;
    pointer-events: none;
}

.ghost-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/chestface.html');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    animation: ghostAppear 15s ease-in-out infinite;
}

@keyframes ghostAppear {
    0%, 100% { opacity: 0; }
    48% { opacity: 0; }
    50% { opacity: 0.1; }
    52% { opacity: 0; }

    78% { opacity: 0; }
    80% { opacity: 0.1; }
    82% { opacity: 0; }
}

@keyframes staticFlicker {
    0%, 100% { opacity: 0.1; }
    5% { opacity: 0.2; }
    10% { opacity: 0.1; }
    15% { opacity: 0.15; }
    20% { opacity: 0.1; }
    25% { opacity: 0.2; }
    30% { opacity: 0.1; }
    35% { opacity: 0.18; }
    40% { opacity: 0.1; }
    45% { opacity: 0.15; }
    50% { opacity: 0.1; }
    55% { opacity: 0.2; }
    60% { opacity: 0.1; }
    65% { opacity: 0.15; }
    70% { opacity: 0.1; }
    75% { opacity: 0.18; }
    80% { opacity: 0.1; }
    85% { opacity: 0.15; }
    90% { opacity: 0.1; }
    95% { opacity: 0.2; }
}

.hero-content {
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 500px;
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(154, 0, 0, 0.8));
    position: relative;
    z-index: 4;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        filter: drop-shadow(0 0 15px rgba(154, 0, 0, 0.7));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(154, 0, 0, 0.9));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(154, 0, 0, 0.7));
    }
}

.social-icons-floating {
    position: absolute;
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(154, 0, 0, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(154, 0, 0, 0.5);
    padding: 8px;
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-icon:hover {
    transform: scale(1.2);
    background-color: var(--primary-color);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

.floating-delay-1 {
    animation: floating 3s ease-in-out 0.5s infinite;
}

.floating-delay-2 {
    animation: floating 3s ease-in-out 1s infinite;
}

@keyframes floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* About Section */
.about-section {
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.2 0"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* Dynamic Story Telling Section */
.about-image-story {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.story-frame {
    position: relative;
    width: 600px;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(154, 0, 0, 0.3);
    background-color: rgba(5, 5, 5, 0.8);
}

.story-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.story-image.active {
    opacity: 1;
    transform: scale(1);
}

.story-image.glitch-out {
    animation: glitchOut 0.6s ease-in-out forwards;
}

.story-image.glitch-in {
    animation: glitchIn 0.8s ease-in-out forwards;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    filter: brightness(0.95) contrast(1.05);
    transition: all 0.3s ease;
}

.story-image.active .story-img {
    filter: brightness(1) contrast(1.1);
}

/* Glitch Out Animation */
@keyframes glitchOut {
    0% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) contrast(1.1);
    }
    20% {
        opacity: 0.8;
        transform: scale(1.02) translateX(-2px);
        filter: brightness(1.2) contrast(1.3) hue-rotate(90deg);
    }
    40% {
        opacity: 0.6;
        transform: scale(0.98) translateX(3px) translateY(-2px);
        filter: brightness(0.8) contrast(1.5) hue-rotate(180deg);
    }
    60% {
        opacity: 0.4;
        transform: scale(1.01) translateX(-1px) translateY(2px);
        filter: brightness(1.1) contrast(1.2) hue-rotate(270deg);
    }
    80% {
        opacity: 0.2;
        transform: scale(0.99) translateX(2px);
        filter: brightness(0.9) contrast(1.4) hue-rotate(360deg);
    }
    100% {
        opacity: 0;
        transform: scale(1.05);
        filter: brightness(0.7) contrast(1.6);
    }
}

/* Glitch In Animation */
@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: scale(1.15) translateX(3px);
        filter: brightness(1.3) contrast(1.4) hue-rotate(180deg);
    }
    20% {
        opacity: 0.3;
        transform: scale(1.12) translateX(-2px) translateY(1px);
        filter: brightness(0.8) contrast(1.6) hue-rotate(90deg);
    }
    40% {
        opacity: 0.6;
        transform: scale(1.08) translateX(1px) translateY(-2px);
        filter: brightness(1.1) contrast(1.3) hue-rotate(270deg);
    }
    60% {
        opacity: 0.8;
        transform: scale(1.04) translateX(-1px);
        filter: brightness(0.9) contrast(1.2) hue-rotate(45deg);
    }
    80% {
        opacity: 0.9;
        transform: scale(1.02) translateY(1px);
        filter: brightness(1.05) contrast(1.1) hue-rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1) contrast(1.1);
    }
}

/* Responsive design for story frame */
@media (max-width: 768px) {
    .story-frame {
        width: 90vw;
        height: 90vw;
        max-width: 500px;
        max-height: 500px;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .story-frame {
        width: 95vw;
        height: 95vw;
        max-width: 400px;
        max-height: 400px;
    }
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-shadow: var(--text-shadow);
    letter-spacing: 2px;
    font-weight: 900;
    line-height: 1.3;
    position: relative;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(154, 0, 0, 0.7);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.15rem;
    color: #bbb;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.parallax-image {
    transform: translateZ(0);
    transition: transform 0.3s ease;
}

/* Filler Section */
.filler-section {
    background-color: #0a0000;
    padding: 50px 0;
    overflow: hidden;
    position: relative;
}

.filler-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(154, 0, 0, 0.1), transparent);
    z-index: 1;
    animation: scanline 3s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 3rem;
    font-weight: 900;
    padding: 0 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    text-shadow: var(--text-shadow);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.marquee-content span:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(154, 0, 0, 1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Memes Section */
.memes-section {
    background-color: #050505;
    position: relative;
    overflow: hidden;
}

.memes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.2 0"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

/* Carousel Styles */
.memes-carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1;
    background-color: transparent;
    padding: 30px 0;
}

.memes-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    height: 400px;
}

.meme-slide {
    min-width: 33.333%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
    overflow: visible;
    transition: all 0.5s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.meme-slide.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 992px) {
    .meme-slide {
        min-width: 50%;
    }
}

@media (max-width: 576px) {
    .meme-slide {
        min-width: 100%;
    }
}

.meme-card {
    width: 100%;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    background-color: rgba(10, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(154, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 0.5s ease;
}

.meme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(154, 0, 0, 0.3), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meme-card:hover::before {
    opacity: 1;
}

.meme-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(154, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.meme-card:hover::after {
    opacity: 1;
}

.meme-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.5s ease;
    filter: brightness(0.9) contrast(1.1);
    z-index: 2;
    padding: 15px;
}

.zoom-on-hover:hover {
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.3);
}

/* Floating animations for meme cards */
.floating-meme {
    animation: floatingMeme 4s ease-in-out infinite;
}

.floating-meme-delay-1 {
    animation: floatingMeme 4s ease-in-out 1s infinite;
}

.floating-meme-delay-2 {
    animation: floatingMeme 4s ease-in-out 2s infinite;
}

@keyframes floatingMeme {
    0% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(154, 0, 0, 0.3));
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
        filter: drop-shadow(0 0 15px rgba(154, 0, 0, 0.5));
    }
    50% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 20px rgba(154, 0, 0, 0.7));
    }
    75% {
        transform: translateY(10px) rotate(-2deg);
        filter: drop-shadow(0 0 15px rgba(154, 0, 0, 0.5));
    }
    100% {
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 0 10px rgba(154, 0, 0, 0.3));
    }
}

/* Add glowing effect to active meme cards */
.meme-slide.active .meme-card {
    animation-duration: 3s;
    box-shadow: 0 0 25px rgba(154, 0, 0, 0.7);
    animation: pulseMeme 3s infinite ease-in-out;
}

/* Add pulse effect to active meme cards */
@keyframes pulseMeme {
    0% {
        box-shadow: 0 0 15px rgba(154, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(154, 0, 0, 0.8);
    }
    100% {
        box-shadow: 0 0 15px rgba(154, 0, 0, 0.5);
    }
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 20px;
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(10, 0, 0, 0.7);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(154, 0, 0, 0.3);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(154, 0, 0, 0.8);
}

.carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(154, 0, 0, 0.8);
}

/* Socials Section */
.socials-section {
    background-color: #0a0000;
    position: relative;
    overflow: hidden;
}

.socials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/><feColorMatrix type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0.2 0"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)"/></svg>');
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.simple-socials {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 100px;
    height: 100px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}

/* Animation Classes */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-text.active {
    opacity: 1;
    transform: translateY(0);
}

/* Glitch Text Effect for About Section */
.glitch-text {
    position: relative;
    color: #bbb;
    animation: glitch-anim 5s infinite alternate-reverse;
}

.glitch-text.active {
    opacity: 1;
}

.glitch-text.glitch-extra {
    animation: glitch-extra 0.2s steps(2) forwards;
}

@keyframes glitch-extra {
    0% {
        transform: translate(0);
        opacity: 1;
    }
    20% {
        transform: translate(-5px, 5px);
        opacity: 0.9;
    }
    40% {
        transform: translate(5px, -5px);
        opacity: 0.8;
        color: var(--primary-color);
    }
    60% {
        transform: translate(-2px, 2px);
        opacity: 1;
    }
    80% {
        transform: translate(2px, -2px);
        opacity: 0.8;
    }
    100% {
        transform: translate(0);
        opacity: 1;
    }
}

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

.glitch-text::before {
    left: -2px;
    text-shadow: 2px 0 var(--primary-color);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: 2px;
    text-shadow: -2px 0 var(--accent-color);
    animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), 0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(2px, 9999px, 56px, 0);
    }
    10% {
        clip: rect(120px, 9999px, 12px, 0);
    }
    20% {
        clip: rect(76px, 9999px, 73px, 0);
    }
    30% {
        clip: rect(15px, 9999px, 34px, 0);
    }
    40% {
        clip: rect(45px, 9999px, 98px, 0);
    }
    50% {
        clip: rect(82px, 9999px, 31px, 0);
    }
    60% {
        clip: rect(28px, 9999px, 74px, 0);
    }
    70% {
        clip: rect(67px, 9999px, 52px, 0);
    }
    80% {
        clip: rect(13px, 9999px, 23px, 0);
    }
    90% {
        clip: rect(56px, 9999px, 91px, 0);
    }
    100% {
        clip: rect(42px, 9999px, 21px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(86px, 9999px, 31px, 0);
    }
    10% {
        clip: rect(37px, 9999px, 92px, 0);
    }
    20% {
        clip: rect(12px, 9999px, 54px, 0);
    }
    30% {
        clip: rect(62px, 9999px, 8px, 0);
    }
    40% {
        clip: rect(85px, 9999px, 46px, 0);
    }
    50% {
        clip: rect(22px, 9999px, 95px, 0);
    }
    60% {
        clip: rect(91px, 9999px, 34px, 0);
    }
    70% {
        clip: rect(5px, 9999px, 78px, 0);
    }
    80% {
        clip: rect(50px, 9999px, 19px, 0);
    }
    90% {
        clip: rect(33px, 9999px, 65px, 0);
    }
    100% {
        clip: rect(18px, 9999px, 82px, 0);
    }
}

/* Floating Elements */
.floating-element {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 25px) rotate(90deg);
    }
    50% {
        transform: translate(0, 50px) rotate(180deg);
    }
    75% {
        transform: translate(-50px, 25px) rotate(270deg);
    }
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.3);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    background-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .social-icons-floating {
        display: none;
    }

    .section-title {
        font-size: 2.5rem;
    }



    .hero-section {
        height: 90vh;
    }

    .memes-carousel-container {
        max-width: 90%;
    }

    .memes-carousel {
        height: 400px;
    }

    .socials-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text h3 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .marquee-content span {
        font-size: 2rem;
    }

    .memes-carousel-container {
        max-width: 95%;
    }

    .memes-carousel {
        height: 300px;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .meme-card {
        max-width: 250px;
        max-height: 250px;
    }

    .floating-meme, .floating-meme-delay-1, .floating-meme-delay-2 {
        animation-duration: 3s;
    }

    @keyframes floatingMeme {
        0%, 100% {
            transform: translateY(0) rotate(0deg);
            filter: drop-shadow(0 0 10px rgba(154, 0, 0, 0.3));
        }
        50% {
            transform: translateY(-5px) rotate(1deg);
            filter: drop-shadow(0 0 15px rgba(154, 0, 0, 0.5));
        }
    }

    .socials-grid {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 60px 0;
    }
}
