/* Maker Pop Hero Deck Styles */

/* Hero Deck (mobile-first) */
/* Use grid so cards adapt elegantly from 1 → 2 columns */
.hero-deck { display:grid; grid-template-columns: 1fr; gap: 12px; padding: 12px 0; align-items: stretch; margin: 0 auto; width: 100%; }

/* Hero Card Base Style */
.hero-card { position:relative; width:100%; min-width:0; height: clamp(88px, 12vw, 120px); background:white; border:4px solid #111827; border-radius:24px; padding: clamp(10px, 1.6vw, 15px); box-shadow:6px 6px 0 #111827; transition: all .3s cubic-bezier(0.4,0,0.2,1); cursor:pointer; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; }

/* Card Hover Effect */
.hero-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #111827;
}

/* Card Active State */
.hero-card:active {
    transform: translate(1px, 1px);
    box-shadow: 3px 3px 0 #111827;
}

/* Card Gradients */
.hero-card.inspire-card {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-card.make-card {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-card.print-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Card Icon */
.hero-icon { position:absolute; top: clamp(14px, 1.4vw, 22px); left: clamp(16px, 1.8vw, 30px); width: clamp(44px, 5.2vw, 60px); height: clamp(44px, 5.2vw, 60px); background:white; border:3px solid #111827; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size: clamp(20px, 2.4vw, 28px); box-shadow:3px 3px 0 rgba(17,24,39,.3); }

/* Card Content */
.hero-content { margin-left: clamp(70px, 8vw, 96px); color:white; }

.hero-title { font-size: clamp(22px, 4.2vw, 36px); font-weight: 900; margin-bottom: 6px; letter-spacing: -.4px; text-shadow: 2px 2px 0 rgba(0,0,0,.2); }

.hero-subtitle { font-size: clamp(12px, 2.2vw, 16px); font-weight: 700; opacity:.95; line-height:1.3; white-space: nowrap; }

/* Card Actions */
.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    margin-left: 90px;
}

.hero-btn {
    padding: 12px 28px;
    background: white;
    color: #111827;
    border: 3px solid #111827;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 rgba(17, 24, 39, 0.3);
    text-decoration: none;
    display: inline-block;
}

.hero-btn:hover {
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 rgba(17, 24, 39, 0.5);
}

.hero-btn:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 rgba(17, 24, 39, 0.3);
}

/* Secondary Button Style */
.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border-color: white;
    box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Card Decorative Elements */
.hero-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.hero-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

/* Navigation Dots */
.hero-nav-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    background: #E5E7EB;
    border: 2px solid #111827;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: #111827;
    transform: scale(1.3);
}

.hero-dot:hover {
    transform: scale(1.2);
}

/* Enhance on larger screens */
@media (min-width: 900px) {
  .hero-deck { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; padding: 20px 0; }
}

@media (min-width: 1400px) {
  .hero-deck { gap: 60px; padding: 30px 0; }
}
    
    .hero-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* Animation Classes */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card.animate-in {
    animation: slideInUp 0.6s ease-out;
}

.hero-card:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-card:nth-child(2) {
    animation-delay: 0.2s;
}

.hero-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Pulse Animation for Active Card */
@keyframes pulse {
    0% {
        box-shadow: 6px 6px 0 #111827;
    }
    50% {
        box-shadow: 8px 8px 0 #111827;
    }
    100% {
        box-shadow: 6px 6px 0 #111827;
    }
}

.hero-card.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Idea Canvas Style */
.idea-canvas {
    background: white;
    border: 3px dashed #111827;
    border-radius: 20px;
    padding: 30px;
    margin: 30px auto;
    max-width: 1200px;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    font-size: 18px;
    text-align: center;
}

.idea-canvas::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 30px;
    background: white;
    padding: 0 10px;
    font-size: 24px;
}

.idea-canvas-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
}

/* Quick Access Templates */
.templates-quick-access {
    background: white;
    border: 3px solid #111827;
    border-radius: 20px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 4px 4px 0 #111827;
}

.templates-quick-access-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.templates-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.template-chip {
    padding: 8px 16px;
    background: #F3F4F6;
    border: 2px solid #111827;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-chip:hover {
    background: #111827;
    color: white;
    transform: translateY(-2px);
}
/* Force single-column hero in local preview mobile mode */
#preview-wrap.mobile .hero-deck { grid-template-columns: 1fr !important; }
