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

body {
    background-color: #f5b820;
    overflow-x: hidden;
    font-family: 'Bangers', cursive;
}

/* Page wrapper */
.page-wrapper {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Full design image */
.full-design {
    width: 100%;
    height: auto;
    display: block;
}

/* Clickable areas container */
.clickable-areas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   ALL CLICKABLE ELEMENTS - Base styles
   ============================================ */
.nav-link, .footer-link, .copy-ca-btn {
    position: absolute;
    cursor: pointer;
    border-radius: 40px;
    transition: transform 0.1s ease;
}

/* Hover effects - simple cursor change only */
.nav-link:hover, .footer-link:hover, .copy-ca-btn:hover {
    /* No visual overlay effects */
}

/* Active/click effect - simple press */
.nav-link:active, .footer-link:active, .copy-ca-btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}


/* ============================================
   NAVIGATION TOP - Image: 1920x3100
   ============================================ */

/* Buy $BIBI - pos:(460, 26) size:245x80 */
.nav-link.buy-bibi {
    left: 23.96%;
    top: 0.84%;
    width: 12.76%;
    height: 2.58%;
    animation: slideDown 0.6s ease-out 0.1s both;
}

/* Community - pos:(711, 26) size:245x80 */
.nav-link.community-top {
    left: 37.03%;
    top: 0.84%;
    width: 12.76%;
    height: 2.58%;
    animation: slideDown 0.6s ease-out 0.2s both;
}

/* Telegram - pos:(964, 26) size:245x80 */
.nav-link.telegram-top {
    left: 50.21%;
    top: 0.84%;
    width: 12.76%;
    height: 2.58%;
    animation: slideDown 0.6s ease-out 0.3s both;
}

/* Gallery - pos:(1216, 26) size:245x80 */
.nav-link.gallery {
    left: 63.33%;
    top: 0.84%;
    width: 12.76%;
    height: 2.58%;
    animation: slideDown 0.6s ease-out 0.4s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   COPY CA BUTTON - pos:(840, 772) size:241x78
   ============================================ */
.copy-ca-btn {
    left: 43.75%;
    top: 24.9%;
    width: 12.55%;
    height: 2.52%;
    background: transparent;
    border: none;
}

/* ============================================
   FOOTER BUTTONS - around y:2907 (image cropped to 3100)
   ============================================ */

/* X Page - pos:(509, 2907) size:241x78 */
.footer-link.x-page {
    left: 26.51%;
    top: 93.77%;
    width: 12.55%;
    height: 2.52%;
}

/* Community - pos:(780, 2907) size:241x78 */
.footer-link.community-bottom {
    left: 40.63%;
    top: 93.77%;
    width: 12.55%;
    height: 2.52%;
}

/* Telegram - pos:(1051, 2908) size:241x78 */
.footer-link.telegram-bottom {
    left: 54.74%;
    top: 93.77%;
    width: 12.55%;
    height: 2.52%;
}

/* ============================================
   NOTIFICATION
   ============================================ */
.notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5b820;
    padding: 18px 35px;
    border-radius: 15px;
    font-family: 'Bangers', cursive;
    font-size: 20px;
    letter-spacing: 1px;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4),
                0 0 20px rgba(245, 184, 32, 0.3);
    border: 3px solid #f5b820;
}

.notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #4eb8d4 0%, #2a9cc4 100%);
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 4px 4px 0 #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 3px solid #1a1a1a;
    border-top: 3px solid #1a1a1a;
    transform: rotate(45deg) translateY(3px);
}

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

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0 #1a1a1a;
}

.scroll-top:active {
    transform: translateY(0);
    box-shadow: 2px 2px 0 #1a1a1a;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5b820;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-text {
    font-size: 48px;
    color: #1a1a1a;
    animation: bounce 0.6s ease infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-15px); }
}

/* ============================================
   RESPONSIVE - LARGE DESKTOP (>1920px)
   ============================================ */
@media (min-width: 1921px) {
    body {
        background: linear-gradient(to bottom, #f5b820 0%, #e5a810 100%);
    }

    .page-wrapper {
        box-shadow: 0 0 100px rgba(0, 0, 0, 0.3);
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .notification {
        font-size: 16px;
        padding: 14px 25px;
        bottom: 20px;
    }

    .scroll-top {
        width: 45px;
        height: 45px;
        right: 20px;
        bottom: 20px;
    }

    /* Increase touch targets */
    .nav-link, .footer-link, .copy-ca-btn {
        border-radius: 30px;
    }

    /* Navigation - increase hit area */
    .nav-link.buy-bibi,
    .nav-link.community-top,
    .nav-link.telegram-top,
    .nav-link.gallery {
        height: 3.2%;
        top: 0.5%;
    }

    /* Copy CA - increase hit area */
    .copy-ca-btn {
        width: 14%;
        height: 3%;
        left: 43%;
    }

    /* Footer buttons - increase hit area */
    .footer-link.x-page,
    .footer-link.community-bottom,
    .footer-link.telegram-bottom {
        height: 3%;
        width: 14%;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    /* Larger clickable areas for touch */
    .nav-link, .footer-link, .copy-ca-btn {
        border-radius: 20px;
    }

    /* Navigation - much larger touch targets */
    .nav-link.buy-bibi {
        left: 22%;
        width: 14%;
        height: 4%;
        top: 0.3%;
    }

    .nav-link.community-top {
        left: 36%;
        width: 14%;
        height: 4%;
        top: 0.3%;
    }

    .nav-link.telegram-top {
        left: 50%;
        width: 14%;
        height: 4%;
        top: 0.3%;
    }

    .nav-link.gallery {
        left: 62%;
        width: 14%;
        height: 4%;
        top: 0.3%;
    }

    /* Copy CA button - larger */
    .copy-ca-btn {
        left: 40%;
        width: 20%;
        height: 3.5%;
        top: 24.5%;
    }

    /* Footer buttons - larger and adjusted */
    .footer-link.x-page {
        left: 24%;
        width: 16%;
        height: 3.2%;
    }

    .footer-link.community-bottom {
        left: 40%;
        width: 16%;
        height: 3.2%;
    }

    .footer-link.telegram-bottom {
        left: 54%;
        width: 16%;
        height: 3.2%;
    }

    .notification {
        font-size: 14px;
        padding: 12px 20px;
        bottom: 15px;
        width: 90%;
        max-width: 350px;
        text-align: center;
    }

    .scroll-top {
        width: 40px;
        height: 40px;
        right: 15px;
        bottom: 15px;
    }

    .scroll-top::before {
        width: 10px;
        height: 10px;
    }

    /* No hover effects on mobile */
    .nav-link:hover, .footer-link:hover, .copy-ca-btn:hover {
        /* No visual effects */
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .notification {
        font-size: 13px;
        padding: 10px 15px;
        border-radius: 10px;
    }

    /* Even larger touch targets for small phones */
    .nav-link.buy-bibi,
    .nav-link.community-top,
    .nav-link.telegram-top,
    .nav-link.gallery {
        height: 5%;
        width: 15%;
    }

    .copy-ca-btn {
        width: 24%;
        height: 4%;
        left: 38%;
    }

    .footer-link.x-page,
    .footer-link.community-bottom,
    .footer-link.telegram-bottom {
        height: 4%;
        width: 18%;
    }

    .footer-link.x-page {
        left: 22%;
    }

    .footer-link.community-bottom {
        left: 40%;
    }

    .footer-link.telegram-bottom {
        left: 56%;
    }

    .scroll-top {
        width: 36px;
        height: 36px;
        right: 10px;
        bottom: 10px;
    }
}

/* ============================================
   RESPONSIVE - VERY SMALL MOBILE (iPhone SE, etc)
   ============================================ */
@media (max-width: 375px) {
    .nav-link.buy-bibi,
    .nav-link.community-top,
    .nav-link.telegram-top,
    .nav-link.gallery {
        height: 6%;
        width: 16%;
    }

    .copy-ca-btn {
        width: 28%;
        height: 4.5%;
        left: 36%;
    }

    .footer-link.x-page,
    .footer-link.community-bottom,
    .footer-link.telegram-bottom {
        height: 4.5%;
        width: 20%;
    }

    .footer-link.x-page {
        left: 20%;
    }

    .footer-link.community-bottom {
        left: 40%;
    }

    .footer-link.telegram-bottom {
        left: 58%;
    }

    .notification {
        font-size: 12px;
        padding: 8px 12px;
        width: 95%;
    }
}

/* ============================================
   TOUCH DEVICE SPECIFIC
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Simple active state for touch devices */
    .nav-link:active, .footer-link:active, .copy-ca-btn:active {
        transform: scale(0.98);
    }
}

/* ============================================
   SMOOTH SCROLLING
   ============================================ */
html {
    scroll-behavior: smooth;
}

/* ============================================
   SELECTION STYLE
   ============================================ */
::selection {
    background: #4eb8d4;
    color: #1a1a1a;
}

::-moz-selection {
    background: #4eb8d4;
    color: #1a1a1a;
}

/* ============================================
   GALLERY SECTION - Comic Style
   ============================================ */
.gallery-section {
    background: #f5b820;
    padding: 40px 0 60px;
    overflow: hidden;
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

/* Halftone pattern overlay */
.gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.06) 1px, transparent 1px);
    background-size: 8px 8px;
    pointer-events: none;
}

.gallery-title {
    text-align: center;
    font-size: 52px;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    text-shadow: 4px 4px 0 #fff,
                 -2px -2px 0 #fff,
                 2px -2px 0 #fff,
                 -2px 2px 0 #fff;
}

.gallery-slider {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.gallery-slider:hover {
    animation-play-state: paused;
}

.gallery-track {
    display: flex;
    gap: 25px;
    padding: 20px 12px;
}

.gallery-item {
    flex-shrink: 0;
    width: 260px;
    height: 260px;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    border: 5px solid #1a1a1a;
    box-shadow: 8px 8px 0 #1a1a1a;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-8px) rotate(-2deg);
    box-shadow: 12px 12px 0 #1a1a1a;
}

.gallery-item:active {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #1a1a1a;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

/* Gallery responsive */
@media (max-width: 768px) {
    .gallery-section {
        padding: 30px 0 40px;
    }

    .gallery-title {
        font-size: 38px;
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .gallery-item {
        width: 200px;
        height: 200px;
        border-width: 4px;
        box-shadow: 6px 6px 0 #1a1a1a;
    }

    .gallery-track {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 25px 0 35px;
    }

    .gallery-title {
        font-size: 28px;
        text-shadow: 3px 3px 0 #fff,
                     -1px -1px 0 #fff,
                     1px -1px 0 #fff,
                     -1px 1px 0 #fff;
    }

    .gallery-item {
        width: 160px;
        height: 160px;
        border-width: 3px;
        border-radius: 10px;
        box-shadow: 5px 5px 0 #1a1a1a;
    }

    .gallery-track {
        gap: 12px;
    }
}

/* ============================================
   LIGHTBOX - Comic Style
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 26, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: zoom-out;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 85%;
    max-height: 85%;
    border-radius: 15px;
    border: 6px solid #1a1a1a;
    box-shadow: 12px 12px 0 rgba(245, 184, 32, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    background: #fff;
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #f5b820;
    border: 4px solid #1a1a1a;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: bold;
    box-shadow: 4px 4px 0 #1a1a1a;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-close:active {
    transform: scale(0.95);
    box-shadow: 2px 2px 0 #1a1a1a;
}
