/* ==========================================================================
   FAXAS CIGARS - UI Presets
   Reusable button styles, text effects, hover effects for the entire app
   ========================================================================== */

/* --------------------------------------------------------------------------
   BUTTON PRESETS
   Usage: class="btn-preset-primary" or class="btn-primary"
   -------------------------------------------------------------------------- */

/* Base Button Styles */
[class*="btn-preset-"],
[class*="btn-"] {
    display: inline-block;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

/* Primary - Amber */
.btn-primary, .btn-preset-primary {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}
.btn-primary:hover, .btn-preset-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

/* Secondary - Gray */
.btn-secondary, .btn-preset-secondary {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(75, 85, 99, 0.4);
}
.btn-secondary:hover, .btn-preset-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 85, 99, 0.5);
}

/* Outline White */
.btn-outline-white, .btn-preset-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
}
.btn-outline-white:hover, .btn-preset-outline-white:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Outline Amber */
.btn-outline-amber, .btn-preset-outline-amber {
    background: transparent;
    color: #d97706;
    border: 2px solid #d97706;
    border-radius: 8px;
}
.btn-outline-amber:hover, .btn-preset-outline-amber:hover {
    background: #d97706;
    color: #fff;
}

/* Outline Dark */
.btn-outline-dark, .btn-preset-outline-dark {
    background: transparent;
    color: #1f2937;
    border: 2px solid #1f2937;
    border-radius: 8px;
}
.btn-outline-dark:hover, .btn-preset-outline-dark:hover {
    background: #1f2937;
    color: #fff;
}

/* Gradient Amber */
.btn-gradient-amber, .btn-preset-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
.btn-gradient-amber:hover, .btn-preset-gradient-amber:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

/* Gradient Blue */
.btn-gradient-blue, .btn-preset-gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}
.btn-gradient-blue:hover, .btn-preset-gradient-blue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Gradient Purple */
.btn-gradient-purple, .btn-preset-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}
.btn-gradient-purple:hover, .btn-preset-gradient-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Gradient Green */
.btn-gradient-green, .btn-preset-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.btn-gradient-green:hover, .btn-preset-gradient-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

/* Gradient Red */
.btn-gradient-red, .btn-preset-gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
.btn-gradient-red:hover, .btn-preset-gradient-red:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

/* Glass Effect */
.btn-glass, .btn-preset-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.btn-glass:hover, .btn-preset-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Glass Dark */
.btn-glass-dark, .btn-preset-glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}
.btn-glass-dark:hover, .btn-preset-glass-dark:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Neon Amber */
.btn-neon-amber, .btn-preset-neon-amber {
    background: transparent;
    color: #f59e0b;
    border: 2px solid #f59e0b;
    border-radius: 8px;
    box-shadow: 0 0 10px #f59e0b, 0 0 20px rgba(245, 158, 11, 0.5), inset 0 0 10px rgba(245, 158, 11, 0.1);
    text-shadow: 0 0 10px #f59e0b;
}
.btn-neon-amber:hover, .btn-preset-neon-amber:hover {
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 20px #f59e0b, 0 0 40px rgba(245, 158, 11, 0.5), inset 0 0 20px rgba(245, 158, 11, 0.2);
}

/* Neon Blue */
.btn-neon-blue, .btn-preset-neon-blue {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    box-shadow: 0 0 10px #3b82f6, 0 0 20px rgba(59, 130, 246, 0.5), inset 0 0 10px rgba(59, 130, 246, 0.1);
    text-shadow: 0 0 10px #3b82f6;
}
.btn-neon-blue:hover, .btn-preset-neon-blue:hover {
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 20px #3b82f6, 0 0 40px rgba(59, 130, 246, 0.5), inset 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Neon Pink */
.btn-neon-pink, .btn-preset-neon-pink {
    background: transparent;
    color: #ec4899;
    border: 2px solid #ec4899;
    border-radius: 8px;
    box-shadow: 0 0 10px #ec4899, 0 0 20px rgba(236, 72, 153, 0.5), inset 0 0 10px rgba(236, 72, 153, 0.1);
    text-shadow: 0 0 10px #ec4899;
}
.btn-neon-pink:hover, .btn-preset-neon-pink:hover {
    background: rgba(236, 72, 153, 0.1);
    box-shadow: 0 0 20px #ec4899, 0 0 40px rgba(236, 72, 153, 0.5), inset 0 0 20px rgba(236, 72, 153, 0.2);
}

/* Neon Green */
.btn-neon-green, .btn-preset-neon-green {
    background: transparent;
    color: #10b981;
    border: 2px solid #10b981;
    border-radius: 8px;
    box-shadow: 0 0 10px #10b981, 0 0 20px rgba(16, 185, 129, 0.5), inset 0 0 10px rgba(16, 185, 129, 0.1);
    text-shadow: 0 0 10px #10b981;
}
.btn-neon-green:hover, .btn-preset-neon-green:hover {
    background: rgba(16, 185, 129, 0.1);
    box-shadow: 0 0 20px #10b981, 0 0 40px rgba(16, 185, 129, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.2);
}

/* 3D Amber */
.btn-3d-amber, .btn-preset-3d-amber {
    background: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    color: #fff;
    border-radius: 8px;
    border-bottom: 4px solid #92400e;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-3d-amber:hover, .btn-preset-3d-amber:hover {
    transform: translateY(2px);
    border-bottom-width: 2px;
}
.btn-3d-amber:active, .btn-preset-3d-amber:active {
    transform: translateY(4px);
    border-bottom-width: 0;
}

/* 3D Dark */
.btn-3d-dark, .btn-preset-3d-dark {
    background: linear-gradient(180deg, #4b5563 0%, #1f2937 100%);
    color: #fff;
    border-radius: 8px;
    border-bottom: 4px solid #111827;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-3d-dark:hover, .btn-preset-3d-dark:hover {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

/* 3D Blue */
.btn-3d-blue, .btn-preset-3d-blue {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    color: #fff;
    border-radius: 8px;
    border-bottom: 4px solid #1e40af;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.btn-3d-blue:hover, .btn-preset-3d-blue:hover {
    transform: translateY(2px);
    border-bottom-width: 2px;
}

/* Pill Amber */
.btn-pill-amber, .btn-preset-pill-amber {
    background: #d97706;
    color: #fff;
    border-radius: 50px;
    padding: 12px 32px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}
.btn-pill-amber:hover, .btn-preset-pill-amber:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

/* Pill Gradient */
.btn-pill-gradient, .btn-preset-pill-gradient {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    color: #fff;
    border-radius: 50px;
    padding: 12px 32px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-pill-gradient:hover, .btn-preset-pill-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Pill Dark */
.btn-pill-dark, .btn-preset-pill-dark {
    background: #1f2937;
    color: #fff;
    border-radius: 50px;
    padding: 12px 32px;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}
.btn-pill-dark:hover, .btn-preset-pill-dark:hover {
    background: #111827;
    transform: translateY(-2px);
}

/* Minimal */
.btn-minimal, .btn-preset-minimal {
    background: transparent;
    color: #fff;
    padding: 12px 0;
    border-bottom: 2px solid #fff;
    border-radius: 0;
}
.btn-minimal:hover, .btn-preset-minimal:hover {
    border-bottom-width: 3px;
    padding-bottom: 11px;
}

/* Minimal Dark */
.btn-minimal-dark, .btn-preset-minimal-dark {
    background: transparent;
    color: #1f2937;
    padding: 12px 0;
    border-bottom: 2px solid #1f2937;
    border-radius: 0;
}
.btn-minimal-dark:hover, .btn-preset-minimal-dark:hover {
    border-bottom-width: 3px;
    padding-bottom: 11px;
    color: #d97706;
    border-color: #d97706;
}

/* Underline Effect */
.btn-underline, .btn-preset-underline {
    background: transparent;
    color: #fff;
    position: relative;
    padding: 12px 0;
}
.btn-underline::after, .btn-preset-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d97706;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.btn-underline:hover::after, .btn-preset-underline:hover::after {
    width: 100%;
}

/* Underline Dark */
.btn-underline-dark, .btn-preset-underline-dark {
    background: transparent;
    color: #1f2937;
    position: relative;
    padding: 12px 0;
}
.btn-underline-dark::after, .btn-preset-underline-dark::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #d97706;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.btn-underline-dark:hover::after, .btn-preset-underline-dark:hover::after {
    width: 100%;
}

/* --------------------------------------------------------------------------
   BUTTON SIZE MODIFIERS
   -------------------------------------------------------------------------- */

.btn-sm, .btn-preset-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-lg, .btn-preset-lg {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-xl, .btn-preset-xl {
    padding: 20px 48px;
    font-size: 20px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* --------------------------------------------------------------------------
   HOVER EFFECTS (Apply to any element)
   Usage: class="hover-lift" or class="hover-glow"
   -------------------------------------------------------------------------- */

.hover-scale-up {
    transition: transform 0.3s ease;
}
.hover-scale-up:hover {
    transform: scale(1.05);
}

.hover-scale-down {
    transition: transform 0.3s ease;
}
.hover-scale-down:hover {
    transform: scale(0.95);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hover-glow {
    transition: box-shadow 0.3s ease;
}
.hover-glow:hover {
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.5);
}

.hover-glow-blue:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.hover-glow-green:hover {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.hover-pulse {
    transition: transform 0.3s ease;
}
.hover-pulse:hover {
    animation: ui-pulse 1s infinite;
}
@keyframes ui-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hover-shake:hover {
    animation: ui-shake 0.5s ease-in-out;
}
@keyframes ui-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.hover-bounce:hover {
    animation: ui-bounce 0.5s ease;
}
@keyframes ui-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hover-rotate {
    transition: transform 0.3s ease;
}
.hover-rotate:hover {
    transform: rotate(3deg);
}

.hover-slide-up {
    transition: transform 0.3s ease;
}
.hover-slide-up:hover {
    transform: translateY(-8px);
}

.hover-border-amber {
    transition: border-color 0.3s ease;
    border: 2px solid transparent;
}
.hover-border-amber:hover {
    border-color: #d97706;
}

.hover-bg-amber {
    transition: background-color 0.3s ease;
}
.hover-bg-amber:hover {
    background-color: rgba(217, 119, 6, 0.1);
}

/* --------------------------------------------------------------------------
   CARD STYLES (For products, features, etc.)
   -------------------------------------------------------------------------- */

.card-elevated {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.card-elevated:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-bordered {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.card-bordered:hover {
    border-color: #d97706;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.card-dark {
    background: #1f2937;
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
}
.card-dark:hover {
    background: #111827;
    transform: translateY(-2px);
}

.card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
}
.card-glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* --------------------------------------------------------------------------
   BADGE STYLES
   -------------------------------------------------------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
}

.badge-amber {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
}

.badge-green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.badge-red {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.badge-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.badge-dark {
    background: #1f2937;
    color: #fff;
}

.badge-outline-amber {
    background: transparent;
    border: 1px solid #d97706;
    color: #d97706;
}

/* --------------------------------------------------------------------------
   TEXT EFFECTS
   -------------------------------------------------------------------------- */

/* Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-blue {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-purple {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-green {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-sunset {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   LOADING STATES
   -------------------------------------------------------------------------- */

.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}
.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ui-spin 0.8s linear infinite;
}
@keyframes ui-spin {
    to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   RESPONSIVE UTILITIES
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    [class*="btn-preset-"],
    [class*="btn-"] {
        padding: 10px 20px;
        font-size: 14px;
    }

    .btn-lg, .btn-preset-lg {
        padding: 12px 28px;
        font-size: 16px;
    }

    .btn-xl, .btn-preset-xl {
        padding: 14px 32px;
        font-size: 17px;
    }
}
