:root {
    --black: #000000;
    --white: #ffffff;
    --primary-color: #FF0000;
    --box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.9);
    --hover-box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.9);
    --border-radius: 12px;
    --font-family: 'Poppins', sans-serif;
    --transition: all 0.3s ease;
    --hover-transform: translateY(-3px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    padding: 0;
    background: linear-gradient(
        -45deg,
        #ff0000,
        #ff4d4d,
        #ff6666,
        #ff8080,
        #ff1a1a
    );
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add subtle texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.1;
    z-index: 1;
}

/* Ensure main content stays above the texture */
main {
    position: relative;
    z-index: 2;
}

/* Layout */
main {
    max-width: calc(100% - 2rem);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Common styles for sections */
.hero, .leads-section, .resources-section, .social-section, .contact-section, nav {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    margin: 1rem;
    width: calc(100% - 2rem);
}

.logo {
    width: 160px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 0.5rem;
    background: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    z-index: 1;
}

.logo img {
    pointer-events: none; /* This ensures clicks go through to the logo div */
}

.logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(254, 111, 111, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.logo:hover::before {
    transform: translateX(100%);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    z-index: 3;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    background: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

.social-links i {
    font-size: 20px;
    color: var(--black);
    z-index: 1;
}

.social-links .social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Theme Toggle */
.theme-toggle {
    border: none;
    cursor: pointer;
    padding: 0;
}

.theme-toggle i {
    font-size: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.theme-toggle:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-box-shadow);
    background: var(--primary-color);
}

.theme-toggle:hover i {
    color: var(--white);
    transform: rotate(360deg);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--black);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 2rem;
    position: relative;
    animation: slideIn 1s ease-out forwards;
    animation-delay: 2s;
    opacity: 0;
}

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

/* Tools Grid - Desktop View */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-items: center;
    margin: 2rem 0;
    padding: 1rem;
}

/* Desktop Tool Card */
@media screen and (min-width: 769px) {
    .tool-card {
        position: relative;
        width: 280px;
        height: 50px; /* Small height for desktop */
        display: flex;
        flex-direction: column;
        background: var(--white);
        border: 2px solid var(--black);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        text-decoration: none;
        overflow: visible;
        margin: 0;
        padding: 0.5rem;
    }

    .tool-card img {
        width: 100%;
        height: 100%;
        object-fit: scale-down;
        background: white;
        border-radius: var(--border-radius);
        padding: 0.2rem;
    }
}

/* Mobile Tool Card */
@media screen and (max-width: 768px) {
    .tool-card {
        position: relative;
        width: 100%;
        max-width: 280px;
        height: auto;
        display: flex;
        flex-direction: column;
        background: var(--white);
        border: 2px solid var(--black);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        transition: var(--transition);
        text-decoration: none;
        overflow: visible;
        margin-bottom: 1.5rem;
    }

    .tool-card img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        padding: 0.5rem;
        background: white;
        border-radius: 14px 14px 0 0;
    }
}

/* Common Tool Card Styles (for both desktop and mobile) */
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Desktop Tooltip Styles */
@media screen and (min-width: 769px) {
    .tool-label {
        display: none; /* Hide labels on desktop */
    }

    /* Base tooltip style */
    .tool-card::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -45px;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        white-space: nowrap;
        box-shadow: var(--box-shadow);
        z-index: 100;
        border: 2px solid var(--black);
    }

    /* Custom tooltip colors matching labels */
    .tool-card[href*="googlemapscraper"]::after {
        background: #3899db;
        color: white;
    }

    .tool-card[href*="yellowpagesscraper"]::after {
        background: #f7e000;
        color: black;
        text-shadow: none;
    }

    .tool-card[href*="faceboookscraper"]::after {
        background: #bdfaf1;
        color: black;
        text-shadow: none;
    }

    .tool-card[href*="scrapewebsite"]::after {
        background: #f79cb1;
        color: white;
    }

    .tool-card[href*="diamondmailer"]::after {
        background: #69cd8c;
        color: white;
    }

    .tool-card[href*="responsiveviewerr"]::after {
        background: #ee9ad2;
        color: white;
    }

    .tool-card[href*="apolloioscraper"]::after {
        background: #f4cb1d;
        color: black;
        text-shadow: none;
    }

    .tool-card[href*="youtube"]::after {
        background: #FF0000;
        color: white;
    }

    .tool-card:hover::after {
        opacity: 1;
        visibility: visible;
        bottom: -55px;
    }

    /* Arrow color matching */
    .tool-card::before {
        content: '';
        position: absolute;
        bottom: -53px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 0 8px 8px 8px;
        border-style: solid;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 101;
    }

    /* Custom arrow colors */
    .tool-card[href*="googlemapscraper"]::before {
        border-color: transparent transparent #3899db transparent;
    }

    .tool-card[href*="yellowpagesscraper"]::before {
        border-color: transparent transparent #f7e000 transparent;
    }

    .tool-card[href*="faceboookscraper"]::before {
        border-color: transparent transparent #bdfaf1 transparent;
    }

    .tool-card[href*="scrapewebsite"]::before {
        border-color: transparent transparent #f79cb1 transparent;
    }

    .tool-card[href*="diamondmailer"]::before {
        border-color: transparent transparent #69cd8c transparent;
    }

    .tool-card[href*="responsiveviewerr"]::before {
        border-color: transparent transparent #ee9ad2 transparent;
    }

    .tool-card[href*="apolloioscraper"]::before {
        border-color: transparent transparent #f4cb1d transparent;
    }

    .tool-card[href*="youtube"]::before {
        border-color: transparent transparent #FF0000 transparent;
    }

    .tool-card:hover::before {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile Label Styles */
@media screen and (max-width: 768px) {
    .tool-card {
        margin-bottom: 1.5rem;
        height: auto;
        padding: 0.5rem;
    }

    .tool-card img {
        height: 120px;
        padding: 0.5rem;
        border-radius: 14px 14px 0 0;
    }

    .tool-label {
        position: relative;
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        text-align: center;
        border-radius: 0 0 14px 14px;
    }

    /* Hide tooltips on mobile */
    .tool-card::after,
    .tool-card::before {
        display: none;
    }
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Tool Label Colors */
.tool-card[href*="googlemapscraper"] .tool-label {
    background: #3899db;
    color: white;
}

.tool-card[href*="yellowpagesscraper"] .tool-label {
    background: #f7e000;
    color: black;
    text-shadow: none;
}

.tool-card[href*="faceboookscraper"] .tool-label {
    background: #bdfaf1;
    color: black;
    text-shadow: none;
}

.tool-card[href*="scrapewebsite"] .tool-label {
    background: #f79cb1;
    color: white;
}

.tool-card[href*="diamondmailer"] .tool-label {
    background: #69cd8c;
    color: white;
}

.tool-card[href*="responsiveviewerr"] .tool-label {
    background: #ee9ad2;
    color: white;
}

.tool-card[href*="apolloioscraper"] .tool-label {
    background: #f4cb1d;
    color: black;
    text-shadow: none;
}

.tool-card[href*="youtube"] .tool-label {
    background: #FF0000;
    color: white;
}

/* Enhanced Tool Card Hover Effects */
.tool-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Ensure text readability */
.tool-label {
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Remove text shadow for light background labels */
.tool-label[style*="color: black"] {
    text-shadow: none;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.download-btn {
    padding: 1rem 2rem;
    background: var(--primary-color);
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
}

.download-btn:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-box-shadow);
    background: var(--white);
}

/* Enhanced Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
    position: relative;
    z-index: 1;
}

.social-card {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    position: relative;
}

.social-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 2;
}

.social-card:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -50px;
}

.social-card:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-box-shadow);
}

.social-card i {
    font-size: 1.8rem;
    z-index: 1;
}

.social-card span {
    font-weight: 600;
    font-size: 1.2rem;
    z-index: 1;
}

.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.social-card:hover .hover-effect {
    transform: translateX(100%);
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Social Card Colors with Enhanced Effects */
.youtube {
    background: #FF0000;
}

.youtube:hover {
    background: #FF1a1a;
}

.instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
}

.instagram:hover {
    background: linear-gradient(45deg, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D, #405DE6);
}

.twitter {
    background: #1DA1F2;
}

.twitter:hover {
    background: #1a91da;
}

.linkedin {
    background: #0A66C2;
}

.linkedin:hover {
    background: #0959ab;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .social-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
        gap: 1rem;
    }

    .social-card {
        padding: 1rem;
    }

    .social-card i {
        font-size: 1.5rem;
    }

    .social-card span {
        font-size: 1rem;
    }

    main {
        max-width: calc(100% - 1rem);
        padding: 0;
    }

    .hero, .social-section, .contact-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .tool-card {
        width: 100%;
        max-width: 250px;
        padding: 0.4rem;
    }

    .tool-card img {
        width: 98%;
        height: 98%;
    }

    .tools-grid {
        gap: 3.5rem;
        padding: 0.5rem;
    }

    .tool-card {
        margin-bottom: 1.5rem;
    }

    .tool-card::after {
        bottom: -50px;
    }

    .tool-card:hover::after {
        bottom: -60px;
    }
}

/* Contact Section Enhancement */
.contact-section {
    text-align: center;
    padding: 2rem;
}

.contact-section h2 {
    font-size: 1.2rem;
    color: var(--black);
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.contact-section a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.contact-section a:hover:after {
    width: 100%;
}

.contact-section a:hover {
    color: var(--black);
}

@media screen and (max-width: 480px) {
    .contact-section h2 {
        font-size: 1rem;
    }
    
    .contact-section {
        padding: 1.5rem 1rem;
    }
}

/* Custom Cursor */
.cursor-container {
    pointer-events: none;
}

.circle {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999;
    opacity: 0.35;
    mix-blend-mode: difference;
    transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
}

/* Hide default cursor when hovering over clickable elements */
a, button, [role="button"] {
    cursor: none !important;
}

/* Show custom cursor on hover */
a:hover ~ .circle,
button:hover ~ .circle,
[role="button"]:hover ~ .circle {
    transform: scale(1.5);
    background-color: var(--primary-color);
}

/* Hide cursor on mobile */
@media (max-width: 768px) {
    .cursor-container {
        display: none;
    }
}

/* Header Animation */
@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

header {
    width: 100%;
    padding: 0.5rem 1rem;
    animation: slideDown 0.8s ease-out forwards;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* Header & Navigation */
    nav {
        padding: 0.75rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .logo {
        width: 250px;
        height: 70px;
        margin: 0;
        padding: 0.5rem;
    }

    .social-links {
        width: 100%;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.25rem;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    /* Tools Grid */
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .tool-card {
        width: 100%;
        max-width: 250px;
    }

    /* Social Grid */
    .social-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Section */
    .contact-section h2 {
        font-size: 1rem;
    }
}

/* Additional breakpoint for very small devices */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .social-links a, .theme-toggle {
        width: 35px;
        height: 35px;
    }

    .social-links i {
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 0.25rem;
    }

    main {
        margin: 0 auto;
    }
}

/* Enhanced Header Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    background: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

.social-links i {
    font-size: 20px;
    color: var(--black);
    z-index: 1;
}

.social-links .social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Coffee Button */
.coffee-btn {
    background: #FFDD00 !important;
}

.coffee-btn:hover {
    background: #FFE44D !important;
}

.coffee-btn i {
    animation: steamAnimation 2s infinite;
}

@keyframes steamAnimation {
    0% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-5px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0); }
}

/* Updated Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding: 1rem;
}

.social-card {
    width: 50px;
    height: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--black);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    color: var(--white);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Tooltip styles */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:before,
.tool-card::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    z-index: 10;
}

[data-tooltip]:hover:before,
.tool-card:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -55px;
}

/* Remove the duplicate tool-card tooltip styles */
.tool-card::after {
    display: none;
}

/* Enhanced Social Links */
.social-links a {
    position: relative;
    overflow: hidden;
}

.youtube-btn {
    background: #FF0000 !important;
}

.youtube-btn i {
    color: white !important;
}

.instagram-btn {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D) !important;
}

.instagram-btn i {
    color: white !important;
}

.twitter-btn {
    background: #1DA1F2 !important;
}

.twitter-btn i {
    color: white !important;
}

.gumroad-btn {
    background: #FE91E8 !important;
}

.gumroad-btn img {
    filter: brightness(0) invert(1);
}

/* Enhanced Social Section */
.social-section {
    text-align: center;
    padding: 1.5rem 2rem 1rem;
}

.social-section h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.support-button {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coffee-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #FFDD00;
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.coffee-support-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.coffee-support-btn:hover::before {
    transform: translateX(100%);
}

.coffee-support-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
    background: #FFE44D;
}

.coffee-support-btn i {
    animation: steamAnimation 2s infinite;
}

/* Enhanced Cursor Effect */
.cursor-container {
    pointer-events: none;
}

.circle {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999999;
    opacity: 0.85;
    mix-blend-mode: normal;
    will-change: transform;
    transition: transform 0.05s ease, background-color 0.3s ease;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    main {
        padding: 0 0.5rem;
    }

    .social-section {
        padding: 1.5rem 1rem 1rem;
    }

    .social-section h2 {
        font-size: 1.5rem;
    }

    .coffee-support-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .social-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }
}

@media screen and (max-width: 480px) {
    .social-links {
        gap: 0.5rem;
    }

    .social-section h2 {
        font-size: 1.2rem;
    }
}

/* Fun Contact Section */
.contact-section {
    text-align: center;
    padding: 2rem;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.email-link i {
    animation: bounce 2s infinite;
}

.contact-text {
    color: var(--black);
    font-size: 1rem;
    margin-top: 1rem;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Support Text */
.support-text {
    margin-top: 0.75rem;
    color: var(--black);
    font-size: 1rem;
}

/* Support Buttons */
.support-button {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.coffee-support-btn, .subscribe-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shine Effect */
.coffee-support-btn::before, .subscribe-support-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.coffee-support-btn:hover::before, .subscribe-support-btn:hover::before {
    transform: translateX(100%);
}

.coffee-support-btn {
    background: #FFDD00;
    color: var(--black);
}

.subscribe-support-btn {
    background: #FF0000;
    color: var(--white);
}

.coffee-support-btn:hover, .subscribe-support-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

.coffee-support-btn:hover {
    background: #FFE44D;
}

.subscribe-support-btn:hover {
    background: #FF1a1a;
}

.coffee-support-btn i {
    animation: steamAnimation 2s infinite;
}

.subscribe-support-btn i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .coffee-support-btn, .subscribe-support-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .support-button {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .coffee-support-btn, .subscribe-support-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Optimization Improvements */
@media screen and (max-width: 768px) {
    /* Layout adjustments */
    main {
        max-width: 100%;
        padding: 0.5rem;
    }

    nav {
        margin: 0.5rem;
        padding: 1rem;
    }

    /* Hero section */
    .hero {
        padding: 1.5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    /* Tools Grid */
    .tools-grid {
        gap: 2.5rem;
        padding: 0.5rem;
        margin: 1rem 0;
    }

    .tool-card {
        width: 100%;
        max-width: 280px;
        height: 110px;
        margin-bottom: 1rem;
    }

    /* Fix tooltip overflow on mobile */
    .tool-card::after,
    [data-tooltip]:before {
        width: auto;
        max-width: 200px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }

    /* Social section */
    .social-section {
        padding: 1.5rem 1rem;
    }

    .social-grid {
        gap: 1rem;
    }

    .social-card {
        width: 45px;
        height: 45px;
    }

    .social-card i {
        font-size: 1.5rem;
    }

    /* Support buttons */
    .support-button {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0 1rem;
    }

    .coffee-support-btn, .subscribe-support-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }

    /* Contact section */
    .contact-section {
        padding: 1.5rem 1rem;
    }

    .email-link {
        font-size: 1rem;
        word-break: break-all;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .social-links {
        gap: 0.5rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .social-links i {
        font-size: 16px;
    }

    .tool-card {
        height: 80px;
    }

    /* Adjust tooltips for very small screens */
    .tool-card::after,
    [data-tooltip]:before {
        max-width: 160px;
        font-size: 12px;
        padding: 6px 10px;
    }
}

/* Landscape mode optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1rem;
    }

    .tools-grid {
        gap: 1.5rem;
    }

    .tool-card {
        height: 70px;
    }

    .social-section {
        padding: 1rem;
    }
}

/* Tools Grid Enhancement */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-items: center;
    margin: 2rem 0;
    padding: 1rem;
}

.tool-card {
    position: relative;
    width: 280px;
    height: auto;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-decoration: none;
    overflow: visible;
    margin-bottom: 1rem;
}

.tool-card img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    padding: 1.5rem;
    background: white;
    border-radius: 14px 14px 0 0;
}

.tool-label {
    position: relative;
    width: 100%;
    background: black;
    color: white;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    border-radius: 0 0 14px 14px;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Mobile Optimization for Tools */
@media screen and (max-width: 768px) {
    .tools-grid {
        gap: 1.5rem;
        padding: 0.5rem;
    }

    .tool-card {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0.5rem;
    }

    .tool-card img {
        height: 120px;
        padding: 1rem;
    }

    .tool-label {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .tools-grid {
        gap: 1rem;
    }

    .tool-card img {
        height: 100px;
    }

    .tool-label {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Google Maps Scraper */
.tool-card[href*="googlemapscraper"] .tool-label {
    background: #3899db;
    color: white;
}

/* Yellow Pages Scraper */
.tool-card[href*="yellowpagesscraper"] .tool-label {
    background: #f7e000;
    color: black; /* Dark text for better contrast on yellow */
}

/* Facebook Scraper */
.tool-card[href*="faceboookscraper"] .tool-label {
    background: #bdfaf1;
    color: black; /* Dark text for better contrast */
}

/* Website Scraper */
.tool-card[href*="scrapewebsite"] .tool-label {
    background: #f79cb1;
    color: white;
}

/* Diamond Mailer */
.tool-card[href*="diamondmailer"] .tool-label {
    background: #69cd8c;
    color: white;
}

/* Responsive Viewer */
.tool-card[href*="responsiveviewerr"] .tool-label {
    background: #ee9ad2;
    color: white;
}

/* Apollo.io Scraper */
.tool-card[href*="apolloioscraper"] .tool-label {
    background: #f4cb1d;
    color: black; /* Dark text for better contrast on yellow */
}

/* Coming Soon Card */
.tool-card[href*="youtube"] .tool-label {
    background: #FF0000;
    color: white;
}

/* Hover effect adjustment */
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
}

/* Make sure text remains readable on all backgrounds */
.tool-label {
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

/* Logo images */
.mobile-logo {
    display: none;
}

@media screen and (max-width: 768px) {
    .desktop-logo {
        display: none;
    }
    
    .mobile-logo {
        display: block;
    }
}

/* Typing Animation */
.typing-animation {
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid var(--primary-color);
    animation: typing 3s steps(30), blink 0.5s step-end infinite alternate;
    width: 0;
    animation-fill-mode: forwards;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    50% { border-color: transparent }
}

/* Enhanced Tool Card Effects */
.tool-card:hover {
    transform: translateY(-5px) rotate(var(--random-rotate));
    box-shadow: var(--hover-box-shadow);
}

/* Add these random rotation values to alternate cards */
.tool-card:nth-child(odd) {
    --random-rotate: -2deg;
}

.tool-card:nth-child(even) {
    --random-rotate: 2deg;
}

/* Enhanced Social Links Animation */
.social-links a {
    animation: gentleFloat 3s ease-in-out infinite;
}

.social-links a:nth-child(1) { animation-delay: 0s; }
.social-links a:nth-child(2) { animation-delay: 0.2s; }
.social-links a:nth-child(3) { animation-delay: 0.4s; }
.social-links a:nth-child(4) { animation-delay: 0.6s; }
.social-links a:nth-child(5) { animation-delay: 0.8s; }

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

/* Add this to remove outline and add smooth click effect */
.download-btn, 
.coffee-support-btn, 
.subscribe-support-btn,
.social-links a,
.tool-card {
    -webkit-tap-highlight-color: transparent;
    outline: none !important;
}

button:focus,
a:focus {
    outline: none !important;
}

/* Smooth click effect */
.download-btn:active, 
.coffee-support-btn:active, 
.subscribe-support-btn:active {
    transform: scale(0.97);
}

/* Enhanced Boji Section Styles */
.boji-section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.boji-section h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.75rem;
    animation: bounce 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #FF0000, #FF0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.boji-container {
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.boji-wrapper {
    padding: 1rem;
    border-radius: var(--border-radius);
    background: var(--white);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    cursor: pointer;
}

/* Hover effect only on wrapper */
.boji-wrapper:hover {
    transform: translateY(-5px) rotate(2deg);
    box-shadow: var(--hover-box-shadow);
}

.boji-image {
    width: 100%;
    height: auto;
    border-radius: calc(var(--border-radius) - 4px);
    transition: transform 0.3s ease;
    pointer-events: none; /* Prevents image from capturing hover */
}

/* Optimized Sparkles Animation */
.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.sparkles span {
    position: absolute;
    animation: sparkle 1.5s ease-in-out infinite;
    opacity: 0;
    font-size: 1.2rem;
}

.sparkles span:nth-child(1) { top: -5px; left: 15%; animation-delay: 0s; }
.sparkles span:nth-child(2) { top: 25%; right: -5px; animation-delay: 0.3s; }
.sparkles span:nth-child(3) { bottom: -5px; right: 15%; animation-delay: 0.6s; }
.sparkles span:nth-child(4) { bottom: 25%; left: -5px; animation-delay: 0.9s; }
.sparkles span:nth-child(5) { top: 45%; left: 15%; animation-delay: 1.2s; }

@keyframes sparkle {
    0%, 100% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

/* Optimized Emoji Rain */
.emoji-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.emoji-rain span {
    position: absolute;
    font-size: 1.2rem;
    animation: emojiRain 2s linear infinite;
    opacity: 0;
    top: -20px;
}

.emoji-rain span:nth-child(1) { left: 15%; animation-delay: 0s; }
.emoji-rain span:nth-child(2) { left: 35%; animation-delay: 0.7s; }
.emoji-rain span:nth-child(3) { left: 55%; animation-delay: 1.4s; }
.emoji-rain span:nth-child(4) { left: 75%; animation-delay: 0.4s; }
.emoji-rain span:nth-child(5) { left: 85%; animation-delay: 1.1s; }

@keyframes emojiRain {
    0% {
        transform: translateY(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(300px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Enhanced Shine Effect */
.boji-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: translateX(-100%);
    transition: 0.5s;
    pointer-events: none;
}

.boji-wrapper:hover::after {
    transform: translateX(100%);
}

/* Mobile Optimizations */
@media screen and (max-width: 768px) {
    .boji-section {
        padding: 2rem 1rem;
    }

    .boji-section h2 {
        font-size: 1.6rem;
    }

    .boji-container {
        max-width: 250px;
    }

    .sparkles span {
        font-size: 1rem;
    }

    .emoji-rain span {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .boji-section h2 {
        font-size: 1.4rem;
    }

    .boji-container {
        max-width: 200px;
    }

    .sparkles span,
    .emoji-rain span {
        font-size: 0.9rem;
    }
}

/* Replace LinkedIn styles with WhatsApp styles */
.whatsapp {
    background: #25D366;  /* WhatsApp brand color */
}

.whatsapp:hover {
    background: #128C7E;  /* Darker shade for hover */
}

.whatsapp i {
    font-size: 2rem;  /* Slightly larger icon */
}

/* Update hover animation for WhatsApp */
.whatsapp:hover .hover-effect {
    transform: translateX(100%);
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
}

.support-message {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out forwards;
}

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

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .boji-section h2 {
        font-size: 1.6rem;
    }
    
    .support-message {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .boji-section h2 {
        font-size: 1.4rem;
    }
    
    .support-message {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
}

/* Logo Emoji Rain Effect */
.logo-emoji-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.logo-emoji-rain span {
    position: fixed;
    display: inline-block;
    font-size: 24px;
    animation: logoEmojiRain 2s linear forwards;
    opacity: 0;
}

@keyframes logoEmojiRain {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Make logo clickable */
.logo {
    cursor: pointer;
    user-select: none;
    z-index: 1;
}

.logo img {
    pointer-events: none; /* Ensures clicks go through to the logo div */
}

/* Calendar Section Styles */
.calendar-section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.calendar-section h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.75rem;
    animation: bounce 3s ease-in-out infinite;
}

.calendar-subtitle {
    font-size: 1.2rem;
    color: var(--black);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out forwards;
}

.calendar-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative;
    z-index: 10; /* Add higher z-index */
}

#my-cal-inline {
    width: 100%;
    height: 500px;
    border: none;
    overflow: auto; /* Changed from hidden to auto */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    pointer-events: all !important;
    z-index: 11; /* Add higher z-index */
    position: relative;
    touch-action: manipulation; /* Improve touch handling */
}

/* Large Desktop Screens */
@media screen and (min-width: 1400px) {
    .calendar-container {
        width: 90%;
        max-width: 1400px;
    }
}

/* Regular Desktop and Tablet Landscape */
@media screen and (min-width: 1024px) and (max-width: 1399px) {
    .calendar-container {
        width: 92%;
        max-width: 1200px;
    }
}

/* Tablet Portrait */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .calendar-section {
        padding: 2rem 1.5rem;
    }

    .calendar-container {
        width: 95%;
    }

    #my-cal-inline {
        height: 450px;
    }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) {
    .calendar-section {
        padding: 2rem 1rem;
    }

    .calendar-section h2 {
        font-size: 1.6rem;
    }

    .calendar-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .calendar-container {
        width: 98%;
        margin: 0 auto;
    }

    #my-cal-inline {
        height: 400px;
    }
}

/* Mobile Portrait */
@media screen and (max-width: 480px) {
    .calendar-section {
        padding: 1.5rem 0.75rem;
    }

    .calendar-section h2 {
        font-size: 1.4rem;
    }

    .calendar-subtitle {
        font-size: 0.9rem;
    }

    .calendar-container {
        width: 100%;
        border-radius: calc(var(--border-radius) - 2px);
    }

    #my-cal-inline {
        height: 350px;
    }
}

/* Handle very small screens */
@media screen and (max-width: 320px) {
    #my-cal-inline {
        height: 300px;
    }
}

/* Landscape mode optimization */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .calendar-section {
        padding: 1rem;
    }

    #my-cal-inline {
        height: 280px;
    }
}

/* Calendar Section Styles */
.calendar-container {
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 10; /* Add higher z-index */
}

#my-cal-inline {
    width: 100%;
    height: 500px;
    border: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    pointer-events: all !important;
    z-index: 11; /* Add higher z-index */
    position: relative;
    touch-action: manipulation; /* Improve touch handling */
}

/* Tool Card Colors - Restore original colors */
/* Facebook Scraper */
.tool-card[href*="wa.link"][data-tooltip*="Facebook"] .tool-label {
    background: #bdfaf1;
    color: black;
}

.tool-card[href*="wa.link"][data-tooltip*="Facebook"]:before {
    border-color: transparent transparent #bdfaf1 transparent;
}

[data-tooltip*="Facebook"]:before {
    background: #bdfaf1;
    color: black;
}

/* Diamond Mailer */
.tool-card[href*="wa.link"][data-tooltip*="emails"] .tool-label {
    background: #69cd8c;
    color: white;
}

.tool-card[href*="wa.link"][data-tooltip*="emails"]:before {
    border-color: transparent transparent #69cd8c transparent;
}

[data-tooltip*="emails"]:before {
    background: #69cd8c;
    color: white;
}

/* Apollo.io Scraper */
.tool-card[href*="wa.link"][data-tooltip*="Apollo"] .tool-label {
    background: #f4cb1d;
    color: black;
}

.tool-card[href*="wa.link"][data-tooltip*="Apollo"]:before {
    border-color: transparent transparent #f4cb1d transparent;
}

[data-tooltip*="Apollo"]:before {
    background: #f4cb1d;
    color: black;
}

/* Fix tooltip arrow colors */
.tool-card[href*="wa.link"][data-tooltip*="Facebook"]::before {
    border-color: transparent transparent #bdfaf1 transparent;
}

.tool-card[href*="wa.link"][data-tooltip*="emails"]::before {
    border-color: transparent transparent #69cd8c transparent;
}

.tool-card[href*="wa.link"][data-tooltip*="Apollo"]::before {
    border-color: transparent transparent #f4cb1d transparent;
}

/* Override default tooltip styles for these specific cards */
.tool-card[href*="wa.link"][data-tooltip*="Facebook"]::after,
.tool-card[href*="wa.link"][data-tooltip*="Facebook"]:hover::after {
    background: #bdfaf1;
    color: black;
}

.tool-card[href*="wa.link"][data-tooltip*="emails"]::after,
.tool-card[href*="wa.link"][data-tooltip*="emails"]:hover::after {
    background: #69cd8c;
    color: white;
}

.tool-card[href*="wa.link"][data-tooltip*="Apollo"]::after,
.tool-card[href*="wa.link"][data-tooltip*="Apollo"]:hover::after {
    background: #f4cb1d;
    color: black;
}

/* Mobile Calendar Fixes */
@media screen and (max-width: 767px) {
    .calendar-container {
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    #my-cal-inline {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        /* Prevent content selection while scrolling */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    /* Stop propagation of touch events */
    .calendar-container * {
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
}

/* Prevent interference from other elements */
.cursor-container,
.sparkles,
.emoji-rain {
    pointer-events: none !important;
}

/* Add these styles for the discount popup */
.discount-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: linear-gradient(45deg, #FF0000, #ff4d4d);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    z-index: 9999;
    text-align: center;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.discount-popup.show {
    transform: translate(-50%, -50%) scale(1);
}

.discount-popup h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.discount-code {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.discount-code::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255,255,255,0.3),
        transparent
    );
    transform: rotate(45deg);
    animation: shimmer 2s infinite;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.close-popup:hover {
    transform: rotate(90deg);
}

@keyframes popIn {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.confetti {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 30px;
    background: #ffd300;
    top: 0;
    opacity: 0;
}

@keyframes confettiRain {
    0% {
        opacity: 1;
        transform: translateY(0) rotateX(0) rotateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) rotateX(90deg) rotateY(180deg);
    }
}

/* Improved popup styles */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

.discount-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #FF0000, #ff4d4d);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    text-align: center;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.discount-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

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

.discount-popup h3 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.popup-text {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.discount-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.discount-code span {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.copy-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.copy-btn.copied {
    background: #4CAF50;
}

.use-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: #FF0000;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.use-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.click-feedback {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: clickRipple 1s ease-out;
}

@keyframes clickRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

/* Improved confetti animation */
.confetti-piece {
    position: absolute;
    width: 10px;
    height: 30px;
    background: #ffd300;
    top: -20px;
    opacity: 0;
}

@keyframes confettiRain {
    0% {
        opacity: 1;
        transform: translateY(-20px) rotate(0deg);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(90vh) rotate(540deg);
    }
}

/* Mobile optimizations for popup */
@media screen and (max-width: 768px) {
    .discount-popup {
        width: 90%;
        max-width: 350px;
        padding: 1.5rem;
    }

    .discount-popup h3 {
        font-size: 1.5rem;
    }

    .popup-text {
        font-size: 1rem;
    }

    .discount-code {
        padding: 0.75rem;
        margin: 1rem 0;
    }

    .discount-code span {
        font-size: 2rem;
    }

    .copy-btn {
        padding: 0.4rem;
    }

    .use-now-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    /* Optimize confetti for mobile */
    .confetti-piece {
        width: 8px;
        height: 20px;
    }

    /* Adjust click feedback size */
    .click-feedback {
        width: 15px;
        height: 15px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .discount-popup {
        width: 95%;
        padding: 1.25rem;
    }

    .discount-popup h3 {
        font-size: 1.3rem;
    }

    .popup-text {
        font-size: 0.9rem;
    }

    .discount-code span {
        font-size: 1.8rem;
    }

    .popup-subtext {
        font-size: 0.8rem;
    }

    /* Reduce confetti count for better performance */
    .confetti {
        opacity: 0.8;
    }

    /* Adjust animations for better performance */
    @keyframes confettiRain {
        0% {
            opacity: 1;
            transform: translateY(-20px) rotate(0deg);
        }
        100% {
            opacity: 0;
            transform: translateY(90vh) rotate(540deg);
        }
    }
}

/* Handle very small screens and landscape mode */
@media screen and (max-height: 500px), (max-width: 320px) {
    .discount-popup {
        padding: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }

    .discount-popup h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .discount-code {
        margin: 0.75rem 0;
    }

    .use-now-btn {
        margin-top: 0.5rem;
    }

    /* Optimize backdrop for better performance */
    .popup-backdrop {
        backdrop-filter: blur(3px);
    }
}

/* Prevent scroll when popup is open */
body.popup-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


/* Add these at the end of your existing CSS file */

/* TransliDict Tool Card */
.tool-card[data-tooltip*="Translation"] .tool-label {
    background: #27d050;
    color: white;
}

.tool-card[data-tooltip*="Translation"]::after {
    background: #27d050;
    color: white;
}

.tool-card[data-tooltip*="Translation"]::before {
    border-color: transparent transparent #27d050 transparent;
}

/* Crazy Facts Generator Tool Card */
.tool-card[data-tooltip*="facts"] .tool-label {
    background: #f9d566;
    color: black;
    text-shadow: none;
}

.tool-card[data-tooltip*="facts"]::after {
    background: #f9d566;
    color: black;
    text-shadow: none;
}

.tool-card[data-tooltip*="facts"]::before {
    border-color: transparent transparent #f9d566 transparent;
}

/* LinkQR Tool Card */
.tool-card[data-tooltip*="QR codes"] .tool-label {
    background: #fb8773;
    color: white;
}

.tool-card[data-tooltip*="QR codes"]::after {
    background: #fb8773;
    color: white;
}

.tool-card[data-tooltip*="QR codes"]::before {
    border-color: transparent transparent #fb8773 transparent;
}

/* Auto Tab Closer Tool Card */
.tool-card[data-tooltip*="popup tabs"] .tool-label {
    background: linear-gradient(135deg, #f95798, #fe5863);
    color: white;
}

.tool-card[data-tooltip*="popup tabs"]::after {
    background: linear-gradient(135deg, #f95798, #fe5863);
    color: white;
}

.tool-card[data-tooltip*="popup tabs"]::before {
    border-color: transparent transparent #f95798 transparent;
}

/* Hover effect enhancement for gradient cards */
.tool-card[data-tooltip*="popup tabs"]:hover .tool-label {
    background: linear-gradient(135deg, #fe5863, #f95798);
}

.tool-card[data-tooltip*="popup tabs"]:hover::after {
    background: linear-gradient(135deg, #fe5863, #f95798);
}

/* Ahankar Studios Tool Card */
.tool-card[data-tooltip*="Web Design Wizards"] .tool-label {
    background: #EE9AD2;
    color: white;
}

.tool-card[data-tooltip*="Web Design Wizards"]::after {
    background: #EE9AD2;
    color: white;
}

.tool-card[data-tooltip*="Web Design Wizards"]::before {
    border-color: transparent transparent #EE9AD2 transparent;
}

/* Hover effect enhancement */
.tool-card[data-tooltip*="Web Design Wizards"]:hover .tool-label {
    background: #e685c3;
}

.tool-card[data-tooltip*="Web Design Wizards"]:hover::after {
    background: #e685c3;
}

/* Show More Button Styles */
.show-more-wrapper {
    width: 100%;
    text-align: center;
    margin: 2rem 0;
}

.show-more-btn {
    background: linear-gradient(135deg, #FF0000, #ff4d4d);
    color: white;
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.show-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-box-shadow);
    background: linear-gradient(135deg, #ff4d4d, #FF0000);
}

.show-more-btn.processing {
    pointer-events: none;
    opacity: 0.8;
}

.show-more-btn i {
    transition: transform 0.3s ease;
}

.show-more-btn.active i {
    transform: rotate(180deg);
}

/* Hidden Tools Styles */
.hidden-tools {
    display: none;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    width: 100%;
    margin-top: 2rem;
}

.hidden-tools.show {
    display: grid;
    animation: fadeIn 0.3s ease-out;
}

/* Name hover effect - Simplified */
.name-hover {
    position: relative;
    display: inline-block;
    cursor: pointer;
    color: #FF0000;
    transition: color 0.3s ease;
}

.name-hover:hover {
    color: #ff4d4d;
}

/* Image hover effect */
.name-hover::before {
    content: '';
    position: fixed;
    left: calc(50% + 80px); /* Desktop position */
    top: 100px;
    width: 120px;
    height: 120px;
    background-image: url('images/icon.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #000;
    border-radius: 12px;
    box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.9);
    transform: translateX(-50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 999999;
    pointer-events: none;
}

.name-hover:hover::before {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Container spacing */
.typing-animation {
    position: relative;
    padding-top: 20px;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .name-hover::before {
        left: calc(50% + 20px); /* Reduced right offset for mobile */
        width: 100px; /* Slightly smaller on mobile */
        height: 100px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .name-hover::before {
        left: 50%; /* Centered on very small screens */
        width: 90px; /* Even smaller for very small screens */
        height: 90px;
    }
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
    .name-hover::before {
        left: calc(50% + 40px); /* More to the right */
        top: 120px; /* Move down a bit */
        width: 100px;
        height: 100px;
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .name-hover::before {
        left: calc(50% + 30px); /* Still slightly right */
        top: 130px; /* Even more down for smaller screens */
        width: 90px;
        height: 90px;
    }
}
/* Very small devices */
@media screen and (max-width: 360px) {
    .name-hover::before {
        left: calc(50% + 20px); /* Adjust for very small screens */
        top: 140px;
        width: 80px;
        height: 80px;
    }
}

/* Custom tooltip colors matching labels */
.tool-card[href*="googlelocal"]::after {
    background: #ff585a;
    color: white;
}

.tool-card[href*="googlelocal"]::before {
    border-color: transparent transparent #ff585a transparent;
}

/* Tool Label Colors */
.tool-card[href*="googlelocal"] .tool-label {
    background: #ff585a;
    color: white;
}

/* Offline Page Styles */
.offline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.offline-logo {
    width: 150px;
    height: 150px;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
}

.retry-btn {
    margin-top: 2rem;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: var(--transition);
}

.retry-btn:hover {
    transform: var(--hover-transform);
    box-shadow: var(--hover-box-shadow);
}

.install-button {
    transition: transform 0.3s ease;
}

.install-button:hover {
    transform: translateY(-3px);
    box-shadow: 6px 6px 0 0 rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
    .install-button {
        bottom: 70px;
        right: 10px;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Footer Styles */
.site-footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: #cc0000;
}

.footer-links .separator {
    margin: 0 1rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Policy Pages Styles */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    color: var(--white);
}

.policy-container h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.policy-container h2 {
    color: var(--white);
    margin: 2rem 0 1rem;
    font-size: 1.8rem;
}

.policy-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.policy-container ul, 
.policy-container ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid var(--black);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-to-home:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: var(--hover-box-shadow);
}

.back-to-home i {
    font-size: 1.1rem;
}

/* Policy Pages Mobile Styles */
@media screen and (max-width: 768px) {
    .policy-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .policy-container h1 {
        font-size: 2rem;
    }

    .policy-container h2 {
        font-size: 1.5rem;
    }

    .policy-container p {
        font-size: 1rem;
    }

    .back-to-home {
        margin: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .policy-container {
        margin: 0.5rem;
        padding: 1rem;
    }

    .policy-container h1 {
        font-size: 1.8rem;
    }

    .policy-container h2 {
        font-size: 1.3rem;
    }

    .back-to-home {
        margin: 0.5rem;
        font-size: 0.9rem;
    }
}

/* Install App Button Styles */
.install-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
    color: var(--white);
    border: 2px solid var(--black);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: bounce 2s infinite;
}

.install-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-box-shadow);
    background: linear-gradient(135deg, #ff4d4d, var(--primary-color));
}

.install-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.install-button:hover::before {
    transform: translateX(100%);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Mobile Styles for Install Button */
@media screen and (max-width: 768px) {
    .install-button {
        bottom: 85px;
        right: 10px;
        padding: 10px 20px;
        font-size: 0.9rem;
        border-width: 1.5px;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .install-button {
        bottom: 75px;
        right: 8px;
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Handle Landscape Mode */
@media screen and (max-height: 500px) {
    .install-button {
        bottom: 10px;
        right: 10px;
    }
}

/* Rainbow Border Animation for Special Cards */
@keyframes rainbow-border {
    0% { border-color: #ff0000; }
    20% { border-color: #ff9900; }
    40% { border-color: #33cc33; }
    60% { border-color: #3399ff; }
    80% { border-color: #cc33ff; }
    100% { border-color: #ff0000; }
}

@keyframes rainbow-glow {
    0% { box-shadow: 0 0 10px #ff0000; }
    20% { box-shadow: 0 0 10px #ff9900; }
    40% { box-shadow: 0 0 10px #33cc33; }
    60% { box-shadow: 0 0 10px #3399ff; }
    80% { box-shadow: 0 0 10px #cc33ff; }
    100% { box-shadow: 0 0 10px #ff0000; }
}

@keyframes neon-gradient {
    0% { 
        background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.05));
    }
    20% { 
        background: linear-gradient(135deg, rgba(255, 153, 0, 0.15), rgba(255, 153, 0, 0.05));
    }
    40% { 
        background: linear-gradient(135deg, rgba(51, 204, 51, 0.15), rgba(51, 204, 51, 0.05));
    }
    60% { 
        background: linear-gradient(135deg, rgba(51, 153, 255, 0.15), rgba(51, 153, 255, 0.05));
    }
    80% { 
        background: linear-gradient(135deg, rgba(204, 51, 255, 0.15), rgba(204, 51, 255, 0.05));
    }
    100% { 
        background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 0, 0, 0.05));
    }
}

.rainbow-border {
    position: relative;
    border-width: 3px !important;
    animation: rainbow-border 3s linear infinite;
    background-color: white;
    overflow: hidden;
}

.rainbow-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    animation: neon-gradient 3s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.rainbow-border::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: var(--border-radius);
    background: linear-gradient(45deg, 
        #ff0000, #ff9900, #33cc33, 
        #3399ff, #cc33ff, #ff0000);
    background-size: 400% 400%;
    animation: rainbow-glow 3s linear infinite;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.7;
}

/* Special styling for highlighted tools */
.tool-card[href*="localgoogle"],
.tool-card[href*="Google local"],
.tool-card[href*="facebook"],
.tool-card[href*="apollo"],
.tool-card[href*="Website Scraper"] {
    position: relative;
    border-width: 3px !important;
    animation: rainbow-border 3s linear infinite;
    transform-style: preserve-3d;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    background: white;
}

.tool-card[href*="localgoogle"]:hover,
.tool-card[href*="Google local"]:hover,
.tool-card[href*="facebook"]:hover,
.tool-card[href*="apollo"]:hover,
.tool-card[href*="Website Scraper"]:hover {
    transform: translateY(-10px) rotate(2deg);
}

/* Fade background effect */
.fade-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.05)
    );
    pointer-events: none;
    z-index: 1;
    border-radius: var(--border-radius);
}

.tool-card[href*="localgoogle"]:hover,
.tool-card[href*="Google local"]:hover,
.tool-card[href*="facebook"]:hover,
.tool-card[href*="apollo"]:hover,
.tool-card[href*="Website Scraper"]:hover {
    transform: translateY(-10px) rotate(2deg);
}

/* Ensure content stays above effects */
.tool-card > *:not(.rainbow-glow):not(.shimmer-effect):not(.fade-background) {
    position: relative;
    z-index: 2;
}
