/* Heady Boy Stickers - Styles */
/* Color Palette from Logo:
   - Deep Black: #0a0a0a
   - Hot Pink: #ff1493
   - Magenta: #ff006e
   - Cyan: #00d4ff
   - Electric Blue: #4169e1
   - Gold: #ffd700
   - Red: #ff3366
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --dark-bg: #121212;
    --hot-pink: #ff1493;
    --magenta: #ff006e;
    --cyan: #00d4ff;
    --electric-blue: #4169e1;
    --gold: #ffd700;
    --red: #ff3366;
    --white: #ffffff;
    --gray: #888888;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--black);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated gradient background */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(255, 20, 147, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(65, 105, 225, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px 60px;
}

.logo-container {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    box-shadow: 
        0 0 30px rgba(255, 20, 147, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        0 0 90px rgba(255, 20, 147, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 40px rgba(255, 20, 147, 0.7),
        0 0 80px rgba(0, 212, 255, 0.5),
        0 0 120px rgba(255, 20, 147, 0.3);
}

.tagline {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.highlight {
    background: linear-gradient(135deg, var(--hot-pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.separator {
    color: var(--gold);
    text-shadow: 0 0 10px var(--gold);
}

.subtitle {
    font-size: 1.3rem;
    color: var(--gray);
    font-weight: 400;
}

/* Product Section */
.product-section {
    padding: 20px 0 60px;
}

.product-card {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(20, 20, 20, 0.95));
    border-radius: 24px;
    border: 1px solid rgba(255, 20, 147, 0.3);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1), rgba(0, 212, 255, 0.1));
}

.sticker-preview {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.5s ease;
}

.sticker-preview.sheet {
    max-width: 350px;
    border-radius: 12px;
    border: 2px solid rgba(255, 20, 147, 0.3);
}

.sticker-preview:hover {
    transform: rotate(2deg) scale(1.05);
}

.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 60%
    );
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.product-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: var(--hot-pink);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 20, 147, 0.5);
}

.product-description {
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.price-breakdown {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-row:last-child {
    border-bottom: none;
}

.price {
    font-weight: 700;
    color: var(--cyan);
}

.tax-row {
    font-size: 0.9rem;
    color: var(--gray);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--hot-pink);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.qty-btn:hover {
    background: var(--magenta);
}

#quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

#quantity::-webkit-inner-spin-button,
#quantity::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin-bottom: 20px;
    border-top: 2px solid var(--hot-pink);
}

.total-label {
    font-size: 1.2rem;
    font-weight: 700;
}

.total-price {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.buy-button {
    width: 100%;
    padding: 20px 30px;
    background: linear-gradient(135deg, var(--hot-pink), var(--magenta));
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.buy-button:hover::before {
    left: 100%;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(255, 20, 147, 0.5),
        0 0 60px rgba(255, 0, 110, 0.3);
}

.btn-text {
    display: block;
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 2px;
}

.btn-subtext {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0 60px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 20, 147, 0.3);
}

.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.feature h3 {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    color: var(--cyan);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}

.footer-tagline {
    color: var(--hot-pink);
    margin-top: 10px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        width: 220px;
        height: 220px;
    }

    .tagline {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 10px;
    }

    .separator {
        display: none;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-image {
        padding: 30px;
    }

    .sticker-preview {
        max-width: 200px;
    }

    .product-info {
        padding: 30px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .total-price {
        font-size: 1.6rem;
    }

    .btn-text {
        font-size: 1.2rem;
    }
}

/* Loading state for button */
.buy-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.buy-button.loading .btn-text::after {
    content: '...';
    animation: dots 1s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}
