:root {
    --accent-amber: #c9933a;
    --amber-glow: rgba(201, 147, 58, 0.35);
    --amber-dim: rgba(201, 147, 58, 0.12);
    --bg-dark: #080b10;
    --bg-card: rgba(12, 16, 24, 0.7);
    --primary: #e63946;
    --primary-glow: rgba(230, 57, 70, 0.4);
    --primary-dim: rgba(230, 57, 70, 0.15);
    --secondary: #1a1e2a;
    --accent-green: #2ecc71;
    --accent-blue: #3498db;
    --text-main: #f0f4f8;
    --text-muted: #8892a4;
    --border-light: rgba(255, 255, 255, 0.07);
    --glass-bg: rgba(12, 16, 26, 0.55);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --danger: #ff4a4a;
    --turkey-red: #e63946;
    --gaza-green: #27ae60;
    --world-blue: #2980b9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.06), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(41, 128, 185, 0.05), transparent 30%);
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 18px;
}

/* ── Breaking News Ticker ── */
.ticker-wrap {
    background: var(--primary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    height: 36px;
}

.ticker-label {
    background: rgba(0,0,0,0.35);
    padding: 0 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    height: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.ticker-content {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
    position: relative;
}

.ticker-text {
    display: inline-block;
    animation: ticker-scroll 28s linear infinite;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding-left: 20px;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* ── Header ── */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.glass-header::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.top-banner {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 20px;
    object-fit: cover;
    max-height: 160px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
}

.svg-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.subtitle {
    font-size: 10px;
    color: var(--primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}

.logo h1 {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.35);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

.live-dot {
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.2; }
}

/* ── Status Card ── */
.status-card {
    padding: 18px 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status-header h2 {
    font-size: 16px;
    font-weight: 700;
}

.status-badge {
    background: rgba(40, 167, 69, 0.18);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.pulse {
    animation: pulse-anim 2s infinite;
}

@keyframes pulse-anim {
    0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    70%  { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.status-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.stats {
    display: flex;
    gap: 12px;
}

.stat-item {
    flex: 1;
    background: rgba(0,0,0,0.3);
    padding: 10px 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    border: 1px solid var(--border-light);
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
}

.stat-value.highlight {
    color: var(--primary);
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
}

.upgrade-btn {
    width: 100%;
    margin-top: 14px;
    padding: 11px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(230, 57, 70, 0.06));
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 11px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.upgrade-btn:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.28), rgba(230, 57, 70, 0.12));
}

/* ── Derûn Hero (ana kart — en üstte) ── */
.derun-hero {
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-color: rgba(201, 147, 58, 0.22);
}

.derun-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-amber), transparent);
}

.derun-hero::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(201, 147, 58, 0.08), transparent 70%);
    pointer-events: none;
}

.derun-hero-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.derun-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.derun-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber), #7a5218);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    border: 2px solid rgba(201, 147, 58, 0.5);
    box-shadow: 0 0 16px var(--amber-glow);
}

.derun-verified {
    position: absolute;
    bottom: -2px; right: -2px;
    width: 17px; height: 17px;
    background: var(--accent-amber);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
    font-weight: 800;
    border: 2px solid var(--bg-dark);
}

.derun-hero-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.derun-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.derun-handle {
    font-size: 12px;
    color: var(--accent-amber);
    text-decoration: none;
    font-weight: 600;
}

.derun-handle:active { opacity: 0.7; }

.derun-hero-subtitle {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 1px;
}

.derun-badge {
    background: var(--amber-dim);
    border: 1px solid rgba(201, 147, 58, 0.4);
    color: var(--accent-amber);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 4px 8px;
    border-radius: 8px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.derun-shield-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.shield-item {
    flex: 1;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(201, 147, 58, 0.15);
    border-radius: 10px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-align: center;
}

.shield-item span:first-child { font-size: 16px; }

.derun-hero-stats {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 14px;
}

.dh-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.dh-stat-val {
    font-size: 17px;
    font-weight: 800;
    color: var(--accent-amber);
}

.dh-stat-label {
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
}

.dh-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border-light);
    flex-shrink: 0;
}

.derun-protect-notice {
    background: rgba(201, 147, 58, 0.07);
    border: 1px solid rgba(201, 147, 58, 0.2);
    border-radius: 10px;
    padding: 10px 13px;
    margin-bottom: 14px;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

.derun-protect-notice strong {
    color: var(--accent-amber);
}

.derun-cta {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, rgba(201, 147, 58, 0.18), rgba(201, 147, 58, 0.06));
    border: 1px solid rgba(201, 147, 58, 0.35);
    border-radius: 11px;
    color: var(--accent-amber);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
}

.derun-cta:active {
    transform: scale(0.97);
    background: linear-gradient(135deg, rgba(201, 147, 58, 0.28), rgba(201, 147, 58, 0.12));
}

/* ── Derûn Card ── */
.derun-card {
    border-color: rgba(201, 147, 58, 0.15);
    cursor: pointer;
}

.derun-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 3px; height: 100%;
    background: linear-gradient(180deg, var(--accent-amber), transparent);
    border-radius: 0 0 0 14px;
}

.derun-card-author {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.derun-mini-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-amber), #7a5218);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.derun-mini-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
}

.derun-mini-handle {
    font-size: 11px;
    color: var(--accent-amber);
    flex: 1;
}

.derun-card-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--accent-amber);
    background: var(--amber-dim);
    border: 1px solid rgba(201, 147, 58, 0.25);
    padding: 2px 7px;
    border-radius: 5px;
    text-transform: uppercase;
}

/* ── Tweet tag variants ── */
.tag-siyasi  { background: rgba(52, 152, 219, 0.15); color: #5dade2; border-color: rgba(52, 152, 219, 0.3); }
.tag-sifreli { background: rgba(155, 89, 182, 0.15); color: #bb8fce; border-color: rgba(155, 89, 182, 0.3); }
.tag-gundem  { background: rgba(39, 174, 96, 0.15);  color: #2ecc71; border-color: rgba(39, 174, 96, 0.3); }
.tag-uyari   { background: rgba(230, 57, 70, 0.15);  color: var(--primary); border-color: rgba(230, 57, 70, 0.3); }
.tag-manevi  { background: rgba(201, 147, 58, 0.15); color: var(--accent-amber); border-color: rgba(201, 147, 58, 0.3); }

/* ── Tweet text ── */
.tweet-text {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.65;
    margin-bottom: 10px;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tweet-text-long {
    -webkit-line-clamp: 7;
}

/* ── Tweet meta row ── */
.tweet-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

/* ── Pinned card ── */
.derun-card-pinned {
    border-color: rgba(201, 147, 58, 0.3);
    box-shadow: 0 0 18px rgba(201, 147, 58, 0.08);
}

.derun-pin-label {
    font-size: 10px;
    color: var(--accent-amber);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.85;
}

/* ── Tweet Modal ── */
.tweet-modal-inner {
    padding: 20px;
    max-height: 88vh;
    overflow-y: auto;
}

.tweet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
}

.tweet-modal-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tweet-modal-author-row .derun-mini-avatar {
    width: 34px; height: 34px;
    font-size: 15px;
}

.tweet-modal-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.tweet-modal-date {
    font-size: 11px;
    color: var(--text-muted);
}

.tweet-modal-text {
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.75;
    white-space: pre-line;
    margin-bottom: 18px;
}

.tweet-modal-x-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, rgba(201, 147, 58, 0.18), rgba(201, 147, 58, 0.06));
    border: 1px solid rgba(201, 147, 58, 0.35);
    border-radius: 11px;
    color: var(--accent-amber);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.tweet-modal-x-btn:active { transform: scale(0.97); }

/* ── Tweet view button ── */
.tweet-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-amber);
    text-decoration: none;
    background: var(--amber-dim);
    border: 1px solid rgba(201, 147, 58, 0.3);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
}

.tweet-view-btn:active {
    opacity: 0.7;
    transform: scale(0.96);
}

/* ── Feed title row ── */
.feed-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.feed-title-row .section-title {
    margin-bottom: 0;
}

.archive-chip {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-amber);
    background: var(--amber-dim);
    border: 1px solid rgba(201, 147, 58, 0.25);
    padding: 3px 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* ── Category Grid ── */
.section-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.cat-btn {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.cat-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.cat-btn:active {
    transform: scale(0.96);
}

.cat-btn:active::after {
    opacity: 1;
}

.cat-btn.turkey    { border-top: 2px solid var(--turkey-red); }
.cat-btn.gaza      { border-top: 2px solid var(--gaza-green); }
.cat-btn.world     { border-top: 2px solid var(--world-blue); }
.cat-btn.breaking  { border-top: 2px solid var(--primary); }
.cat-btn.analysis  { border-top: 2px solid #f39c12; }
.cat-btn.video     { border-top: 2px solid #9b59b6; }
.cat-btn.report    { border-top: 2px solid #1abc9c; }
.cat-btn.search    { border-top: 2px solid #7f8c8d; }
.cat-btn.derun-cat { border-top: 2px solid var(--accent-amber); }

.cat-btn:active .icon-wrapper {
    box-shadow: 0 0 14px var(--primary-glow);
}

.icon-wrapper {
    width: 46px;
    height: 46px;
    background: rgba(0,0,0,0.35);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border: 1px solid var(--border-light);
    transition: all 0.3s;
}

.label {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* ── News Feed ── */
.news-feed {
    margin-bottom: 24px;
}

.news-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
}

.news-card:active {
    transform: scale(0.98);
}

.news-card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.tag-breaking { background: rgba(230,57,70,0.2); color: var(--primary); border: 1px solid rgba(230,57,70,0.3); }
.tag-turkey   { background: rgba(230,57,70,0.15); color: #ff6b7a; border: 1px solid rgba(230,57,70,0.25); }
.tag-gaza     { background: rgba(39,174,96,0.15); color: #2ecc71; border: 1px solid rgba(39,174,96,0.25); }
.tag-world    { background: rgba(41,128,185,0.15); color: #5dade2; border: 1px solid rgba(41,128,185,0.25); }
.tag-analysis { background: rgba(243,156,18,0.15); color: #f39c12; border: 1px solid rgba(243,156,18,0.25); }

.news-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
    color: var(--text-main);
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

.news-card-meta .dot {
    width: 3px; height: 3px;
    background: var(--text-muted);
    border-radius: 50%;
}

.news-card-premium {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(230,57,70,0.2);
    border: 1px solid rgba(230,57,70,0.35);
    border-radius: 6px;
    padding: 2px 7px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
}

.news-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt.blurred {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

/* ── Modal Overlay ── */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.modal {
    width: 100%;
    max-width: 420px;
    padding: 24px;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ── Panel shared ── */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.panel-header h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
}

.close-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 30px; height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-btn:active {
    background: rgba(255,255,255,0.2);
}

/* ── Pricing ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.pricing-card:active { transform: scale(0.96); }

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
}

.featured-badge {
    position: absolute;
    top: 8px; right: -24px;
    background: linear-gradient(135deg, var(--primary), #8b1a22);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 30px;
    transform: rotate(45deg);
    letter-spacing: 0.5px;
}

.plan-icon {
    width: 38px; height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-icon .svg-icon {
    width: 26px; height: 26px;
}

.plan-name  { font-size: 15px; font-weight: 700; }
.plan-price { font-size: 19px; font-weight: 800; color: var(--primary); }
.plan-desc  { font-size: 11px; color: var(--text-muted); }

/* ── Wallet / Payment ── */
.selected-plan-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    padding: 13px 16px;
    border-radius: 11px;
    border: 1px solid var(--border-light);
    font-size: 15px;
    font-weight: 600;
}

.crypto-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 9px;
}

.crypto-options {
    display: flex;
    gap: 10px;
}

.crypto-btn {
    flex: 1;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.crypto-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-dim);
}

.wallet-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.wallet-address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.4);
    padding: 12px 14px;
    border-radius: 11px;
    border: 1px solid var(--border-light);
}

.wallet-address-box code {
    flex: 1;
    font-size: 12px;
    word-break: break-all;
    color: var(--primary);
    font-family: monospace;
}

.copy-btn {
    background: var(--primary-dim);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.copy-btn:active { transform: scale(0.95); }

.payment-notice {
    background: rgba(230, 57, 70, 0.07);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 11px;
    padding: 13px;
}

.payment-notice p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.action-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary), #8b1a22);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.3);
    transition: all 0.3s;
}

.action-btn:active { transform: scale(0.98); }

.payment-success {
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 50px; height: 50px;
    margin: 0 auto 12px;
    background: rgba(40, 167, 69, 0.2);
    border: 2px solid #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #4ade80;
}

.payment-success p { color: #4ade80; font-size: 14px; font-weight: 600; }

/* ── Footer ── */
.glass-footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 11px;
}

/* ── Utilities ── */
.hidden { display: none !important; }

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
