/* Custom styles for Bargain Land Discount Center */

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(224, 69, 103, 0.15), transparent 70%);
    top: -200px;
    left: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08), transparent 70%);
    bottom: -100px;
    right: 10%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    border: 2px solid rgba(255, 213, 79, 0.2);
    top: 30%;
    right: 5%;
    animation: float-slow 10s ease-in-out infinite;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 213, 79, 0.06);
    border: 2px solid rgba(255, 213, 79, 0.15);
    top: 20%;
    left: 45%;
    transform: rotate(45deg);
    animation: rotate-slow 25s linear infinite;
}

.geo-rect--2 {
    width: 50px;
    height: 50px;
    background: rgba(224, 69, 103, 0.1);
    bottom: 25%;
    left: 15%;
    transform: rotate(20deg);
    animation: rotate-slow 18s linear infinite reverse;
}

.geo-dots {
    position: absolute;
    top: 15%;
    right: 2%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 213, 79, 0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
    opacity: 0.5;
}

/* Marquee */
.marquee-track {
    display: flex;
    width: max-content;
}

.marquee-content {
    display: flex;
    gap: 4rem;
    padding: 0 2rem;
    animation: marquee 30s linear infinite;
}

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

/* Float animation */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-30px); }
}

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

.animate-float {
    animation: float-item 4s ease-in-out infinite;
}

@keyframes float-item {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(61, 6, 18, 0.95) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 213, 79, 0.1);
}

/* Mobile menu */
.mobile-menu-open #mobileMenu {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    width: 6rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Image hover zoom */
img {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #3d0612;
}

::-webkit-scrollbar-thumb {
    background: #a51835;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c92648;
}

/* Selection */
::selection {
    background: rgba(255, 193, 7, 0.3);
    color: #fff;
}
