/* ==========================================================================
   FAXAS CIGARS - Slider Presets (Buttons, Text Effects, Shapes)
   ========================================================================== */

/* --------------------------------------------------------------------------
   BUTTON PRESETS
   -------------------------------------------------------------------------- */

/* Base Button Styles */
.slide-layer [class*="btn-preset-"],
.slide-layer .layer-button {
    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);
}

/* 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;
}

/* 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);
}

/* 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);
}

/* 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);
}

/* 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);
}

/* 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;
}

/* 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;
}

/* 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;
}

/* 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);
}

/* 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);
}

/* 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);
}

/* 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;
}

/* 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%;
}

/* --------------------------------------------------------------------------
   TEXT PRESETS
   -------------------------------------------------------------------------- */

/* Hero Title */
.text-hero-title, .text-preset-hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Hero Subtitle */
.text-hero-subtitle, .text-preset-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    line-height: 1.6;
}

/* Elegant Serif */
.text-elegant-serif, .text-preset-elegant-serif {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    letter-spacing: 0.02em;
}

/* Modern Sans */
.text-modern-sans, .text-preset-modern-sans {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 3rem;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Bold Impact */
.text-bold-impact, .text-preset-bold-impact {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 3px 3px 0 #d97706;
}

/* Gradient Gold */
.text-gradient-gold, .text-preset-gradient-gold {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Blue */
.text-gradient-blue, .text-preset-gradient-blue {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Sunset */
.text-gradient-sunset, .text-preset-gradient-sunset {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gradient Neon */
.text-gradient-neon, .text-preset-gradient-neon {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ff87 0%, #60efff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Neon Glow */
.text-neon-glow, .text-preset-neon-glow {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #d97706,
        0 0 40px #d97706,
        0 0 50px #d97706;
}

/* Retro */
.text-retro, .text-preset-retro {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fef3c7;
    text-shadow:
        3px 3px 0 #d97706,
        6px 6px 0 #92400e;
    letter-spacing: 0.1em;
}

/* Vintage */
.text-vintage, .text-preset-vintage {
    font-family: Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fef3c7;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* 3D Text */
.text-3d-text, .text-preset-3d-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    text-shadow:
        1px 1px 0 #ccc,
        2px 2px 0 #bbb,
        3px 3px 0 #aaa,
        4px 4px 0 #999,
        5px 5px 0 #888,
        6px 6px 5px rgba(0, 0, 0, 0.3);
}

/* Outline White */
.text-outline-white, .text-preset-outline-white {
    font-size: 3.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

/* Outline Gold */
.text-outline-gold, .text-preset-outline-gold {
    font-size: 3.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px #d97706;
}

/* Long Shadow */
.text-shadow-long, .text-preset-shadow-long {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    text-shadow:
        1px 1px 0 #d97706,
        2px 2px 0 #d97706,
        3px 3px 0 #d97706,
        4px 4px 0 #d97706,
        5px 5px 0 #d97706,
        6px 6px 0 #d97706,
        7px 7px 0 #d97706,
        8px 8px 0 #d97706,
        9px 9px 10px rgba(0, 0, 0, 0.4);
}

/* Embossed */
.text-emboss, .text-preset-emboss {
    font-size: 3rem;
    font-weight: 700;
    color: #e0e0e0;
    text-shadow:
        -1px -1px 0 #fff,
        1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Letterpress */
.text-letterpress, .text-preset-letterpress {
    font-size: 3rem;
    font-weight: 700;
    color: #444;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 -1px 0 rgba(0, 0, 0, 0.2);
}

/* Glitch Effect */
.text-glitch, .text-preset-glitch {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    animation: glitch 1s infinite;
}
@keyframes glitch {
    0%, 90%, 100% {
        text-shadow:
            2px 0 #ff0000,
            -2px 0 #00ff00;
    }
    92% {
        text-shadow:
            -2px 0 #ff0000,
            2px 0 #00ff00;
    }
    94% {
        text-shadow:
            2px 2px #ff0000,
            -2px -2px #00ff00;
    }
    96% {
        text-shadow:
            -2px 2px #ff0000,
            2px -2px #00ff00;
    }
    98% {
        text-shadow:
            2px 0 #ff0000,
            -2px 0 #00ff00;
    }
}

/* --------------------------------------------------------------------------
   IMAGE MASKS
   -------------------------------------------------------------------------- */

.mask-circle {
    clip-path: circle(50% at 50% 50%);
}

.mask-rounded {
    border-radius: 24px;
    overflow: hidden;
}

.mask-rounded-sm {
    border-radius: 12px;
    overflow: hidden;
}

.mask-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.mask-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.mask-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.mask-star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.mask-blob-1 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.mask-blob-2 {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* --------------------------------------------------------------------------
   HOVER EFFECTS
   -------------------------------------------------------------------------- */

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

.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.3);
}

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

.hover-pulse {
    animation: none;
}
.hover-pulse:hover {
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

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

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

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

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

/* --------------------------------------------------------------------------
   DECORATIVE SHAPES
   -------------------------------------------------------------------------- */

.shape-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.shape-square {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.shape-rectangle {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid currentColor;
    background: transparent !important;
}

.shape-triangle-down {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 86px solid currentColor;
    background: transparent !important;
}

.shape-diamond {
    transform: rotate(45deg);
    border-radius: 4px;
}

.shape-hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-star {
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.shape-line-horizontal {
    height: 4px !important;
    width: 100%;
    border-radius: 2px;
}

.shape-line-vertical {
    width: 4px !important;
    height: 100%;
    border-radius: 2px;
}

.shape-line-diagonal {
    height: 4px !important;
    width: 100%;
    transform: rotate(-45deg);
    border-radius: 2px;
}

.shape-arrow-right {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid currentColor;
    background: transparent !important;
}

.shape-arrow-down {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid currentColor;
    background: transparent !important;
}

/* SVG Wave Shape */
.shape-wave {
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23d97706' d='M0,192L48,176C96,160,192,128,288,133.3C384,139,480,181,576,181.3C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center / cover;
}

.shape-zigzag {
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        currentColor 10px,
        currentColor 20px
    );
}

.shape-dots {
    background-image: radial-gradient(currentColor 2px, transparent 2px);
    background-size: 20px 20px;
}

.shape-grid {
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 20px 20px;
}

/* --------------------------------------------------------------------------
   GRADIENT TEXT PRESETS (Applied via inline styles in layer.blade.php)
   -------------------------------------------------------------------------- */

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

.gradient-text-sunset {
    background: linear-gradient(135deg, #FF512F, #DD2476);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-ocean {
    background: linear-gradient(135deg, #2193b0, #6dd5ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-fire {
    background: linear-gradient(135deg, #f12711, #f5af19);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-mint {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-cherry {
    background: linear-gradient(135deg, #EB3349, #F45C43);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-royal {
    background: linear-gradient(135deg, #141E30, #243B55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-neon {
    background: linear-gradient(135deg, #00F260, #0575E6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-rose {
    background: linear-gradient(135deg, #ee9ca7, #ffdde1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   PRESET PREVIEW IN EDITOR
   -------------------------------------------------------------------------- */

.preset-preview {
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    text-align: center;
}

.btn-preset-demo {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
}

.text-preset-demo {
    display: inline-block;
    font-size: 24px;
}
