/* SG Hero — search + quick-tags + floating glass cards (ported from sblog-slanggenz .hero) */

.sg-hero {
    width: min(1180px, calc(100% - 40px));
    margin: 80px auto 60px;
}

.sg-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 480px;
}

@media (max-width: 900px) {
    .sg-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 0;
    }
}

/* === Left column === */

.sg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sg-card) 70%, transparent);
    border: 1px solid var(--sg-line);
    font-size: 12px;
    color: var(--sg-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.sg-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sg-lime);
    box-shadow: 0 0 12px var(--sg-lime);
    animation: sg-pulse 1.6s ease-in-out infinite;
}

@keyframes sg-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.85); }
}

.sg-hero-title {
    margin: 18px 0 12px;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    color: var(--sg-text);
}

.sg-hero-title span {
    background: linear-gradient(120deg, var(--sg-lime), var(--sg-pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sg-hero-sub {
    color: var(--sg-muted);
    font-size: 16px;
    line-height: 1.55;
    max-width: 52ch;
    margin: 0 0 24px;
}

/* === Search form === */

.sg-hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sg-card) 90%, transparent);
    border: 1px solid var(--sg-line);
    transition: border-color 200ms ease;
}

.sg-hero-search:focus-within {
    border-color: var(--sg-lime);
}

.sg-search-icon {
    color: var(--sg-muted);
    font-size: 18px;
    padding: 0 6px 0 12px;
}

.sg-hero-search input[type="search"] {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: var(--sg-text);
    font-size: 15px;
    padding: 10px 4px;
}

.sg-hero-search input::placeholder {
    color: var(--sg-muted);
}

.sg-hero-search button {
    background: var(--sg-lime);
    color: #0c0d0a;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.sg-hero-search button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(199, 255, 74, .25);
}

/* === Quick tags === */

.sg-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    font-size: 13px;
    align-items: center;
}

.sg-quick-tags > span {
    color: var(--sg-muted);
    font-weight: 600;
    margin-right: 4px;
}

.sg-quick-tags button {
    background: transparent;
    border: 1px solid var(--sg-line);
    color: var(--sg-text);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: all 200ms ease;
}

.sg-quick-tags button:hover {
    border-color: var(--sg-pink);
    color: var(--sg-pink);
}

/* === Right column — visual === */

.sg-hero-visual {
    position: relative;
    height: 480px;
    border-radius: 28px;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 91, 189, .15), transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(110, 120, 255, .18), transparent 55%),
        var(--sg-card);
    border: 1px solid var(--sg-line);
    overflow: hidden;
}

@media (max-width: 900px) {
    .sg-hero-visual {
        height: 320px;
    }
}

/* Orbit rings (decorative) */
.sg-orbit {
    position: absolute;
    border: 1px dashed var(--sg-line);
    border-radius: 50%;
    animation: sg-rotate 26s linear infinite;
}

.sg-orbit-1 {
    inset: 12% 22%;
    border-color: rgba(199, 255, 74, .25);
}

.sg-orbit-2 {
    inset: 32% 8%;
    border-color: rgba(255, 91, 189, .22);
    animation-duration: 32s;
    animation-direction: reverse;
}

@keyframes sg-rotate {
    to { transform: rotate(360deg); }
}

/* Floating cards (glassmorphism) */
.sg-floating-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 200px;
    padding: 18px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--sg-card-2) 80%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sg-line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .34);
    animation: sg-float 7s ease-in-out infinite;
}

.sg-floating-card span {
    font-size: 10px;
    color: var(--sg-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
}

.sg-floating-card strong {
    font-size: 28px;
    font-weight: 800;
    color: var(--sg-text);
}

.sg-floating-card p {
    margin: 0;
    color: var(--sg-muted);
    font-size: 13px;
    line-height: 1.4;
}

.sg-card-a {
    top: 14%;
    left: 8%;
    animation-delay: 0s;
}

.sg-card-b {
    bottom: 14%;
    right: 8%;
    animation-delay: 3.5s;
}

@keyframes sg-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stickers */
.sg-sticker {
    position: absolute;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    transform: rotate(-8deg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .34);
}

.sg-sticker-1 {
    top: 8%;
    right: 12%;
    background: var(--sg-lime);
    color: #0c0d0a;
}

.sg-sticker-2 {
    bottom: 8%;
    left: 12%;
    background: var(--sg-pink);
    color: #0c0d0a;
    transform: rotate(6deg);
}
