body {
    font-family: 'Tektur', 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: white;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Video Section - Fixed for proper fullscreen coverage */
.video-section {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.video-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
    animation: fadeInVideo 2s ease-in-out forwards; /* 2 second fade-in */
    opacity: 0.8;
}

@keyframes fadeInVideo {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.6; 
    }
}

/* Ensure video covers all screen sizes properly */
@supports (object-fit: cover) {
    .video-section video {
        width: 100vw;
        height: 100vh;
        object-fit: cover;
    }
}

.video-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOverlay 1.5s ease-in-out 1s forwards;
}

@keyframes fadeInOverlay {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.video-overlay h1 {
    font-size: 25px;
    font-weight: bolder;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #ffffff;
    
}

.video-overlay h2 {
    font-size: 20px;
     margin-top: 50px;
      margin-bottom: 70px;
    color: #f3efef;
    font-weight: bold;
}

/* Target the specific h1 and h2 elements by their IDs to override inline styles */
#typewriter-text {
    margin: 0px auto 20px auto ;
}

#typewriter-subtext {
    margin: 0px auto ;
}

.explore-btn {
    background-color: #E54687;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(229, 70, 135, 0.4);
    pointer-events: auto;
     margin-top: 15px;
}

.explore-btn:hover {
    background-color: #2FBCF2;
    color: black;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(47, 188, 242, 0.4);
}

/* ESPORTS SECTION */
.playstation-section {
    padding: 70px 0;
    background-color: #000000;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.playstation-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #E54687;
    font-family: 'Tektur', sans-serif;
    position: relative;
}

.playstation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 90%;
    gap: 50px;
    text-align: left;
    min-height: 400px;
}

.playstation-content {
    flex: 1;
    max-width: 50%;
    font-family: "Roboto", sans-serif;
    padding: 0 20px;
    text-align: justify;
}

.playstation-content p {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Video (Right) */
.playstation-video {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    height: 400px;
}

.playstation-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* About Us Section Animation */
@keyframes fadeInUp {
    from {
        opacity: 0.1;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* GAMING TABLE SECTION - FIXED */
.gaming-table-heading {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #E54687;
    font-family: 'Tektur', sans-serif;   
}

/* Cards Section - FIXED */
.cards-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 60px 20px;
    background-color: #111;
    margin: 50px auto;
    border-radius: 10px;
    width: 90%;
    max-width: 1400px;
    box-shadow: 0 4px 8px rgba(49, 195, 211, 0.2);
    text-align: center;
    position: relative;
    min-height: 500px;
}

/* Cards Container - COMPLETELY REWRITTEN */
.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
    position: relative;
    min-height: 400px;
    flex-wrap: wrap;
}

.card {
    width: 300px;
    border-radius: 12px;
    overflow: visible;
    transition: transform 0.3s ease-in-out;
    transform-style: preserve-3d;
    text-align: center;
    position: relative;
    flex-shrink: 0;
    margin: 10px;
}

.card-inner {
    width: 300px;
    height: 350px;
    border-radius: 17px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    border: 2px solid #E54687;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.card:hover .card-inner {
    transform: rotateY(180deg) scale(1.06);
}

.card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 17px;
    background:#0d0d0d;
    overflow: hidden;
}

/* Logo Front Design */
.logo-front {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.logo-front img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    border-radius: 17px;
    background: #000000;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.card-back img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    display: block;
    margin: 0;
    padding: 0;
}

.card-content {
    padding: 20px 15px;
    text-align: center;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-content h3 {
    color: #16a8ec;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.card-content p {
    color: #ffffff;
    font-size: 0.9rem;
    font-family: "Roboto", sans-serif;
    line-height: 1.4;
    text-align: center;
}

/* Mobile slider controls - initially hidden */
.slider-nav,
.slider-dots {
    display: none;
}

/* RESPONSIVE BREAKPOINTS - COMPLETELY REWRITTEN */

/* Large Desktop (1400px and up) */
@media (min-width: 1400px) {
    .cards-container {
        gap: 50px;
        flex-wrap: nowrap;
    }
    
    .card {
        width: 320px;
        margin: 10px;
    }
    
    .card-inner {
        width: 320px;
        height: 370px;
    }
}

/* Desktop (1200px to 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .cards-container {
        gap: 40px;
        flex-wrap: nowrap;
    }
    
    .card {
        width: 300px;
        margin: 10px;
    }
    
    .card-inner {
        width: 300px;
        height: 350px;
    }
}

/* Laptop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .cards-container {
        gap: 25px;
        flex-wrap: nowrap;
    }
    
    .card {
        width: 280px;
        margin: 8px;
    }
    
    .card-inner {
        width: 280px;
        height: 340px;
    }
    
    .card-content {
        padding: 15px 12px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
}

/* Tablet (768px to 991px) - Show all cards in wrapped layout */
@media (min-width: 768px) and (max-width: 991px) {
    .cards-container {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
        min-height: auto;
    }
    
    .card {
        width: 280px;
        margin: 10px;
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .card-inner {
        width: 280px;
        height: 340px;
    }
    
    .card-content {
        padding: 15px 12px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .card-content p {
        font-size: 0.85rem;
    }
    
    .gaming-table-heading {
        font-size: 30px;
    }
}

/* Mobile (767px and below) - Slider implementation */
@media (max-width: 767px) {
    .cards-container {
        display: flex;
        overflow: hidden;
        position: relative;
        width: 100%;
        min-height: 480px; /* Increased height for better spacing */
        margin: 0 auto;
        justify-content: center;
        padding: 40px 0 60px 0; /* Increased padding for gap from nav */
        flex-wrap: nowrap;
    }

    .card {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 280px !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.5s ease !important;
        z-index: 1 !important;
        margin: 0 !important;
    }
    
    .card.active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 5 !important;
    }

    /* Disable hover flipping on mobile */
    .card:hover .card-inner {
        transform: none !important;
    }

    .card-inner {
        width: 280px;
        height: 340px;
        transform: none !important; /* Disable 3D transform */
    }

    /* Hide card front (logo) on mobile */
    .card-front {
        display: none !important;
    }

    /* Show card back content as main content */
    .card-back {
        transform: none !important; /* Remove rotateY */
        backface-visibility: visible !important;
        position: relative !important;
    }

    /* Show mobile navigation with proper spacing */
    /* .slider-nav {
        display: flex;
        position: absolute;
        top: 50%;
        width: 100%;
        justify-content: space-between;
        transform: translateY(-50%);
        z-index: 10;
        padding: 0 15px; 
        pointer-events: none;
    }

    .slider-arrow {
        background-color: rgba(229, 70, 135, 0.8);
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        pointer-events: auto;
    }

    .slider-arrow:hover {
        background-color: rgba(47, 188, 242, 0.9);
        transform: scale(1.1);
    } */

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 30px; /* Increased margin for better spacing */
        width: 100%;
        position: relative;
        z-index: 10;
    }

    .slider-dot {
        width: 12px;
        height: 12px;
        background-color: #444;
        border-radius: 50%;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .slider-dot.active {
        background-color: #E54687;
        transform: scale(1.4);
    }

    .gaming-table-heading {
        font-size: 28px;
    }
}


@media (max-width: 768px) {
    .video-section {
        height: 75vh;
    }
    
    .video-section video {
        object-position: center;
    }
    
    .video-overlay {
        width: 90%;
    }
    
    .video-overlay h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .video-overlay h2 {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .explore-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .video-section {
        height: 65vh;
    }
    
    .video-section video {
        object-position: center;
    }
    
    .video-overlay {
        width: 85%;
    }
    
    .video-overlay h1 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .video-overlay h2 {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .explore-btn {
        padding: 9px 18px;
        font-size: 0.85rem;
        border-radius: 25px;
    }
}
/* /* @media (min-width: 350px) and (max-width: 422px) {
    .video-overlay h1 {
        font-size: 18px;
        transform: scale(0.2);
        white-space: nowrap;
    }
}  */


/* @media (max-width: 400px) {
    .video-section {
        height: 55vh;
    }
    
    .video-overlay {
        width: 90%;
    }
    
    .video-overlay h1 {
        font-size: 20px;
        transform: scale(0.9);
    }
    
    .video-overlay h2 {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .explore-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
} */

/* ESPORTS SECTION RESPONSIVE */
@media (max-width: 1200px) {
    .playstation-container {
        gap: 30px;
    }
    
    .playstation-content p {
        font-size: 1.05rem;
    }
}

@media (max-width: 992px) {
    .playstation-container {
        gap: 25px;
    }
    
    .playstation-video {
        height: 350px;
    }
    
    .playstation-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .playstation-container {
        flex-direction: row;
        gap: 15px;
        min-height: 300px;
    }
    
    .playstation-content {
        padding: 0px;
    }
    
    .playstation-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .playstation-video {
        height: 280px;
    }
    
    .explore-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .playstation-container {
        gap: 10px;
        min-height: 250px;
    }
    
    .playstation-content {
        padding: 0px;
    }
    
    .playstation-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }
    
    .playstation-video {
        height: 220px;
    }
    
    .playstation-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .explore-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .playstation-container {
        min-height: 220px;
    }
    
    .playstation-content p {
        font-size: 0.8rem;
    }
    
    .playstation-video {
        height: 180px;
    }
}

@media (max-width: 400px) {
    .playstation-container {
        min-height: 200px;
    }
    
    .playstation-content p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .playstation-video {
        height: 160px;
    }
}

/* GENERAL SECTION SPACING */
.gaming-table-heading,
.about-heading,
.playstation-title,
.team-title,
.reviews-section h2 {
    font-size: 2rem;
}

.playstation-section,
.team-section,
.reviews-section,
.cards-section {
    padding: 40px 0;
}

.about-section {
    min-height: 50vh;
    padding: 20px 0;
}

.playstation-title,
.team-title,
.reviews-title,
.gaming-table-heading {
    margin-bottom: 20px;
}

.cards-section {
    margin: 30px auto;
    width: 90%;
}

.team-section {
    padding: 40px 0;
}

.reviews-section {
    padding: 30px 0;
}

.video-section + .about-section {
    margin-top: -20px;
}

@media (max-width: 768px) {
    .playstation-section,
    .team-section,
    .reviews-section,
    .cards-section {
        padding: 30px 0;
    }
    
    .about-section {
        min-height: auto;
        padding: 30px 0;
    }
    
    .playstation-title,
    .team-title,
    .reviews-title,
    .gaming-table-heading {
        margin-bottom: 15px;
    }
    
    .cards-section {
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .playstation-section,
    .team-section,
    .reviews-section,
    .cards-section {
        padding: 20px 0;
    }
    
    .playstation-title,
    .team-title,
    .reviews-title,
    .gaming-table-heading {
        margin-bottom: 10px;
    }
}
/* /* @media (min-width: 350px) and (max-width: 440px) {
    .gaming-hub {
        white-space: nowrap !important;
        font-size: 22px !important; Slightly smaller to fit 
    }
}  */


/* Instagram Feed Section Styling */
.instagram-feed-section {
    padding: 40px 0 60px 0; /* Added bottom padding to prevent footer overlap */
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px; /* Extra margin before footer */
}

.instagram-feed-title {
    font-size: 2.5rem;
    color: #E54687;
    font-family: 'Tektur', sans-serif;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

/* Instagram Feed Container */
.instagram-feed-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(229, 70, 135, 0.2);
    border: 1px solid #333;
}

/* Elfsight Instagram Feed Styling - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
}

/* Override Elfsight default styles - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
    max-width: 100% !important;
    height: 400px !important; /* Reduced height */
    border-radius: 10px !important;
    border: none !important;
}

/* Responsive adjustments for Instagram feed */
@media (max-width: 1200px) {
    .instagram-feed-container {
        width: 95%;
        padding: 15px;
    }
    
    .elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
        height: 350px !important;
    }
}

@media (max-width: 768px) {
    .instagram-feed-section {
        padding: 30px 0 50px 0;
    }
    
    .instagram-feed-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .instagram-feed-container {
        width: 95%;
        padding: 15px;
        border-radius: 10px;
    }
    
    .elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
        height: 300px !important;
    }
}

@media (max-width: 576px) {
    .instagram-feed-section {
        padding: 25px 0 40px 0;
    }
    
    .instagram-feed-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .instagram-feed-container {
        width: 95%;
        padding: 10px;
    }
    
    .elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
        height: 250px !important;
    }
}

@media (max-width: 400px) {
    .instagram-feed-section {
        padding: 20px 0 30px 0;
    }
    
    .instagram-feed-title {
        font-size: 1.5rem;
    }
    
    .elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
        height: 200px !important;
    }
}

/* Ensure proper spacing before footer */
.instagram-feed-section + footer,
.instagram-feed-section + .footer {
    margin-top: 40px;
}

/* Additional fallback for footer spacing */
body .instagram-feed-section:last-of-type {
    margin-bottom: 40px;
}

/* Aggressive hiding of Elfsight links and branding */
a[href*="elfsight.com"],
a[href*="utm_source=websites"],
a[href*="instagram-feed-instashow"],
a[title*="Instagram Feed"],
a[title*="Elfsight"],
*[href*="elfsight.com"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Hide any element containing specific text */
*:contains("Free Instagram Feed widget"),
*:contains("Instagram Feed · Instashow"),
*:contains("Elfsight") {
    display: none !important;
}

/* Target the specific iframe if needed */
iframe[src*="elfsight"] {
    position: relative;
}

iframe[src*="elfsight"]::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: #000;
    z-index: 999;
}

/* Hide bottom elements in widget */
.instagram-feed-container > *:last-child,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 > *:last-child {
    position: relative;
    overflow: hidden;
}

.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 > *:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #111;
    z-index: 10;
}

.eapps-instagram-feed-header-container {
    /* Your styling here */
    background-color: #141111; /* Example: Change background color */
    padding: 10px; /* Example: Add padding */
    border-bottom: 1px solid #e1e1e1; /* Example: Add a border */
    text-align: center; /* Example: Center-align content */
}

div.eapps-instagram-feed-header.es-header {
    background-color: #201e1e !important; /* Light grey background */
    /* Optional: Adjust padding if needed */
    padding: 20px !important;
    color: #ffffff !important;
}

.es-header-user-full-name,.es-header-user-username{
    color: #ffffff !important;
}

/* Enhanced Instagram Feed Branding Removal - Updated Widget ID */

/* Hide all Elfsight branding links and elements */
a[href*="elfsight.com"],
a[href*="utm_source=websites"],
a[href*="instagram-feed-instashow"],
a[href*="utm_source"],
a[title*="Instagram Feed"],
a[title*="Elfsight"],
a[title*="Free"],
*[href*="elfsight.com"],
*[data-elfsight*] a[href*="utm"],
div[class*="elfsight"] a[href*="utm"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

/* Hide footer elements in Elfsight widgets - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="footer"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="branding"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="powered"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="credit"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 a[href*="elfsight"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 a[href*="utm_source"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Target the new widget ID specifically */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 iframe {
    max-width: 100% !important;
    height: 400px !important;
    border-radius: 10px !important;
    border: none !important;
    position: relative !important;
}

/* Create overlay to hide bottom branding area - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 {
    position: relative !important;
    overflow: hidden !important;
}

.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #111;
    z-index: 999;
    pointer-events: none;
}

/* Hide any text containing widget branding */
*:contains("Free Instagram Feed widget"),
*:contains("Instagram Feed · Instashow"),
*:contains("Elfsight"),
*:contains("Free widget"),
*:contains("Powered by") {
    display: none !important;
}

/* Additional targeting for common branding patterns */
[class*="eapps"] a[href*="utm"],
[class*="eapps"] [class*="footer"],
[class*="eapps"] [class*="branding"],
[id*="eapps"] a[href*="utm"],
[id*="eapps"] [class*="footer"],
[id*="eapps"] [class*="branding"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
}

/* Target iframe content (may require additional JavaScript) */
iframe[src*="elfsight"] {
    position: relative;
    margin-bottom: -30px !important; /* Pull up to hide bottom area */
}

/* Hide bottom elements using CSS clip */
.instagram-feed-container {
    position: relative;
    overflow: hidden;
}

.instagram-feed-container::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #111;
    z-index: 10;
    pointer-events: none;
}

/* Specific targeting for footer elements */
div[class*="elfsight"] > div:last-child,
div[id*="elfsight"] > div:last-child {
    position: relative;
}

div[class*="elfsight"] > div:last-child::after,
div[id*="elfsight"] > div:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #111;
    z-index: 999;
    pointer-events: none;
}

/* Hide loading spinner/dots in widget - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="loader"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="loading"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 [class*="spinner"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .eapps-loading,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .eapps-loader,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .es-loading,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .es-loader {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Hide any generic loading elements */
[class*="elfsight"] [class*="loading"],
[class*="elfsight"] [class*="loader"],
[class*="elfsight"] [class*="spinner"],
[id*="elfsight"] [class*="loading"],
[id*="elfsight"] [class*="loader"],
[id*="elfsight"] [class*="spinner"] {
    display: none !important;
    visibility: hidden !important;
}

/* Hide oval/circular loading indicators - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .eapps-loading-oval,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 .loading-oval,
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 div[style*="animation"],
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 div[style*="spin"] {
    display: none !important;
}

/* Enhanced Instagram Feed Branding Removal */

/* Target the specific Elfsight branding link and make it black */
a[href="https://elfsight.com/instagram-feed-instashow/?utm_source=websites&utm_medium=clients&utm_content=instashow&utm_term=%25website_domain%25&utm_campaign=free-widget"],
a[href*="elfsight.com/instagram-feed-instashow/?utm_source=websites"] {
    color: #000000 !important;
    background-color: #000000 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    opacity: 0 !important;
    font-size: 0px !important;
    line-height: 0 !important;
    height: 0px !important;
    width: 0px !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* Target the specific Elfsight widget container - Updated Widget ID */
.elfsight-app-0c6d0900-6e8d-4327-bc10-03678b9499a1 a {
    color: black !important;
}

/* Target any Elfsight app widget link */
[class*="elfsight-app-"] a[href*="elfsight.com"] {
   color: black !important;
}

/* Target the Instagram Feed widget link */
a[href*="elfsight.com/instagram-feed-instashow"] {
   color: black !important;
}

/* More specific selector targeting the exact styling pattern */
a[style*="background-color:rgba(238,238,238,0.9)"] {
   color: black !important;
}

/* Target the SVG element specifically */
svg[viewBox="0 0 28 26"] {
    color: black !important;
}

/* Target SVG within the widget link */
a[href*="elfsight.com"] svg {
    color: black !important;
}

/* Target SVG with the specific inline styles */
svg[style*="display:block!important;width:18px!important;height:18px!important;fill:currentColor!important"] {
    color: black !important;
}

/* More specific targeting */
a[href*="elfsight.com"] svg[viewBox="0 0 28 26"] {
    background-color: black !important;
}