/* ═══════════════════════════════════════════════════════════════════════
   GLOBAL BUTTON SYSTEM
   Unified button styles for the entire theme
   ═══════════════════════════════════════════════════════════════════════ */

/* Base Button Styles */
.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-ghost-white,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 2rem;
    height: 46px;
    font-size: var(--font-size-base, 1rem);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    border-radius: var(--radius-md, 8px);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Primary Button - Yellow CTA */
.btn-primary {
    background: var(--primary, #FDC600);
    color: var(--text, #161615);
    border-color: var(--primary, #FDC600);
}

.btn-primary:hover {
    background: var(--primary-hover, #e5b300);
    border-color: var(--primary-hover, #e5b300);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(253, 198, 0, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(253, 198, 0, 0.2);
}

/* Secondary Button - Dark Background */
.btn-secondary {
    background: var(--dark-hero, #213035);
    color: #ffffff;
    border-color: var(--dark-hero, #213035);
}

.btn-secondary:hover {
    background: var(--dark-deep, #161615);
    border-color: var(--dark-deep, #161615);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Ghost Button - Transparent with Border */
.btn-ghost {
    background: transparent;
    color: var(--text, #161615);
    border-color: var(--border, #e2e8f0);
}

.btn-ghost:hover {
    background: var(--bg-subtle, #f8f9fa);
    border-color: var(--text-muted, #64748b);
}

.btn-ghost:active {
    background: var(--bg-surface, #ffffff);
}

/* Ghost White Button - For Dark Backgrounds */
.btn-ghost-white {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost-white:active {
    background: rgba(255, 255, 255, 0.05);
}

/* White Button - White Background */
.btn-white {
    background: #ffffff;
    color: var(--text, #161615);
    border-color: #ffffff;
}

.btn-white:hover {
    background: var(--bg-subtle, #f8f9fa);
    border-color: var(--bg-subtle, #f8f9fa);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-white:active {
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTON SIZES
   ═══════════════════════════════════════════════════════════════════════ */

/* Large Button */
.btn-lg {
    height: 54px;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
}

/* Small Button */
.btn-sm {
    height: 38px;
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTON STATES
   ═══════════════════════════════════════════════════════════════════════ */

/* Disabled State */
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-ghost:disabled,
.btn-ghost-white:disabled,
.btn-white:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Focus State */
.btn-primary:focus,
.btn-secondary:focus,
.btn-ghost:focus,
.btn-ghost-white:focus,
.btn-white:focus {
    outline: none;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-ghost:focus-visible,
.btn-ghost-white:focus-visible,
.btn-white:focus-visible {
    outline: 2px solid var(--primary, #FDC600);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   BUTTON ICONS
   ═══════════════════════════════════════════════════════════════════════ */

.btn-primary svg,
.btn-secondary svg,
.btn-ghost svg,
.btn-ghost-white svg,
.btn-white svg {
    width: 24;
    height: 24px;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

    .btn-primary,
    .btn-secondary,
    .btn-ghost,
    .btn-ghost-white,
    .btn-white,
    a.btn,
    button.btn,
    .bde-button {
        /* targeting breakdance buttons if any remain */
        width: auto;
        justify-content: center;
        height: 38px;
        /* Standardize specific small height */
        padding: 0.5rem 1.25rem;
        /* Smaller padding */
        font-size: 0.8125rem;
        /* 13px */
    }

    .btn-lg {
        height: 42px;
        font-size: 0.9375rem;
        /* 15px */
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   GLOBAL CTA CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */

.cta-global-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    /* Explicit margin-top as requested */
}