/*
 * Discord Theme — discord.org.tr
 * Discord'un birebir karanlık teması
 * ─────────────────────────────────
 */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ══════════════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES (Discord Color Tokens)
   ══════════════════════════════════════════════════════════════ */
:root {
    /* Backgrounds */
    --bg-primary: #313338;
    --bg-secondary: #2b2d31;
    --bg-tertiary: #1e1f22;
    --bg-accent: #232428;
    --bg-floating: #111214;
    --bg-mobile-secondary: #27282c;
    --bg-modifier-hover: rgba(78, 80, 88, 0.3);
    --bg-modifier-active: rgba(78, 80, 88, 0.48);
    --bg-modifier-selected: rgba(78, 80, 88, 0.6);

    /* Text */
    --text-normal: #f2f3f5;
    --text-muted: #949ba4;
    --text-faint: #6d6f78;
    --text-link: #00a8fc;
    --text-positive: #57f287;
    --text-warning: #fee75c;
    --text-danger: #ed4245;

    /* Brand / Accent */
    --brand-500: #5865f2;
    --brand-560: #4752c4;
    --brand-600: #3c45a5;
    --brand-hover: #4752c4;
    --brand-active: #3c45a5;
    --green-500: #57f287;
    --green-600: #3ba55d;
    --red-500: #ed4245;
    --red-600: #d83c3e;
    --yellow-500: #fee75c;
    --yellow-600: #f0b132;
    --orange-500: #f0b232;

    /* Borders & Dividers */
    --border-color: #3f4147;
    --border-subtle: #2e3035;
    --channel-icon: #80848e;

    /* Scrollbar */
    --scrollbar-thin-track: #2b2d31;
    --scrollbar-thin-thumb: #1a1b1e;
    --scrollbar-auto-track: #2b2d31;
    --scrollbar-auto-thumb: #1a1b1e;

    /* Sizes */
    --sidebar-width: 72px;
    --channel-list-width: 240px;
    --header-height: 48px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;

    /* Fonts */
    --font-primary: 'Inter', 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-display: 'Inter', 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-code: 'Consolas', 'Andale Mono WT', 'Andale Mono', 'Lucida Console', monospace;

    /* Shadows */
    --elevation-low: 0 1px 0 rgba(4, 4, 5, .2), 0 1.5px 0 rgba(4, 4, 5, .05), 0 2px 0 rgba(4, 4, 5, .05);
    --elevation-medium: 0 4px 4px rgba(0, 0, 0, .16);
    --elevation-high: 0 8px 16px rgba(0, 0, 0, .24);

    /* Animation */
    --transition-fast: 0.1s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
}

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-normal);
    line-height: 1.375;
    min-height: 100vh;
    overflow: hidden;
}

a {
    color: var(--text-link);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

/* ── Scrollbar (Discord Style) ────────────────────────────── */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scrollbar-thin-track);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thin-thumb);
    border-radius: 4px;
    border: 2px solid var(--scrollbar-thin-track);
}

::-webkit-scrollbar-thumb:hover {
    background: #232428;
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT (Discord 3-Column)
   ══════════════════════════════════════════════════════════════ */
.app-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── Server List (Sol İkon Barı) ──────────────────────────── */
.server-list {
    width: var(--sidebar-width);
    background: var(--bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    gap: 8px;
    overflow-y: auto;
    flex-shrink: 0;
    scrollbar-width: none;
}

.server-list::-webkit-scrollbar {
    display: none;
}

.server-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-normal);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: border-radius var(--transition-normal), background var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.server-icon:hover,
.server-icon.active {
    border-radius: var(--border-radius-lg);
    background: var(--brand-500);
    color: #fff;
}

.server-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.server-icon-home {
    background: var(--brand-500);
    color: #fff;
    border-radius: var(--border-radius-lg);
}

.server-icon-home:hover {
    background: var(--brand-hover);
}

.server-separator {
    width: 32px;
    height: 2px;
    background: var(--border-color);
    border-radius: 1px;
}

.server-icon-add {
    background: var(--bg-primary);
    color: var(--green-500);
    font-size: 24px;
    font-weight: 300;
}

.server-icon-add:hover {
    background: var(--green-500);
    color: #fff;
    border-radius: var(--border-radius-lg);
}

/* Server Pill Indicator */
.server-icon::before {
    content: '';
    position: absolute;
    left: -16px;
    width: 4px;
    height: 0;
    border-radius: 0 4px 4px 0;
    background: var(--text-normal);
    transition: height var(--transition-normal);
}

.server-icon:hover::before {
    height: 20px;
}

.server-icon.active::before {
    height: 40px;
}

/* ── Channel List (Sidebar) ──────────────────────────────── */
.channel-sidebar {
    width: var(--channel-list-width);
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

.channel-header {
    height: var(--header-height);
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-normal);
    border-bottom: 1px solid var(--bg-tertiary);
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.channel-header:hover {
    background: var(--bg-modifier-hover);
}

.channel-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 8px;
}

.channel-category {
    padding: 18px 0 4px 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--channel-icon);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
}

.channel-category:hover {
    color: var(--text-normal);
}

.channel-category::before {
    content: '▾';
    font-size: 10px;
    display: inline-block;
    transition: transform var(--transition-fast);
}

.channel-category.collapsed::before {
    transform: rotate(-90deg);
}

.channel-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    margin: 1px 0;
    border-radius: 4px;
    color: var(--channel-icon);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
    gap: 6px;
    text-decoration: none;
}

.channel-item:hover {
    background: var(--bg-modifier-hover);
    color: var(--text-normal);
    text-decoration: none;
}

.channel-item.active {
    background: var(--bg-modifier-active);
    color: var(--text-normal);
}

.channel-item .channel-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    color: var(--channel-icon);
}

.channel-item.active .channel-icon,
.channel-item:hover .channel-icon {
    color: var(--text-normal);
}

.channel-badge {
    margin-left: auto;
    background: var(--red-500);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* User Panel (Alt Kısım) */
.user-panel {
    height: 52px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    padding: 0 8px;
    gap: 8px;
    flex-shrink: 0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    overflow: hidden;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-normal);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info-status {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-panel-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: transparent;
    border: none;
    color: var(--channel-icon);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.user-panel-btn:hover {
    background: var(--bg-modifier-hover);
    color: var(--text-normal);
}

/* ── Main Content Area ────────────────────────────────────── */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.content-header {
    height: var(--header-height);
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-normal);
    border-bottom: 1px solid var(--bg-tertiary);
    flex-shrink: 0;
    gap: 8px;
}

.content-header .header-icon {
    color: var(--channel-icon);
    font-size: 22px;
}

.content-header .header-divider {
    width: 1px;
    height: 24px;
    background: var(--border-color);
    margin: 0 8px;
}

.content-header .header-description {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* ══════════════════════════════════════════════════════════════
   DISCORD BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px 16px;
    min-height: 38px;
    min-width: 60px;
    border: none;
    border-radius: 3px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    cursor: pointer;
    transition: background var(--transition-normal), opacity var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    text-decoration: none;
}

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

.btn-primary {
    background: var(--brand-500);
    color: #fff;
}

.btn-primary:hover {
    background: var(--brand-hover);
}

.btn-primary:active {
    background: var(--brand-active);
}

.btn-success {
    background: var(--green-600);
    color: #fff;
}

.btn-success:hover {
    background: #2d7d46;
}

.btn-danger {
    background: var(--red-500);
    color: #fff;
}

.btn-danger:hover {
    background: var(--red-600);
}

.btn-secondary {
    background: #4e5058;
    color: #fff;
}

.btn-secondary:hover {
    background: #6d6f78;
}

.btn-outline {
    background: transparent;
    color: var(--text-normal);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-modifier-hover);
}

.btn-link {
    background: transparent;
    color: var(--text-link);
    padding: 2px 4px;
    min-width: auto;
    min-height: auto;
}

.btn-link:hover {
    text-decoration: underline;
}

.btn-sm {
    min-height: 32px;
    padding: 2px 12px;
    font-size: 13px;
}

.btn-lg {
    min-height: 44px;
    padding: 2px 24px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* ══════════════════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════════════════ */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-normal);
}

.form-label .required {
    color: var(--red-500);
    margin-left: 2px;
}

.form-label .label-hint {
    text-transform: none;
    font-weight: 400;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg-tertiary);
    border: none;
    border-radius: 3px;
    color: var(--text-normal);
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.375;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-faint);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
}

.form-input:hover,
.form-select:hover,
.form-textarea:hover {
    border-color: #040405;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23b5bac1' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--brand-500);
}

.form-checkbox input[type="checkbox"]:checked {
    background: var(--brand-500);
    border-color: var(--brand-500);
}

.form-error {
    font-size: 12px;
    color: var(--text-danger);
    margin-top: 4px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   CARDS (Discord Embed Style)
   ══════════════════════════════════════════════════════════════ */
.card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    border-color: var(--border-color);
}

.card-accent {
    border-left: 4px solid var(--brand-500);
}

.card-accent-green {
    border-left: 4px solid var(--green-500);
}

.card-accent-red {
    border-left: 4px solid var(--red-500);
}

.card-accent-yellow {
    border-left: 4px solid var(--yellow-500);
}

.card-header {
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-normal);
}

.card-body {
    padding: 16px;
}

.card-footer {
    padding: 12px 16px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

/* Product Card */
.product-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-subtle);
    padding: 0;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--elevation-high);
    border-color: var(--brand-500);
}

.product-card-header {
    padding: 20px 20px 12px;
    text-align: center;
}

.product-card-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.product-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-normal);
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

.product-card-price {
    text-align: center;
    padding: 16px 20px;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.product-card-price .price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-normal);
}

.product-card-price .price-period {
    font-size: 14px;
    color: var(--text-muted);
}

.product-card-features {
    padding: 16px 20px;
    list-style: none;
}

.product-card-features li {
    padding: 4px 0;
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-card-features li::before {
    content: '✓';
    color: var(--green-500);
    font-weight: 700;
    font-size: 14px;
}

.product-card-footer {
    padding: 12px 20px 20px;
    text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════════ */
.discord-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.discord-table th {
    background: var(--bg-tertiary);
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    text-align: left;
    white-space: nowrap;
}

.discord-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-normal);
    border-top: 1px solid var(--border-subtle);
}

.discord-table tbody tr {
    transition: background var(--transition-fast);
}

.discord-table tbody tr:hover {
    background: var(--bg-modifier-hover);
}

/* ══════════════════════════════════════════════════════════════
   BADGES & STATUS
   ══════════════════════════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.badge-primary {
    background: var(--brand-500);
    color: #fff;
}

.badge-success {
    background: var(--green-600);
    color: #fff;
}

.badge-danger {
    background: var(--red-500);
    color: #fff;
}

.badge-warning {
    background: var(--yellow-600);
    color: #1a1b1e;
}

.badge-info {
    background: #00a8fc;
    color: #fff;
}

.badge-secondary {
    background: #4e5058;
    color: #fff;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.status-dot-online {
    background: var(--green-500);
}

.status-dot-idle {
    background: var(--yellow-500);
}

.status-dot-dnd {
    background: var(--red-500);
}

.status-dot-offline {
    background: var(--text-faint);
}

/* ══════════════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    width: min(440px, 90vw);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--elevation-high);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-normal);
}

.modal-close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-normal);
    background: var(--bg-modifier-hover);
}

.modal-body {
    padding: 0 20px 20px;
}

.modal-footer {
    padding: 16px 20px;
    background: var(--bg-secondary);
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* ══════════════════════════════════════════════════════════════
   ALERTS / FLASH MESSAGES
   ══════════════════════════════════════════════════════════════ */
.discord-alert {
    padding: 12px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: alertSlideIn 0.3s ease;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.flash-success {
    background: rgba(87, 242, 135, 0.1);
    color: var(--green-500);
    border-left: 4px solid var(--green-500);
}

.flash-error {
    background: rgba(237, 66, 69, 0.1);
    color: var(--red-500);
    border-left: 4px solid var(--red-500);
}

.flash-warning {
    background: rgba(254, 231, 92, 0.1);
    color: var(--yellow-500);
    border-left: 4px solid var(--yellow-500);
}

.flash-info {
    background: rgba(88, 101, 242, 0.1);
    color: var(--brand-500);
    border-left: 4px solid var(--brand-500);
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 14px;
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   TOAST NOTIFICATIONS
   ══════════════════════════════════════════════════════════════ */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: var(--bg-floating);
    color: var(--text-normal);
    padding: 12px 16px;
    border-radius: var(--border-radius);
    box-shadow: var(--elevation-high);
    min-width: 280px;
    max-width: 420px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: toastIn 0.3s ease;
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

.toast-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: var(--green-500);
}

.toast-error .toast-icon {
    color: var(--red-500);
}

.toast-info .toast-icon {
    color: var(--brand-500);
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════ */
.discord-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 20px 0;
}

.pagination-btn {
    padding: 6px 14px;
    background: var(--bg-secondary);
    border: none;
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.pagination-btn:hover {
    background: var(--bg-modifier-hover);
    color: var(--text-normal);
    text-decoration: none;
}

.pagination-btn.active {
    background: var(--brand-500);
    color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   TICKET / CHAT UI (Discord Message Style)
   ══════════════════════════════════════════════════════════════ */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.message-item {
    display: flex;
    gap: 16px;
    padding: 4px 16px;
    transition: background var(--transition-fast);
}

.message-item:hover {
    background: var(--bg-modifier-hover);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.message-content {
    flex: 1;
    min-width: 0;
}

.message-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;
}

.message-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-normal);
}

.message-author.admin {
    color: var(--brand-500);
}

.message-timestamp {
    font-size: 12px;
    color: var(--text-faint);
}

.message-body {
    font-size: 15px;
    color: var(--text-normal);
    line-height: 1.5;
    word-break: break-word;
}

/* Message Input Box */
.message-input-container {
    padding: 0 16px 24px;
    flex-shrink: 0;
}

.message-input-box {
    background: var(--bg-accent);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.message-input-box textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-normal);
    font-family: var(--font-primary);
    font-size: 15px;
    resize: none;
    outline: none;
    max-height: 200px;
    line-height: 1.4;
}

.message-input-box textarea::placeholder {
    color: var(--text-faint);
}

/* ══════════════════════════════════════════════════════════════
   HERO / LANDING PAGE
   ══════════════════════════════════════════════════════════════ */
.hero-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 50%, rgba(88, 101, 242, 0.1) 100%);
    border-radius: var(--border-radius-lg);
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 40%, rgba(88, 101, 242, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(87, 242, 135, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-normal);
    margin-bottom: 16px;
    position: relative;
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(135deg, var(--brand-500), #8b5cf6, var(--brand-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.5;
    position: relative;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    position: relative;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.feature-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 24px;
    border: 1px solid var(--border-subtle);
    transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--brand-500);
    transform: translateY(-2px);
}

.feature-card-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.feature-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-normal);
    margin-bottom: 8px;
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

/* Horizontal Slider Container (for Homepage) */
.slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    margin-bottom: 24px;
    flex-wrap: nowrap;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thin-thumb) var(--bg-tertiary);
}

.slider-container>div {
    flex: 0 0 auto;
    width: clamp(280px, calc(33.333% - 11px), 320px);
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .slider-container>div {
        width: clamp(250px, calc(50% - 8px), 320px);
    }
}

@media (max-width: 600px) {
    .slider-container>div {
        width: 85vw;
    }
}

/* Custom scrollbar for slider */
.slider-container::-webkit-scrollbar {
    height: 10px;
}

.slider-container::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

.slider-container::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thin-thumb);
    border-radius: 5px;
    border: 2px solid var(--bg-tertiary);
}

.slider-container::-webkit-scrollbar-thumb:hover {
    background: var(--text-faint);
}

/* ══════════════════════════════════════════════════════════════
   DYNAMIC WIDGETS & ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
/* Real-time Pulse Animation */
.status-pulse {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: var(--green-500);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    box-shadow: 0 0 0 rgba(87, 242, 135, 0.4);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(87, 242, 135, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(87, 242, 135, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(87, 242, 135, 0);
    }
}

/* Premium Card Hover Effects */
.feature-card,
.product-card {
    position: relative;
    z-index: 1;
    background-clip: padding-box;
    border: 1px solid var(--border-subtle);
}

.feature-card::before,
.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    border-radius: calc(var(--border-radius) + 1px);
    background: linear-gradient(135deg, var(--brand-500), transparent, var(--green-500));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before,
.product-card:hover::before {
    opacity: 1;
}

/* Ping Widget */
.ping-widget {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 16px;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
}

.ping-title {
    font-size: 14px;
    color: var(--text-normal);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.ping-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.ping-item {
    background: var(--bg-tertiary);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 150px;
}

.ping-value.good {
    color: var(--green-500);
    font-weight: bold;
}

.ping-value.warning {
    color: var(--yellow-500);
    font-weight: bold;
}

/* ══════════════════════════════════════════════════════════════
   STATS / DASHBOARD WIDGETS
   ══════════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--border-subtle);
}

.stat-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-normal);
}

.stat-card-trend {
    font-size: 13px;
    margin-top: 6px;
}

.stat-card-trend.up {
    color: var(--green-500);
}

.stat-card-trend.down {
    color: var(--red-500);
}

/* ══════════════════════════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ══════════════════════════════════════════════════════════════ */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--bg-tertiary);
    padding: 20px;
}

.auth-box {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 32px;
    width: min(480px, 100%);
    box-shadow: var(--elevation-high);
}

.auth-box-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-normal);
    margin-bottom: 8px;
}

.auth-box-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--text-link);
    font-weight: 500;
}

/* ══════════════════════════════════════════════════════════════
   LOADING / SKELETON
   ══════════════════════════════════════════════════════════════ */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-modifier-hover) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ══════════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-normal);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 14px;
    max-width: 360px;
    margin: 0 auto 20px;
    line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════════════ */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--bg-tertiary);
    margin-bottom: 20px;
}

.tab-item {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.tab-item:hover {
    color: var(--text-normal);
    text-decoration: none;
}

.tab-item.active {
    color: var(--text-normal);
    border-bottom-color: var(--brand-500);
}

/* ══════════════════════════════════════════════════════════════
   TOOLTIP
   ══════════════════════════════════════════════════════════════ */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    background: var(--bg-floating);
    color: var(--text-normal);
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: 100;
    box-shadow: var(--elevation-high);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .server-list {
        display: none;
    }

    .channel-sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        z-index: 900;
        transition: left var(--transition-slow);
    }

    .channel-sidebar.open {
        left: 0;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 899;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-section {
        padding: 40px 20px;
    }

    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .content-body {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: 24px 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ══════════════════════════════════════════════════════════════ */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--text-muted);
}

.text-brand {
    color: var(--brand-500);
}

.text-green {
    color: var(--green-500);
}

.text-red {
    color: var(--red-500);
}

.text-yellow {
    color: var(--yellow-500);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 8px;
}

.gap-2 {
    gap: 16px;
}

.gap-3 {
    gap: 24px;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.w-100 {
    width: 100%;
}

.hidden {
    display: none !important;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════════ */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-normal);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ══════════════════════════════════════════════════════════════
   DROPDOWN
   ══════════════════════════════════════════════════════════════ */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 180px;
    background: var(--bg-floating);
    border-radius: var(--border-radius);
    padding: 6px;
    box-shadow: var(--elevation-high);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all var(--transition-normal);
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 3px;
    font-size: 14px;
    color: var(--text-normal);
    cursor: pointer;
    transition: background var(--transition-fast);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--brand-500);
    color: #fff;
    text-decoration: none;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* ══════════════════════════════════════════════════════════════
   SERVER MANAGEMENT SPECIFIC
   ══════════════════════════════════════════════════════════════ */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.server-info-item {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 16px;
    border: 1px solid var(--border-subtle);
}

.server-info-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.server-info-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-normal);
}

.server-controls {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--brand-500);
    transition: width var(--transition-slow);
}

.progress-bar-fill.warning {
    background: var(--yellow-500);
}

.progress-bar-fill.danger {
    background: var(--red-500);
}


/* ══════════════════════════════════════════════════════════════
   PATCH v2.0 — Responsive, Vibrant, Stable, Footer
   ══════════════════════════════════════════════════════════════ */

/* ── Daha Canlı Renk Tokenleri ─────────────────────────────── */
:root {
    --brand-glow: rgba(88, 101, 242, 0.35);
    --green-glow: rgba(87, 242, 135, 0.25);
    --product-min-width: 260px;
    --content-max-width: 1400px;
}

/* ── Content max-width kısıtı ─────────────────────────────── */
.content-body {
    padding: 20px 24px;
    max-width: var(--content-max-width);
}

/* ── Product Grid — Sabit & Responsive ────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--product-min-width), 1fr));
    gap: 20px;
    margin: 24px 0;
    align-items: stretch;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-features {
    flex: 1;
}

.product-card-footer {
    margin-top: auto;
}

/* ── Canlı Product Card ────────────────────────────────────── */
.product-card {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, rgba(40, 42, 47, 1) 100%);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-500), #8b5cf6, var(--green-500));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4), 0 0 0 1px var(--brand-500);
    border-color: var(--brand-500);
}

.product-card-price .price-amount {
    background: linear-gradient(135deg, #fff 40%, var(--brand-500));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Canlı Stat Cards ──────────────────────────────────────── */
.stat-card {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-accent));
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--brand-glow), transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}

/* ── Feature Cards Canlı ───────────────────────────────────── */
.feature-card {
    background: linear-gradient(145deg, var(--bg-secondary), var(--bg-accent));
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, var(--brand-glow) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-slow);
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(88, 101, 242, 0.15);
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 16px;
}

/* ── Hero Daha Dinamik ─────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg,
            rgba(30, 31, 34, 1) 0%,
            rgba(43, 45, 49, 1) 40%,
            rgba(88, 101, 242, 0.12) 70%,
            rgba(87, 242, 135, 0.06) 100%);
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(88, 101, 242, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(87, 242, 135, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
}

/* ── Btn hover glow ────────────────────────────────────────── */
.btn-primary {
    box-shadow: 0 0 0 0 var(--brand-glow);
    transition: background var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-fast);
}

.btn-primary:hover {
    box-shadow: 0 4px 20px var(--brand-glow);
    transform: translateY(-1px);
}

.btn-success:hover {
    box-shadow: 0 4px 16px var(--green-glow);
}

/* ── Card hover border glow ────────────────────────────────── */
.card-hover:hover {
    border-color: var(--brand-500);
    box-shadow: 0 0 0 1px var(--brand-500), 0 8px 24px rgba(0, 0, 0, .3);
    transform: translateY(-2px);
    transition: all var(--transition-normal);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER COMPONENT
   ══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-subtle);
    padding: 32px 24px 20px;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--content-max-width);
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 24px;
}

.footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-normal);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 240px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--text-normal);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-faint);
}

.footer-badges {
    display: flex;
    gap: 8px;
}

.footer-badge {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE PATCH (daha kapsayici)
   ══════════════════════════════════════════════════════════════ */

/* 1280px — genis tablet / kucuk laptop */
@media (max-width: 1280px) {
    :root {
        --product-min-width: 240px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
    :root {
        --product-min-width: 220px;
    }

    #mobileMenuBtn {
        display: flex !important;
    }

    .content-body {
        padding: 16px;
    }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
    :root {
        --product-min-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* 480px — telefon */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .content-body {
        padding: 12px 10px;
    }

    .hero-section {
        padding: 32px 16px;
    }

    .product-card-price .price-amount {
        font-size: 26px;
    }

    .discord-table {
        font-size: 13px;
    }

    .discord-table th,
    .discord-table td {
        padding: 8px 10px;
    }

    .modal {
        width: 95vw;
    }
}

/* 360px — cok kucuk telefon */
@media (max-width: 360px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 2px 16px;
        font-size: 14px;
    }
}

/* body overflow fix — scroll icin */
body {
    overflow: hidden;
}

.content-body {
    overflow-y: auto;
}

.main-content {
    overflow: hidden;
}

/* ══════════════════════════════════════════════════════════════
   HOTFIX v2.1 — Overflow & Glow artifact fix
   ══════════════════════════════════════════════════════════════ */

/* ── Layout: footer taşma düzeltmesi ──────────────────────── */
.app-wrapper {
    overflow: hidden;
}

.main-content {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.content-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    /* kritik: flex child scroll için */
}

.site-footer {
    flex-shrink: 0;
    overflow: hidden;
}

/* ── Stat card glow: blob artefakt düzeltme ─────────────────
   Önceki ::after radial-gradient blob'u kaldır,
   yerine çok daha ince sol border accent kullan          */
.stat-card {
    overflow: hidden;
    position: relative;
}

.stat-card::after {
    content: none !important;
    /* blob'u tamamen kapat */
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand-500), #8b5cf6);
    border-radius: 3px 0 0 3px;
    opacity: 0.7;
}

/* ── Feature card glow: çok belirgin değil ─────────────────── */
.feature-card::after {
    opacity: 0 !important;
    /* hover'ı kapat, temiz tutulsun */
}

.feature-card:hover {
    border-color: var(--brand-500);
}

/* ── Product card ::before renk bandını düzelt ─────────────── */
.product-card {
    overflow: hidden;
}

/* ── Footer responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 20px 16px 12px;
    }
}

/* ══════════════════════════════════════════════════════════════
   HOTFIX v2.2 — Flex Layout on Content Body
   ══════════════════════════════════════════════════════════════ */
.content-body {
    display: flex !important;
    flex-direction: column !important;
}