:root {
    --bg-color: #0f1117;
    --card-bg: #181b23;
    --primary: #5865f2;
    --primary-hover: #4752c4;
    --text-main: #ffffff;
    --text-sub: #949ba4;
    --accent-silver: #d1d5db;
    --border-color: #2b2d31;
}

body.light-theme {
    --bg-color: #f2f3f5;
    --card-bg: #ffffff;
    --text-main: #2e3338;
    --text-sub: #5c6470;
    --border-color: #e3e5e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

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

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in {
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scale-up {
    animation: scaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.floating {
    animation: floatAnim 4s ease-in-out infinite;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background-color: rgba(15, 17, 23, 0.85);
    backdrop-filter: blur(16px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.4s ease;
}

body.light-theme header {
    background-color: rgba(255, 255, 255, 0.85);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-area img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease;
}

.logo-area:hover img {
    transform: rotate(10deg) scale(1.05);
}

.logo-area span {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

nav a {
    color: var(--text-sub);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

nav a:hover, nav a.active {
    color: var(--text-main);
}

nav a.active {
    font-weight: 700;
}

.nav-btn {
    background-color: var(--primary);
    color: white !important;
    padding: 9px 20px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-trigger:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.profile-trigger img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-trigger span {
    font-size: 0.9rem;
    font-weight: 600;
}

.profile-trigger i {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.dropdown-content {
    position: absolute;
    right: 0;
    top: 55px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.45);
    width: 190px;
    overflow: hidden;
    z-index: 100;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.dropdown-content a, .dropdown-content button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    text-decoration: none;
    color: var(--text-main);
    background: none;
    border: none;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.2s ease, padding-left 0.2s ease;
}

.dropdown-content a:hover, .dropdown-content button:hover {
    background-color: rgba(88, 101, 242, 0.15);
    padding-left: 22px;
}

.dropdown-content button {
    color: #ed4245;
    border-top: 1px solid var(--border-color);
}

.hidden {
    display: none !important;
}

.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.15) 0%, var(--bg-color) 75%);
}

.hero-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 3px solid var(--border-color);
    box-shadow: 0 0 40px rgba(88, 101, 242, 0.3);
    object-fit: cover;
}

.hero h1 { font-size: 3.2rem; margin-bottom: 15px; font-weight: 800; }
.hero p { font-size: 1.15rem; color: var(--text-sub); max-width: 600px; margin-bottom: 35px; }

.btn-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    min-width: 200px;
}

.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(88, 101, 242, 0.45); }
.btn-secondary { background-color: var(--card-bg); color: var(--text-main); border: 1px solid var(--border-color); }
.btn-secondary:hover { transform: translateY(-3px); border-color: var(--primary); box-shadow: 0 8px 25px rgba(0,0,0,0.2); }

.stats-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 5% 80px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.stat-box {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.stat-box i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.stat-box h3 { font-size: 1rem; color: var(--text-sub); margin-bottom: 8px; }
.stat-box p { font-size: 1.8rem; font-weight: 800; }

.page-section {
    padding: 140px 6% 80px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; font-weight: 700; }

.dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);
}

.profile-card-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
    object-fit: cover;
}

.profile-card-box h3 { font-size: 1.4rem; margin-bottom: 5px; }
.sub-text { color: var(--text-sub); font-size: 0.9rem; margin-bottom: 20px; }

.badge-tag {
    display: inline-block;
    background-color: rgba(88, 101, 242, 0.15);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.setting-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 24px 30px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.setting-item:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

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

.lang-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.custom-select-wrapper {
    position: relative;
    flex: 1;
    max-width: 250px;
}

.setting-select-modern {
    width: 100%;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.setting-select-modern:hover, .setting-select-modern:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.2);
}

.select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-sub);
    pointer-events: none;
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.custom-select-wrapper:hover .select-arrow {
    color: var(--primary);
}

.lang-action-btns {
    display: flex;
    gap: 12px;
}

.btn-modern-cancel {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-sub);
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-modern-cancel:hover {
    background-color: rgba(237, 66, 69, 0.1);
    border-color: #ed4245;
    color: #ed4245;
    transform: translateY(-2px);
}

.btn-modern-apply {
    background-color: var(--primary);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-modern-apply:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.45);
}

.setting-info { display: flex; align-items: center; gap: 15px; }
.setting-info i { font-size: 1.5rem; color: var(--primary); }
.setting-info h4 { font-size: 1rem; }
.setting-info p { font-size: 0.85rem; color: var(--text-sub); }

.theme-toggle-btn {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.card i { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--text-sub); font-size: 0.9rem; }

.command-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.command-list li {
    font-size: 0.88rem;
    color: var(--text-sub);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.command-list li:last-child {
    border-bottom: none;
}

.command-list code {
    background-color: rgba(88, 101, 242, 0.15);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 600;
}

.contact-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
    color: var(--text-sub);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .lang-controls-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    .custom-select-wrapper {
        max-width: 100%;
    }
    .lang-action-btns {
        justify-content: flex-end;
    }
}
/* Sunucularım sayfası */
.guild-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary);
}
.guild-state {
    text-align: center;
    width: 100%;
    padding: 20px;
}
.guild-state .btn { margin-top: 18px; }

/* Xyr - Bot kontrol paneli */
.dash-open-discord { display: block; margin-top: 14px; color: var(--text-sub); text-decoration: none; font-size: .9rem; }
.dash-open-discord:hover { color: var(--text-main); }
.dash-page { max-width: 1250px; margin: 0 auto; min-height: 78vh; }
.dash-back { display: inline-flex; gap: 9px; align-items: center; color: var(--text-sub); text-decoration: none; margin-bottom: 26px; font-size: .95rem; }
.dash-back:hover { color: var(--text-main); }
.dash-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.dash-guild-identity { display: flex; align-items: center; gap: 22px; min-width: 0; }
.dash-guild-identity img { width: 78px; height: 78px; border-radius: 24px; border: 2px solid var(--primary); object-fit: cover; }
.dash-guild-identity h1 { font-size: clamp(1.4rem, 3vw, 2.1rem); overflow-wrap: anywhere; line-height: 1.2; margin: 7px 0; }
.dash-eyebrow { color: var(--primary); font-weight: 750; font-size: .75rem; letter-spacing: .07em; }
.dash-external { text-decoration: none; background: var(--card-bg); color: var(--text-main); border: 1px solid var(--border-color); padding: 12px 17px; border-radius: 11px; white-space: nowrap; }
.dash-external:hover { border-color: var(--primary); }
.dash-feedback { padding: 14px 17px; border: 1px solid var(--border-color); color: var(--text-sub); background: var(--card-bg); border-radius: 12px; margin-bottom: 25px; }
.dash-feedback.dash-success { color: #65d6a1; border-color: #326b56; }
.dash-feedback.dash-warning { color: #ffd18c; border-color: #79653d; }
.dash-feedback.dash-error { color: #ff8a8a; border-color: #904848; }
.dash-layout { display: grid; grid-template-columns: 242px minmax(0,1fr); gap: 26px; align-items: start; }
.dash-sidebar, .dash-feature-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 17px; }
.dash-sidebar { padding: 20px 12px; }
.dash-side-title { color: var(--text-sub); font-size: .72rem; font-weight: 800; letter-spacing: .1em; margin: 5px 13px 14px; }
.dash-side-selected, .dash-side-muted { display: flex; align-items: center; gap: 10px; padding: 13px 12px; border-radius: 10px; font-size: .87rem; font-weight: 650; }
.dash-side-selected { background: rgba(88,101,242,.15); color: var(--text-main); }
.dash-side-selected i { color: var(--primary); }
.dash-side-selected span, .dash-side-muted span { font-weight: 500; font-size: .7rem; margin-left: auto; }
.dash-side-selected span { color: #a5acff; }
.dash-side-muted { color: var(--text-sub); opacity: .67; }
.dash-side-note { margin: 24px 10px 4px; padding: 15px 10px 0; border-top: 1px solid var(--border-color); color: var(--text-sub); font-size: .78rem; }
.dash-side-note i { color: var(--primary); }
.dash-main { min-width: 0; }
.dash-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.dash-section-head h2 { font-size: 1.4rem; }
.dash-section-head h2 i { color: var(--primary); margin-right: 7px; }
.dash-section-head p { color: var(--text-sub); font-size: .88rem; margin-top: 7px; }
.dash-access { font-size: .73rem; white-space: nowrap; font-weight: 700; color: #65d6a1; border: 1px solid #326b56; padding: 6px 9px; border-radius: 22px; }
.dash-access.dash-readonly { color: #ffd18c; border-color: #79653d; }
.dash-feature-card { padding: 25px 28px; margin-bottom: 19px; }
.dash-label { display: block; font-weight: 750; font-size: 1rem; margin-bottom: 14px; }
.dash-label i, .dash-feature-heading i { color: var(--primary); margin-right: 6px; }
.dash-select { width: 100%; padding: 13px 15px; color: var(--text-main); background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 10px; font-size: .94rem; outline: none; }
.dash-select:focus { border-color: var(--primary); }
.dash-channel-status { font-size: .84rem; color: var(--text-sub); margin-top: 13px; }
.dash-feature-heading h3 { font-size: 1.07rem; }
.dash-feature-heading p { color: var(--text-sub); margin-top: 5px; font-size: .86rem; }
.dash-action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 23px; }
.dash-small-label { color: var(--text-sub); font-size: .85rem; }
.dash-select-compact { max-width: 240px; }
.dash-action-btn, .dash-danger, .dash-secondary { font-size: .89rem; border-radius: 10px; padding: 12px 18px; border: 1px solid transparent; cursor: pointer; color: white; font-weight: 700; transition: opacity .15s; }
.dash-action-btn { background: var(--primary); }
.dash-danger { background: #ad3b4a; }
.dash-secondary { background: var(--bg-color); border-color: var(--border-color); color: var(--text-main); }
.dash-action-btn:hover, .dash-danger:hover, .dash-secondary:hover { opacity: .83; }
.dash-action-btn:disabled, .dash-danger:disabled, .dash-secondary:disabled, .dash-select:disabled { opacity: .42; cursor: not-allowed; }
.dash-lock-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.dash-footnote { margin-top: 17px; color: var(--text-sub); font-size: .79rem; line-height: 1.5; }
.dash-footnote code { color: var(--text-main); }
@media(max-width: 850px) { .dash-layout { grid-template-columns: 1fr; } .dash-sidebar { display: none; } .dash-heading { align-items: flex-start; flex-direction: column; } .dash-section-head { align-items: flex-start; flex-direction: column; } }
@media(max-width: 480px) { .dash-feature-card { padding: 18px; } .dash-guild-identity img { width: 60px; height: 60px; border-radius: 16px; } .dash-action-row { align-items: stretch; flex-direction: column; } .dash-select-compact { max-width: unset; } }
/* Xyr - Bot v2 command dashboard - retains original dark theme */
.xy-panel{margin:28px auto 10px;max-width:1300px;padding:0 18px}
.xy-panel-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:12px}
.xy-panel-top h2{font-size:24px;margin:0;color:#f9f9ff}
.xy-language{border:1px solid #41465c;border-radius:10px;background:#1c1e29;color:#fff;padding:10px}
.xy-categories{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}
.xy-category{background:#1c202a;color:#bcc3d6;border:1px solid #343849;padding:10px 14px;border-radius:11px;cursor:pointer;font-size:13px}
.xy-category.selected,.xy-category:hover{background:#5865f2;color:#fff;border-color:#5865f2}
.xy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:15px}
.xy-command-card{background:#1c1e25;border:1px solid #323544;border-radius:14px;padding:18px;min-width:0}
.xy-command-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.xy-command-title strong{color:#fff;font-size:15px}
.xy-command-title code{color:#aeb5ff;font-size:11px;overflow-wrap:anywhere}
.xy-form-field{display:grid;gap:6px;color:#bdc1d0;font-size:12px;margin-bottom:10px}
.xy-form-field input,.xy-form-field select{width:100%;min-height:38px;padding:8px;color:#fff;border-radius:8px;background:#101217;border:1px solid #42465a}
.xy-command-card .dash-action-btn{width:100%;margin:7px 0 0;cursor:pointer}
.xy-action-result{color:#87e2b1;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px;font-size:12px;line-height:1.6}
.xy-action-result.error{color:#ff8989}
.xy-help{font-size:13px;color:#9ca3b3;margin:9px 0 14px}

/* Xyr - Bot v3: Quick-access command center */
.dash-page.xy-dashboard-v3{padding-top:108px;padding-bottom:64px;min-height:0}
.xy-dashboard-v3 .dash-back{margin-bottom:17px}
.xy-dashboard-v3 .dash-heading{margin-bottom:22px}
.xy-panel-intro{color:var(--text-sub);font-size:.94rem;line-height:1.7;margin-bottom:12px}
.xy-dashboard-v3 .xy-panel{margin:12px 0 22px;padding:0;max-width:none}
.xy-panel-kicker{color:#a4adff;font-size:11px;font-weight:800;letter-spacing:.095em;margin-bottom:8px}
.xy-dashboard-v3 .dash-feedback{margin-bottom:13px}
.xy-legacy-details{margin-top:27px;border:1px solid var(--border-color);background:var(--card-bg);border-radius:16px;overflow:hidden}
.xy-legacy-details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:22px 24px;font-weight:750;list-style:none}
.xy-legacy-details>summary::-webkit-details-marker{display:none}
.xy-legacy-details>summary span{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.xy-legacy-details>summary small{color:var(--text-sub);font-weight:450;font-size:.8rem}
.xy-legacy-details>summary>i{transition:transform .18s}
.xy-legacy-details[open]>summary>i{transform:rotate(180deg)}
.xy-legacy-content{padding:0 24px 8px}
.xy-legacy-content .dash-layout{display:block}
.xy-legacy-content .dash-main{width:100%}
.xy-feature-page{max-width:1300px}
.xy-feature-hero{text-align:center;margin:4px auto 34px;max-width:850px}
.xy-feature-eyebrow{color:#a9afff;font-size:12px;letter-spacing:.1em;font-weight:800}
.xy-feature-hero h1{font-size:clamp(1.85rem,4vw,2.6rem);margin:15px auto}
.xy-feature-hero>p{color:var(--text-sub);line-height:1.7}
.xy-feature-numbers{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:28px auto 20px}
.xy-feature-numbers strong{background:var(--card-bg);border:1px solid var(--border-color);padding:17px 20px;border-radius:14px;min-width:185px;font-size:25px;color:white}
.xy-feature-numbers strong span{display:block;font-size:12px;font-weight:500;color:var(--text-sub);margin-top:7px}
.xy-feature-note{font-size:13px;color:var(--text-sub)}
.xy-feature-note code{color:#afb8ff}
.xy-directory-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:17px}
.xy-directory-tools label{display:flex;align-items:center;gap:12px;flex:1;min-width:230px;padding:0 16px;border:1px solid var(--border-color);background:var(--card-bg);border-radius:12px;color:var(--text-sub)}
.xy-directory-tools input{width:100%;height:49px;border:0;background:transparent;color:var(--text-main);font:inherit;outline:none}
.xy-directory-tools label:focus-within{border-color:var(--primary)}
#xy-search-count{font-size:13px;color:var(--text-sub)}
.xy-filter-list{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:26px}
.xy-filter{background:var(--card-bg);border:1px solid var(--border-color);border-radius:999px;color:var(--text-sub);padding:10px 14px;font-size:13px;cursor:pointer}
.xy-filter:hover,.xy-filter.active{background:var(--primary);border-color:var(--primary);color:white}
.xy-directory-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,475px),1fr));gap:19px;align-items:start}
.xy-directory-group{background:var(--card-bg);border:1px solid var(--border-color);border-radius:16px;padding:21px 20px}
.xy-directory-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:1px solid var(--border-color)}
.xy-directory-head h3{font-size:1.12rem}
.xy-directory-head>span{font-size:.78rem;white-space:nowrap;color:var(--text-sub)}
.xy-directory-list{list-style:none;margin:10px 0 0;padding:0}
.xy-directory-item{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,1.2fr);gap:11px;align-items:start;padding:10px 0;border-bottom:1px solid rgba(150,150,180,.1)}
.xy-directory-item:last-child{border-bottom:0}
.xy-directory-item code{color:#b1b9ff;font-size:12px;overflow-wrap:anywhere;line-height:1.5}
.xy-directory-item span{color:var(--text-sub);font-size:12px;line-height:1.6}
.xy-no-results{text-align:center;padding:45px;color:var(--text-sub)}
.xy-stats-note{display:block;margin-top:6px;font-size:11px;color:var(--text-sub)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:700px){.dash-page.xy-dashboard-v3{padding-top:100px}.xy-dashboard-v3 .dash-heading{gap:12px}.xy-directory-item{grid-template-columns:1fr;gap:2px}.xy-directory-group{padding:17px}}


.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

header.nav-open .mobile-menu-toggle {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 900px) {
    header {
        padding: 14px 4%;
        gap: 12px;
    }

    .logo-area {
        min-width: 0;
        flex: 1;
    }

    .logo-area span {
        font-size: 1.15rem;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    nav.site-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        width: 100%;
        padding: 0 4% 16px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    header.nav-open nav.site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    nav.site-nav ul {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        background: rgba(15, 17, 23, 0.98);
        border: 1px solid var(--border-color);
        border-radius: 18px;
        box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    }

    body.light-theme nav.site-nav ul {
        background: rgba(255,255,255,0.98);
    }

    nav.site-nav li,
    .user-dropdown {
        width: 100%;
    }

    nav.site-nav a,
    .nav-btn,
    .profile-trigger {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .nav-btn {
        padding: 12px 18px;
    }

    .profile-trigger {
        border-radius: 14px;
        padding: 10px 14px;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        margin-top: 10px;
        border-radius: 14px;
        box-shadow: none;
        animation: none;
    }

    .dropdown-content a,
    .dropdown-content button {
        justify-content: center;
        text-align: center;
    }
}


/* ============================================================
   Xyr - Bot V6 — Footer + policy pages + dashboard motion polish
   ============================================================ */
.site-footer { padding: 26px 5%; border-top: 1px solid var(--border-color); }
.site-footer-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.site-footer-copy { margin: 0; color: var(--text-sub); font-size: .87rem; }
.footer-legal-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }
.footer-legal-links a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .84rem; border-radius: 10px; color: var(--text-sub); text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease; }
.footer-legal-links a:hover { color: var(--text-main); background: rgba(88,101,242,.09); border-color: rgba(111,125,255,.28); transform: translateY(-2px); }
.footer-legal-links a i { color: #9ca7ff; }
.footer-legal-links a:focus-visible { outline: 2px solid #a6b0ff; outline-offset: 3px; }
@media(max-width:700px) { .site-footer { padding: 25px 18px; } .site-footer-inner { flex-direction: column; text-align: center; justify-content: center; gap: 8px; } .footer-legal-links { justify-content: center; } }

.legal-page { max-width: 1160px; }
.legal-intro { margin: 0 0 34px; padding: 38px 42px; border: 1px solid rgba(136,150,255,.24); background: radial-gradient(ellipse at 100% 5%, rgba(88,101,242,.16), transparent 65%), var(--card-bg); border-radius: 23px; }
.legal-kicker { font-size: .76rem; letter-spacing: .12em; color: #acb4ff; font-weight: 800; }
.legal-kicker i { margin-right: 8px; }
.legal-intro h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.028em; margin: 13px 0 10px; }
.legal-lead { color: var(--text-sub); line-height: 1.75; max-width: 710px; }
.legal-meta { display: flex; gap: 12px 25px; align-items: center; flex-wrap: wrap; margin-top: 20px; color: var(--text-sub); font-size: .83rem; }
.legal-meta a { text-decoration: none; color: #b4bbff; }
.legal-meta a:hover { text-decoration: underline; }
.legal-meta i { margin-right: 6px; }
.legal-layout { display: grid; grid-template-columns: 235px minmax(0, 1fr); align-items: start; gap: 22px; }
.legal-toc { position: sticky; top: 110px; max-height: calc(100vh - 125px); overflow-y: auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 17px; padding: 16px; }
.legal-toc strong { display: block; padding: 8px 10px 14px; font-size: .9rem; border-bottom: 1px solid var(--border-color); margin-bottom: 9px; }
.legal-toc strong i { color: #a9b1ff; margin-right: 8px; }
.legal-toc a { display: block; border-radius: 9px; color: var(--text-sub); text-decoration: none; padding: 8px 10px; font-size: .84rem; line-height: 1.4; transition: color .18s ease, background .18s ease; }
.legal-toc a:hover, .legal-toc a:focus-visible { color: var(--text-main); background: rgba(88,101,242,.13); }
.legal-content { display: grid; gap: 16px; min-width: 0; }
.legal-section { border: 1px solid var(--border-color); background: var(--card-bg); border-radius: 17px; padding: 24px 28px; scroll-margin-top: 112px; }
.legal-section h2 { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.4; margin: 0 0 14px; }
.legal-section-num { font-size: .85rem; color: #a6b0ff; font-weight: 800; font-variant-numeric: tabular-nums; }
.legal-section p, .legal-section li { font-size: .93rem; line-height: 1.85; color: var(--text-sub); }
.legal-section p + p { margin-top: 12px; }
.legal-section ul { margin: 10px 0 12px; padding-left: 21px; }
.legal-section li + li { margin-top: 5px; }
.legal-section a, .legal-end a { color: #a9b3ff; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal-section code { color: #b9c0ff; background: rgba(88,101,242,.1); padding: 2px 5px; border-radius: 5px; font-size: .88em; }
.legal-end { display: flex; gap: 14px; align-items: flex-start; padding: 21px 24px; color: var(--text-sub); border: 1px solid rgba(88,101,242,.26); background: rgba(88,101,242,.07); border-radius: 16px; font-size: .87rem; line-height: 1.7; }
.legal-end i { color: #aab2ff; margin-top: 5px; flex-shrink: 0; }
@media(max-width:900px) { .legal-layout { grid-template-columns: 1fr; } .legal-toc { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 7px; } .legal-toc strong { flex-basis: 100%; } .legal-toc a { background: rgba(88,101,242,.065); } }
@media(max-width:560px) { .legal-page { padding-left: 16px; padding-right: 16px; } .legal-intro { padding: 27px 21px; } .legal-section { padding: 22px 19px; } .legal-toc { padding: 13px; } }

/* Elegant, keyboard-accessible dashboard interactions; no changes to commands/API. */
@keyframes xy-card-appear { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes xy-glow-in { from { opacity: 0; } to { opacity: 1; } }
.xy-dashboard-v3 .xy-category { position: relative; isolation: isolate; overflow: hidden; border-radius: 12px; background: linear-gradient(145deg, #202532, #191d28); border: 1px solid #353c52; box-shadow: 0 1px 0 rgba(255,255,255,.03) inset; color: #cbd2e3; font-weight: 600; transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease; }
.xy-dashboard-v3 .xy-category.selected { color: white; background: linear-gradient(135deg, #6672ff, #4955dd); border-color: #7a85ff; box-shadow: 0 5px 18px rgba(88,101,242,.23), 0 1px 0 rgba(255,255,255,.21) inset; }
.xy-dashboard-v3 .xy-category:focus-visible, .xy-dashboard-v3 button:focus-visible, .xy-dashboard-v3 select:focus-visible, .xy-dashboard-v3 input:focus-visible, .xy-dashboard-v3 a:focus-visible { outline: 2px solid #b9c0ff; outline-offset: 3px; }
.xy-dashboard-v3 .xy-command-card { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #323b50; border-radius: 17px; background: linear-gradient(155deg, #20232f, #191c26); box-shadow: 0 6px 22px rgba(0,0,0,.12); animation: xy-card-appear .48s cubic-bezier(.2,.8,.2,1) both; transition: transform .26s cubic-bezier(.2,.8,.2,1), box-shadow .26s ease, border-color .26s ease; }
.xy-dashboard-v3 .xy-command-card::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 88% 0%, rgba(105,117,255,.12), transparent 65%); opacity: .5; transition: opacity .28s ease; }
.xy-dashboard-v3 .xy-command-card:nth-child(6n + 2) { animation-delay: 35ms; }
.xy-dashboard-v3 .xy-command-card:nth-child(6n + 3) { animation-delay: 65ms; }
.xy-dashboard-v3 .xy-command-card:nth-child(6n + 4) { animation-delay: 95ms; }
.xy-dashboard-v3 .xy-command-card:nth-child(6n + 5) { animation-delay: 125ms; }
.xy-dashboard-v3 .xy-command-card:nth-child(6n + 6) { animation-delay: 155ms; }
.xy-dashboard-v3 .xy-command-title strong { letter-spacing: .005em; }
.xy-dashboard-v3 .xy-command-title code { border: 1px solid rgba(130,143,255,.17); background: rgba(110,119,255,.09); padding: 4px 8px; border-radius: 7px; }
.xy-dashboard-v3 .xy-form-field input, .xy-dashboard-v3 .xy-form-field select, .xy-dashboard-v3 .xy-language, .xy-dashboard-v3 .dash-select { transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.xy-dashboard-v3 .xy-form-field input:hover, .xy-dashboard-v3 .xy-form-field select:hover, .xy-dashboard-v3 .dash-select:hover { border-color: #697399; }
.xy-dashboard-v3 .xy-form-field input:focus, .xy-dashboard-v3 .xy-form-field select:focus, .xy-dashboard-v3 .dash-select:focus { border-color: #8590ff; box-shadow: 0 0 0 3px rgba(88,101,242,.17); outline: 0; }
.xy-dashboard-v3 .dash-action-btn, .xy-dashboard-v3 .dash-danger, .xy-dashboard-v3 .dash-secondary { position: relative; isolation: isolate; overflow: hidden; border-radius: 11px; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease, border-color .22s ease, background .22s ease, opacity .22s ease; }
.xy-dashboard-v3 .dash-action-btn { background: linear-gradient(115deg, #6672f7, #525de2); box-shadow: 0 3px 12px rgba(88,101,242,.12); }
.xy-dashboard-v3 .dash-action-btn::after { content: ''; position: absolute; inset: 0; transform: translateX(-125%) skewX(-18deg); width: 55%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); pointer-events: none; transition: transform .65s ease; }
.xy-dashboard-v3 .dash-danger { background: linear-gradient(120deg, #bd4456, #94384b); }
.xy-dashboard-v3 .dash-secondary { background: linear-gradient(140deg, #222839, #161b28); }
.xy-dashboard-v3 .dash-action-btn:disabled, .xy-dashboard-v3 .dash-danger:disabled, .xy-dashboard-v3 .dash-secondary:disabled { transform: none !important; opacity: .5; box-shadow: none !important; }
.xy-dashboard-v3 .xy-action-result:not(:empty) { margin-top: 13px; padding: 10px 12px; background: rgba(100,220,166,.06); border: 1px solid rgba(110,220,170,.17); border-radius: 9px; animation: xy-glow-in .25s ease both; }
.xy-dashboard-v3 .xy-action-result.error:not(:empty) { background: rgba(230,85,95,.06); border-color: rgba(230,85,95,.17); }
.xy-dashboard-v3 .xy-legacy-details { transition: border-color .25s ease, box-shadow .25s ease; }
.xy-dashboard-v3 .xy-legacy-details[open] { border-color: rgba(129,140,255,.38); box-shadow: 0 9px 26px rgba(0,0,0,.12); }
.xy-dashboard-v3 .xy-legacy-details > summary { transition: background-color .22s ease; }
.xy-dashboard-v3 .xy-legacy-details > summary:hover { background: rgba(88,101,242,.07); }
.xy-dashboard-v3 .dash-feature-card { transition: border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.xy-dashboard-v3 .dash-external, .xy-dashboard-v3 .dash-back { transition: color .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease; }
.xy-dashboard-v3 .xy-language { cursor: pointer; }
@media(hover:hover) {
 .xy-dashboard-v3 .xy-category:hover { transform: translateY(-2px); background: #292f45; border-color: #6976cd; box-shadow: 0 7px 18px rgba(0,0,0,.22); }
 .xy-dashboard-v3 .xy-category.selected:hover { background: linear-gradient(135deg, #7280ff, #5361ef); }
 .xy-dashboard-v3 .xy-command-card:hover { transform: translateY(-5px); border-color: rgba(133,145,255,.56); box-shadow: 0 14px 32px rgba(0,0,0,.24), 0 0 0 1px rgba(88,101,242,.09); }
 .xy-dashboard-v3 .xy-command-card:hover::before { opacity: 1; }
 .xy-dashboard-v3 .dash-action-btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(88,101,242,.3); opacity: 1; }
 .xy-dashboard-v3 .dash-action-btn:not(:disabled):hover::after { transform: translateX(260%) skewX(-18deg); }
 .xy-dashboard-v3 .dash-danger:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(194,62,86,.26); opacity: 1; }
 .xy-dashboard-v3 .dash-secondary:not(:disabled):hover { transform: translateY(-2px); border-color: #7080bd; box-shadow: 0 7px 18px rgba(0,0,0,.25); opacity: 1; }
 .xy-dashboard-v3 .dash-feature-card:hover { transform: translateY(-3px); border-color: rgba(129,140,255,.43); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
 .xy-dashboard-v3 .dash-external:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.2); }
 .xy-dashboard-v3 .dash-back:hover { transform: translateX(-4px); }
}
.xy-dashboard-v3 .xy-category:active, .xy-dashboard-v3 button:not(:disabled):active { transform: scale(.97); }
@media(max-width:700px) { .xy-dashboard-v3 .xy-categories { gap: 7px; } .xy-dashboard-v3 .xy-category { padding: 10px 11px; } .xy-dashboard-v3 .xy-command-card { animation-duration: .32s; } }
@media(prefers-reduced-motion: reduce) {
 .xy-dashboard-v3 .xy-command-card, .xy-dashboard-v3 .xy-action-result:not(:empty) { animation: none !important; }
 .xy-dashboard-v3 .xy-category, .xy-dashboard-v3 .dash-action-btn, .xy-dashboard-v3 .dash-danger, .xy-dashboard-v3 .dash-secondary, .xy-dashboard-v3 .dash-feature-card, .xy-dashboard-v3 .dash-external, .xy-dashboard-v3 .dash-back, .xy-dashboard-v3 .xy-form-field input, .xy-dashboard-v3 .xy-form-field select, .xy-dashboard-v3 .dash-select, .xy-dashboard-v3 .xy-legacy-details { transition: none !important; }
 .xy-dashboard-v3 .dash-action-btn::after { display: none; }
}


/* =========================================================
   XYR - BOT V7 - Command library polish & touch-first layout
   Scoped to Bot Komutlari; preserves dashboard & API behavior.
   ========================================================= */
@keyframes xy7-rise-in {
  from { opacity: 0; transform: translate3d(0, 15px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes xy7-filter-switch {
  from { opacity: .35; transform: translate3d(0, 9px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes xy7-shine {
  from { transform: translateX(-220%) skewX(-16deg); }
  to { transform: translateX(420%) skewX(-16deg); }
}
.xy-feature-page { width: 100%; min-width: 0; }
.xy-feature-page .xy-feature-hero { animation: xy7-rise-in .6s cubic-bezier(.2,.8,.2,1) both; }
.xy-feature-page .xy-feature-hero h1 {
  letter-spacing: -.036em;
  background: linear-gradient(115deg, var(--text-main) 25%, #b2baff 75%, var(--text-main));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.xy-feature-page .xy-feature-numbers strong {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(142,154,255,.27);
  background: linear-gradient(145deg, var(--card-bg) 40%, rgba(88,101,242,.14));
  box-shadow: 0 10px 26px rgba(0,0,0,.11), inset 0 1px rgba(255,255,255,.045);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
}
.xy-feature-page .xy-feature-numbers strong span { letter-spacing: .01em; }
.xy-feature-page .xy-directory-tools { gap: 12px; align-items: stretch; margin-bottom: 19px; }
.xy-feature-page .xy-directory-tools label {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(115deg, var(--card-bg), rgba(88,101,242,.065));
  border: 1px solid rgba(142,154,255,.22);
  min-width: 0;
  box-shadow: 0 5px 22px rgba(0,0,0,.08);
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.xy-feature-page .xy-directory-tools label i { font-size: 15px; color: #a9b1ff; transition: color .2s, transform .25s; }
.xy-feature-page .xy-directory-tools input { min-width: 0; height: 54px; padding: 0 10px 0 0; outline: none; }
.xy-feature-page .xy-directory-tools input::placeholder { color: var(--text-sub); opacity: .82; }
.xy-feature-page .xy-directory-tools label:focus-within { border-color: #8f9aff; box-shadow: 0 0 0 4px rgba(88,101,242,.12), 0 8px 24px rgba(0,0,0,.11); }
.xy-feature-page .xy-directory-tools label:focus-within i { transform: scale(1.15); }
.xy-feature-page #xy-search-count {
  align-self: center;
  font-size: 13px;
  color: #b9c2ff;
  padding: 10px 14px;
  background: rgba(88,101,242,.085);
  border: 1px solid rgba(123,135,249,.19);
  border-radius: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.xy-command-filters-wrap {
  border: 1px solid rgba(141,154,245,.17);
  background: linear-gradient(130deg, rgba(88,101,242,.065), rgba(88,101,242,.015));
  border-radius: 19px;
  padding: 18px 18px 16px;
  margin-bottom: 28px;
}
.xy-filter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 14px; }
.xy-filter-heading span { font-size: .92rem; font-weight: 800; letter-spacing: .01em; color: var(--text-main); }
.xy-filter-heading i { color: #a9b3ff; margin-right: 8px; }
.xy-filter-heading small { color: var(--text-sub); font-size: .75rem; }
.xy-feature-page .xy-filter-list { margin: 0; gap: 10px; }
.xy-feature-page .xy-filter {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 13px;
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-sub);
  background: linear-gradient(150deg, var(--card-bg), rgba(88,101,242,.07));
  border: 1px solid rgba(131,143,178,.27);
  box-shadow: inset 0 1px rgba(255,255,255,.045), 0 3px 9px rgba(0,0,0,.08);
  cursor: pointer;
  white-space: normal;
  text-align: center;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), color .22s, border-color .22s, box-shadow .24s, background-color .22s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.xy-feature-page .xy-filter::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
  transform: translateX(-220%) skewX(-16deg);
  pointer-events: none;
}
.xy-feature-page .xy-filter.active,
.xy-feature-page .xy-filter[aria-pressed='true'] {
  background: linear-gradient(125deg, #6c78fc, #515ce5);
  border-color: #8290ff;
  color: #fff;
  box-shadow: 0 5px 17px rgba(88,101,242,.24), inset 0 1px rgba(255,255,255,.21);
}
.xy-feature-page .xy-filter:focus-visible { outline: 2px solid #b7bfff; outline-offset: 3px; }
.xy-feature-page .xy-filter:active { transform: translateY(1px) scale(.97); }
.xy-feature-page .xy-directory-group {
  min-width: 0;
  border: 1px solid rgba(129,143,185,.22);
  border-radius: 18px;
  background: linear-gradient(150deg, var(--card-bg), rgba(88,101,242,.055));
  box-shadow: 0 7px 22px rgba(0,0,0,.075);
  animation: xy7-rise-in .45s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s;
}
.xy-feature-page .xy-directory-group.xy-filter-animate { animation: xy7-filter-switch .29s cubic-bezier(.2,.8,.2,1) both; }
.xy-feature-page .xy-directory-group .xy-directory-head { border-color: rgba(145,155,190,.16); }
.xy-feature-page .xy-directory-head h3 { font-weight: 800; }
.xy-feature-page .xy-directory-head > span {
  border-radius: 8px;
  background: rgba(88,101,242,.115);
  border: 1px solid rgba(128,143,255,.2);
  padding: 5px 8px;
  color: #a9b6ff;
}
.xy-feature-page .xy-directory-item { border-bottom-color: rgba(145,155,190,.11); transition: background-color .18s ease; }
.xy-feature-page .xy-directory-item code { color: #afbaff; }
.xy-feature-page .xy-directory-item span { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
  .xy-feature-page .xy-feature-numbers strong:hover { transform: translateY(-5px); border-color: rgba(142,154,255,.59); box-shadow: 0 14px 30px rgba(0,0,0,.17); }
  .xy-feature-page .xy-filter:not(.active):hover { transform: translateY(-3px); color: var(--text-main); border-color: rgba(132,145,255,.68); box-shadow: 0 9px 20px rgba(0,0,0,.16); background: rgba(88,101,242,.14); }
  .xy-feature-page .xy-filter:hover::after { animation: xy7-shine .7s ease-out; }
  .xy-feature-page .xy-directory-group:hover { transform: translateY(-3px); border-color: rgba(132,145,255,.48); box-shadow: 0 14px 31px rgba(0,0,0,.14); }
  .xy-feature-page .xy-directory-item:hover { background: rgba(88,101,242,.045); }
  .site-nav > ul > li > a[href='ozellikler.html']:hover { color: #b8c0ff; }
}
@media (max-width: 760px) {
  .xy-feature-page { padding-left: 18px; padding-right: 18px; }
  .xy-feature-page .xy-feature-hero { margin-bottom: 26px; }
  .xy-feature-page .xy-feature-numbers { gap: 10px; }
  .xy-feature-page .xy-feature-numbers strong { min-width: min(100%, 148px); flex: 1 1 148px; padding: 15px 10px; font-size: 1.33rem; }
  .xy-feature-page .xy-feature-numbers strong span { font-size: .7rem; }
  .xy-feature-page .xy-command-filters-wrap { padding: 14px 12px 13px; margin-bottom: 20px; }
  .xy-feature-page .xy-filter-heading { gap: 2px; }
  .xy-feature-page .xy-filter-heading small { display: block; }
  .xy-feature-page .xy-filter-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .xy-feature-page .xy-filter { width: 100%; min-width: 0; min-height: 46px; padding: 11px 7px; font-size: .77rem; }
  .xy-feature-page .xy-directory-tools { flex-direction: column; }
  .xy-feature-page .xy-directory-tools label { width: 100%; flex: 0 0 auto; }
  .xy-feature-page #xy-search-count { align-self: flex-start; }
  .xy-feature-page .xy-directory-sections { grid-template-columns: minmax(0, 1fr); }
  .xy-feature-page .xy-directory-group { padding: 18px 15px; }
}
@media (max-width: 360px) {
  .xy-feature-page { padding-left: 12px; padding-right: 12px; }
  .xy-feature-page .xy-filter { font-size: .72rem; padding: 10px 5px; }
  .xy-feature-page .xy-feature-numbers strong { flex-basis: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .xy-feature-page .xy-feature-hero, .xy-feature-page .xy-directory-group { animation: none !important; }
  .xy-feature-page .xy-filter, .xy-feature-page .xy-directory-group, .xy-feature-page .xy-feature-numbers strong,
  .xy-feature-page .xy-directory-tools label, .xy-feature-page .xy-directory-tools label i, .xy-feature-page .xy-directory-item { transition: none !important; }
  .xy-feature-page .xy-filter::after { animation: none !important; }
}
/* Xyr - Bot V8: responsive feature cards and scroll-reveal landing sections */
.xy-new-systems{margin:36px 0 30px}
.xy-new-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}
.xy-new-head h2{font-size:clamp(1.35rem,3vw,1.75rem);margin:7px 0}
.xy-new-head p{color:var(--text-sub);font-size:.9rem}
.xy-new-chip{white-space:nowrap;font-size:.73rem;font-weight:800;letter-spacing:.08em;padding:9px 13px;border:1px solid rgba(100,230,180,.5);color:#73dab9;border-radius:999px}
.xy-new-details{margin-top:15px}
.xy-feature-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding-bottom:22px}
.xy-new-card{display:flex;flex-direction:column;gap:12px;border:1px solid var(--border-color);background:var(--bg-color);border-radius:16px;padding:23px;min-width:0;transition:border .25s,transform .25s,box-shadow .25s}
.xy-new-card:hover{border-color:rgba(125,138,255,.6);transform:translateY(-3px);box-shadow:0 12px 35px rgba(0,0,0,.18)}
.xy-new-card-icon{font-size:1.3rem;color:#a3abff}
.xy-new-card h3{font-size:1.15rem}
.xy-new-card p,.xy-new-card small{color:var(--text-sub);font-size:.82rem;line-height:1.65}
.xy-new-card label{display:flex;flex-direction:column;gap:6px;font-size:.83rem;color:var(--text-sub)}
.xy-new-card select,.xy-new-card input{border:1px solid var(--border-color);border-radius:10px;background:var(--card-bg);color:var(--text-main);height:43px;padding:9px 12px;max-width:100%;width:100%;outline:0;transition:border .2s,box-shadow .2s}
.xy-new-card select:focus,.xy-new-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(88,101,242,.19)}
.xy-new-card .xy-feature-save{margin-top:auto;padding:13px}
.xy-new-card code{color:#aeb6ff}
.xy-feature-section{padding:90px 5%;max-width:1200px;margin:auto}
.xy-feature-section-head{text-align:center;margin:0 auto 36px;max-width:690px}
.xy-feature-section-head>span{font-size:.78rem;color:#a9b1ff;letter-spacing:.13em;font-weight:850}
.xy-feature-section-head h2{font-size:clamp(1.8rem,4.5vw,2.65rem);line-height:1.2;margin:13px 0 16px}
.xy-feature-section-head p{color:var(--text-sub)}
.xy-feature-teasers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.xy-feature-teaser{border:1px solid var(--border-color);background:linear-gradient(140deg,var(--card-bg),rgba(88,101,242,.07));padding:30px;border-radius:18px;min-width:0;transition:transform .25s,border .25s,box-shadow .25s}
.xy-feature-teaser:hover{transform:translateY(-5px);border-color:#6773d9;box-shadow:0 18px 38px rgba(0,0,0,.17)}
.xy-feature-teaser>i{font-size:1.65rem;color:#8893ff;display:inline-flex;margin-bottom:19px}
.xy-feature-teaser h3{font-size:1.2rem;margin-bottom:10px}
.xy-feature-teaser p{font-size:.94rem;color:var(--text-sub);line-height:1.75}
.xy-feature-teaser code{font-size:.83rem;color:#acb5ff}
.xy-home-cta{text-align:center;margin-top:34px}
.xy-reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s ease}
.xy-reveal.is-visible{opacity:1;transform:translateY(0)}
@media(max-width:750px){.xy-feature-settings-grid,.xy-feature-teasers{grid-template-columns:1fr}.xy-new-head{align-items:flex-start;flex-direction:column}.xy-new-card{padding:18px}.xy-feature-section{padding:60px 6%}}
@media(prefers-reduced-motion:reduce){.xy-reveal{opacity:1;transform:none;transition:none}.xy-new-card,.xy-feature-teaser{transition:none}}

/* V9 – KONTROL MERKEZI HIZLI ERISIM / ONCELIKLI YENI SISTEMLER */
.xy-dashboard-v3 .xy-dashboard-shortcuts {
 display:grid;grid-template-columns:minmax(0,1.45fr) repeat(2,minmax(0,1fr));gap:13px;
 margin:17px 0 28px;align-items:stretch;
}
.xy-dashboard-shortcut {
 display:flex;align-items:center;text-align:left;gap:12px;min-width:0;min-height:92px;
 border:1px solid var(--border-color);border-radius:17px;
 padding:18px 15px;background:var(--card-bg);color:var(--text-main);
 cursor:pointer;position:relative;overflow:hidden;
 transition:transform .26s cubic-bezier(.2,.8,.2,1),box-shadow .26s ease,border-color .26s ease,background .26s ease;
}
.xy-dashboard-shortcut::before {
 content:'';position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(115deg,transparent 5%,rgba(255,255,255,.07) 52%,transparent 88%);
 transform:translateX(-120%);transition:transform .6s ease;
}
.xy-dashboard-shortcut:hover::before {transform:translateX(120%)}
.xy-dashboard-shortcut:hover,.xy-dashboard-shortcut:focus-visible,.xy-dashboard-shortcut.is-selected {
 border-color:rgba(146,157,255,.72);box-shadow:0 11px 30px rgba(0,0,0,.18);
}
.xy-dashboard-shortcut:hover {transform:translateY(-3px)}
.xy-dashboard-shortcut:active {transform:scale(.985)}
.xy-dashboard-shortcut:focus-visible {outline:2px solid #9ea8ff;outline-offset:3px}
.xy-dashboard-shortcut-feature {
 background:linear-gradient(120deg,rgba(88,101,242,.26),rgba(133,82,230,.12)),var(--card-bg);
 border-color:rgba(127,139,255,.65);
}
.xy-shortcut-icon {
 width:45px;height:45px;flex:none;display:grid;place-items:center;border-radius:13px;
 color:#c1c7ff;background:rgba(88,101,242,.16);font-size:1.13rem;
}
.xy-dashboard-shortcut-feature .xy-shortcut-icon {color:white;background:#5865f2}
.xy-shortcut-content {display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.xy-shortcut-content strong {font-size:.97rem;line-height:1.3}
.xy-shortcut-content small {color:var(--text-sub);font-size:.75rem;line-height:1.45}
.xy-dashboard-shortcut-feature .xy-shortcut-content strong {font-size:1.04rem}
.xy-shortcut-arrow {font-size:.82rem;color:var(--text-sub);transition:transform .25s ease}
.xy-dashboard-shortcut:hover .xy-shortcut-arrow {transform:translateX(4px);color:#bec5ff}
.xy-dashboard-v3 #xy-new-systems,.xy-dashboard-v3 #xy-v2-panel,.xy-dashboard-v3 #xy-legacy-details {scroll-margin-top:104px}
.xy-dashboard-v3 .xy-new-systems {margin:0 0 32px;padding:22px;border:1px solid rgba(116,130,230,.27);border-radius:20px;background:linear-gradient(130deg,rgba(88,101,242,.055),transparent 55%)}
.xy-dashboard-v3 .xy-new-head h2 {letter-spacing:-.02em}
.xy-dashboard-v3 .xy-new-details {margin-top:16px}
.xy-counter-hint {display:block;color:var(--text-sub);font-size:.77rem;line-height:1.5}
@media(max-width:1000px) {
 .xy-dashboard-v3 .xy-dashboard-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}
 .xy-dashboard-shortcut-feature {grid-column:1/-1}
}
@media(max-width:600px) {
 .xy-dashboard-v3 .xy-dashboard-shortcuts {grid-template-columns:minmax(0,1fr);gap:10px;margin:13px 0 23px}
 .xy-dashboard-shortcut-feature {grid-column:auto}
 .xy-dashboard-shortcut {min-height:75px;padding:13px 14px}
 .xy-shortcut-icon {width:40px;height:40px}
 .xy-dashboard-v3 .xy-new-systems {padding:16px 12px 8px;margin-bottom:24px}
 .xy-dashboard-v3 .xy-new-head {gap:10px}
 .xy-dashboard-v3 .xy-new-head h2 {font-size:1.38rem}
 .xy-dashboard-v3 .xy-new-details>summary {padding:16px 13px}
 .xy-dashboard-v3 .xy-legacy-content {padding:0 11px 8px}
 .xy-dashboard-v3 .xy-new-card {padding:15px}
}
@media(hover:none){.xy-dashboard-shortcut:hover {transform:none}}
@media(prefers-reduced-motion:reduce) {
 .xy-dashboard-shortcut,.xy-dashboard-shortcut::before,.xy-shortcut-arrow {transition:none!important}
 .xy-dashboard-shortcut:hover::before {transform:none}
}


/* Xyr - Bot V10 — sade kontrol paneli, mobile-first düzen */
.logo-area { min-width:0; }
.logo-area span { white-space:nowrap; font-size:clamp(.99rem,1.8vw,1.3rem); letter-spacing:.01em; }
.xy-dashboard-v3 .xy-v10-intro { margin: 0 0 16px; }
.xy-v10-intro p { color:var(--text-sub); font-size:.88rem; margin-top:4px; }
.xy-v10-tabbar {
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px; padding:6px; border:1px solid var(--border-color);
  border-radius:16px; background:var(--card-bg);
  margin:12px 0 20px; scroll-margin-top:90px;
}
.xy-v10-tab {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  border-radius:11px; min-width:0; min-height:48px;
  background:transparent; border:1px solid transparent;
  color:var(--text-sub); padding:11px 10px;
  font-size:.88rem; font-weight:700; cursor:pointer;
  transition:color .2s ease, background .2s ease, transform .2s ease, border-color .2s ease;
}
.xy-v10-tab i { font-size:.95rem; flex:none; }
.xy-v10-tab.active, .xy-v10-tab[aria-selected="true"] {
  background:rgba(88,101,242,.17); color:var(--text-main);
  border-color:rgba(133,145,255,.47);
}
.xy-v10-tab:hover:not(.active) { color:var(--text-main); background:rgba(88,101,242,.08); }
.xy-v10-tab:active { transform:scale(.98); }
.xy-v10-tab:focus-visible { outline:2px solid #a4aeff; outline-offset:2px; }
.xy-v10-pane.hidden { display:none!important; }
.xy-v10-pane:not(.hidden) { animation:xy-v10-show .25s ease-out both; }
@keyframes xy-v10-show { from {opacity:.35;transform:translateY(5px)} to {opacity:1;transform:translateY(0)} }
.xy-dashboard-v3 .xy-new-systems { margin:0; padding:0; background:none; border:none; }
.xy-dashboard-v3 .xy-new-head { margin:0 0 12px; }
.xy-dashboard-v3 .xy-new-head h2 {font-size:1.25rem; margin:0 0 2px;}
.xy-dashboard-v3 .xy-new-head p {font-size:.85rem;}
.xy-dashboard-v3 .xy-new-details {margin:0; border-color:var(--border-color);}
.xy-dashboard-v3 .xy-new-details>summary {padding:13px 17px; font-size:.9rem;}
.xy-dashboard-v3 .xy-new-details>summary small { font-size:.74rem; }
.xy-dashboard-v3 .xy-feature-settings-grid { gap:12px; }
.xy-dashboard-v3 .xy-new-card { padding:18px; gap:9px; border-radius:13px; }
.xy-dashboard-v3 .xy-new-card h3 { font-size:1.05rem; }
.xy-dashboard-v3 .xy-new-card p { font-size:.8rem; }
.xy-dashboard-v3 .xy-new-card .xy-feature-save { min-height:43px; }
.xy-dashboard-v3 .xy-panel { margin:0; padding:0; }
.xy-dashboard-v3 .xy-panel-top { gap:10px; }
.xy-dashboard-v3 #xy-legacy-details { margin-top:0; }
.xy-dashboard-v3 .xy-legacy-content {padding-bottom:16px;}
.xy-dashboard-v3 .xy-categories { gap:7px; }
.xy-dashboard-v3 .xy-category { min-height:43px; }
@media(max-width:900px) {
  .xy-dashboard-v3 .xy-v10-intro { margin-bottom:10px; }
  .xy-v10-tabbar { scroll-margin-top:80px; }
}
@media(max-width:600px) {
  .logo-area { gap:7px; }
  .logo-area img { width:35px; height:35px; }
  .logo-area span { font-size:1.02rem; }
  .xy-v10-tabbar { gap:4px; padding:5px; margin:10px 0 16px; }
  .xy-v10-tab { flex-direction:column; gap:4px; min-height:62px; font-size:.72rem; line-height:1.2; padding:7px 2px; text-align:center; }
  .xy-v10-tab i {font-size:1.05rem;}
  .xy-dashboard-v3 .xy-new-card {padding:14px;}
  .xy-dashboard-v3 .xy-new-head h2 {font-size:1.15rem;}
  .xy-dashboard-v3 .xy-new-details>summary {padding:14px 11px;}
  .xy-dashboard-v3 .xy-new-details>summary small {display:none;}
  .xy-dashboard-v3 .xy-legacy-content {padding:0 10px 12px;}
  .xy-dashboard-v3 .xy-panel-top {flex-direction:column; align-items:flex-start;}
  .xy-dashboard-v3 .xy-language {max-width:100%;}
  .xy-dashboard-v3 .xy-categories {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .xy-dashboard-v3 .xy-category {width:100%;padding:11px 4px;white-space:normal;}
  .xy-dashboard-v3 .dash-feature-card {min-width:0;}
  .xy-dashboard-v3 .dash-heading { gap:12px; }
}
@media(max-width:340px) {
  .logo-area span {font-size:.92rem;}
  .xy-v10-tab {font-size:.66rem;}
}
@media (prefers-reduced-motion: reduce) {
  .xy-v10-tab {transition:none!important;}
  .xy-v10-pane:not(.hidden) {animation:none!important;}
}
