/* ============================================
   DAJ BUCHA – LANDING PAGE STYLES
   Color palette: deep purple, neon violet, dark
   ============================================ */

/* CSS Reset & Variables */
:root {
    --bg-dark: #0a0010;
    --bg-card: rgba(20, 5, 40, 0.65);
    --bg-card-hover: rgba(30, 10, 60, 0.8);
    --purple-deep: #2d0a4e;
    --purple-main: #7b2ff2;
    --purple-bright: #b44aff;
    --purple-neon: #d070ff;
    --purple-light: #e8b4ff;
    --pink-accent: #ff44cc;
    --blue-accent: #4488ff;
    --white: #ffffff;
    --white-muted: rgba(255, 255, 255, 0.7);
    --white-dim: rgba(255, 255, 255, 0.4);
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --glow-purple: 0 0 30px rgba(123, 47, 242, 0.5), 0 0 60px rgba(123, 47, 242, 0.2);
    --glow-neon: 0 0 20px rgba(208, 112, 255, 0.6), 0 0 40px rgba(208, 112, 255, 0.3);
    --border-radius: 20px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   PARTICLES CANVAS
   ============================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================
   FLOATING GLOW BLOBS
   ============================================ */
.glow-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--purple-main);
    top: -100px;
    right: -100px;
    animation: floatBlob1 12s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--pink-accent);
    bottom: 20%;
    left: -80px;
    animation: floatBlob2 15s ease-in-out infinite;
}

.blob-3 {
    width: 250px;
    height: 250px;
    background: var(--blue-accent);
    top: 50%;
    right: -50px;
    animation: floatBlob3 18s ease-in-out infinite;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 80px) scale(1.1); }
    66% { transform: translate(40px, -40px) scale(0.9); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -50px) scale(1.15); }
    66% { transform: translate(-30px, 60px) scale(0.85); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-70px, -60px) scale(1.05); }
    66% { transform: translate(50px, 40px) scale(0.95); }
}

/* ============================================
   MAIN CONTAINER
   ============================================ */
main {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.animate-in {
    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);
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 40px;
    text-align: center;
}

.logo-wrapper {
    margin-bottom: 24px;
}

.logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--purple-bright);
    box-shadow: var(--glow-purple);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(123, 47, 242, 0.4), 0 0 40px rgba(123, 47, 242, 0.2); }
    50% { box-shadow: 0 0 30px rgba(180, 74, 255, 0.6), 0 0 60px rgba(180, 74, 255, 0.3), 0 0 90px rgba(180, 74, 255, 0.1); }
}

.brand-name {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple-neon), var(--pink-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.title {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1;
}

.title-line {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.title-line.accent {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--purple-bright), var(--purple-neon), var(--pink-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(180, 74, 255, 0.5));
    animation: titleGlow 2.5s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 15px rgba(180, 74, 255, 0.4)); }
    100% { filter: drop-shadow(0 0 30px rgba(208, 112, 255, 0.7)); }
}

.title-underline {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--purple-neon), transparent);
    margin-top: 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--white), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.product-section {
    padding: 20px 0 40px;
}

.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(123, 47, 242, 0.2);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(180, 74, 255, 0.3), transparent, rgba(255, 68, 204, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(180, 74, 255, 0.4);
    box-shadow: 0 20px 60px rgba(123, 47, 242, 0.2);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(123, 47, 242, 0.15), transparent 70%);
    overflow: hidden;
}

.product-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(180, 74, 255, 0.3), transparent 70%);
    border-radius: 50%;
    animation: productGlow 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes productGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.product-image {
    position: relative;
    z-index: 1;
    width: 75%;
    height: 75%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(123, 47, 242, 0.4));
    animation: floatProduct 4s ease-in-out infinite;
}

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

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.badge-price {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--purple-main), var(--pink-accent));
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(180, 74, 255, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(180, 74, 255, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(255, 68, 204, 0.6); }
}

.product-info {
    padding: 28px 24px 32px;
    text-align: center;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--white), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-subtitle {
    font-size: 0.95rem;
    color: var(--white-muted);
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 10px 32px;
    background: linear-gradient(135deg, rgba(123, 47, 242, 0.2), rgba(180, 74, 255, 0.1));
    border: 1px solid rgba(180, 74, 255, 0.3);
    border-radius: 50px;
}

.price-amount {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--purple-neon);
    text-shadow: 0 0 20px rgba(208, 112, 255, 0.5);
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--purple-light);
}

/* ============================================
   FLAVORS SECTION
   ============================================ */
.flavors-section {
    padding: 20px 0 40px;
}

.section-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 24px;
    color: var(--white-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-icon {
    font-size: 1.4rem;
}

.flavors-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flavor-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(123, 47, 242, 0.15);
    border-radius: 14px;
    transition: var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.flavor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(180, 74, 255, 0.05), transparent);
    transition: left 0.6s ease;
}

.flavor-card:hover::before {
    left: 100%;
}

.flavor-card:hover {
    transform: translateX(8px);
    border-color: rgba(180, 74, 255, 0.4);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 24px rgba(123, 47, 242, 0.15);
}

/* Flavor-specific accent colors */
.flavor-card[data-flavor="blue-sour"] .flavor-bar { background: linear-gradient(90deg, #4488ff, #44ccff); }
.flavor-card[data-flavor="grape"] .flavor-bar { background: linear-gradient(90deg, #9b4dca, #e040fb); }
.flavor-card[data-flavor="dragon"] .flavor-bar { background: linear-gradient(90deg, #ff4081, #ff9100); }
.flavor-card[data-flavor="lemon"] .flavor-bar { background: linear-gradient(90deg, #c6ff00, #00e676); }
.flavor-card[data-flavor="blueberry"] .flavor-bar { background: linear-gradient(90deg, #448aff, #82b1ff); }

.flavor-card[data-flavor="blue-sour"]:hover { border-color: rgba(68, 136, 255, 0.4); }
.flavor-card[data-flavor="grape"]:hover { border-color: rgba(155, 77, 202, 0.4); }
.flavor-card[data-flavor="dragon"]:hover { border-color: rgba(255, 64, 129, 0.4); }
.flavor-card[data-flavor="lemon"]:hover { border-color: rgba(198, 255, 0, 0.4); }
.flavor-card[data-flavor="blueberry"]:hover { border-color: rgba(68, 138, 255, 0.4); }

.flavor-icon {
    font-size: 1.6rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.flavor-name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    flex: 1;
}

.flavor-bar {
    width: 4px;
    height: 30px;
    border-radius: 4px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: var(--transition);
}

.flavor-card:hover .flavor-bar {
    opacity: 1;
    height: 36px;
    box-shadow: 0 0 12px currentColor;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 20px 0 40px;
}

.cta-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(123, 47, 242, 0.2);
    border-radius: var(--border-radius);
    padding: 40px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 1px;
    background: linear-gradient(135deg, rgba(180, 74, 255, 0.4), transparent, rgba(255, 68, 204, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.cta-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 47, 242, 0.15), transparent 70%);
    border-radius: 50%;
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.8; }
}

.cta-title {
    position: relative;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--white), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-text {
    position: relative;
    font-size: 1rem;
    color: var(--white-muted);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--purple-main), var(--purple-bright));
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(123, 47, 242, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 40px rgba(180, 74, 255, 0.5);
    background: linear-gradient(135deg, var(--purple-bright), var(--pink-accent));
}

.cta-button:active {
    transform: translateY(-1px) scale(1);
}

.instagram-icon {
    flex-shrink: 0;
}

.button-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: buttonShimmer 3s ease-in-out infinite;
}

@keyframes buttonShimmer {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

.cta-handle {
    position: relative;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--purple-neon);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    text-align: center;
    padding: 30px 0 40px;
    font-size: 0.8rem;
    color: var(--white-dim);
    font-weight: 300;
    letter-spacing: 1px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 420px) {
    .title-line {
        font-size: 2.4rem;
        letter-spacing: 4px;
    }
    
    .title-line.accent {
        font-size: 3rem;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .flavor-card {
        padding: 14px 16px;
    }
    
    .flavor-name {
        font-size: 0.9rem;
    }
}

@media (min-width: 521px) {
    main {
        padding: 0 32px;
    }
}

/* ============================================
   SELECTION STYLES
   ============================================ */
::selection {
    background: rgba(180, 74, 255, 0.3);
    color: var(--white);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--purple-main);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--purple-bright);
}
