:root {
    --sosmed-bg: #020b16;
    --sosmed-card: rgba(7, 19, 33, 0.78);
    --sosmed-stroke: rgba(255, 255, 255, 0.08);
    --sosmed-text: #e6f4ff;
    --sosmed-muted: rgba(230, 244, 255, 0.75);
    --sosmed-accent: #ec4899;
    --sosmed-accent-alt: #db2777;
    --sosmed-gradient-start: #0a1628;
    --sosmed-gradient-end: #1a2f4a;
    --sosmed-shadow: 0 25px 55px rgba(4, 20, 40, 0.45);
    --sosmed-radius: 0;
}

.sosmed-hero {
    background: radial-gradient(circle at top right, rgba(236, 72, 153, 0.25), transparent),
        linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(26, 47, 74, 0.95));
    padding: 40px 0 24px;
    color: var(--sosmed-text);
    position: relative;
    overflow: hidden;
}

.sosmed-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/icon-hero.jpeg') center/cover;
    opacity: 0.08;
    mix-blend-mode: screen;
}

.sosmed-hero .dp-container {
    position: relative;
    z-index: 1;
}

.sosmed-hero__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

.sosmed-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.3);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    color: var(--sosmed-accent);
}

.sosmed-hero__content h1 {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin: 16px 0;
    line-height: 1.2;
    font-weight: 700;
}

.sosmed-hero__content p {
    color: var(--sosmed-muted);
    max-width: 560px;
    line-height: 1.6;
}

.sosmed-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.sosmed-hero__meta article {
    border: 1px solid var(--sosmed-stroke);
    padding: 16px;
    border-radius: var(--sosmed-radius);
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.sosmed-hero__meta article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(236, 72, 153, 0.3);
    transform: translateY(-2px);
}

.sosmed-hero__meta span {
    font-size: 0.85rem;
    color: var(--sosmed-muted);
    display: block;
    margin-bottom: 4px;
}

.sosmed-hero__meta strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sosmed-text);
}

.sosmed-hero__visual {
    text-align: center;
    position: relative;
    padding: 20px;
}

.sosmed-hero__device {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 12px;
    padding: 16px;
    animation: float 6s ease-in-out infinite;
}

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

.sosmed-hero__screen {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.sosmed-hero__icons {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.social-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(59, 130, 246, 0.3));
    border: 1px solid rgba(236, 72, 153, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sosmed-accent);
    font-size: 1.2rem;
    left: var(--x);
    top: var(--y);
    animation: social-pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes social-pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

.sosmed-hero__bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle, rgba(236, 72, 153, 0.1), transparent);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 50%;
    left: var(--x);
    top: var(--y);
    animation: bubble-float var(--duration) ease-in-out infinite;
}

@keyframes bubble-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(20px, -30px) scale(1.1); opacity: 0.8; }
}

.sosmed-main {
    background: var(--sosmed-bg);
    color: var(--sosmed-text);
    padding: 40px 0;
    min-height: 60vh;
}

.sosmed-main__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.sosmed-section {
    background: var(--sosmed-card);
    border: 1px solid var(--sosmed-stroke);
    padding: 32px;
    margin-bottom: 24px;
    border-radius: var(--sosmed-radius);
    box-shadow: var(--sosmed-shadow);
}

.sosmed-section__header {
    margin-bottom: 24px;
}

.sosmed-section__header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sosmed-text);
}

.sosmed-section__header h2 i {
    color: var(--sosmed-accent);
}

.sosmed-section__header p {
    color: var(--sosmed-muted);
    margin: 0;
}

.sosmed-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 0;
}

.sosmed-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sosmed-stroke);
    border-radius: 999px;
    color: var(--sosmed-muted);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sosmed-tab:hover {
    border-color: rgba(236, 72, 153, 0.5);
    color: var(--sosmed-text);
    transform: translateY(-2px);
}

.sosmed-tab--active {
    background: linear-gradient(135deg, var(--sosmed-accent), var(--sosmed-accent-alt));
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.sosmed-tab i {
    font-size: 1rem;
}

.sosmed-content {
    display: none;
}

.sosmed-content--active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.sosmed-video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.sosmed-video-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--sosmed-stroke);
    border-radius: var(--sosmed-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.sosmed-video-card:hover {
    border-color: var(--sosmed-accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.2);
}

.sosmed-video-card__thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.sosmed-video-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sosmed-video-card:hover .sosmed-video-card__thumbnail img {
    transform: scale(1.1);
}

.sosmed-video-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(236, 72, 153, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sosmed-video-card:hover .sosmed-video-card__play {
    opacity: 1;
}

.sosmed-video-card__duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sosmed-video-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.sosmed-video-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--sosmed-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.sosmed-video-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--sosmed-muted);
}

.sosmed-video-card__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sosmed-video-card__meta i {
    color: var(--sosmed-accent);
    font-size: 0.9rem;
}

.sosmed-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--sosmed-muted);
}

.sosmed-empty i {
    font-size: 3rem;
    display: block;
    margin-bottom: 16px;
    opacity: 0.5;
}

.sosmed-empty h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--sosmed-text);
}

.sosmed-empty p {
    margin: 0 0 16px;
    line-height: 1.6;
}

.sosmed-error-details {
    margin-top: 20px;
    padding: 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--sosmed-radius);
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.sosmed-error-details strong {
    color: var(--sosmed-text);
    display: block;
    margin-bottom: 8px;
}

.sosmed-error-details small {
    color: var(--sosmed-muted);
    line-height: 1.6;
}

.sosmed-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sosmed-sidebar__card {
    background: var(--sosmed-card);
    border: 1px solid var(--sosmed-stroke);
    border-radius: var(--sosmed-radius);
    box-shadow: var(--sosmed-shadow);
    overflow: hidden;
}

.sosmed-sidebar__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(236, 72, 153, 0.1);
    border-bottom: 1px solid var(--sosmed-stroke);
}

.sosmed-sidebar__card-header i {
    color: var(--sosmed-accent);
    font-size: 1.2rem;
}

.sosmed-sidebar__card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--sosmed-text);
}

.sosmed-sidebar__stats {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sosmed-stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--sosmed-stroke);
    border-radius: var(--sosmed-radius);
    transition: all 0.3s ease;
}

.sosmed-stat-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--sosmed-accent);
    transform: translateX(4px);
}

.sosmed-stat-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sosmed-stat-item__content {
    flex: 1;
}

.sosmed-stat-item__content span {
    display: block;
    font-size: 0.85rem;
    color: var(--sosmed-muted);
    margin-bottom: 4px;
}

.sosmed-stat-item__content strong {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sosmed-text);
    word-break: break-word;
}

.sosmed-sidebar__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sosmed-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--sosmed-stroke);
    border-radius: var(--sosmed-radius);
}

.sosmed-info-item i {
    color: var(--sosmed-accent);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.sosmed-info-item span {
    display: block;
    font-size: 0.85rem;
    color: var(--sosmed-muted);
    margin-bottom: 4px;
}

.sosmed-info-item strong {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sosmed-text);
    word-break: break-word;
}

.sosmed-sidebar__tips {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sosmed-tip {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: rgba(236, 72, 153, 0.05);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: var(--sosmed-radius);
}

.sosmed-tip i {
    color: var(--sosmed-accent);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.sosmed-tip p {
    margin: 0;
    color: var(--sosmed-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .sosmed-main__grid {
        grid-template-columns: 1fr;
    }

    .sosmed-sidebar {
        position: static;
    }

    .sosmed-hero__grid {
        grid-template-columns: 1fr;
    }

    .sosmed-hero__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .sosmed-hero {
        padding: 32px 0 20px;
    }

    .sosmed-hero__meta {
        grid-template-columns: 1fr;
    }

    .sosmed-section {
        padding: 24px;
    }

    .sosmed-video-grid {
        grid-template-columns: 1fr;
    }
}

