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

@font-face {
    font-family: Gluten;
    src: url(../fonts/Gluten-Regular.ttf) format("truetype");
    font-weight: regular;
    font-style: normal;
}

/* Body Styling */
body {
    font-family: Gluten;
    background: linear-gradient(to bottom right, #f5f7fa, #c3cfe2);
    color: #333;
    text-align: center;
}

/*  */
.hero {

    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 20px;
    flex-wrap: wrap;
    gap: 50px;
    z-index: 1;
}

.hero-wrapper {
    flex: 1;
    height: 100%;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

audio {
    display: none;
}

/* Hero After Element */
.hero::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: url(../images/bg1.png);
    background-size: contain;
    background-position: bottom right;
    background-repeat: no-repeat;
    animation: slideIn 2s ease-in-out;
}

/* Cat Image Styling */
.cat-image {
    width: 100%;
    max-width: 310px;
    border-radius: 50%;
    margin: 10px;
    animation: bounce 3s infinite ease-in-out;
}

.cat-box-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Cat Box Styling */
.cat-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease-in-out;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}


/* Cat Title Styling */
.cat-title {
    margin: 20px 0;
    font-size: 4.5em;
    font-weight: 900;
    color: #333;
    text-transform: capitalize;
    transition: color 0.5s ease;
}

.cat-title:hover {
    color: #000;
}

.play-game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.play-game-btn {
    background-color: black;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px
}

.play-game-btn svg {
    height: 15px;
    width: 15px;
}



.btn_a {
    text-decoration: none;
}

.play-game-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Tagline Styling */
.tagline {
    margin: 15px 0;
    font-size: 1.5em;
    color: #555;
    text-align: center;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.social-icons img:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* CA Wrapper Styling */
.ca-wrapper {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    animation: pulse 3s infinite ease-in-out;
}

/* CA Button Styling */
.ca-button {
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* CA Address Styling */
.ca-address {
    font-size: 1.1em;
    color: #fff;
    word-wrap: break-word;
    line-break: anywhere;
}

/* Responsive Design */
@media (max-width: 1080px) {
    .cat-image {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        gap: 0px;
    }

    .cat-title {
        font-size: 2.5em;
    }

    .tagline {
        font-size: 1em;
    }

    .ca-wrapper {
        flex-direction: column;
    }

    .hero::after {
        bottom: -40px;
        right: 0;
        width: 180px;
        height: 180px;
    }

    .cat-image {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .cat-title {
        font-size: 2em;
    }

    .tagline {
        font-size: 0.9em;
    }

    .ca-wrapper {
        padding: 10px;
        gap: 10px;
    }

    .social-icons {
        gap: 15px;
    }

    .hero::after {
        bottom: -30px;
        right: 0;
        width: 140px;
        height: 140px;
    }
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* About Section Styling */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 40px;
    background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
    position: relative;
    overflow: hidden;
}

.about-content {
    /* flex: 1; */
    max-width: 600px;
    animation: fadeInLeft 1.5s ease-out;
}

.about-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.about-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
}

.about-image-wrapper {
    /* flex: 1; */
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1.5s ease-out;
}

.about-image {
    width: 100%;
    max-width: 450px;
    border-radius: 5px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Keyframes for Animation */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .about-title {
        font-size: 2em;
    }

    .about-description {
        font-size: 1em;
    }

    .about-content,
    .about-image-wrapper {
        animation: fadeIn 1.5s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 1.8em;
    }

    .about-description {
        font-size: 0.9em;
    }

    .about-image {
        max-width: 300px;
    }
}


/* Community Section */
/* Community Section Styling */
.community {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #f4f4f4, #e2e2e2);
    gap: 50px;
    position: relative;
}

.community-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.community-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.community-card {
    flex: 1;
    max-width: 600px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease-in-out;
}

.community-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.community-card h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.community-card p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.community-card a {
    color: #3284ff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.community-card a:hover {
    color: #0056b3;
}

/* Join Button Styling */
.community-btn {
    background-color: black;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.community-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .community {
        flex-direction: column;
        padding: 30px 10px;
    }

    .community-card {
        text-align: center;
    }

    .community-card h2 {
        font-size: 1.8em;
    }

    .community-card p {
        font-size: 1em;
    }

    .community-card a {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .community-card {
        padding: 20px;
    }

    .community-card h2 {
        font-size: 1.5em;
    }

    .community-card p {
        font-size: 0.9em;
    }

    .community-card a {
        font-size: 1em;
    }

    .community-btn {
        font-size: 0.9em;
        padding: 12px 25px;
    }
}

/* Footer */
footer {
    padding: 10px;
    background-color: #000;
    color: white;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

.popup {
    position: absolute;
    color: #000000;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 10em;
    font-weight: 800;
    animation: pop-up-animation 0.8s ease-out forwards;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 1;
}

/*  */

/* Masonry Gallery Styling */
.masonry-gallery {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.gallery-title {
    font-size: 2em;
    /* color: #ffffff; */
}

/* Masonry Grid */
.masonry-grid {
    column-count: 3;
    /* Number of columns in the Masonry layout */
    column-gap: 20px;
    /* Spacing between columns */
    max-width: 1200px;
    margin: 30px auto;
    /* Center the grid */
}

.masonry-item {
    break-inside: avoid;
    /* Prevent items from breaking inside columns */
    margin-bottom: 20px;
    /* Spacing between items */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Style for video inside masonry item */
.masonry-item video {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 10px;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 10px;
    border: none;
    background-color: transparent;
    font-size: 20px;
}

.copy-icon {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}

.lightbox-content img,
.lightbox-content video {
    width: 100%;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}


/* Lightbox Styles */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    object-fit: contain;
    /* Ensure the video fits within the container */
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 2em;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .masonry-grid {
        column-count: 2;
        /* Adjust to 2 columns for tablets */
    }
}

@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
        /* Adjust to 1 column for mobile devices */
    }
}

/*  */
/* Meme Gallery Section Styling */
.meme-gallery {
    min-height: 100vh;
    padding: 50px 20px;
    background: #fff;
    text-align: center;
}

.gallery-title {
    font-size: 2em;
    margin-bottom: 20px;
    /* color: #fff; */
}

/* Image Grid Styling */
.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    justify-items: center;
}

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.05);
}

/* Load More Button Styling */
.load-more {
    padding: 15px 30px;
    background-color: #000000;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.meme-info {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 30px 0 0;
    gap: 20px;
}

.meme-info span {
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
    max-width: 700px;
    text-align: center;
}

.load-more:hover {
    background-color: #010101;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Adjust to 3 columns for tablets */
    }

    .image-grid img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, 1fr);
        /* Adjust to 2 columns for mobile devices */
    }

    .image-grid img {
        width: 100%;
        height: 150px;
    }

    .load-more {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Single column for smaller screens */
    }

    .image-grid img {
        width: 100%;
        height: 150px;
    }
}

/*  */
@keyframes pop-up-animation {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }

    .cat-title {
        font-size: 1.2em;
    }

    .ca-button {
        max-width: 80px;
        /* Smaller initial width for mobile */
    }

    .ca-button-wrapper:hover .ca-button {
        max-width: 300px;
        /* Smaller expanded width for mobile */
    }

    .about-button {
        padding: 8px 16px;
    }
}