:root {
    --aspirasi-bg: #020b16;
    --aspirasi-card: rgba(7, 19, 33, 0.78);
    --aspirasi-stroke: rgba(255, 255, 255, 0.08);
    --aspirasi-text: #e6f4ff;
    --aspirasi-muted: rgba(230, 244, 255, 0.75);
    --aspirasi-accent: #6366f1;
    --aspirasi-accent-alt: #4f46e5;
    --aspirasi-gradient-start: #0a1628;
    --aspirasi-gradient-end: #1a2f4a;
    --aspirasi-shadow: 0 25px 55px rgba(4, 20, 40, 0.45);
    --aspirasi-radius: 0;
    --aspirasi-success: #10b981;
    --aspirasi-error: #ef4444;
    --aspirasi-info: #3b82f6;
}

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

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

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

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

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

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

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

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

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

.aspirasi-hero__meta article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

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

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

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

.aspirasi-hero__device {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(99, 102, 241, 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); }
}

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

.aspirasi-hero__messages {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.message-bubble {
    position: absolute;
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(139, 92, 246, 0.4));
    border: 1px solid rgba(99, 102, 241, 0.6);
    border-radius: 20px 20px 20px 4px;
    left: var(--x);
    top: var(--y);
    animation: message-appear 3s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes message-appear {
    0%, 100% { transform: translateY(0) scale(0.8); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1); opacity: 1; }
}

.aspirasi-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(99, 102, 241, 0.1), transparent);
    border: 1px solid rgba(99, 102, 241, 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; }
}

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

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

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

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

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

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

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

.aspirasi-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: var(--aspirasi-radius);
    margin-bottom: 24px;
    border: 1px solid;
}

.aspirasi-alert--success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--aspirasi-success);
}

.aspirasi-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: var(--aspirasi-error);
}

.aspirasi-alert--info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--aspirasi-info);
}

.aspirasi-alert--info a {
    color: var(--aspirasi-info);
    text-decoration: underline;
    margin-left: 8px;
}

.aspirasi-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aspirasi-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aspirasi-form__textarea {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: var(--aspirasi-radius);
    color: var(--aspirasi-text);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.aspirasi-form__textarea:focus {
    outline: none;
    border-color: var(--aspirasi-accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.aspirasi-form__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--aspirasi-muted);
}

.aspirasi-form__counter {
    color: var(--aspirasi-accent);
    font-weight: 600;
}

.aspirasi-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--aspirasi-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aspirasi-btn--primary {
    background: linear-gradient(135deg, var(--aspirasi-accent), var(--aspirasi-accent-alt));
    color: white;
}

.aspirasi-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.aspirasi-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aspirasi-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: var(--aspirasi-radius);
    padding: 24px;
    transition: all 0.3s ease;
}

.aspirasi-card:hover {
    border-color: var(--aspirasi-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.aspirasi-card__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.aspirasi-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--aspirasi-accent), var(--aspirasi-accent-alt));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.aspirasi-card__user {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aspirasi-card__name {
    font-weight: 600;
    color: var(--aspirasi-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.aspirasi-card__name:hover {
    color: var(--aspirasi-accent);
}

.aspirasi-card__time {
    font-size: 0.85rem;
    color: var(--aspirasi-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.aspirasi-card__content {
    margin: 16px 0;
    line-height: 1.6;
    color: var(--aspirasi-text);
}

.aspirasi-hashtag {
    color: var(--aspirasi-accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.aspirasi-hashtag:hover {
    text-decoration: underline;
    color: var(--aspirasi-accent-alt);
}

.aspirasi-card__actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--aspirasi-stroke);
}

.aspirasi-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: 999px;
    color: var(--aspirasi-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aspirasi-action-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--aspirasi-accent);
    color: var(--aspirasi-text);
}

.aspirasi-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.aspirasi-action-btn--active.aspirasi-action-btn--like {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--aspirasi-success);
    color: var(--aspirasi-success);
}

.aspirasi-action-btn--active.aspirasi-action-btn--dislike {
    background: rgba(239, 68, 68, 0.2);
    border-color: var(--aspirasi-error);
    color: var(--aspirasi-error);
}

.aspirasi-comment-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--aspirasi-stroke);
}

.aspirasi-comment-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.aspirasi-comment-input {
    flex: 1;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: 999px;
    color: var(--aspirasi-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.aspirasi-comment-input::placeholder {
    color: var(--aspirasi-muted);
    opacity: 0.6;
}

.aspirasi-comment-input:focus {
    outline: none;
    border-color: var(--aspirasi-accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.aspirasi-comment-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--aspirasi-accent), var(--aspirasi-accent-alt));
    border: none;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aspirasi-comment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.aspirasi-comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aspirasi-comment-item {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: var(--aspirasi-radius);
}

.aspirasi-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.aspirasi-comment-author {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--aspirasi-text);
}

.aspirasi-comment-time {
    font-size: 0.8rem;
    color: var(--aspirasi-muted);
}

.aspirasi-comment-content {
    font-size: 0.9rem;
    color: var(--aspirasi-muted);
    line-height: 1.5;
}

.aspirasi-comment-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.aspirasi-reply-btn {
    background: transparent;
    border: 1px solid var(--aspirasi-stroke);
    color: var(--aspirasi-muted);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.aspirasi-reply-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: var(--aspirasi-accent);
    color: var(--aspirasi-accent);
}

.aspirasi-reply-form {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--aspirasi-stroke);
    background: rgba(0, 0, 0, 0.15);
    padding: 12px;
    border-radius: var(--aspirasi-radius);
    border: 1px solid var(--aspirasi-stroke);
}

.aspirasi-reply-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.aspirasi-reply-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: 999px;
    color: var(--aspirasi-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.aspirasi-reply-input::placeholder {
    color: var(--aspirasi-muted);
    opacity: 0.6;
}

.aspirasi-reply-input:focus {
    outline: none;
    border-color: var(--aspirasi-accent);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.aspirasi-reply-submit {
    padding: 10px 20px;
    min-width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--aspirasi-accent), var(--aspirasi-accent-alt));
    border: none;
    border-radius: 999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.aspirasi-reply-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, var(--aspirasi-accent-alt), var(--aspirasi-accent));
}

.aspirasi-reply-submit:active {
    transform: translateY(0);
}

.aspirasi-reply-submit i {
    font-size: 0.9rem;
}

.aspirasi-comment-replies {
    margin-top: 12px;
    padding-left: 24px;
    border-left: 2px solid var(--aspirasi-stroke);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aspirasi-comment-reply {
    background: rgba(0, 0, 0, 0.15) !important;
    padding: 10px 14px !important;
    margin-left: 0;
}

.aspirasi-comment-reply .aspirasi-comment-author {
    font-size: 0.85rem;
}

.aspirasi-comment-reply .aspirasi-comment-content {
    font-size: 0.85rem;
}

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

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

.aspirasi-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.aspirasi-pagination__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--aspirasi-stroke);
    border-radius: var(--aspirasi-radius);
    color: var(--aspirasi-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.aspirasi-pagination__link:hover {
    border-color: var(--aspirasi-accent);
    background: rgba(99, 102, 241, 0.1);
}

.aspirasi-pagination__active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--aspirasi-accent), var(--aspirasi-accent-alt));
    border: none;
    border-radius: var(--aspirasi-radius);
    color: white;
    font-weight: 600;
}

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

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

.aspirasi-sidebar__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid var(--aspirasi-stroke);
}

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

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

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

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

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

.aspirasi-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;
}

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

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

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

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

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

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

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

.aspirasi-info-item strong {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--aspirasi-text);
}

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

.aspirasi-tip {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 16px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--aspirasi-radius);
}

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

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

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

    .aspirasi-sidebar {
        position: static;
    }

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

    .aspirasi-hero__visual {
        display: none;
    }
}

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

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

    .aspirasi-section {
        padding: 24px;
    }

    .aspirasi-card__actions {
        flex-wrap: wrap;
    }
    
    /* Responsive styles for reply form */
    .aspirasi-reply-form {
        padding: 10px;
        margin-top: 10px;
    }
    
    .aspirasi-reply-input-wrapper {
        flex-direction: column;
        gap: 10px;
    }
    
    .aspirasi-reply-input {
        min-width: 100%;
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .aspirasi-reply-submit {
        width: 100%;
        padding: 12px 20px;
        height: auto;
        min-height: 44px;
    }
    
    .aspirasi-comment-replies {
        padding-left: 16px;
        margin-top: 10px;
    }
    
    .aspirasi-comment-reply {
        padding: 8px 12px !important;
    }
    
    .aspirasi-reply-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

