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

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

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

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

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

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

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

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

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

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

.dpt-hero__meta article:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

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

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

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

.dpt-hero__device {
    position: relative;
    width: 280px;
    height: 200px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(16, 185, 129, 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); }
}

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

.dpt-hero__vote-flow {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vote-point {
    width: 8px;
    height: 8px;
    background: var(--dpt-accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.dpt-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(16, 185, 129, 0.1), transparent);
    border: 1px solid rgba(16, 185, 129, 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; }
}

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

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

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

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

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

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

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

.dpt-birthday-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.dpt-birthday-card {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--dpt-radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.dpt-birthday-card:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);
}

.dpt-birthday-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--dpt-accent), #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.dpt-birthday-card__content {
    flex: 1;
}

.dpt-birthday-card__content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--dpt-text);
}

.dpt-birthday-card__info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.dpt-birthday-card__info span {
    font-size: 0.9rem;
    color: var(--dpt-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dpt-birthday-card__info i {
    color: var(--dpt-accent);
    width: 16px;
}

.dpt-birthday-card__message {
    margin: 0;
    padding: 12px;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid var(--dpt-accent);
    border-radius: 4px;
    color: var(--dpt-text);
    display: flex;
    align-items: start;
    gap: 10px;
}

.dpt-birthday-card__message i {
    color: var(--dpt-accent);
    margin-top: 2px;
}

.dpt-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--dpt-stroke);
    border-radius: var(--dpt-radius);
}

.dpt-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
}

.dpt-table thead {
    background: rgba(16, 185, 129, 0.1);
}

.dpt-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--dpt-text);
    border-bottom: 1px solid var(--dpt-stroke);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.dpt-table th i {
    color: var(--dpt-accent);
    margin-right: 8px;
}

.dpt-table td {
    padding: 16px;
    border-bottom: 1px solid var(--dpt-stroke);
    color: var(--dpt-muted);
}

.dpt-table tbody tr {
    transition: all 0.2s ease;
}

.dpt-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.05);
}

.dpt-table__name {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dpt-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.dpt-badge--new {
    background: rgba(16, 185, 129, 0.2);
    color: var(--dpt-accent);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.dpt-badge i {
    font-size: 0.7rem;
}

.dpt-table__empty {
    text-align: center;
    padding: 48px 16px !important;
    color: var(--dpt-muted);
}

.dpt-table__empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 12px;
    opacity: 0.5;
}

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

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

.dpt-sidebar__card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid var(--dpt-stroke);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .dpt-sidebar {
        position: static;
    }

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

    .dpt-hero__visual {
        display: none;
    }
}

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

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

    .dpt-section {
        padding: 24px;
    }

    .dpt-birthday-grid {
        grid-template-columns: 1fr;
    }

    .dpt-table {
        font-size: 0.85rem;
    }

    .dpt-table th,
    .dpt-table td {
        padding: 12px 8px;
    }
}
