/* Section 1: Hero Section Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #000000;
    --font-heading: 'Luckiest Guy', cursive;
    --font-main: 'Comic Neue', cursive;
    --bg-dark: rgba(0, 0, 0, 0.8);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: #000;
    overflow-x: hidden;
    font-weight: 700;
}

.hero-section {
    min-height: 100vh;
    background: url('images/footer.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

/* Add a subtle overlay to make text pop if needed, 
   but bg.png is already quite dark/rich */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align to right since it's on the right side now */
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
    text-align: right;
}

.logo-wrapper {
    margin-bottom: -10px; /* Adjust based on asset whitespace */
}

.main-logo {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.5));
    animation: float-coco 6s ease-in-out infinite;
}

.tagline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: 0.02em;
    text-shadow: 6px 6px 0px #000, -2px -2px 0px #000, 2px -2px 0px #000;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 30px;
    width: 100%;
}

.icon-link {
    width: 60px;
    height: 60px;
    background: #000;
    border: 3px solid #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 12px;
    box-shadow: 5px 5px 0px #000;
    transform: rotate(-3deg);
}

.icon-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.4);
}

.icon-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) !important;
}

.ca-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
    margin-left: auto; /* Push to right */
}

.ca-box {
    background: #fff;
    border: 5px solid #000;
    border-radius: 15px; /* More artistic, less perfect round */
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 8px 8px 0px #000;
    transform: rotate(1deg);
}

#ca-text {
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    padding: 5px;
    transition: transform 0.2s;
}

.copy-button:hover {
    transform: scale(1.1);
}

.cta-wrapper {
    margin-top: 10px;
}

.btn-buy {
    background: #fff;
    background-image: 
        radial-gradient(circle at 15% 15%, #000 12px, transparent 13px),
        radial-gradient(circle at 85% 25%, #000 15px, transparent 16px),
        radial-gradient(circle at 50% 50%, #000 18px, transparent 19px),
        radial-gradient(circle at 25% 75%, #000 14px, transparent 15px),
        radial-gradient(circle at 75% 85%, #000 12px, transparent 13px);
    background-size: 100% 100%;
    color: #000;
    text-decoration: none;
    font-weight: 900;
    font-size: 2rem;
    padding: 15px 50px;
    border: 4px solid #000;
    border-radius: 15px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 0px #000, 0 15px 20px rgba(0,0,0,0.4);
    transform: rotate(-2deg);
    text-shadow: 2px 2px 0px #fff, -2px -2px 0px #fff, 2px -2px 0px #fff, -2px 2px 0px #fff;
}

.btn-buy:hover {
    transform: rotate(0deg) translateY(4px) scale(1.05);
    box-shadow: 0 4px 0px #000, 0 10px 15px rgba(0,0,0,0.3);
    background-position: 10px 10px; /* Slight shift for the 'spots' */
}

.btn-buy:active {
    transform: translateY(8px);
    box-shadow: 0 0px 0px #000;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease-out;
}

.character-wrapper {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.hero-character {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}

@keyframes float-coco {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(2deg); }
    50% { transform: translate(-10px, 15px) rotate(-1deg); }
    75% { transform: translate(-15px, -10px) rotate(1deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Section 2: About */
.about-section {
    background-color: #0c0c0c; /* Deep Dark for depth like reference */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03) 100px, transparent 101px),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.03) 150px, transparent 151px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    border-top: 10px solid #fff;
}

.marquee-ticker {
    background: #fff; /* Milk White Marquee */
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    padding: 15px 0;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 40px;
    transform: rotate(-1deg);
    width: 110%;
    margin-left: -5%;
    margin-bottom: 80px;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 40px;
    min-width: 100%;
    animation: scroll 20s linear infinite;
}

.marquee-content span {
    font-size: 2rem;
    font-weight: 900;
    color: #000; /* Black text on white marquee */
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.marquee-content img {
    height: 40px;
    width: auto;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.about-container {
    text-align: center;
    max-width: 1000px !important;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: #fff;
    -webkit-text-stroke: 4px #000;
    margin-bottom: 40px;
    text-shadow: 10px 10px 0px rgba(0,0,0,0.5);
}

.about-text-content {
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-text-content p {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 25px;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 20px;
    border: 4px solid #fff;
    box-shadow: 10px 10px 0px #000;
    transform: rotate(-1deg);
}

.about-footer {
    font-family: var(--font-heading);
    color: #fff !important;
    font-size: 2rem;
    margin-top: 40px;
    background: #000;
    display: inline-block;
    padding: 10px 20px;
    border: 4px solid #fff;
}

.about-gallery {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    margin-top: 40px;
    width: 100%;
}

/* Gallery Styles Removed */

/* Section 3: Why Choose */
.why-section {
    background-color: #000000;
    background-image: 
        radial-gradient(circle at 10% 10%, #fff 70px, transparent 71px),
        radial-gradient(circle at 85% 15%, #fff 110px, transparent 111px),
        radial-gradient(circle at 5% 45%, #fff 90px, transparent 91px),
        radial-gradient(circle at 95% 55%, #fff 130px, transparent 131px),
        radial-gradient(circle at 15% 85%, #fff 120px, transparent 121px),
        radial-gradient(circle at 90% 90%, #fff 100px, transparent 101px),
        radial-gradient(circle at 50% 15%, #fff 140px, transparent 141px),
        radial-gradient(circle at 55% 85%, #fff 160px, transparent 161px);
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    border-top: 10px solid #fff;
}

.marquee-red {
    background: #000; /* Black Marquee for middle transition */
    border-top: 4px solid #fff;
    border-bottom: 4px solid #fff;
}

.marquee-red span {
    color: #fff;
    -webkit-text-stroke: 1px #fff;
}

.why-container {
    text-align: center;
    max-width: 1000px !important;
    padding-top: 40px;
}

.why-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: #000;
    -webkit-text-stroke: 4px #fff;
    margin-bottom: 10px;
    text-shadow: 10px 10px 0px #fff;
    text-transform: uppercase;
}

.why-subtitle {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 4px 4px 0px #000;
}

.why-text-content {
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-text-content p:not(.why-subtitle) {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border: 4px solid #fff;
    box-shadow: 10px 10px 0px #fff;
    transform: rotate(1deg);
}

.meme-collage {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 80px;
    padding: 0 20px;
}

.meme-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 4px solid #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 10px;
    cursor: pointer;
    animation: bounce-idle 4s ease-in-out infinite;
}

.meme-img:hover {
    transform: scale(1.05) rotate(2deg) translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
    border-color: #fff;
}

/* Individual random delays for 'organic' bounce */
.meme-img:nth-child(2n) { animation-delay: 0.5s; animation-duration: 4.2s; }
.meme-img:nth-child(3n) { animation-delay: 1.2s; animation-duration: 3.8s; }
.meme-img:nth-child(4n) { animation-delay: 0.8s; animation-duration: 4.5s; }
.meme-img:nth-child(5n) { animation-delay: 1.5s; animation-duration: 4.0s; }

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

/* Modal / Lightbox Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border: 8px solid #fff;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(255,255,255,0.2);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 60px;
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.meme-img:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* Section 4: Footer Styles */
.community-section {
    background-color: #000;
    padding: 80px 20px 40px;
    border-top: 10px solid #fff;
    text-align: center;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    text-shadow: 4px 4px 0px #000;
    -webkit-text-stroke: 1px #fff;
    letter-spacing: 2px;
}

.footer-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-icon-link {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 5px 5px 0px #fff;
}

.footer-icon-link:hover {
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 8px 8px 0px #fff;
}

.footer-icon-link img {
    max-width: 100%;
    max-height: 100%;
    filter: brightness(0); /* Black icons on white background */
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-left {
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
        width: 100%;
    }

    .main-logo {
        max-width: 400px;
        filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
    }
    
    .tagline {
        font-size: 2rem;
    }

    .about-title {
        font-size: 4rem;
    }
    
    .about-gallery {
        height: auto;
        flex-direction: column;
        gap: 30px;
        margin-top: 40px;
    }
    
    .gallery-item:not(.center-item) {
        position: relative;
        left: auto !important;
        right: auto !important;
        width: 80%;
        max-width: 400px;
        transform: rotate(0deg) !important;
    }
    
    .center-item {
        width: 90%;
        max-width: 500px;
        order: -1;
        transform: scale(1) !important;
    }

    .why-title {
        font-size: 4rem;
    }
    
    .meme-collage {
        position: static;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .meme-img {
        position: static;
        width: 45% !important;
        transform: rotate(0) !important;
    }
    
    .comm-title {
        font-size: 4rem;
    }
    .comm-icon-link {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .main-logo {
        max-width: 280px;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .ca-box {
        padding: 10px 15px;
    }

    #ca-text {
        font-size: 0.65rem;
    }
    
    .btn-buy {
        font-size: 1.3rem;
        padding: 12px 30px;
    }

    .about-title {
        font-size: 2.5rem;
    }
    
    .about-text-content p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .marquee-content span {
        font-size: 1.2rem;
    }
    
    .marquee-ticker {
        margin-bottom: 40px;
    }

    .why-title {
        font-size: 2.5rem;
    }
    
    .why-subtitle {
        font-size: 1.2rem;
    }
    
    .meme-img {
        width: 90% !important;
    }
    
    .comm-title {
        font-size: 2.8rem;
        -webkit-text-stroke: 2px #000;
        text-shadow: 4px 4px 0px #000;
    }
    .comm-icons {
        gap: 15px;
    }
    .comm-icon-link {
        width: 55px;
        height: 55px;
        border-radius: 12px;
        padding: 10px;
    }
    .comm-banner {
        border-radius: 12px;
    }
}
