

.public-premium-section {
    padding: clamp(36px, 5vw, 64px) 0;
    max-width: 1200px;
    margin: 0 auto;
}

.premium-hero-heading {
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 40px);
}
.premium-hero-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(236, 72, 153, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #e2ccff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 14px;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}
.premium-hero-heading h2 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(32px, 4.5vw, 54px);
    line-height: 1.08;
    margin: 0 0 14px;
    letter-spacing: -0.03em;
}
.premium-hero-heading h2 em {
    font-style: normal;
    background: linear-gradient(135deg, #fff 20%, #c4b5fd 60%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.premium-hero-heading p {
    color: var(--muted);
    font-size: clamp(14px, 1.8vw, 17px);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

.premium-tabs-wrap {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 4px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.3) transparent;
    margin-bottom: 24px;
}
.premium-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.premium-tab-btn:hover {
    color: var(--text);
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
}
.premium-tab-btn.active {
    color: #fff;
    border-color: rgba(139, 92, 246, 0.8);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.15));
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}
.premium-tab-btn .tab-ico {
    font-size: 16px;
}

.premium-showcase-grid {
    display: grid;
    grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-bottom: 48px;
}
@media (max-width: 960px) {
    .premium-showcase-grid {
        grid-template-columns: 1fr;
    }
}

.premium-feature-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(25, 20, 45, 0.6) 0%, rgba(10, 8, 20, 0.8) 100%);
    border: 1px solid rgba(139, 92, 246, 0.25);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    position: relative;
    overflow: hidden;
}
.premium-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899, #06B6D4);
}
.premium-card-top {
    display: grid;
    gap: 14px;
}
.premium-card-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.premium-plan-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #c4b5fd;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.premium-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    display: grid;
    place-items: center;
    font-size: 24px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25);
}
.premium-card-top h3 {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    margin: 4px 0 0;
    color: #fff;
    line-height: 1.2;
}
.premium-card-top p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
.premium-perks-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.premium-perk-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #e2ccff;
    line-height: 1.4;
}
.premium-perk-item svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #10B981;
    margin-top: 2px;
}
.premium-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.premium-card-actions a,
.premium-card-actions button {
    font-size: 13px;
    padding: 10px 18px;
}

.discord-client-frame {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    overflow: hidden;
    background: #1e1f22;
    border: 1px solid #313338;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    min-height: 520px;
}

.dc-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 14px;
    background: #1e1f22;
    border-bottom: 1px solid #2b2d31;
    user-select: none;
}
.dc-traffic-dots {
    display: flex;
    gap: 7px;
}
.dc-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.dc-dot-red { background: #ff5f56; }
.dc-dot-yellow { background: #ffbd2e; }
.dc-dot-green { background: #27c93f; }
.dc-titlebar-name {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #949ba4;
    font-size: 12px;
    font-weight: 700;
}
.dc-boost-badge {
    background: rgba(244, 127, 255, 0.15);
    border: 1px solid rgba(244, 127, 255, 0.4);
    color: #f47fff;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.dc-main-area {
    display: grid;
    grid-template-columns: 220px 1fr;
    flex: 1;
    min-height: 480px;
    background: #313338;
}
@media (max-width: 640px) {
    .dc-main-area {
        grid-template-columns: 1fr;
    }
    .dc-guild-sidebar {
        display: none;
    }
}

.dc-guild-sidebar {
    background: #2b2d31;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #1e1f22;
    overflow-y: auto;
}
.dc-guild-header {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid #1e1f22;
    font-weight: 700;
    font-size: 14px;
    color: #f2f3f5;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.dc-guild-channels {
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.dc-guild-cat {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 6px 4px;
    color: #949ba4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.dc-chan-item {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 8px;
    border-radius: 5px;
    color: #949ba4;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.12s;
    user-select: none;
}
.dc-chan-item:hover {
    background: #35373c;
    color: #dbdee1;
}
.dc-chan-item.active {
    background: #404249;
    color: #f2f3f5;
}
.dc-chan-item .dc-chan-icon {
    font-size: 15px;
    opacity: 0.7;
    flex-shrink: 0;
}
.dc-chan-item.active .dc-chan-icon {
    opacity: 1;
}
.dc-chan-item .dc-chan-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-chat-area {
    display: flex;
    flex-direction: column;
    background: #313338;
}
.dc-chan-topbar {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid #232428;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.dc-chan-topbar-ico {
    color: #949ba4;
    font-size: 18px;
}
.dc-chan-topbar-title {
    color: #f2f3f5;
    font-weight: 700;
    font-size: 14px;
}
.dc-chan-topbar-topic {
    color: #949ba4;
    font-size: 12px;
    border-left: 1px solid #4e5058;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dc-messages-viewport {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dc-message-row {
    display: flex;
    gap: 14px;
    animation: dcFadeIn 0.25s ease-out;
}
@keyframes dcFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
.dc-msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #5865F2;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: white;
}
.dc-msg-content-wrap {
    flex: 1;
    min-width: 0;
}
.dc-msg-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}
.dc-msg-author {
    color: #f2f3f5;
    font-weight: 700;
    font-size: 14px;
}
.dc-bot-tag {
    background: #5865F2;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}
.dc-msg-time {
    color: #949ba4;
    font-size: 11px;
}
.dc-msg-text {
    color: #dbdee1;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}
.dc-msg-text strong {
    color: #f2f3f5;
}
.dc-msg-text .dc-mention {
    background: rgba(88, 101, 242, 0.3);
    color: #c9cdfb;
    padding: 1px 5px;
    border-radius: 3px;
    font-weight: 600;
}

.dc-rich-embed {
    margin-top: 8px;
    background: #2b2d31;
    border-left: 4px solid #8B5CF6;
    border-radius: 4px;
    padding: 14px 16px;
    max-width: 520px;
    display: grid;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.dc-embed-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #f2f3f5;
}
.dc-embed-title {
    font-size: 15px;
    font-weight: 700;
    color: #00a8fc;
    text-decoration: none;
    line-height: 1.3;
}
.dc-embed-desc {
    color: #dbdee1;
    font-size: 13px;
    line-height: 1.45;
    white-space: pre-line;
}
.dc-embed-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 4px;
}
.dc-embed-field-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #949ba4;
    margin-bottom: 2px;
}
.dc-embed-field-val {
    font-size: 13px;
    color: #f2f3f5;
    font-weight: 500;
}
.dc-embed-footer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #949ba4;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dc-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.dc-component-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 4px;
    border: 0;
    font-size: 13px;
    font-weight: 600;
    color: white;
    background: #4e5058;
    cursor: pointer;
    transition: background 0.15s;
}
.dc-component-btn:hover {
    background: #6d6f78;
}
.dc-component-btn.primary {
    background: #5865F2;
}
.dc-component-btn.primary:hover {
    background: #4752c4;
}
.dc-component-btn.success {
    background: #248046;
}
.dc-component-btn.success:hover {
    background: #1a6334;
}
.dc-component-btn.danger {
    background: #da373c;
}
.dc-component-btn.danger:hover {
    background: #a1282c;
}

.dc-reaction-bar {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}
.dc-react-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(88, 101, 242, 0.15);
    border: 1px solid rgba(88, 101, 242, 0.35);
    color: #c9cdfb;
    font-size: 12px;
    font-weight: 700;
}

.premium-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
@media (max-width: 860px) {
    .premium-pricing-grid {
        grid-template-columns: 1fr;
    }
}
.premium-tier-card {
    padding: 32px 24px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: linear-gradient(160deg, rgba(25, 20, 45, 0.5) 0%, rgba(10, 8, 20, 0.7) 100%);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}
.premium-tier-card:hover {
    transform: translateY(-4px);
}
.premium-tier-card.featured {
    border-color: rgba(139, 92, 246, 0.6);
    background: linear-gradient(160deg, rgba(35, 25, 65, 0.7) 0%, rgba(15, 12, 30, 0.85) 100%);
    box-shadow: 0 16px 40px rgba(139, 92, 246, 0.25);
}
.premium-tier-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 3px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.premium-tier-top h4 {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    margin: 0 0 8px;
    color: #fff;
}
.premium-tier-price {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 12px 0 6px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.premium-tier-price small {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}
.premium-tier-desc {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 18px;
}
.premium-tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 11px;
}
.premium-tier-features li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: #dbdee1;
}
.premium-tier-features li svg {
    color: #10B981;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.premium-tier-card .tier-btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    border-radius: 12px;
}

.nav-premium-link {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(236, 72, 153, 0.22)) !important;
    border: 1px solid rgba(139, 92, 246, 0.45) !important;
    color: #e2ccff !important;
    font-weight: 800 !important;
    border-radius: 999px !important;
    padding: 6px 14px !important;
    transition: all 0.2s ease !important;
}
.nav-premium-link:hover {
    border-color: rgba(139, 92, 246, 0.8) !important;
    box-shadow: 0 0 16px rgba(139, 92, 246, 0.35) !important;
}

:root[data-theme="light"] .premium-hero-heading h2 {
    color: #150d2a;
}
:root[data-theme="light"] .premium-hero-heading h2 em {
    background: linear-gradient(135deg, #150d2a 20%, #7c3aed 70%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
:root[data-theme="light"] .premium-hero-heading p {
    color: #5d507b;
}
:root[data-theme="light"] .premium-tab-btn {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.22);
    color: #5d507b;
}
:root[data-theme="light"] .premium-tab-btn:hover {
    color: #150d2a;
    background: rgba(139, 92, 246, 0.14);
}
:root[data-theme="light"] .premium-tab-btn.active {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
    border-color: #7c3aed;
}
:root[data-theme="light"] .premium-feature-card {
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}
:root[data-theme="light"] .premium-feature-card h3 {
    color: #150d2a;
}
:root[data-theme="light"] .premium-feature-card p {
    color: #5d507b;
}
:root[data-theme="light"] .premium-perk-item span {
    color: #2e1d4a;
}
:root[data-theme="light"] .premium-tier-card {
    background: #ffffff;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.07);
}
:root[data-theme="light"] .premium-tier-card.featured {
    border-color: #8b5cf6;
    box-shadow: 0 10px 32px rgba(139, 92, 246, 0.16);
}
:root[data-theme="light"] .premium-tier-card h4 {
    color: #150d2a;
}
:root[data-theme="light"] .premium-tier-desc {
    color: #5d507b;
}
:root[data-theme="light"] .premium-tier-price {
    color: #150d2a;
}
:root[data-theme="light"] .premium-tier-features li {
    color: #3b2b56;
}

.public-premium-section, .premium-page {
    background: transparent !important;
}

.premium-card, .pricing-card, .tier-card {
    background: rgba(14, 18, 30, 0.75) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 20px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: transform 0.25s cubic-bezier(.16, 1, .3, 1), box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.premium-card:hover, .pricing-card:hover, .tier-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(168, 85, 247, 0.5) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.25) !important;
}

.premium-tab-btn {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    color: #94a3b8 !important;
    transition: all 0.2s ease !important;
}

.premium-tab-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

.premium-tab-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22) 0%, rgba(99, 102, 241, 0.15) 100%) !important;
    border-color: rgba(168, 85, 247, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25) !important;
}

#public-premium,
.public-premium-section,
.premium-hero-heading,
.premium-tabs-wrap,
.premium-showcase-grid,
.premium-pricing-grid,
.premium-pricing-wrap {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

.premium-feature-card,
.premium-tier-card,
.pricing-card,
.tier-card {
    background: rgba(42, 47, 53, 0.82) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35) !important;
}

.premium-tier-card.featured {
    border-color: rgba(125, 112, 212, 0.6) !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(125, 112, 212, 0.2) !important;
}

.tab-svg-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}
.tab-svg-ico svg {
    display: block;
}

.dev-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(217, 173, 94, 0.16);
    border: 1px solid rgba(217, 173, 94, 0.4);
    color: #f1cf87;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-left: 6px;
    vertical-align: middle;
}
.under-dev-tag {
    background: rgba(217, 173, 94, 0.14) !important;
    border-color: rgba(217, 173, 94, 0.35) !important;
    color: #f1cf87 !important;
}
.dev-badge-card {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f1cf87;
}
