/* ===== YEREL FONT YIĞINI & BOXICONS ===== */
@import url('../vendor/boxicons/css/boxicons.min.css');

@font-face {
    font-family: "Lobster";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lobster-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Lobster";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/lobster-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== DEĞİŞKENLER ===== */
:root {
    --header-height: 3.5rem;
    --primary-color: #d7ff3f;
    --accent-color: #8b5cf6;
    --secondary-color: #050607;
    --container-color: #111316;
    --text-color: #f0f0f0;
    --text-color-light: rgba(240, 240, 240, 0.7);
    --body-font: 'Segoe UI', Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --code-font: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .813rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --font-bold: 700;
    --z-tooltip: 10;
    --z-fixed: 100;
    /* Animasyon yumuşatması: tüm sayfalarda geçerli olsun diye burada
       tanımlı (önceden yalnızca .premium-home altındaydı). */
    --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --premium-line: rgba(255, 255, 255, 0.11);
    --premium-surface: rgba(17, 19, 22, 0.78);
}

/* ===== TEMEL AYARLAR ===== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--secondary-color);
    color: var(--text-color);
}

h1,
h2,
h3 {
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
}

ul {
    list-style: none;
}

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

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

/* ===== PLEXUS ARKA PLAN STİLİ ===== */
#plexus-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== TEKRAR KULLANILABİLİR CSS SINIFLARI ===== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0 2rem;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* ===== HEADER VE NAVİGASYON (KAPSÜL STİLİ) ===== */
.site-header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1320px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    background: rgba(7, 10, 16, 0.74);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    z-index: var(--z-fixed);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.11);
}

.site-header .container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: calc(var(--header-height) + 0.5rem);
    padding: 0 1rem;
}

.site-header .logo {
    font-size: var(--h2-font-size);
    font-weight: var(--font-bold);
    color: #fff;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    position: relative;
    padding: 0;
    text-shadow: none;
    transition: color 0.3s ease;
}

.site-header .logo:hover {
    text-shadow: none;
}

/* "Studio", "Bozkurt"un hemen sağında, aynı satır ve baseline'da;
   kalınlığı daha ince, rengi daha soluk. Eğik/kaymış konum yok. */
.site-header .logo span {
    position: static;
    font-size: 1em;
    font-weight: var(--font-medium);
    color: var(--text-color-light);
    opacity: 1;
    transform: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation ul li a {
    position: relative;
    font-weight: var(--font-medium);
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.main-navigation ul li a:hover {
    color: var(--primary-color);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-navigation ul li a:hover::after {
    width: 100%;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-right: 0.5rem;
}

.auth-links a {
    font-weight: var(--font-medium);
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: var(--primary-color);
}

.auth-links .btn-register {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: var(--font-semi-bold);
    border: none;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.auth-links .btn-register:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.7);
}

.nav-toggle {
    display: none;
    padding-right: 1rem;
}

/* ===== HERO BÖLÜMÜ ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    background: transparent;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: var(--font-bold);
    line-height: 1.1;
    animation: fadeInUp 0.5s ease-out 0.4s;
    animation-fill-mode: both;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle-lead {
    font-size: 2.8rem;
    color: var(--text-color-light);
    margin-bottom: 1.5rem;
    font-weight: var(--font-bold);
    line-height: 1.2;
    animation: fadeInUp 0.5s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-description {
    color: var(--text-color-light);
    line-height: 1.6;
    margin: 1.5rem 0 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.5s ease-out 0.8s;
    animation-fill-mode: both;
}

.hero .btn-primary {
    animation: fadeInUp 0.5s ease-out 1s;
    animation-fill-mode: both;
}

/* ===== SCROLL DOWN OKU ===== */
.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color-light);
    border-radius: 60px;
    position: relative;
}

.mouse span {
    width: 6px;
    height: 6px;
    position: absolute;
    top: 10px;
    left: 50%;
    background: var(--text-color-light);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

/* ===== BÖLÜM ARKA PLANLARI ===== */
.about,
.projects,
.partners {
    background-color: var(--secondary-color);
}

.skills {
    background-color: var(--container-color);
}

/* ===== HAKKIMDA BÖLÜMÜ ===== */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 0.75rem;
    border: 2px solid var(--container-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== YETENEKLER BÖLÜMÜ ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background-color: var(--secondary-color);
    border: 1px solid #1d2d50;
    border-radius: 0.75rem;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(233, 0, 255, 0.2);
}

.skill-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.skill-name {
    font-family: var(--code-font);
    font-weight: var(--font-medium);
    color: var(--text-color-light);
    font-size: var(--normal-font-size);
}

/* ===== PROJELER BÖLÜMÜ ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--container-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.2);
}

.project-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.project-card:hover img {
    opacity: 1;
}

.project-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Kısa Açıklama Kesilmesi (Truncate) */
.project-desc-short {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Sadece 4 satır göster */
    line-clamp: 4;
    /* Standart uyumluluk */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-secondary {
    color: var(--primary-color);
    font-weight: var(--font-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-secondary:hover i {
    transform: translateX(5px);
}

/* ===== PROJE DETAY MODALI ===== */
.project-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.85);
    /* Koyu Yarı Saydam Arka Plan */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

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

.project-modal-content {
    background: linear-gradient(135deg, var(--bg-light), rgba(17, 34, 64, 0.98));
    width: 100%;
    max-width: 850px;
    max-height: 90vh;
    /* Ekranın %90'ı kadar */
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 217, 255, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Sıçrama (Bouncy) Efekti */
}

.project-modal-overlay.active .project-modal-content {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-color-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
}

.project-modal-close:hover {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border-color: rgba(255, 77, 77, 0.2);
    transform: rotate(90deg);
}

.project-modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    /* İçerik taşarsa modal içi kaydırma */
}

.project-modal-body::-webkit-scrollbar {
    width: 6px;
}

.project-modal-body::-webkit-scrollbar-thumb {
    background: var(--bg-lighter);
    border-radius: 10px;
}

@media screen and (min-width: 768px) {
    .project-modal-body {
        flex-direction: row;
    }
}

.project-modal-image {
    width: 100%;
    flex: 0 0 50%;
    /* PC'de %50 yer kapla */
    position: relative;
}

.project-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 767px) {
    .project-modal-image img {
        max-height: 250px;
    }
}

.project-modal-image .role-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-modal-image .role-software {
    background: rgba(0, 217, 255, 0.8);
    color: var(--bg-dark);
}

.project-modal-image .role-game {
    background: rgba(145, 7, 243, 0.8);
    color: #fff;
}

.project-modal-text {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-modal-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
    padding-right: 2rem;
    /* Başlık cross ile çarpışmasın diye */
    line-height: 1.3;
}

.project-modal-desc {
    color: var(--text-color-light);
    line-height: 1.8;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Admin kısmında atılan boşluklar için p boşlukları */
.project-modal-desc br {
    content: "";
    display: block;
    margin-bottom: 0.5em;
    /* İki br arasında hafif boşluk */
}

/* ===== ORTAKLARIMIZ BÖLÜMÜ ===== */
.partners {
    background-color: var(--container-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo img {
    max-width: 140px;
    filter: grayscale(100%) contrast(0.5) brightness(1.5);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===== FOOTER STİLLERİ ===== */
.site-footer {
    --footer-script-font: "Lobster", "Brush Script MT", "Segoe Script", cursive;
    background-color: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-family: var(--footer-script-font);
    color: rgba(247, 247, 242, 0.86);
    text-shadow:
        0 0 8px rgba(215, 255, 63, 0.12),
        0 0 18px rgba(139, 92, 246, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.6fr) minmax(140px, 0.8fr) minmax(170px, 0.95fr) minmax(230px, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
    margin-bottom: 2.75rem;
}

.footer-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 100%;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 0.8;
    text-decoration: none;
}

.footer-brand-name {
    padding-left: 0.2rem;
    font-size: clamp(1.25rem, 2vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.35),
        0 0 20px rgba(139, 92, 246, 0.2);
}

.footer-brand-studio {
    display: block;
    max-width: 100%;
    font-size: clamp(3.2rem, 4.6vw, 4.6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.035em;
    white-space: nowrap;
    transform-origin: left center;
    animation: footerStudioPulse 4.8s ease-in-out infinite;
    will-change: color, opacity, transform, text-shadow;
}

.footer-description {
    max-width: 36rem;
    color: rgba(247, 247, 242, 0.72);
    font-size: 1rem;
    line-height: 1.75;
    text-shadow: 0 0 12px rgba(215, 255, 63, 0.12);
}

.footer-title {
    position: relative;
    width: fit-content;
    margin-bottom: 1.25rem;
    padding-bottom: 0.55rem;
    color: #fff;
    font-family: var(--footer-script-font);
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.32),
        0 0 18px rgba(215, 255, 63, 0.18);
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2.6rem;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    box-shadow: 0 0 10px rgba(215, 255, 63, 0.55);
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(247, 247, 242, 0.7);
    font-size: 0.96rem;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.1);
    transition: color .3s ease, transform .3s ease, text-shadow .3s ease;
}

.footer-links a i {
    color: var(--primary-color);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(215, 255, 63, 0.55);
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.15rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid rgba(215, 255, 63, 0.18);
    border-radius: 999px;
    color: rgba(247, 247, 242, 0.82);
    background: rgba(215, 255, 63, 0.035);
    font-size: 0.86rem;
    text-shadow: 0 0 10px rgba(215, 255, 63, 0.22);
}

.footer-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(215, 255, 63, 0.8);
    animation: footerStatusPulse 2.2s ease-in-out infinite;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(247, 247, 242, 0.8);
    background: rgba(255, 255, 255, 0.025);
    font-size: 1.25rem;
    text-shadow: 0 0 10px currentColor;
    transition: color .3s ease, transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.footer-social-link:hover {
    color: var(--primary-color);
    border-color: rgba(215, 255, 63, 0.45);
    box-shadow: 0 0 20px rgba(215, 255, 63, 0.16);
    transform: translateY(-3px);
}

.footer-service-list {
    display: grid;
    gap: 0.85rem;
}

.footer-service-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(247, 247, 242, 0.7);
    font-size: 0.94rem;
}

.footer-service-list i {
    color: var(--primary-color);
    font-size: 1.15rem;
    text-shadow: 0 0 10px rgba(215, 255, 63, 0.5);
}

.footer-contact-list {
    display: grid;
    gap: 0.8rem;
    font-style: normal;
}

.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    color: rgba(247, 247, 242, 0.78);
}

.footer-contact-list a > i {
    display: grid;
    flex: 0 0 2.35rem;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(139, 92, 246, 0.22);
    border-radius: 0.7rem;
    color: var(--primary-color);
    background: rgba(139, 92, 246, 0.06);
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(215, 255, 63, 0.45);
}

.footer-contact-list span {
    display: grid;
    min-width: 0;
    line-height: 1.35;
}

.footer-contact-list small {
    margin-bottom: 0.15rem;
    color: rgba(247, 247, 242, 0.48);
    font-size: 0.74rem;
}

.footer-contact-list a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(215, 255, 63, 0.4);
}

.footer-copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: rgba(247, 247, 242, 0.58);
    border-top: 1px solid #1d2d50;
    padding: 1.5rem max(1.5rem, calc((100vw - 1200px) / 2));
    font-size: 0.86rem;
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.12);
}

.footer-signature {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-signature i {
    color: var(--primary-color);
}

@keyframes footerStudioPulse {
    0%, 100% {
        color: #d7ff3f;
        opacity: 0.86;
        transform: scale(1);
        text-shadow: 0 0 8px rgba(215, 255, 63, 0.45), 0 0 24px rgba(215, 255, 63, 0.25);
    }
    25% {
        color: #8b5cf6;
        opacity: 1;
        transform: scale(1.025);
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.7), 0 0 30px rgba(139, 92, 246, 0.35);
    }
    50% {
        color: #57e6ff;
        opacity: 0.78;
        transform: scale(0.99);
        text-shadow: 0 0 12px rgba(87, 230, 255, 0.65), 0 0 34px rgba(87, 230, 255, 0.3);
    }
    75% {
        color: #ff7ad9;
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 10px rgba(255, 122, 217, 0.65), 0 0 30px rgba(255, 122, 217, 0.3);
    }
}

@keyframes footerStatusPulse {
    0%, 100% {
        opacity: 0.55;
        transform: scale(0.85);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

/* ===== GENEL BUTON STİLLERİ ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: var(--font-semi-bold);
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    border: none;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
}

/* ===== SCROLL REVEAL STİLLERİ ===== */
.reveal {
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active {
    transform: translateY(0);
    opacity: 1;
}

/* ===== ANİMASYON KEYFRAMES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* ===== MOBİL UYUMLULUK (HAMBURGER DÜZELTİLMİŞ) ===== */
@media screen and (max-width: 1100px) {

    /* Masaüstü menü ve butonları gizle */
    .main-navigation,
    .desktop-auth {
        display: none;
    }

    /* HAMBURGER BUTONU (YENİ VE SAĞLAM YAPI) */
    .nav-toggle {
        display: block;
        position: relative;
        /* Konumlandırma için */
        width: 30px;
        height: 24px;
        /* Yüksekliği artırdık */
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
    }

    .nav-toggle span {
        display: block;
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--text-color);
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
        left: 3px;
        /* Buton içinde ortalamak için */
    }

    /* Çizgileri konumlandırma */
    .nav-toggle span:nth-child(1) {
        top: 4px;
        /* Üst çizgi */
    }

    .nav-toggle span:nth-child(2) {
        top: 11px;
        /* Orta çizgi */
    }

    .nav-toggle span:nth-child(3) {
        top: 18px;
        /* Alt çizgi */
    }

    /* 'X' ANİMASYONU */
    .nav-toggle.active span:nth-child(1) {
        top: 11px;
        /* Ortaya getir */
        transform: rotate(135deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -30px;
        /* Ekrran dışına at */
    }

    .nav-toggle.active span:nth-child(3) {
        top: 11px;
        /* Ortaya getir */
        transform: rotate(-135deg);
    }

    /* AÇILAN MOBİL MENÜ (Aynı kalıyor) */
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--container-color);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding: 4rem 2rem 2rem;
        transition: right .4s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav.show-menu {
        right: 0;
    }

    .mobile-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        flex-grow: 1;
    }

    .nav-close {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
        background: none;
        border: none;
    }

    .mobile-auth {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: auto;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-auth .btn-register,
    .mobile-auth .login-link {
        width: 100%;
        text-align: center;
        padding: 0.6rem;
    }

    /* Diğer mobil ayarlar (Aynı kalıyor) */
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) {
    .site-header .container {
        height: var(--header-height);
        padding: 0 1.5rem;
    }

    :root {
        font-size: 15px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


/* ===== ABOUT.PHP İÇİN EK STİLLER ===== */
.page-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
    text-align: center;
    background-color: var(--container-color);
}

.page-title {
    font-size: 3.5rem;
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-top: 0.5rem;
}

.team-member .team-name {
    font-family: var(--body-font);
    font-weight: var(--font-semi-bold);
    color: var(--text-color);
    font-size: 1.1rem;
    margin-top: -0.5rem;
}

.team-member .team-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--code-font);
}


/* ===== PROJECTS.PHP İÇİN EK STİLLER ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--container-color);
    color: var(--text-color-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #1d2d50;
    cursor: pointer;
    font-weight: var(--font-medium);
    transition: all .3s ease;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

.filter-btn.active {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border-color: transparent;
}

/* Filtreleme için gizleme stili */
.project-card.hide {
    display: none;
}

/* ===== PARTNERS.PHP İÇİN EK STİLLER ===== */
.partners-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.partner-card {
    background-color: var(--container-color);
    border-radius: 0.75rem;
    border: 1px solid #1d2d50;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
}

.partner-card-logo {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    flex-shrink: 0;
}

.partner-card-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.partner-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.partner-card-info p {
    font-size: 0.9rem;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.partner-card-info .btn-secondary i {
    font-size: 1.2rem;
}

/* ===== ABOUT.PHP İÇİN EK STİLLER (EKİP KARTLARI DAHİL) ===== */
/* .page-header stilleri zaten yukarıda var, tekrar etmeye gerek yok */
/* .page-title stilleri zaten yukarıda var */
/* .page-subtitle stilleri zaten yukarıda var */

/* YENİ EKİP KARTLARI STİLİ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background-color: var(--container-color);
    border-radius: 0.75rem;
    overflow: hidden;
    text-align: center;
    border: 1px solid #1d2d50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Kare fotoğraf alanı */
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fotoğrafın alanı doldurmasını sağlar */
}

.team-card-info {
    padding: 1.5rem 1rem;
}

.team-name {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.team-role {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-family: var(--code-font);
}

/* ---------- MOBIL NAV VE HAMBURGER İNTEGRASYONU (EK) ---------- */

/* Genel: hamburger butonunu görünür, kontrastlı yap */
.nav-toggle {
    background: transparent;
    border: none;
    display: none;
    /* medya sorgularında gösterilecek */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
}

/* hamburger çizgiler */
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* aktif hali */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* OFF-CANVAS MOBILE NAV (varsayılan kapalı: right:-100%) */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--container-color);
    box-shadow: -6px 0 18px rgba(0, 0, 0, 0.35);
    padding: 4.5rem 1.5rem 2rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right .36s cubic-bezier(.2, .9, .2, 1), opacity .2s ease;
    opacity: 0;
    pointer-events: none;
}

/* gösterildiğinde */
.mobile-nav.show-menu {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

/* kapatma butonu */
.nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.6rem;
    cursor: pointer;
}

/* Menü liste düzeni */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

/* linkler */
.mobile-nav a.nav-link {
    color: var(--text-color-light);
    display: block;
    padding: 0.8rem 0.25rem;
    font-weight: var(--font-medium);
    text-decoration: none;
    border-radius: 8px;
}

.mobile-nav a.nav-link:hover,
.mobile-nav a.nav-link:focus {
    color: var(--primary-color);
    outline: none;
}

/* mobil auth bölümü (butonlar) */
.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    align-items: stretch;
}

/* login - register stilleri */
.mobile-auth .login-link {
    display: block;
    text-align: center;
    padding: 0.6rem 0.75rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-color-light);
    background: transparent;
}

.mobile-auth .btn-register {
    display: block;
    text-align: center;
    padding: 0.7rem 0.75rem;
    border-radius: 40px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 217, 255, 0.12);
}

/* welcome-user mobilde daha okunaklı */
.mobile-auth .welcome-user {
    color: var(--text-color-light);
    font-weight: var(--font-medium);
    text-align: center;
    padding: 0.35rem 0;
}

/* overlay etkisi (isteğe bağlı): body overflow gizlenince altyapı kaymayı engelle */
html.mobile-nav-open {
    height: 100%;
    overflow: hidden;
}

/* small touch target tweak */
.mobile-nav a,
.mobile-auth a,
.nav-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Responsive breakpoints - mevcut yapınızı bozmadan hamburger'ı aktif et */
@media screen and (max-width: 920px) {
    .main-navigation {
        display: none;
    }

    .desktop-auth {
        display: none;
    }

    

}

/* Daha küçük ekranlarda tam geniş navbar davranışı */
@media screen and (max-width: 768px) {
    .nav-toggle {
        margin-left: auto;
    }

    /* Eğer eski main-navigation.show-menu kullanıldıysa karışmaması için bu, mobile-nav kullanılacak */
    .main-navigation.show-menu {
        right: -100%;
    }
}

/* erişilebilirlik: aria-hidden eşleştirme için geçiş durumunu destekle */
.mobile-nav[aria-hidden="true"] {
    pointer-events: none;
}

.mobile-nav[aria-hidden="false"] {
    pointer-events: auto;
}

/* mevcut tema ile uyumlu küçük görsel düzeltmeler */
.mobile-nav a.nav-link {
    font-size: 1rem;
}

.mobile-auth .login-link {
    font-weight: var(--font-medium);
}


/* Sağdaki küçük beyaz çubuk (logo yanındaki) */
.logo-bar {
    display: inline-block;
    width: 36px;
    /* çubuğun uzunluğu */
    height: 6px;
    /* çubuğun kalınlığı */
    background: #fff;
    /* beyaz çubuk */
    border-radius: 4px;
    margin-left: 10px;
    opacity: 0.95;
    transform-origin: center;
    cursor: pointer;
    transition: transform .18s ease, opacity .18s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.06);
}

.logo-bar:hover,
.logo-bar:focus {
    transform: scale(1.05);
    opacity: 1;
    outline: none;
}

/* Mobilde çubuğu hafif büyüt */
@media screen and (max-width: 920px) {
    .logo-bar {
        width: 46px;
        height: 7px;
        margin-left: 8px;
    }

    .logo-icon {
        display: none;
    }

    /* logo-icon devre dışı bırakıldı */
}

/* ===== CONTACT.PHP İÇİN EK STİLLER (DÜZELTİLMİŞ) ===== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* Masaüstünde yan yana */
    gap: 3rem;
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 0.75rem;
    border: 1px solid #1d2d50;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.contact-info ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color-light);
}

.contact-info ul li i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}





.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-color);
    border: 1px solid #1d2d50;
    border-radius: 0.5rem;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

.form-message.success {
    background-color: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.form-message.error {
    background-color: rgba(255, 77, 77, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* MOBİLDE İLETİŞİM FORMU ALT ALTA GELSİN */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        /* Sütunları alt alta getir */
    }
}

/* GİRİŞ YAPMIŞ KULLANICI İÇİN HOŞ GELDİN MESAJI (Navbar ile ilgili, burada kalabilir) */
.auth-links .welcome-user {
    color: var(--text-color-light);
    font-weight: 500;
    white-space: nowrap;
}


/* ===== YENİ: AÇILIR KULLANICI MENÜSÜ STİLLERİ ===== */
.user-menu {
    position: relative;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    border: none;
    color: var(--text-color-light);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.user-menu-toggle:hover {
    color: var(--text-color);
}

.user-menu-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.user-menu.active .user-menu-toggle i {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 1rem);
    /* Butonun altında boşluk bırak */
    right: 0;
    width: 200px;
    background-color: var(--container-color);
    border: 1px solid #1d2d50;
    border-radius: 8px;
    padding: 0.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 10;
}

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

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color-light);
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.user-dropdown a:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.user-dropdown .logout-form {
    width: 100%;
    margin: 0.45rem 0 0;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.user-dropdown .logout-link {
    width: 100%;
    min-height: 2.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 104, 118, 0.32);
    border-radius: 0.55rem;
    color: #ff9aa4;
    background: rgba(255, 79, 97, 0.08);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    appearance: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s var(--premium-ease),
        box-shadow 0.25s ease;
}

.user-dropdown .logout-link i {
    font-size: 1.15rem;
}

.user-dropdown .logout-link:hover {
    color: #fff;
    border-color: rgba(255, 104, 118, 0.72);
    background: rgba(203, 47, 64, 0.88);
    box-shadow: 0 8px 20px rgba(203, 47, 64, 0.2);
    transform: translateY(-1px);
}

.user-dropdown .logout-link:active {
    transform: translateY(0);
}

/* ===== MOBİL UYUMLULUK (Açılır Menü İçin) ===== */
@media screen and (max-width: 1100px) {
    .mobile-auth .user-menu {
        width: 100%;
    }

    .mobile-auth .user-menu-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.6rem 1rem;
        border: 1px solid #1d2d50;
        border-radius: 50px;
    }

    .mobile-auth .user-dropdown {
        position: static;
        /* Statik konumlandırma */
        width: 100%;
        background-color: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 0.5rem;
        /* Açılıp kapanma animasyonu */
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        /* Opaklık animasyonunu kaldır */
        visibility: visible;
        /* Görünürlük animasyonunu kaldır */
        transform: none;
        /* Transform animasyonunu kaldır */
        transition: max-height 0.4s ease-in-out;
    }

    .mobile-auth .user-menu.active .user-dropdown {
        max-height: 320px;
        /* Açıldığında alacağı maksimum yükseklik */
        padding: 0.5rem 0;
    }

    .mobile-auth .user-dropdown a {
        padding-left: 2rem;
        /* İçeriden başlat */
    }

    .mobile-auth .user-dropdown .logout-form {
        padding: 0.65rem 1rem 0;
    }
}

/* ===== YENİ: DESTEK MESAJI BİLDİRİM NOKTASI ===== */
.support-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notification-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    margin-left: 0.5rem;
}


/* ===== SUPPORT.PHP & MODAL STİLLERİ (DÜZELTİLMİŞ) ===== */

/* Yeni Talep Butonu */
.btn-add-new {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: var(--normal-font-size);
}

.btn-add-new:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 217, 255, 0.2);
}

.btn-add-new i {
    font-size: 1.2rem;
}

/* Modal Pencere */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--bg-lighter, #1d2d50);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color-light);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.modal .form-group {
    margin-bottom: 1rem;
}

.modal .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--secondary-color);
    border: 1px solid var(--bg-lighter, #1d2d50);
    border-radius: 4px;
    color: var(--text-color);
    font-family: var(--body-font);
}

.modal .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}


/* ===== VIEW_TICKET.PHP İÇİN SOHBET STİLLERİ ===== */
.chat-container {
    background-color: var(--container-color);
    border-radius: 8px;
    border: 1px solid var(--bg-lighter);
    display: flex;
    flex-direction: column;
    height: 70vh;
    /* Ekran yüksekliğinin %70'i */
    max-height: 700px;
}

.ticket-payment-card {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 22px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid rgba(197, 255, 32, .28);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(197, 255, 32, .08), rgba(15, 18, 24, .94) 42%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .26);
}

.ticket-payment-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--primary-color);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ticket-payment-card h2 {
    margin: 0 0 7px;
    color: #f7f8f5;
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.ticket-payment-card p {
    margin: 0;
    color: #aeb3bb;
}

.ticket-payment-links {
    display: grid;
    gap: 10px;
}

.ticket-payment-link {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 13px;
    background: rgba(3, 5, 8, .72);
    color: #e7e9e4;
    transition: border-color .2s ease, transform .2s ease;
}

.ticket-payment-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.ticket-payment-link strong {
    flex: 0 0 auto;
    color: var(--primary-color);
}

.ticket-payment-pending {
    padding: 14px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
}

@media (max-width: 720px) {
    .ticket-payment-card {
        grid-template-columns: 1fr;
    }

    .ticket-payment-link {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Manifest tabanlı Discord bot yönetim merkezi */
.bot-management-shell { width: min(1440px, calc(100% - 2rem)); }
.bot-management-hero { background: linear-gradient(130deg, rgba(88, 101, 242, .17), rgba(12, 14, 20, .98) 48%, rgba(215, 255, 63, .06)); }
.bot-hero-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.15rem; }
.bot-hero-meta span { display: inline-flex; align-items: center; gap: .4rem; padding: .48rem .7rem; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.72); background: rgba(0,0,0,.18); font-size: .78rem; }
.bot-runtime-pill.is-online { border: 1px solid rgba(215,255,63,.2); }
.bot-runtime-pill.is-offline { background: rgba(255,116,116,.1); color: #ff9292; }
.bot-management-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bot-management-stats .bot-dashboard-card { min-width: 0; }
.bot-config-alert.is-pending { border-color: rgba(88,101,242,.38); }
.bot-config-alert.is-pending i { color: #aeb6ff; }
.bot-management-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.bot-management-nav { position: sticky; top: 92px; display: grid; gap: .4rem; padding: .75rem; border: 1px solid rgba(255,255,255,.09); border-radius: 20px; background: rgba(10,11,16,.94); box-shadow: 0 22px 60px rgba(0,0,0,.28); }
.bot-management-nav button { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: .7rem; width: 100%; padding: .85rem .9rem; border: 0; border-radius: 12px; color: rgba(255,255,255,.57); background: transparent; text-align: left; cursor: pointer; transition: .2s ease; }
.bot-management-nav button:hover { color: #fff; background: rgba(255,255,255,.05); }
.bot-management-nav button.is-active { color: #fff; background: linear-gradient(90deg, rgba(88,101,242,.25), rgba(88,101,242,.08)); box-shadow: inset 3px 0 #8f9aff; }
.bot-management-nav button i { font-size: 1.2rem; }
.bot-management-nav button b { min-width: 24px; padding: .15rem .4rem; border-radius: 999px; color: #c4c9ff; background: rgba(88,101,242,.16); font-size: .68rem; text-align: center; }
.bot-nav-license { display: grid; gap: .25rem; margin-top: .5rem; padding: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.bot-nav-license small, .bot-nav-license span { color: rgba(255,255,255,.42); font-size: .72rem; }
.bot-nav-license strong { color: var(--primary,#d7ff3f); }
.bot-management-content { min-width: 0; border: 1px solid rgba(255,255,255,.09); border-radius: 24px; background: linear-gradient(145deg, rgba(17,19,26,.97), rgba(8,9,13,.98)); box-shadow: 0 25px 75px rgba(0,0,0,.3); overflow: hidden; }
.bot-tab-panel { display: none; padding: clamp(1.25rem,3vw,2rem); }
.bot-tab-panel.is-active { display: block; animation: bot-panel-in .22s ease; }
@keyframes bot-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.bot-panel-heading { display: flex; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.bot-panel-heading span { color: #9ea7ff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.bot-panel-heading h2 { margin: .45rem 0; color: #fff; font-size: clamp(1.55rem,3vw,2.2rem); }
.bot-panel-heading p { margin: 0; max-width: 760px; color: rgba(255,255,255,.52); line-height: 1.6; }
.bot-overview-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.bot-package-summary { display: grid; gap: .35rem; padding: 1.15rem; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.025); }
.bot-package-summary > i { margin-bottom: .4rem; color: #929cff; font-size: 1.65rem; }
.bot-package-summary span { color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; }
.bot-package-summary strong { color: #fff; font-size: 1.15rem; }
.bot-package-summary small { color: rgba(255,255,255,.4); }
.bot-package-summary.is-owned { border-color: rgba(215,255,63,.18); }
.bot-package-summary.is-owned > i { color: var(--primary,#d7ff3f); }
.bot-package-summary.is-locked { opacity: .65; }
.bot-capability-summary { display: grid; grid-template-columns: repeat(4,1fr); margin: 1rem 0; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.bot-capability-summary article { display: grid; gap: .2rem; padding: 1.15rem; border-right: 1px solid rgba(255,255,255,.08); text-align: center; }
.bot-capability-summary article:last-child { border: 0; }
.bot-capability-summary strong { color: #fff; font-size: 1.35rem; }
.bot-capability-summary span { color: rgba(255,255,255,.44); font-size: .78rem; }
.bot-panel-note { display: flex; gap: 1rem; padding: 1.2rem; border: 1px solid rgba(88,101,242,.2); border-radius: 16px; background: rgba(88,101,242,.07); }
.bot-panel-note > i { color: #aeb6ff; font-size: 1.7rem; }
.bot-panel-note h3 { margin: 0 0 .35rem; color: #fff; }
.bot-panel-note p { margin: 0; color: rgba(255,255,255,.52); line-height: 1.55; }
.bot-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.bot-feature-card { display: flex; flex-direction: column; min-height: 245px; padding: 1.15rem; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.025); }
.bot-feature-card.is-available { border-color: rgba(88,101,242,.19); }
.bot-feature-card.is-locked { opacity: .64; }
.bot-feature-card-top { display: flex; align-items: center; justify-content: space-between; }
.bot-feature-card-top i { color: #96a0ff; font-size: 1.55rem; }
.bot-feature-card-top span { padding: .3rem .5rem; border-radius: 999px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); font-size: .68rem; text-transform: uppercase; }
.bot-feature-card h3 { margin: 1rem 0 .45rem; color: #fff; }
.bot-feature-card p { flex: 1; margin: 0; color: rgba(255,255,255,.5); line-height: 1.52; font-size: .86rem; }
.bot-feature-card-meta { display: flex; gap: .4rem; margin: .8rem 0; }
.bot-feature-card-meta span { padding: .27rem .45rem; border-radius: 6px; color: rgba(255,255,255,.48); background: rgba(255,255,255,.04); font-size: .67rem; }
.bot-feature-active,.bot-feature-lock { display: flex; align-items: center; gap: .4rem; color: var(--primary,#d7ff3f); font-size: .78rem; }
.bot-feature-lock { color: #ffb27a; }
.bot-inline-switch { display: inline-flex; align-items: center; justify-content: space-between; gap: .7rem; color: rgba(255,255,255,.64); font-size: .78rem; cursor: pointer; }
.bot-inline-switch input { position: absolute; opacity: 0; pointer-events: none; }
.bot-inline-switch > i { position: relative; flex: 0 0 42px; width: 42px; height: 23px; border-radius: 999px; background: rgba(255,255,255,.14); transition: .2s; }
.bot-inline-switch > i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: .2s; }
.bot-inline-switch input:checked + i { background: var(--primary,#d7ff3f); }
.bot-inline-switch input:checked + i::after { transform: translateX(19px); background: #111; }
.bot-command-toolbar { position: sticky; top: 80px; z-index: 4; display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding: .75rem; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(10,11,16,.96); backdrop-filter: blur(12px); }
.bot-command-toolbar > label { display: flex; align-items: center; gap: .5rem; min-width: 210px; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: rgba(255,255,255,.45); }
.bot-command-toolbar input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; }
.bot-command-filters { display: flex; flex-wrap: wrap; gap: .35rem; }
.bot-command-filters button { padding: .5rem .65rem; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; color: rgba(255,255,255,.55); background: transparent; cursor: pointer; }
.bot-command-filters button.is-active { color: #111; border-color: var(--primary,#d7ff3f); background: var(--primary,#d7ff3f); }
.bot-command-list { display: grid; gap: .65rem; }
.bot-command-card { display: grid; grid-template-columns: minmax(250px,1.2fr) minmax(180px,.8fr) minmax(310px,1fr); align-items: center; gap: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,.075); border-radius: 14px; background: rgba(255,255,255,.02); }
.bot-command-card[hidden] { display: none; }
.bot-command-card.is-locked { opacity: .6; }
.bot-command-main { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.bot-command-slash { flex: 0 0 auto; padding: .5rem .6rem; border-radius: 9px; color: #c1c6ff; background: rgba(88,101,242,.13); font-family: monospace; font-weight: 700; }
.bot-command-main h3 { margin: 0 0 .25rem; color: rgba(255,255,255,.88); font-size: .9rem; }
.bot-command-main p { margin: 0; color: rgba(255,255,255,.4); font-size: .7rem; }
.bot-command-permissions { display: flex; flex-wrap: wrap; gap: .35rem; }
.bot-command-permissions span { max-width: 100%; padding: .3rem .45rem; border-radius: 6px; color: rgba(255,255,255,.48); background: rgba(255,255,255,.04); font-size: .65rem; overflow-wrap: anywhere; }
.bot-command-controls { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: .8rem; }
.bot-command-controls > label:last-child { display: grid; gap: .3rem; color: rgba(255,255,255,.55); font-size: .7rem; }
.bot-command-controls small { color: rgba(255,255,255,.3); }
.bot-command-controls input[type="text"] { width: 100%; padding: .6rem .7rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #fff; background: rgba(0,0,0,.25); }
.bot-command-locked { color: #ffb27a; font-size: .76rem; text-align: right; }
.bot-command-empty { padding: 2rem; color: rgba(255,255,255,.5); text-align: center; }
.bot-settings-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .75rem; }
.bot-setting-field { display: grid; gap: .75rem; padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.02); }
.bot-setting-field.is-toggle { grid-template-columns: 1fr auto; align-items: center; }
.bot-setting-field > span:first-child { display: grid; gap: .25rem; }
.bot-setting-field strong { color: rgba(255,255,255,.88); }
.bot-setting-field small { color: rgba(255,255,255,.43); line-height: 1.4; }
.bot-setting-field > input { width: 100%; padding: .72rem .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #fff; background: rgba(0,0,0,.25); }
.bot-setting-field > select,.bot-setting-field > textarea { width: 100%; padding: .72rem .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #fff; background: rgba(0,0,0,.25); }
.bot-setting-field > textarea { min-height: 110px; resize: vertical; }
.bot-setting-field select[multiple] { min-height: 112px; }
.bot-setting-field option,.bot-command-controls option,.bot-repeater-row option { color: #fff; background: #11131a; }
.bot-setting-field.is-locked { opacity: .58; }
.bot-setting-field em { grid-column: 1/-1; display: inline-flex; align-items: center; gap: .35rem; color: #ffb27a; font-size: .72rem; font-style: normal; }
.bot-setting-group + .bot-setting-group { margin-top: 1.2rem; }
.bot-setting-group > h3 { margin: 0 0 .75rem; color: rgba(255,255,255,.8); font-size: .9rem; letter-spacing: .04em; }
.bot-dynamic-empty { margin: 0; padding: 2rem; border: 1px dashed rgba(255,255,255,.12); border-radius: 16px; color: rgba(255,255,255,.5); text-align: center; }
.bot-discovery-state { min-height: 180px; align-items: center; }
.bot-command-options { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.bot-command-options span { display: inline-flex; gap: .35rem; padding: .3rem .5rem; border-radius: 7px; color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); font-size: .7rem; }
.bot-command-options b { color: rgba(255,255,255,.82); }
.bot-command-supported { display: inline-flex; align-items: center; gap: .35rem; margin-top: .7rem; color: #adcf37; font-size: .75rem; }
.bot-command-controls select[multiple] { width: 100%; min-height: 96px; padding: .55rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #fff; background: rgba(0,0,0,.25); }
.bot-repeater.is-locked { opacity: .6; }
.bot-collection-lock { display: inline-flex; align-items: center; gap: .3rem; color: #ffb27a; font-size: .75rem; }
.bot-repeater-row.is-dynamic { grid-template-columns: repeat(auto-fit,minmax(155px,1fr)) 38px; align-items: end; }
.bot-repeater-row.is-dynamic > label { display: grid; gap: .3rem; min-width: 0; }
.bot-repeater-row.is-dynamic > label > span { color: rgba(255,255,255,.55); font-size: .7rem; }
.bot-repeater-row.is-dynamic select[multiple] { min-height: 86px; }
.bot-repeater { margin-bottom: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.02); }
.bot-repeater-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.bot-repeater-heading h3 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .25rem; color: #fff; }
.bot-repeater-heading h3 i { color: #9da6ff; }
.bot-repeater-heading p { margin: 0; color: rgba(255,255,255,.42); font-size: .78rem; }
.bot-repeater-heading button { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .7rem; border: 1px solid rgba(215,255,63,.2); border-radius: 9px; color: var(--primary,#d7ff3f); background: rgba(215,255,63,.05); cursor: pointer; }
.bot-repeater-rows { display: grid; gap: .55rem; }
.bot-repeater-row { display: grid; grid-template-columns: 1fr 1fr 38px; gap: .55rem; }
.bot-repeater-row.is-wide { grid-template-columns: .7fr 1.8fr 48px 38px; }
.bot-repeater-row input,.bot-repeater-row select,.bot-repeater-row textarea { width: 100%; padding: .65rem .7rem; border: 1px solid rgba(255,255,255,.1); border-radius: 9px; color: #fff; background: rgba(0,0,0,.25); }
.bot-repeater-row textarea { min-height: 42px; resize: vertical; }
.bot-repeater-row input[type="color"] { min-height: 42px; padding: .3rem; }
.bot-repeater-row button { border: 1px solid rgba(255,116,116,.18); border-radius: 9px; color: #ff8c8c; background: rgba(255,116,116,.06); cursor: pointer; }
.bot-system-table { display: grid; gap: .45rem; }
.bot-system-table article { display: grid; grid-template-columns: 1fr 110px 150px; align-items: center; gap: .8rem; padding: .8rem 1rem; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; }
.bot-system-table article > div { display: grid; gap: .2rem; min-width: 0; }
.bot-system-table strong { color: rgba(255,255,255,.84); }
.bot-system-table small { color: rgba(255,255,255,.34); overflow-wrap: anywhere; }
.bot-system-table article > span { color: #aeb6ff; font-family: monospace; font-size: .75rem; }
.bot-system-table b { color: var(--primary,#d7ff3f); font-size: .7rem; text-align: right; }
.bot-system-table b.is-platform { color: #ffbb82; }
.bot-management-savebar { position: sticky; z-index: 8; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(9,10,14,.94); box-shadow: 0 -15px 40px rgba(0,0,0,.28); backdrop-filter: blur(16px); }
.bot-management-savebar > span { color: rgba(255,255,255,.5); font-size: .8rem; }
.bot-management-savebar > span i { color: var(--primary,#d7ff3f); }
.bot-management-savebar .btn:disabled { cursor: not-allowed; filter: grayscale(.6); opacity: .55; }

@media (max-width: 1180px) {
    .bot-management-stats,.bot-overview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bot-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bot-command-card { grid-template-columns: 1fr 1fr; }
    .bot-command-controls,.bot-command-locked { grid-column: 1/-1; text-align: left; }
}
@media (max-width: 900px) {
    .bot-management-layout { grid-template-columns: 1fr; }
    .bot-management-nav { position: static; grid-template-columns: repeat(3,1fr); }
    .bot-management-nav button { grid-template-columns: 20px 1fr auto; }
    .bot-nav-license { display: none; }
    .bot-command-toolbar { position: static; flex-direction: column; }
}
@media (max-width: 680px) {
    .bot-management-shell { width: min(100% - 1rem,1440px); }
    .bot-management-stats,.bot-overview-grid,.bot-feature-grid,.bot-settings-grid { grid-template-columns: 1fr; }
    .bot-capability-summary { grid-template-columns: repeat(2,1fr); }
    .bot-capability-summary article:nth-child(2) { border-right: 0; }
    .bot-capability-summary article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.08); }
    .bot-management-nav { display: flex; overflow-x: auto; }
    .bot-management-nav button { flex: 0 0 auto; display: flex; width: auto; }
    .bot-command-card { grid-template-columns: 1fr; }
    .bot-command-controls { grid-template-columns: 1fr; }
    .bot-command-permissions { grid-column: 1; }
    .bot-repeater-heading,.bot-management-savebar { align-items: stretch; flex-direction: column; }
    .bot-repeater-row,.bot-repeater-row.is-wide { grid-template-columns: 1fr; }
    .bot-repeater-row button { min-height: 38px; }
    .bot-system-table article { grid-template-columns: 1fr; }
    .bot-system-table b { text-align: left; }
    .bot-management-savebar .btn { width: 100%; justify-content: center; }
}

/* Global manifest komut merkezi: kategori accordion + aranabilir rol seçici */
.bot-command-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: center;
    gap: .7rem 1rem;
    padding: .85rem;
    border-color: rgba(140, 151, 255, .15);
    background: rgba(10, 11, 16, .92);
    box-shadow: 0 16px 45px rgba(0, 0, 0, .2);
}
.bot-command-search {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
    padding: .72rem .85rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    color: #9da6ff;
    background: rgba(255, 255, 255, .035);
}
.bot-command-search:focus-within { border-color: rgba(157, 166, 255, .48); box-shadow: 0 0 0 3px rgba(88, 101, 242, .1); }
.bot-command-status { display: flex; align-items: center; gap: .55rem; color: rgba(255,255,255,.48); font-size: .72rem; }
.bot-command-status select {
    min-width: 112px;
    padding: .67rem 2rem .67rem .72rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    color: #fff;
    background: #12141b;
    color-scheme: dark;
}
.bot-command-filters { grid-column: 1 / -1; padding-top: .1rem; }
.bot-command-filters button { border-radius: 999px; }
.bot-command-groups { display: grid; gap: .8rem; }
.bot-command-category {
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(255,255,255,.012));
    overflow: clip;
}
.bot-command-category[hidden] { display: none; }
.bot-command-category > summary {
    display: grid;
    grid-template-columns: 1fr auto 24px;
    align-items: center;
    gap: .8rem;
    padding: .95rem 1rem;
    color: #fff;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.bot-command-category > summary::-webkit-details-marker { display: none; }
.bot-command-category > summary > span { display: flex; align-items: center; gap: .55rem; }
.bot-command-category > summary > span i { color: #9da6ff; font-size: 1.15rem; }
.bot-command-category > summary strong { font-size: .9rem; }
.bot-command-category > summary b { padding: .25rem .55rem; border-radius: 999px; color: #c7ccff; background: rgba(88,101,242,.13); font-size: .68rem; }
.bot-command-category > summary > i { color: rgba(255,255,255,.42); font-size: 1.25rem; transition: transform .2s ease; }
.bot-command-category[open] > summary > i { transform: rotate(180deg); }
.bot-command-category > .bot-command-list { gap: .55rem; padding: 0 .7rem .7rem; border-top: 1px solid rgba(255,255,255,.06); }
.bot-command-category .bot-command-card {
    grid-template-columns: minmax(240px, 1.25fr) minmax(160px, .8fr) minmax(250px, 1fr);
    margin-top: .55rem;
    padding: .9rem;
    border-radius: 13px;
    background: rgba(5,6,10,.34);
}
.bot-command-details { display: grid; gap: .45rem; min-width: 0; }
.bot-command-controls { align-items: center; }
.bot-command-role-control { display: grid; gap: .5rem; min-width: 0; }
.bot-role-summary { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.bot-role-summary span { color: rgba(255,255,255,.43); font-size: .68rem; }
.bot-role-summary strong { color: rgba(255,255,255,.76); font-size: .7rem; }
.bot-role-chips { display: flex; flex-wrap: wrap; gap: .3rem; min-height: 24px; }
.bot-role-chips:empty { display: none; }
.bot-role-chips span {
    max-width: 150px;
    padding: .28rem .48rem;
    border: 1px solid rgba(157,166,255,.18);
    border-radius: 999px;
    color: #c9cdff;
    background: rgba(88,101,242,.1);
    font-size: .64rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bot-role-picker-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    padding: .58rem .7rem;
    border: 1px solid rgba(157,166,255,.2);
    border-radius: 10px;
    color: #c8cdff;
    background: rgba(88,101,242,.075);
    font: inherit;
    font-size: .72rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.bot-role-picker-button:hover { border-color: rgba(157,166,255,.45); background: rgba(88,101,242,.14); transform: translateY(-1px); }
.bot-role-dialog {
    width: min(560px, calc(100% - 1.2rem));
    max-height: min(720px, calc(100dvh - 2rem));
    padding: 0;
    border: 1px solid rgba(157,166,255,.23);
    border-radius: 22px;
    color: #fff;
    background: #0d0f15;
    box-shadow: 0 35px 100px rgba(0,0,0,.7);
    overflow: hidden;
}
.bot-role-dialog::backdrop { background: rgba(2,3,7,.78); backdrop-filter: blur(8px); }
.bot-role-dialog-card { display: grid; grid-template-rows: auto auto auto minmax(100px,1fr) auto; max-height: inherit; }
.bot-role-dialog header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.3rem 1rem; border-bottom: 1px solid rgba(255,255,255,.07); }
.bot-role-dialog header span { color: #9da6ff; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.bot-role-dialog h2 { margin: .3rem 0 .2rem; font-size: 1.3rem; }
.bot-role-dialog header p { margin: 0; color: rgba(255,255,255,.44); font-size: .76rem; }
.bot-role-dialog header button { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; color: rgba(255,255,255,.66); background: rgba(255,255,255,.035); cursor: pointer; }
.bot-role-dialog header button i { font-size: 1.35rem; }
.bot-role-search { display: flex; align-items: center; gap: .55rem; margin: 1rem 1.2rem .55rem; padding: .7rem .8rem; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; color: #9da6ff; background: rgba(255,255,255,.035); }
.bot-role-search input { width: 100%; border: 0; outline: 0; color: #fff; background: transparent; }
.bot-role-dialog-help { margin: 0 1.2rem .75rem; color: rgba(255,255,255,.4); font-size: .72rem; }
.bot-role-options { display: grid; align-content: start; gap: .4rem; min-height: 120px; padding: 0 1.2rem 1rem; overflow-y: auto; }
.bot-role-option { position: relative; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: .65rem; padding: .7rem .75rem; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.025); cursor: pointer; }
.bot-role-option:hover { border-color: rgba(157,166,255,.25); }
.bot-role-option input { position: absolute; opacity: 0; pointer-events: none; }
.bot-role-option > i { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: transparent; }
.bot-role-option input:checked + i { border-color: var(--primary,#d7ff3f); color: #111; background: var(--primary,#d7ff3f); }
.bot-role-option > span { display: grid; gap: .12rem; min-width: 0; }
.bot-role-option strong { overflow: hidden; color: rgba(255,255,255,.86); font-size: .8rem; text-overflow: ellipsis; white-space: nowrap; }
.bot-role-option small { color: rgba(255,255,255,.3); font-family: monospace; font-size: .62rem; }
.bot-role-empty { padding: 1.5rem; border: 1px dashed rgba(255,255,255,.11); border-radius: 12px; color: rgba(255,255,255,.45); text-align: center; }
.bot-role-dialog footer { display: flex; justify-content: flex-end; gap: .65rem; padding: .9rem 1.2rem 1.15rem; border-top: 1px solid rgba(255,255,255,.07); }
.bot-setting-field select { color-scheme: dark; }
.bot-resource-pending { display: flex; align-items: center; gap: .45rem; padding: .72rem .8rem; border: 1px dashed rgba(157,166,255,.22); border-radius: 10px; color: rgba(255,255,255,.5); background: rgba(88,101,242,.045); font-size: .75rem; }
.bot-resource-pending i { color: #9da6ff; }

@media (max-width: 1180px) {
    .bot-command-category .bot-command-card { grid-template-columns: 1fr 1fr; }
    .bot-command-category .bot-command-controls,.bot-command-category .bot-command-locked { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    .bot-command-toolbar { grid-template-columns: 1fr; }
    .bot-command-status,.bot-command-filters { grid-column: 1; }
    .bot-command-status { justify-content: space-between; }
    .bot-command-status select { flex: 1; }
    .bot-command-category > summary { grid-template-columns: 1fr auto 20px; padding: .85rem; }
    .bot-command-category .bot-command-card { grid-template-columns: 1fr; }
    .bot-command-details,.bot-command-category .bot-command-controls { grid-column: 1; }
    .bot-role-dialog footer { flex-direction: column-reverse; }
    .bot-role-dialog footer .btn { width: 100%; justify-content: center; }
}

/* Bozkurt Studio hizmetler ve hakkımızda anlatımı */
.home-hero-actions,
.about-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.6rem;
}

.home-hero-actions .btn-primary,
.home-hero-actions .btn-secondary,
.about-header-actions .btn-primary,
.about-header-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 3.2rem;
    padding: .85rem 1.2rem;
}

.studio-copy-kicker,
.about-page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .9rem;
    color: var(--primary-color);
    font-family: var(--code-font, monospace);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.studio-copy-kicker::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 10px rgba(215, 255, 63, .4);
}

.studio-inline-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    color: var(--primary-color);
    font-weight: 700;
}

.studio-inline-link:hover i {
    transform: translateX(4px);
}

.studio-inline-link i {
    transition: transform .2s ease;
}

.studio-services {
    border-block: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 8% 18%, rgba(215, 255, 63, .07), transparent 28rem),
        radial-gradient(circle at 92% 80%, rgba(139, 92, 246, .1), transparent 30rem),
        rgba(255, 255, 255, .012);
}

.studio-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
    align-items: end;
    gap: clamp(1.5rem, 5vw, 5rem);
    margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.studio-section-heading .section-title {
    margin-bottom: 0;
}

.studio-section-heading > p {
    margin: 0;
    color: rgba(247, 247, 242, .62);
    font-size: 1rem;
    line-height: 1.75;
}

.studio-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.studio-service-card {
    display: flex;
    flex-direction: column;
    min-height: 18rem;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, .045), rgba(8, 10, 12, .92));
    box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.studio-service-card:hover {
    border-color: rgba(215, 255, 63, .3);
    box-shadow: 0 26px 55px rgba(0, 0, 0, .3), 0 0 28px rgba(215, 255, 63, .05);
    transform: translateY(-6px);
}

.studio-service-icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(215, 255, 63, .22);
    border-radius: .85rem;
    color: var(--primary-color);
    background: rgba(215, 255, 63, .055);
    font-size: 1.65rem;
}

.studio-service-card h3 {
    margin-bottom: .7rem;
    color: #fff;
    font-size: 1.08rem;
}

.studio-service-card p {
    flex: 1;
    margin: 0 0 1.2rem;
    color: rgba(247, 247, 242, .56);
    font-size: .86rem;
    line-height: 1.7;
}

.studio-service-card > a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: rgba(247, 247, 242, .8);
    font-size: .75rem;
    font-weight: 700;
}

.studio-service-card > a:hover {
    color: var(--primary-color);
}

.studio-services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .025);
}

.studio-services-cta > div {
    display: grid;
    gap: .25rem;
}

.studio-services-cta strong {
    color: #fff;
}

.studio-services-cta span {
    color: rgba(247, 247, 242, .5);
    font-size: .85rem;
}

.studio-services-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    flex: 0 0 auto;
}

body:not(.premium-home) .page-header .about-page-eyebrow {
    position: relative;
    z-index: 1;
}

body:not(.premium-home) .page-header .page-title {
    max-width: 60rem;
    margin-inline: auto;
}

body:not(.premium-home) .page-header .page-subtitle {
    max-width: 48rem;
    margin-inline: auto;
    line-height: 1.7;
}

.about-header-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
}

.studio-about-services .about-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.studio-about-services .about-service-card {
    min-height: 21rem;
}

.studio-process {
    background: var(--secondary-color);
}

.studio-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .8rem;
    list-style: none;
    counter-reset: studio-process;
}

.studio-process-step {
    position: relative;
    min-height: 16.5rem;
    padding: 1.3rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, .04), rgba(8, 10, 12, .72));
}

.studio-process-step::after {
    content: '';
    position: absolute;
    top: 2.1rem;
    left: 4.7rem;
    right: -1rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(215, 255, 63, .3), transparent);
}

.studio-process-step > span {
    display: grid;
    place-items: center;
    width: 2.8rem;
    height: 2.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(215, 255, 63, .25);
    border-radius: 50%;
    color: var(--primary-color);
    background: rgba(215, 255, 63, .05);
    font-family: var(--code-font, monospace);
    font-size: .72rem;
    font-weight: 800;
}

.studio-process-step h3 {
    margin-bottom: .7rem;
    color: #fff;
    font-size: 1rem;
}

.studio-process-step p {
    margin: 0;
    color: rgba(247, 247, 242, .52);
    font-size: .82rem;
    line-height: 1.65;
}

.studio-values {
    border-block: 1px solid rgba(255, 255, 255, .06);
    background:
        radial-gradient(circle at 85% 35%, rgba(139, 92, 246, .12), transparent 30rem),
        rgba(255, 255, 255, .012);
}

.studio-values-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
}

.studio-values-copy p {
    margin-bottom: 1.6rem;
    color: rgba(247, 247, 242, .6);
    line-height: 1.75;
}

.studio-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}

.studio-values-grid article {
    display: flex;
    gap: .85rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .9rem;
    background: rgba(255, 255, 255, .025);
}

.studio-values-grid article > i {
    flex: 0 0 auto;
    color: var(--primary-color);
    font-size: 1.45rem;
}

.studio-values-grid h3 {
    margin-bottom: .35rem;
    color: #fff;
    font-size: .95rem;
}

.studio-values-grid p {
    margin: 0;
    color: rgba(247, 247, 242, .5);
    font-size: .78rem;
    line-height: 1.55;
}

@media (max-width: 1080px) {
    .studio-service-grid,
    .studio-about-services .about-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .studio-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .studio-section-heading,
    .studio-values-layout {
        grid-template-columns: 1fr;
    }

    .studio-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .studio-services-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .home-hero-actions .btn-primary,
    .home-hero-actions .btn-secondary,
    .about-header-actions .btn-primary,
    .about-header-actions .btn-secondary,
    .studio-services-cta .btn-primary {
        width: 100%;
    }

    .studio-service-grid,
    .studio-about-services .about-services-grid,
    .studio-process-grid,
    .studio-values-grid {
        grid-template-columns: 1fr;
    }

    .studio-service-card,
    .studio-about-services .about-service-card,
    .studio-process-step {
        min-height: auto;
    }

    .studio-process-step::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .studio-service-card,
    .studio-inline-link i {
        transition: none;
    }

    .studio-service-card:hover {
        transform: none;
    }
}

.message-list {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
}





.message-sender {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}





.message-content {
    line-height: 1.5;
}



.reply-form {
    display: flex;
    padding: 1rem;
    border-top: 1px solid var(--bg-lighter);
}

.reply-form textarea {
    flex-grow: 1;
    background-color: var(--bg-dark);
    border: 1px solid var(--bg-lighter);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-color);
    resize: none;
    /* Yeniden boyutlandırmayı engelle */
    font-family: var(--body-font);
    height: 50px;
    transition: height 0.2s;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    height: 80px;
}

.reply-form button {
    background: var(--primary-color);
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-left: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.reply-form button:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--text-color-light);
}

.back-link:hover {
    color: var(--primary-color);
}

/* ===== ADMIN_MESSAGES.PHP İÇİN EK STİLLER ===== */
.messages-section {
    margin-bottom: 3rem;
}

.messages-section .section-title {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--bg-lighter);
}

.action-btn.view:hover {
    color: #4CAF50;
    /* Yeşil */
}


/* ===== SUPPORT.PHP İÇİN EK STİLLER (DÜZELTİLMİŞ VE GÜZELLEŞTİRİLMİŞ) ===== */
.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.ticket-card {
    display: flex;
    flex-wrap: wrap;
    /* Mobilde alt satıra kayması için */
    align-items: center;
    gap: 1rem 1.5rem;
    /* Dikey ve yatay boşluk */
    background-color: var(--container-color);
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    /* Link alt çizgisini kaldır */
    color: var(--text-color);
    /* Link rengini düzelt */
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.1);
}

.ticket-subject {
    flex-grow: 1;
    /* Konu başlığının tüm boş alanı kaplamasını sağla */
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    min-width: 250px;
    /* Konu başlığı sıkışmasın */
}

.ticket-subject i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.ticket-status {
    flex-shrink: 0;
    /* Küçülmesin */
}









.ticket-date {
    font-size: 0.9rem;
    color: var(--text-color-light);
    white-space: nowrap;
    /* Tarih alt satıra düşmesin */
}

.ticket-arrow {
    margin-left: auto;
    /* Oku en sağa yasla */
    font-size: 1.5rem;
    color: var(--text-color-light);
    transition: transform 0.3s, color 0.3s;
}

.ticket-card:hover .ticket-arrow {
    transform: translateX(5px);
    color: var(--primary-color);
}

.no-tickets {
    text-align: center;
    color: var(--text-color-light);
    padding: 3rem;
    background-color: var(--container-color);
    border-radius: 8px;
}

/* Support sayfası mobil uyumluluk */
@media screen and (max-width: 768px) {
    .ticket-card {
        flex-direction: column;
        /* Her şeyi alt alta diz */
        align-items: flex-start;
        /* Sola yasla */
    }

    .ticket-arrow {
        display: none;
        /* Mobilde oku gizle */
    }

    .ticket-date {
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--bg-lighter, #1d2d50);
    }
}

/* ===== PRODUCTS.PHP İÇİN EK STİLLER ===== */
.product-card {
    background-color: var(--container-color);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bg-lighter, #1d2d50);
    position: relative;
    /* İndirim etiketi için */
    max-width: 350px;
    /* Tek kart kaldığında büyümemesi için */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.2);
}

.product-card img {
    width: 100%;
    aspect-ratio: 16/10;
    /* Veya 4/3 */
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-info .product-description {
    color: var(--text-color-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Açıklamanın alanı doldurmasını sağlar */
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    /* Footer'ı kartın altına iter */
    padding-top: 1rem;
    border-top: 1px solid var(--bg-lighter, #1d2d50);
}

/* Fiyat alanı (indirimli/indirimsiz) */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-color-light);
    text-decoration: line-through;
    margin-bottom: 0.2rem;
}

.btn-add-cart {
    /* style.css'deki .btn-primary'ye benzer */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: var(--font-semi-bold);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-add-cart:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}

/* Ürün kartı satın alma alanı */
.products-section .product-card .product-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
    align-items: stretch;
}

.products-section .product-card .price-container {
    min-width: 0;
    min-height: 2.75rem;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
}

.products-section .product-card .product-price {
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    text-shadow: 0 0 18px rgba(215, 255, 63, 0.18);
}

.products-section .product-card .original-price {
    flex: 0 0 auto;
    margin: 0;
    font-size: 0.78rem;
}

.product-card-actions {
    display: grid;
    grid-template-columns: minmax(6.8rem, 0.82fr) minmax(9.4rem, 1.28fr);
    gap: 0.65rem;
    width: 100%;
}

.products-section .product-card-actions .card-detail-link,
.products-section .product-card-actions .product-card-cart-button {
    width: 100%;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.72rem 0.8rem;
    border-radius: 0.72rem;
    font-size: 0.82rem;
    font-weight: 750;
    white-space: nowrap;
}

.products-section .product-card-actions .card-detail-link {
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.products-section .product-card-actions .card-detail-link i {
    font-size: 1.05rem;
    transition: transform 0.25s var(--premium-ease);
}

.products-section .product-card-actions .card-detail-link:hover {
    color: #fff;
    border-color: rgba(215, 255, 63, 0.4);
    background: rgba(215, 255, 63, 0.07);
}

.products-section .product-card-actions .card-detail-link:hover i {
    transform: translateX(3px);
}

.product-card-cart-form {
    display: block;
    min-width: 0;
    width: 100%;
}

.products-section .product-card-actions .product-card-cart-button {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #090b05;
    border: 1px solid var(--primary-color);
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.26), transparent 42%),
        var(--primary-color);
    box-shadow: 0 8px 24px rgba(183, 232, 20, 0.16);
}

.products-section .product-card-actions .product-card-cart-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -40% auto -40% -45%;
    width: 34%;
    background: rgba(255, 255, 255, 0.52);
    transform: skewX(-18deg);
    transition: left 0.55s var(--premium-ease);
}

.products-section .product-card-actions .product-card-cart-button:hover {
    color: #050600;
    border-color: #e5ff82;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.3), transparent 42%),
        #dcff4f;
    box-shadow: 0 12px 30px rgba(183, 232, 20, 0.28);
    transform: translateY(-2px);
}

.products-section .product-card-actions .product-card-cart-button:hover::before {
    left: 125%;
}

.products-section .product-card-actions .product-card-cart-button:disabled {
    cursor: wait;
    opacity: 0.86;
}

.products-section .product-card-actions .product-card-cart-button.is-added {
    color: #041109;
    border-color: #69ec9c;
    background: #69ec9c;
    box-shadow: 0 10px 28px rgba(105, 236, 156, 0.22);
}

.product-card-cart-button .cart-button-icon {
    flex: 0 0 auto;
    font-size: 1.12rem;
}

.product-card-cart-button.is-loading .cart-button-icon {
    animation: product-cart-spin 0.75s linear infinite;
}

@keyframes product-cart-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 420px) {
    .product-card-actions {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* İndirim Etiketi */
.discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* ===== PRODUCTS.PHP - FİLTRELEME VE SLIDER STİLLERİ ===== */

.filter-controls {
    background-color: var(--container-color);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid var(--bg-lighter, #1d2d50);
    display: grid;
    grid-template-columns: 1fr auto;
    /* Arama | Fiyat Slider */
    gap: 2rem;
    align-items: center;
}





.search-filter input[type="search"]:focus {
    /* Odaklanma stili ekleyelim */
    outline: none;
    border-color: var(--primary-color);
}












/* --- Ürün Bulunamadı Mesajı --- */


/* Grid'de hiç ürün kalmadığında bu mesaj görünür */


/* --- Mobil Uyumluluk --- */
@media screen and (max-width: 768px) {



}


/* ===== VIEW_PRODUCT.PHP - ÜRÜN DETAY SAYFASI STİLLERİ ===== */

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    /* Resim | Bilgiler */
    gap: 3rem;
    align-items: flex-start;
    /* İçerikleri yukarı yasla */
}

/* Ana resim */
.main-product-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 1rem;
    aspect-ratio: 16 / 10;
    /* En boy oranı */
    object-fit: cover;
    /* Resmi alana sığdır */
}

/* Thumbnail Galerisi */


.product-thumbnails img {
    width: 80px;
    /* Thumbnail genişliği */
    height: 60px;
    /* Thumbnail yüksekliği */
    object-fit: cover;
    /* Resmi alana sığdır */
    border-radius: 4px;
    border: 2px solid transparent;
    /* Kenarlık şeffaf başlasın */
    cursor: pointer;
    /* Tıklanabilir hissi versin */
    opacity: 0.7;
    transition: opacity 0.3s, border-color 0.3s;
}





/* Ürün Detayları Sağ Sütun */
.product-details h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-details .product-description {
    color: var(--text-color-light);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.product-details .price-section {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Küçük ekranlarda alt alta gelmesi için */
    gap: 1rem;
}

/* Fiyat stilleri (products.php'den kopyalandı/uyarlandı) */
/* .price-container, .product-price, .original-price stilleri zaten yukarıda var */
.discount-badge-detail {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Sepete Ekle Butonu (products.php'den kopyalandı/uyarlandı) */
/* .btn-add-cart stili zaten yukarıda var */


/* --- Diğer Ürünler --- */
.related-products-section {
    padding-top: 4rem;
    border-top: 1px solid var(--bg-lighter, #1d2d50);
    margin-top: 4rem;
}

/* Diğer ürünler başlığı için (view_product içinde section-subtitle kullandık) */
.related-products-section .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
    /* After elementi için */
}




/* --- Yorumlar Bölümü --- */
.reviews-section {
    padding-top: 4rem;
    border-top: 1px solid var(--bg-lighter, #1d2d50);
    margin-top: 4rem;
}

/* Yorumlar başlığı için (view_product içinde section-subtitle kullandık) */
.reviews-section .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}











































/* Taşan kelimeleri böl */





/* Star rating input */








/* Yıldız rengi */

/* Form stilleri (style.css'de zaten benzerleri var, uyumlu hale getirildi) */
.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
    font-size: 0.9rem;
}






/* --- Mobil Uyumluluk --- */
@media screen and (max-width: 992px) {
    

    /* Detaylar alta gelsin */
    

    /* Özet alta gelsin */
}

@media screen and (max-width: 576px) {
    

    /* Yorumlarda avatar üste gelsin */
    

    /* Başlık küçülsün */
    
}




/* ===== VIEW_PRODUCT.PHP - ÜRÜN DETAY SAYFASI STİLLERİ ===== */

.product-detail-grid {
    display: grid;
    /* Görseldeki gibi sola daha dar bir alan ayıralım */
    grid-template-columns: 0.8fr 1.2fr;
    /* Resim | Bilgiler (Oranları ayarla) */
    gap: 3rem;
    align-items: flex-start;
    background-color: var(--container-color);
    /* Ana grid'e arka plan verelim */
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 3rem;
    /* Grid ile sonraki bölüm arasına boşluk */
}

/* Ana resim */
.main-product-image {
    width: 100%;
    border-radius: 8px;
    /* Gölgeyi kaldıralım, grid zaten kutu içinde */
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.2); */
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 1rem;
    aspect-ratio: 4 / 3;
    /* Görseldeki orana daha yakın */
    object-fit: cover;
}

/* Thumbnail Galerisi */
.product-thumbnails {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-thumbnails img {
    width: 70px;
    /* Biraz daha küçük */
    height: 52px;
    /* Orantılı */
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    /* Daha soluk başlasın */
    transition: opacity 0.3s, border-color 0.3s;
}

.product-thumbnails img:hover {
    opacity: 1;
    border-color: var(--text-color-light);
}

.product-thumbnails img.active-thumb {
    opacity: 1;
    border-color: var(--primary-color);
}

/* Ürün Detayları Sağ Sütun */




/* Fiyat Bölümü (Görseldeki gibi koyu bar) */




/* Yan yana getir */






/* Sepete Ekle Butonu (Görseldeki gibi) */
.product-details .btn-add-cart {
    /* .product-details ekleyerek özgüllüğü artır */
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    color: #fff;
    padding: 0.7rem 1.8rem;
    /* Biraz daha yassı ve geniş */
    border-radius: 50px;
    font-weight: var(--font-semi-bold);
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
    font-size: 1rem;
    cursor: pointer;
}

.product-details .btn-add-cart:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.5);
}

/* --- Diğer Ürünler --- */
.related-products-section {
    padding-top: 3rem;
    margin-top: 3rem;
    /* Boşlukları ayarla */
    border-top: 1px solid var(--bg-lighter, #1d2d50);
}

.related-products-section .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.related-products-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* Diğer ürünler için .projects-grid ve .product-card stilleri products.php'den gelmeli (max-width dahil!) */

/* --- Yorumlar Bölümü --- */
.reviews-section {
    padding-top: 3rem;
    margin-top: 3rem;
    /* Boşlukları ayarla */
    border-top: 1px solid var(--bg-lighter, #1d2d50);
}

.reviews-section .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.reviews-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.reviews-summary {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
}

.average-rating {
    text-align: center;
}

.average-rating .score {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.average-rating .stars {
    font-size: 1.2rem;
    color: #ffc107;
    margin: 0.5rem 0;
}

.average-rating .count {
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.rating-breakdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rating-breakdown li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.rating-breakdown .bar-container {
    flex-grow: 1;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
}

.rating-breakdown .bar {
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.rating-breakdown .star-label {
    white-space: nowrap;
    width: 50px;
}

.rating-breakdown .percentage {
    font-weight: 500;
    color: var(--text-color);
    min-width: 35px;
    text-align: right;
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    display: flex;
    gap: 1.5rem;
}

.review-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-content {
    flex-grow: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author {
    font-weight: 600;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-color-light);
}

.review-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.review-comment {
    color: var(--text-color-light);
    line-height: 1.6;
    word-wrap: break-word;
}

.review-form {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
}

.review-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    font-size: 1.8rem;
    color: var(--text-color-light);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 0.2rem;
}

.rating-input input[type="radio"]:checked~label,
.rating-input label:hover,
.rating-input label:hover~label {
    color: #ffc107;
}

/* Yorum formu stilleri (style.css'den alınmalı) */
.review-form .form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-color);
    border: 1px solid #1d2d50;
    border-radius: 0.5rem;
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 1rem;
    min-height: 100px;
    resize: vertical;
}

.review-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Mobil Uyumluluk --- */
@media screen and (max-width: 992px) {
    

    
}

@media screen and (max-width: 576px) {
    

    .product-details h1 {
        font-size: 2rem;
    }

    
}

/* ===== VIEW_PRODUCT.PHP - ÜRÜN DETAY SAYFASI STİLLERİ (Dikey Galeri) ===== */

.product-detail-grid {
    display: grid;
    /* Dikey thumbnails için sol sütunu daralt, ana resim/bilgi sağda */
    grid-template-columns: auto 1fr;
    /* Thumbnails (otomatik genişlik) | Ana Resim + Bilgiler */
    gap: 1.5rem;
    /* Sütunlar arası boşluk */
    align-items: flex-start;
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 3rem;
}

/* Sol Sütun: Thumbnails (Dikey) */
.product-thumbnails-vertical {
    display: flex;
    flex-direction: column;
    /* Dikey sıralama */
    gap: 0.75rem;
    /* İsteğe bağlı: Çok fazla resim olursa scroll */
    /* max-height: 450px; */
    /* overflow-y: auto; */
}

.product-thumbnails-vertical img {
    width: 65px;
    /* Thumbnail genişliği */
    height: 50px;
    /* Thumbnail yüksekliği */
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid transparent;
    /* Kenarlık şeffaf başlasın */
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}





/* Sağ Sütun: Ana Resim ve Bilgiler */
.product-main-content {
    /* Bu div ana resim ve detayları içerir */
}

.main-product-image-container {
    /* Ana resmin etrafındaki div (isteğe bağlı) */
    margin-bottom: 1.5rem;
    /* Resimle detaylar arasına boşluk */
}

.main-product-image {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    aspect-ratio: 4 / 3;
    /* En boy oranı */
    object-fit: cover;
}

/* Ürün Detayları (Sağ sütunun alt kısmı) */
.product-details h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-details .product-description {
    color: var(--text-color-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-details .price-section {
    background-color: var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.original-price {
    font-size: 1rem;
    color: var(--text-color-light);
    text-decoration: line-through;
}

.discount-badge-detail {
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: auto;
}

/* Sepet Formu ve Miktar */
.add-to-cart-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.add-to-cart-form .form-group {
    margin-bottom: 0;
    width: 80px;
}

.add-to-cart-form input[type="number"] {
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    text-align: center;
    border-radius: 4px;
    border: 1px solid var(--bg-lighter, #1d2d50);
    background-color: var(--secondary-color);
    color: var(--text-color);
    width: 100%;
}

.add-to-cart-form input[type="number"]::-webkit-outer-spin-button,
.add-to-cart-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.add-to-cart-form input[type="number"] {
    -moz-appearance: textfield;
}

/* Sepete Ekle Butonu (.btn-add-cart stili ana style.css'den gelmeli) */
.product-details .btn-add-cart {
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
}

/* --- Diğer Ürünler ve Yorumlar --- */
/* Bu bölümlerin stilleri önceki CSS kodunda mevcut ve doğru olmalı */
.related-products-section,
.reviews-section {
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid var(--bg-lighter, #1d2d50);
}

.related-products-section .section-subtitle,
.reviews-section .section-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-color);
    position: relative;
}

.related-products-section .section-subtitle::after,
.reviews-section .section-subtitle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

/* .cards-wrapper, .reviews-summary, .review-list, .review-form vb. stiller önceki CSS'de tanımlı olmalı */


/* --- Mobil Uyumluluk (Dikey Galeri için Güncellendi) --- */
@media screen and (max-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        /* Tek sütun */
    }

    /* Thumbnails'ı ana resmin altına al ve yatay yap */
    .product-thumbnails-vertical {
        order: 2;
        /* Ana resimden sonra */
        flex-direction: row;
        /* Yatay */
        margin-top: 1rem;
        /* Scroll veya max-height gerekmez */
    }

    

    /* Geri dön linkini en sona al */
    

    .reviews-summary {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .product-thumbnails-vertical img {
        width: 60px;
        height: 45px;
    }

    /* Mobilde daha küçük */
    .review-card {
        flex-direction: column;
        gap: 1rem;
    }

    

    .average-rating .score {
        font-size: 2.5rem;
    }
}

/* ===== VIEW_PRODUCT.PHP - DÜZENLEMELER ===== */

/* 1. Dikey Thumbnail Galerisi Düzeltmesi */
.product-thumbnails-vertical img {
    width: 70px;
    /* Genişliği biraz artırabiliriz */
    height: 55px;
    /* Yüksekliği orantılı yapalım */
    object-fit: cover;
    /* Bu zaten vardı ama önemli */
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}

/* Aktif thumbnail kenarlığı (Değişiklik yok, ama burada dursun) */



/* 2. Benzer Ürünler Bölümü Stil Düzeltmeleri */

/* Kartları yan yana dizmek için grid yapısı */
.related-products-section .cards-wrapper {
    display: grid;
    /* En az 200px genişliğinde kartlar, sığdığı kadar yan yana */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    /* Kartlar arası boşluk */
    justify-content: center;
    /* Tek kart kalırsa ortala */
}

/* Benzer ürünler bölümündeki kartların genel stili */
.related-products-section .product-card {
    background-color: var(--container-color);
    /* Ana liste ile aynı arka plan */
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    /* Hafif gölge */
    border: 1px solid var(--bg-lighter, #1d2d50);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    /* İçeriği dikey yönetmek için */
    flex-direction: column;
    /* İçerik alt alta */
    text-align: center;
    /* İçeriği ortala */
    padding-bottom: 1rem;
    /* Buton için altta boşluk */
    max-width: none;
    /* Üstteki max-width'i ezelim */
}

.related-products-section .product-card:hover {
    transform: translateY(-5px);
    /* Hafif yukarı kalkma efekti */
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.15);
    /* Vurgu efekti */
}

/* Benzer ürün kartı resmi */
.related-products-section .product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Resim oranını ayarla */
    object-fit: cover;
    margin-bottom: 0.75rem;
    /* Resimle başlık arası boşluk */
}

/* Benzer ürün kartı başlığı (h5) */
.related-products-section h5 {
    font-size: 1rem;
    /* Biraz daha küçük başlık */
    font-weight: var(--font-medium);
    margin-bottom: 0.5rem;
    /* Başlıkla fiyat arası boşluk */
    padding: 0 1rem;
    /* Kenarlardan boşluk */
}

.related-products-section h5 a {
    /* Başlık linki */
    color: var(--text-color);
    text-decoration: none;
}

.related-products-section h5 a:hover {
    color: var(--primary-color);
}

/* Benzer ürün kartı fiyat alanı */
.related-products-section .price-container {
    display: flex;
    justify-content: center;
    /* Fiyatı ortala */
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1rem;
    /* Fiyatla buton arası boşluk */
    padding: 0 1rem;
    /* Kenarlardan boşluk */
}

.related-products-section .product-price {
    font-size: 1.1rem;
    /* Biraz daha küçük fiyat */
    font-weight: var(--font-semi-bold);
    color: var(--primary-color);
}

.related-products-section .original-price {
    font-size: 0.8rem;
    /* Daha küçük üstü çizili fiyat */
    color: var(--text-color-light);
    text-decoration: line-through;
}

/* Benzer ürün kartı butonu (İncele) */
.related-products-section .btn-sm.btn-secondary {
    display: inline-block;
    /* Butonun kendi genişliği kadar yer kaplaması için */
    margin: 0 auto;
    /* Butonu ortala */
    color: var(--primary-color);
    font-weight: var(--font-medium);
    padding: 0.4rem 1rem;
    /* Daha küçük buton */
    border: 1px solid var(--primary-color);
    /* Kenarlık ekleyelim */
    border-radius: 50px;
    /* Yuvarlak kenar */
    font-size: 0.85rem;
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
}

.related-products-section .btn-sm.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    /* Hover rengi */
}

/* =========================================================
   PREMIUM ANA SAYFA — BOZKURT STUDIO
   Yalnızca main.js tarafından işaretlenen ana sayfada çalışır.
   ========================================================= */
.premium-home {
    --primary-color: #d7ff3f;
    --accent-color: #8b5cf6;
    --secondary-color: #050607;
    --container-color: #111316;
    --text-color: #f7f7f2;
    --text-color-light: rgba(247, 247, 242, 0.66);
    --premium-line: rgba(255, 255, 255, 0.11);
    --premium-surface: rgba(17, 19, 22, 0.78);
    --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);
    background:
        radial-gradient(circle at 14% 18%, rgba(139, 92, 246, 0.09), transparent 28rem),
        radial-gradient(circle at 84% 8%, rgba(215, 255, 63, 0.065), transparent 30rem),
        #050607;
    overflow-x: clip;
}

.premium-home::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.32;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(to bottom, black, transparent 82%);
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

/* Plexus arka planı ana sayfada da diğer sayfalarla aynı yoğunlukta
   görünür; daha önce buradaki kısma yüzünden footer soluk kalıyordu. */
.premium-home #plexus-bg {
    opacity: 1;
    filter: none;
}

.premium-scroll-progress {
    --page-progress: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    height: 2px;
    pointer-events: none;
    transform: scaleX(var(--page-progress));
    transform-origin: left center;
    background: linear-gradient(90deg, var(--primary-color), #fff, var(--accent-color));
    box-shadow: 0 0 14px rgba(215, 255, 63, 0.46);
}

.premium-home .container {
    max-width: 1320px;
    padding-inline: clamp(1.25rem, 4vw, 3.5rem);
}

/* Ana sayfa da diğer sayfalarla aynı kapsül navbar'ı kullanır;
   burada yalnızca tipografi farkı bırakıldı (aşağıdaki .logo kuralı). */

.premium-home .site-header .logo {
    text-shadow: none;
    letter-spacing: -0.035em;
}

.premium-home .main-navigation ul li a::after {
    bottom: -2px;
    height: 1px;
    background: var(--primary-color);
}

.premium-home .auth-links .btn-register {
    color: #080906;
    background: var(--primary-color);
    box-shadow: none;
}

.premium-home .hero {
    min-height: max(760px, 100svh);
    isolation: isolate;
    padding: clamp(8.5rem, 15vh, 11rem) 0 clamp(5rem, 10vh, 8rem);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.72) 48%, rgba(5, 6, 7, 0.22) 100%),
        radial-gradient(circle at 72% 47%, rgba(139, 92, 246, 0.14), transparent 29%),
        transparent;
}

.premium-home .hero::before {
    content: '';
    position: absolute;
    width: clamp(18rem, 38vw, 42rem);
    aspect-ratio: 1;
    top: 8%;
    right: -12%;
    z-index: -1;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.012),
        0 0 0 160px rgba(255, 255, 255, 0.008);
}

.premium-home .hero::after {
    content: 'BOZKURTSTUDIO';
    position: absolute;
    left: clamp(1rem, 4vw, 4rem);
    bottom: -0.12em;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.035);
    font-size: clamp(6rem, 17vw, 17rem);
    font-weight: 700;
    line-height: 0.8;
    letter-spacing: -0.08em;
    white-space: nowrap;
    pointer-events: none;
}

.premium-home .hero > .container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 8rem);
}

.premium-home .hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0;
    text-align: left;
    animation: none;
}

.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    color: rgba(247, 247, 242, 0.68);
    font-family: var(--code-font);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    animation: premiumRise 0.9s 0.1s both var(--premium-ease);
}

.premium-eyebrow span {
    width: 2.4rem;
    height: 1px;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(215, 255, 63, 0.4);
}

.premium-home .hero-title {
    display: flex;
    flex-wrap: nowrap;
    margin: 0;
    color: var(--text-color);
    font-size: clamp(4rem, 7.35vw, 7.35rem);
    font-weight: 600;
    line-height: 0.82;
    letter-spacing: -0.075em;
    white-space: nowrap;
    background: none;
    -webkit-text-fill-color: currentColor;
    animation: none;
}

.premium-title-letter {
    display: inline-block;
    animation: premiumLetterIn 1.05s both var(--premium-ease);
    animation-delay: calc(0.13s + var(--letter-index) * 45ms);
}

.premium-title-letter:last-child {
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(215, 255, 63, 0.22);
}

.premium-home .hero-subtitle-lead {
    max-width: 650px;
    margin: 1.7rem 0 0;
    color: #fff;
    font-size: clamp(1.65rem, 3.15vw, 3.35rem);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.045em;
    animation: premiumRise 0.95s 0.46s both var(--premium-ease);
}

.premium-home .hero-description {
    max-width: 590px;
    margin: 1.65rem 0 2.2rem;
    color: rgba(247, 247, 242, 0.6);
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
    line-height: 1.85;
    animation: premiumRise 0.95s 0.58s both var(--premium-ease);
}

.premium-home .hero .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.75rem;
    padding: 0.9rem 1.6rem;
    overflow: hidden;
    color: #090a07;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    animation: premiumRise 0.95s 0.68s both var(--premium-ease);
    transition:
        color 0.4s ease,
        background-color 0.4s ease,
        box-shadow 0.4s ease,
        transform 0.22s var(--premium-ease);
    transform: translate(var(--magnetic-x, 0), var(--magnetic-y, 0));
}

.premium-home .hero .btn-primary::after {
    content: '↗';
    display: grid;
    place-items: center;
    width: 1.9rem;
    height: 1.9rem;
    margin-left: 1rem;
    border-radius: 50%;
    color: #fff;
    background: #090a07;
    transition: transform 0.45s var(--premium-ease);
}

.premium-home .hero .btn-primary:hover {
    color: var(--primary-color);
    background: rgba(5, 6, 7, 0.82);
    box-shadow: 0 20px 50px rgba(215, 255, 63, 0.12);
}

.premium-home .hero .btn-primary:hover::after {
    transform: rotate(45deg);
}

.premium-hero-signature {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2.1rem;
    color: rgba(247, 247, 242, 0.38);
    font-family: var(--code-font);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    animation: premiumRise 0.95s 0.78s both var(--premium-ease);
}

.premium-hero-signature i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--primary-color);
}

.premium-hero-visual {
    --pointer-x: 0;
    --pointer-y: 0;
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 0.92;
    justify-self: end;
    perspective: 1400px;
    animation: premiumVisualIn 1.25s 0.35s both var(--premium-ease);
}

.premium-visual-card {
    position: absolute;
    inset: 7% 3% 5% 8%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: clamp(1.2rem, 3vw, 2.1rem);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.25rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 42%),
        linear-gradient(155deg, rgba(19, 21, 24, 0.96), rgba(8, 9, 11, 0.88));
    box-shadow:
        -35px 45px 90px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform:
        rotateY(calc(-9deg + var(--pointer-x) * 3deg))
        rotateX(calc(4deg + var(--pointer-y) * -3deg))
        translate3d(calc(var(--pointer-x) * 7px), calc(var(--pointer-y) * 7px), 0);
    transition: transform 0.3s ease-out;
}

.premium-visual-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 43%, rgba(215, 255, 63, 0.7) 43.2% 43.45%, transparent 43.7%),
        radial-gradient(circle at 72% 30%, rgba(139, 92, 246, 0.34), transparent 24%);
    opacity: 0.72;
}

.premium-visual-card::after {
    content: '';
    position: absolute;
    width: 11rem;
    height: 11rem;
    right: -3rem;
    bottom: -3rem;
    border: 1px solid rgba(215, 255, 63, 0.36);
    border-radius: 50%;
    box-shadow:
        0 0 0 2rem rgba(215, 255, 63, 0.025),
        0 0 0 4rem rgba(215, 255, 63, 0.018);
}

.premium-visual-index,
.premium-visual-copy,
.premium-visual-mark {
    position: relative;
    z-index: 1;
}

.premium-visual-index {
    align-self: flex-end;
    color: rgba(255, 255, 255, 0.52);
    font-family: var(--code-font);
    font-size: 0.65rem;
    letter-spacing: 0.14em;
}

.premium-visual-mark {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
    font-size: clamp(9rem, 20vw, 15rem);
    font-weight: 700;
    line-height: 0.75;
    letter-spacing: -0.09em;
    text-shadow: 18px 18px 0 rgba(139, 92, 246, 0.09);
}

.premium-visual-copy {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.premium-visual-copy strong {
    font-size: clamp(1.15rem, 2.4vw, 1.8rem);
    letter-spacing: -0.035em;
}

.premium-visual-copy span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.premium-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: premiumOrbit 18s linear infinite;
}

.premium-orbit::after {
    content: '';
    position: absolute;
    top: 8%;
    left: 12%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 18px rgba(215, 255, 63, 0.8);
}

.premium-orbit-one {
    inset: 0 4% 5% 0;
}

.premium-orbit-two {
    inset: 15% -5% -3% 14%;
    animation-duration: 24s;
    animation-direction: reverse;
}

.premium-float-dot {
    position: absolute;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.62);
    animation: premiumFloat 4s ease-in-out infinite;
}

.premium-float-dot-one {
    top: 17%;
    left: 1%;
}

.premium-float-dot-two {
    right: 0;
    bottom: 20%;
    width: 0.35rem;
    height: 0.35rem;
    background: var(--primary-color);
    animation-delay: -1.6s;
}

.premium-home .scroll-down {
    left: auto;
    right: clamp(1.25rem, 4vw, 4rem);
    bottom: 2.1rem;
    transform: none;
}

.premium-home .mouse {
    width: 1.55rem;
    height: 2.65rem;
    border-color: rgba(255, 255, 255, 0.28);
}

.premium-home .mouse span {
    width: 3px;
    height: 7px;
    border-radius: 4px;
    background: var(--primary-color);
}

.premium-home .site-content .section {
    padding-block: clamp(6.5rem, 12vw, 10rem);
    background-color: transparent;
}

.premium-home .site-content > section:not(.hero)::before {
    content: var(--section-index);
    position: absolute;
    top: clamp(2rem, 4vw, 3.2rem);
    left: max(1.25rem, calc((100% - 1320px) / 2 + 3.5rem));
    color: rgba(255, 255, 255, 0.19);
    font-family: var(--code-font);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
}

.premium-home .site-content > section:not(.hero)::after {
    content: '';
    position: absolute;
    top: clamp(2.3rem, 4vw, 3.5rem);
    left: max(4rem, calc((100% - 1320px) / 2 + 6.1rem));
    width: min(9rem, 12vw);
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent);
}

.premium-home .section-title {
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
    font-size: clamp(2.35rem, 5.5vw, 5.5rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.premium-home .section-title::after {
    width: 3.5rem;
    height: 1px;
    bottom: -1.25rem;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(215, 255, 63, 0.25);
}

.premium-home .about {
    background:
        linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 50%, transparent);
}

.premium-home .about-content {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
    gap: clamp(2.5rem, 7vw, 7rem);
}

.premium-home .about-text p {
    color: rgba(247, 247, 242, 0.66);
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.9;
}

.premium-home .about-text p:first-child::first-letter {
    float: left;
    margin: 0.08em 0.12em 0 0;
    color: var(--primary-color);
    font-size: 4.2em;
    font-weight: 600;
    line-height: 0.78;
}

.premium-home .about-image {
    isolation: isolate;
}

.premium-home .about-image::before {
    content: '';
    position: absolute;
    inset: -1.1rem 1.1rem 1.1rem -1.1rem;
    z-index: -1;
    border: 1px solid rgba(215, 255, 63, 0.26);
    border-radius: 1.1rem;
}

.premium-home .about-image img {
    min-height: 430px;
    border: 0;
    border-radius: 1.1rem;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.38);
    transition: filter 0.6s ease, transform 0.8s var(--premium-ease);
}

.premium-home .about-image:hover img {
    filter: saturate(1) contrast(1);
    transform: scale(1.018);
}

.premium-home .skills {
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.premium-home .skills-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--premium-line);
    border-radius: 1.2rem;
    overflow: hidden;
}

.premium-home .skill-card {
    min-height: 180px;
    display: grid;
    place-content: center;
    border: 0;
    border-right: 1px solid var(--premium-line);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.012);
    box-shadow: none;
    transition: background-color 0.4s ease, transform 0.55s var(--premium-ease);
}

.premium-home .skill-card:last-child {
    border-right: 0;
}

.premium-home .skill-card:hover {
    z-index: 1;
    background: var(--primary-color);
    box-shadow: none;
    transform: translateY(-0.5rem);
}

.premium-home .skill-icon {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    transition: color 0.35s ease, transform 0.55s var(--premium-ease);
}

.premium-home .skill-card:hover .skill-icon,
.premium-home .skill-card:hover .skill-name {
    color: #090a07;
}

.premium-home .skill-card:hover .skill-icon {
    transform: rotate(-7deg) scale(1.08);
}

.premium-home .skill-name {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

.premium-home .premium-showcase {
    overflow: hidden;
    perspective: 1500px;
}

.premium-section-kicker {
    display: block;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--code-font);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.premium-home .premium-book-track {
    display: flex;
    grid-template-columns: none;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    width: calc(100% + max(1.25rem, (100vw - 1320px) / 2));
    padding: 1.5rem max(1.25rem, calc((100vw - 1320px) / 2)) 3.5rem 0.25rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0.25rem;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    perspective: 1700px;
}

.premium-home .premium-book-track::-webkit-scrollbar {
    display: none;
}

.premium-home .premium-book-page {
    position: relative;
    flex: 0 0 min(760px, 76vw);
    min-height: clamp(430px, 52vw, 610px);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.75fr);
    scroll-snap-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: #0c0e10;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
    opacity: 0.42;
    transform: rotateY(8deg) scale(0.9);
    transform-origin: left center;
    transition:
        opacity 0.65s ease,
        transform 0.85s var(--premium-ease),
        border-color 0.5s ease,
        box-shadow 0.7s ease;
}

.premium-home .premium-book-page.is-active {
    opacity: 1;
    border-color: rgba(215, 255, 63, 0.27);
    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.5),
        -1px 0 0 rgba(255, 255, 255, 0.08);
    transform: rotateY(0) scale(1);
}

.premium-home .premium-book-page::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 3;
    width: 12%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent);
    transition: opacity 0.55s ease;
}

.premium-home .premium-book-page:not(.is-active)::before {
    opacity: 1;
}

.premium-home .premium-book-page > img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    opacity: 0.88;
    object-fit: cover;
    filter: saturate(0.72) contrast(1.08);
    transition: filter 0.7s ease, transform 1.1s var(--premium-ease);
}

.premium-home .premium-book-page.is-active:hover > img {
    filter: saturate(1) contrast(1.02);
    transform: scale(1.035);
}

.premium-home .premium-book-page .project-info {
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    padding: clamp(1.5rem, 4vw, 3.2rem);
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 40%),
        #0d0f11;
}

.premium-home .premium-book-page .project-info::before {
    content: 'FEATURED';
    position: absolute;
    top: clamp(1.5rem, 3vw, 2.3rem);
    left: clamp(1.5rem, 4vw, 3.2rem);
    color: var(--primary-color);
    font-family: var(--code-font);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
}

.premium-home .premium-book-page .project-info h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.premium-home .premium-book-page .project-info p {
    margin-bottom: 1.7rem;
    color: rgba(247, 247, 242, 0.52);
    font-size: 0.84rem;
    line-height: 1.75;
}

.premium-home .premium-book-page .btn-secondary {
    width: fit-content;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(215, 255, 63, 0.4);
    color: var(--primary-color);
    font-family: var(--code-font);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.premium-card-folio {
    position: absolute;
    right: 1.15rem;
    top: 1rem;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.58);
    background: rgba(5, 6, 7, 0.58);
    backdrop-filter: blur(8px);
    font-family: var(--code-font);
    font-size: 0.58rem;
}

.premium-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 0.5rem;
}

.premium-slider-status {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: min(24rem, 55vw);
    color: rgba(255, 255, 255, 0.36);
    font-family: var(--code-font);
    font-size: 0.68rem;
}

.premium-slider-current {
    color: #fff;
}

.premium-slider-line {
    position: relative;
    flex: 1;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.12);
}

.premium-slider-line i {
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.65s var(--premium-ease);
}

.premium-slider-actions {
    display: flex;
    gap: 0.7rem;
}

.premium-slider-button {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 1.35rem;
    transition:
        color 0.35s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s var(--premium-ease),
        opacity 0.35s ease;
}

.premium-slider-button:hover:not(:disabled) {
    color: #080906;
    border-color: var(--primary-color);
    background: var(--primary-color);
    transform: translateY(-3px);
}

.premium-slider-button:disabled {
    opacity: 0.24;
    cursor: default;
}

.premium-home .partners-grid {
    gap: 1rem;
}

.premium-home .partner-logo {
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 2rem;
    border: 1px solid var(--premium-line);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.018);
    filter: grayscale(1);
    opacity: 0.62;
    transition:
        opacity 0.4s ease,
        filter 0.4s ease,
        border-color 0.4s ease,
        transform 0.5s var(--premium-ease);
}

.premium-home .partner-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    border-color: rgba(215, 255, 63, 0.28);
    transform: translateY(-6px);
}

.premium-reveal-item {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity 0.85s var(--premium-ease),
        transform 0.85s var(--premium-ease);
    transition-delay: calc(min(var(--reveal-order, 0), 7) * 65ms);
}

.premium-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes premiumLetterIn {
    from {
        opacity: 0;
        transform: translateY(0.75em) rotate(4deg);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
        filter: blur(0);
    }
}

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

@keyframes premiumVisualIn {
    from {
        opacity: 0;
        transform: translate3d(4rem, 1.5rem, 0) rotate(4deg);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(0);
    }
}

@keyframes premiumOrbit {
    to {
        transform: rotate(360deg);
    }
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@media (max-width: 1080px) {
    .premium-home .hero > .container {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
        gap: 2rem;
    }

    .premium-home .skills-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .premium-home .skill-card {
        border-bottom: 1px solid var(--premium-line);
    }

    .premium-home .premium-book-page {
        flex-basis: 82vw;
    }
}

@media (max-width: 780px) {
    .premium-home .hero {
        min-height: 100svh;
        padding-top: 7.5rem;
        background:
            linear-gradient(180deg, rgba(5, 6, 7, 0.45), rgba(5, 6, 7, 0.97) 68%),
            radial-gradient(circle at 72% 30%, rgba(139, 92, 246, 0.15), transparent 38%);
    }

    .premium-home .hero > .container {
        grid-template-columns: 1fr;
    }

    .premium-home .hero-content {
        padding-top: clamp(14rem, 45vh, 23rem);
    }

    .premium-home .hero-title {
        font-size: clamp(3.15rem, 15vw, 5.4rem);
    }

    .premium-home .hero-subtitle-lead {
        font-size: clamp(1.55rem, 7.6vw, 2.65rem);
    }

    .premium-hero-visual {
        position: absolute;
        top: 6.5rem;
        right: -2.5rem;
        z-index: -1;
        width: min(72vw, 370px);
        opacity: 0.72;
    }

    .premium-visual-card {
        inset: 4% 2% 5% 5%;
    }

    .premium-visual-copy {
        display: none;
    }

    .premium-home .scroll-down {
        display: none;
    }

    .premium-home .site-content .section {
        padding-block: 6.5rem;
    }

    .premium-home .about-content {
        grid-template-columns: 1fr;
    }

    .premium-home .about-image {
        order: -1;
    }

    .premium-home .about-image img {
        min-height: 320px;
    }

    .premium-home .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .premium-home .skill-card {
        min-height: 145px;
    }

    .premium-home .premium-book-track {
        width: calc(100% + 1.25rem);
        padding-right: 1.25rem;
    }

    .premium-home .premium-book-page {
        flex-basis: 86vw;
        min-height: 550px;
        grid-template-columns: 1fr;
        grid-template-rows: 1.1fr 0.9fr;
        transform: rotateY(5deg) scale(0.94);
    }

    .premium-home .premium-book-page .project-info {
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        border-left: 0;
    }

    .premium-home .premium-book-page .project-info::before {
        top: 1.25rem;
    }

    .premium-home .premium-book-page .project-info h3 {
        font-size: 1.75rem;
    }

    .premium-slider-status {
        min-width: 0;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .premium-home .container {
        padding-inline: 1.1rem;
    }

    .premium-home .hero-content {
        padding-top: 12rem;
    }

    .premium-home .hero-description {
        margin-block: 1.2rem 1.7rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .premium-hero-signature {
        display: none;
    }

    .premium-home .premium-book-page {
        flex-basis: calc(100vw - 2.4rem);
        min-height: 510px;
    }

    .premium-slider-button {
        width: 2.85rem;
        height: 2.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-home *,
    .premium-home *::before,
    .premium-home *::after {
        scroll-behavior: auto;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }

    .premium-reveal-item {
        opacity: 1;
        transform: none;
    }
}

/* ===== DISCORD BOT ÇÖZÜMLERİ ===== */
.discord-solutions {
    overflow: hidden;
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    background:
        radial-gradient(circle at 12% 18%, rgba(215, 255, 63, 0.09), transparent 30%),
        radial-gradient(circle at 88% 72%, rgba(139, 92, 246, 0.13), transparent 32%),
        rgba(255, 255, 255, 0.012);
}

.discord-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.discord-section-copy {
    max-width: 52rem;
}

.discord-section-kicker,
.about-services-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--code-font, monospace);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.discord-section-kicker::before,
.about-services-kicker::before {
    content: '';
    width: 2.2rem;
    height: 1px;
    background: currentColor;
    box-shadow: 0 0 10px rgba(215, 255, 63, 0.55);
}

.discord-section-copy .section-title {
    margin-bottom: 1.5rem;
}

.discord-section-copy > p,
.about-services-heading > p {
    max-width: 47rem;
    color: rgba(247, 247, 242, 0.66);
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.8;
}

.discord-section-actions,
.about-services-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.discord-section-actions .btn-primary,
.discord-section-actions .btn-secondary,
.about-services-actions .btn-primary,
.about-services-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.2rem;
    padding: 0.85rem 1.2rem;
    border-radius: 0.7rem;
    white-space: nowrap;
}

.discord-package-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.discord-package-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.15rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(10, 12, 14, 0.95) 44%);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
    transition: transform 0.45s var(--premium-ease, ease), border-color 0.35s ease, box-shadow 0.45s ease;
}

.discord-package-card:hover {
    border-color: rgba(215, 255, 63, 0.34);
    box-shadow: 0 34px 75px rgba(0, 0, 0, 0.38), 0 0 35px rgba(215, 255, 63, 0.07);
    transform: translateY(-8px);
}

.discord-package-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #050607;
}

.discord-package-media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(7, 9, 10, 0.96));
    pointer-events: none;
}

.discord-package-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s var(--premium-ease, ease), filter 0.5s ease;
}

.discord-package-card:hover .discord-package-media img {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.045);
}

.discord-package-media > span {
    position: absolute;
    z-index: 2;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.7rem;
    border: 1px solid rgba(215, 255, 63, 0.32);
    border-radius: 999px;
    color: var(--primary-color);
    background: rgba(5, 6, 7, 0.74);
    backdrop-filter: blur(10px);
    font-family: var(--code-font, monospace);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.discord-package-body {
    padding: 1.35rem;
}

.discord-package-body h3 {
    min-height: 2.5em;
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    line-height: 1.25;
}

.discord-package-body > p {
    min-height: 5.2em;
    margin-bottom: 1rem;
    color: rgba(247, 247, 242, 0.58);
    font-size: 0.84rem;
    line-height: 1.7;
}

.discord-package-body ul {
    display: grid;
    gap: 0.58rem;
    margin-bottom: 1.25rem;
}

.discord-package-body li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(247, 247, 242, 0.76);
    font-size: 0.8rem;
}

.discord-package-body li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.discord-package-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-package-footer strong {
    color: var(--primary-color);
    font-size: 1.05rem;
}

.discord-package-footer a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.discord-package-footer a:hover {
    color: var(--primary-color);
}

/* ===== HAKKIMIZDA / DISCORD HİZMETLERİ ===== */
.about-services {
    border-block: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(135deg, rgba(215, 255, 63, 0.035), transparent 42%),
        radial-gradient(circle at 85% 18%, rgba(139, 92, 246, 0.1), transparent 30%);
}

.about-services-heading {
    max-width: 58rem;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
    text-align: center;
}

.about-services-heading .about-services-kicker {
    justify-content: center;
}

.about-services-heading > p {
    margin-inline: auto;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-service-card {
    min-height: 18rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.045), rgba(8, 10, 12, 0.86));
    transition: transform 0.4s var(--premium-ease, ease), border-color 0.35s ease, background-color 0.35s ease;
}

.about-service-card:hover {
    border-color: rgba(215, 255, 63, 0.32);
    transform: translateY(-7px);
}

.about-service-card > i {
    display: grid;
    place-items: center;
    width: 3.4rem;
    height: 3.4rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(215, 255, 63, 0.26);
    border-radius: 0.9rem;
    color: var(--primary-color);
    background: rgba(215, 255, 63, 0.055);
    font-size: 1.7rem;
    box-shadow: 0 0 24px rgba(215, 255, 63, 0.07);
}

.about-service-card h3 {
    margin-bottom: 0.8rem;
    color: #fff;
    font-size: 1.15rem;
}

.about-service-card p {
    color: rgba(247, 247, 242, 0.6);
    font-size: 0.9rem;
    line-height: 1.75;
}

.about-services-actions {
    justify-content: center;
    margin-top: 2.25rem;
}

@media (max-width: 1080px) {
    .discord-package-grid,
    .about-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .discord-section-heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .discord-section-actions {
        width: 100%;
    }

    .discord-section-actions a {
        flex: 1 1 12rem;
    }
}

@media (max-width: 580px) {
    .discord-package-grid,
    .about-services-grid {
        grid-template-columns: 1fr;
    }

    .discord-package-card {
        max-width: 28rem;
        margin-inline: auto;
    }

    .about-service-card {
        min-height: auto;
    }

    .about-service-card > i {
        margin-bottom: 1.5rem;
    }

    .about-services-actions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .discord-package-card,
    .discord-package-media img,
    .about-service-card {
        transition: none;
    }

    .discord-package-card:hover,
    .discord-package-card:hover .discord-package-media img,
    .about-service-card:hover {
        transform: none;
    }
}

/* ===== KURUMSAL YASAL ALANLAR ===== */
.footer-copyright {
    gap: 1.25rem;
    padding-inline: clamp(1rem, 4vw, 3rem);
}

.footer-copyright-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.footer-legal-links,
.footer-security-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .55rem 1rem;
}

.footer-legal-links a {
    color: rgba(240, 240, 240, .68);
    font-family: var(--body-font);
    font-size: .78rem;
    letter-spacing: .01em;
    text-shadow: none;
    transition: color .2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
    color: var(--primary-color);
}

.footer-security-badges span {
    display: inline-flex;
    align-items: center;
    gap: .36rem;
    padding: .38rem .64rem;
    border: 1px solid rgba(215, 255, 63, .15);
    border-radius: 999px;
    background: rgba(215, 255, 63, .035);
    color: rgba(240, 240, 240, .62);
    font-family: var(--body-font);
    font-size: .7rem;
    line-height: 1;
    text-shadow: none;
}

.footer-security-badges i {
    color: var(--primary-color);
    font-size: .9rem;
}

.cookie-notice {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .9rem;
    width: min(680px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(215, 255, 63, .24);
    border-radius: 18px;
    background: rgba(11, 13, 16, .96);
    box-shadow: 0 18px 65px rgba(0, 0, 0, .52), 0 0 35px rgba(215, 255, 63, .05);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .24s ease, transform .24s var(--premium-ease);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(215, 255, 63, .25);
    border-radius: 14px;
    background: rgba(215, 255, 63, .08);
    color: var(--primary-color);
    font-size: 1.35rem;
}

.cookie-notice-copy strong {
    display: block;
    margin-bottom: .2rem;
    font-size: .92rem;
}

.cookie-notice-copy p {
    color: rgba(240, 240, 240, .66);
    font-size: .78rem;
    line-height: 1.55;
}

.cookie-notice-copy a {
    display: inline-block;
    margin-top: .25rem;
    color: var(--primary-color);
    font-size: .75rem;
    font-weight: 700;
}

.cookie-notice-dismiss {
    min-height: 42px;
    padding: .65rem .9rem;
    border: 0;
    border-radius: 12px;
    background: var(--primary-color);
    color: #080a08;
    font: 700 .8rem var(--body-font);
    cursor: pointer;
}

.legal-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 15% 16%, rgba(139, 92, 246, .11), transparent 30rem),
        radial-gradient(circle at 87% 35%, rgba(215, 255, 63, .07), transparent 26rem),
        #050607;
}

.legal-page .site-content {
    position: relative;
    z-index: 1;
}

.legal-hero {
    padding: clamp(9rem, 17vw, 12rem) 0 clamp(3rem, 8vw, 5.5rem);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.legal-hero .container {
    max-width: 1120px;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font: 700 .72rem/1 var(--code-font);
    letter-spacing: .17em;
}

.legal-eyebrow::before {
    width: 28px;
    height: 1px;
    background: currentColor;
    content: "";
}

.legal-hero h1 {
    max-width: 920px;
    font-size: clamp(2.5rem, 7vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.legal-hero p {
    max-width: 720px;
    margin-top: 1.35rem;
    color: rgba(240, 240, 240, .66);
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.75;
}

.legal-meta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1.25rem;
    padding: .55rem .72rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    color: rgba(240, 240, 240, .58);
    font-size: .75rem;
}

.legal-meta i {
    color: var(--primary-color);
}

.legal-content-section {
    padding: clamp(3rem, 8vw, 7rem) 0;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(190px, 250px) minmax(0, 780px);
    justify-content: center;
    align-items: start;
    gap: clamp(2rem, 6vw, 6rem);
}

.legal-toc {
    position: sticky;
    top: 7rem;
    padding: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: rgba(17, 19, 22, .65);
}

.legal-toc > strong {
    display: block;
    margin-bottom: .75rem;
    color: var(--primary-color);
    font: 700 .7rem/1 var(--code-font);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.legal-toc nav {
    display: grid;
    gap: .15rem;
}

.legal-toc a {
    padding: .48rem .55rem;
    border-radius: 8px;
    color: rgba(240, 240, 240, .6);
    font-size: .78rem;
    line-height: 1.4;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
    background: rgba(215, 255, 63, .07);
    color: #fff;
}

.legal-article {
    min-width: 0;
}

.legal-article > section {
    scroll-margin-top: 7rem;
    padding: 0 0 clamp(2.5rem, 6vw, 4.5rem);
}

.legal-section-number {
    color: var(--primary-color);
    font: 700 .72rem/1 var(--code-font);
    letter-spacing: .1em;
}

.legal-article h2 {
    margin: .55rem 0 1.15rem;
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    letter-spacing: -.025em;
}

.legal-copy {
    color: rgba(240, 240, 240, .7);
    font-size: .95rem;
    line-height: 1.82;
}

.legal-copy p + p,
.legal-copy p + ul,
.legal-copy ul + p {
    margin-top: 1rem;
}

.legal-copy ul {
    display: grid;
    gap: .65rem;
    padding-left: 1.15rem;
    list-style: disc;
}

.legal-copy strong,
.legal-copy a {
    color: #fff;
}

.legal-copy a {
    text-decoration: underline;
    text-decoration-color: rgba(215, 255, 63, .55);
    text-underline-offset: .2em;
}

.legal-identity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
    margin-bottom: 1.2rem;
}

.legal-identity-list div {
    padding: .8rem;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}

.legal-identity-list dt {
    color: rgba(240, 240, 240, .47);
    font-size: .69rem;
}

.legal-identity-list dd {
    margin-top: .25rem;
    color: #fff;
    font-size: .85rem;
    overflow-wrap: anywhere;
}

.legal-table-wrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
}

.legal-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: rgba(215, 255, 63, .055);
    color: #fff;
    font-size: .75rem;
}

.legal-table td {
    font-size: .78rem;
}

.legal-review-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 190, 72, .2);
    border-radius: 14px;
    background: rgba(255, 190, 72, .05);
    color: rgba(255, 255, 255, .66);
    font-size: .8rem;
    line-height: 1.6;
}

.legal-review-note i {
    color: #ffbe48;
    font-size: 1.2rem;
}

/* ===== BOZKURT STUDIO RESMÎ BAĞLANTILAR ===== */
.link-hub-page {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(rgba(255, 255, 255, .015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .015) 1px, transparent 1px),
        #07090d;
    background-size: 42px 42px;
}

.link-hub-page::before {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% -10%, rgba(139, 92, 246, .2), transparent 34rem);
    content: "";
}

.link-hub-ambient {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.link-hub-ambient span {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(215, 255, 63, .1);
    border-radius: 45% 55% 65% 35%;
}

.link-hub-ambient span:nth-child(1) {
    top: -9rem;
    left: -7rem;
    transform: rotate(24deg);
}

.link-hub-ambient span:nth-child(2) {
    top: 32%;
    right: -12rem;
    width: 27rem;
    height: 27rem;
    border-color: rgba(139, 92, 246, .13);
    transform: rotate(-18deg);
}

.link-hub-ambient span:nth-child(3) {
    bottom: -14rem;
    left: 18%;
    width: 32rem;
    height: 32rem;
}

.link-hub-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 680px);
    margin-inline: auto;
    padding: clamp(2.5rem, 8vw, 5rem) 0 2rem;
}

.link-hub-profile {
    text-align: center;
}

.link-hub-avatar-wrap {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 126px;
    height: 126px;
}

.link-hub-avatar-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(215, 255, 63, .38);
    border-radius: 36% 64% 43% 57%;
    box-shadow: 0 0 40px rgba(215, 255, 63, .08);
    transform: rotate(12deg);
}

.link-hub-avatar {
    width: 106px;
    height: 106px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 32px;
    background: #0e1115;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}

.link-hub-verified {
    position: absolute;
    right: 3px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border: 4px solid #07090d;
    border-radius: 50%;
    background: var(--primary-color);
    color: #080a08;
    font-size: 1rem;
}

.link-hub-kicker {
    display: block;
    margin-top: 1.2rem;
    color: var(--primary-color);
    font: 700 .68rem/1 var(--code-font);
    letter-spacing: .2em;
}

.link-hub-profile h1 {
    margin-top: .55rem;
    font-size: clamp(2.25rem, 8vw, 3.65rem);
    line-height: 1;
    letter-spacing: -.055em;
}

.link-hub-profile h1 span {
    color: rgba(240, 240, 240, .52);
}

.link-hub-profile > p {
    max-width: 520px;
    margin: 1rem auto 0;
    color: rgba(240, 240, 240, .62);
    font-size: .94rem;
    line-height: 1.7;
}

.link-hub-actions {
    display: flex;
    justify-content: center;
    gap: .65rem;
    margin-top: 1.15rem;
}

.link-hub-contact,
.link-hub-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 42px;
    padding: .68rem .9rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    color: rgba(255, 255, 255, .78);
    font: 700 .76rem var(--body-font);
    cursor: pointer;
}

.link-hub-contact:hover,
.link-hub-share:hover {
    border-color: rgba(215, 255, 63, .32);
    color: #fff;
}

.link-hub-list {
    display: grid;
    gap: .72rem;
    margin-top: 2.15rem;
}

.link-hub-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .9rem;
    min-height: 84px;
    padding: .8rem .9rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: linear-gradient(110deg, rgba(20, 23, 28, .92), rgba(12, 14, 17, .88));
    box-shadow: 0 12px 35px rgba(0, 0, 0, .16);
    animation: link-card-enter .55s var(--premium-ease) both;
    animation-delay: calc(var(--link-order) * 70ms);
    transition: border-color .25s ease, transform .25s var(--premium-ease), box-shadow .25s ease;
}

.link-hub-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    content: "";
    opacity: .35;
}

.link-hub-card.is-featured {
    border-color: rgba(215, 255, 63, .27);
    background: linear-gradient(110deg, rgba(32, 38, 18, .92), rgba(12, 14, 17, .9) 58%);
}

.link-hub-card:hover,
.link-hub-card:focus-visible {
    border-color: rgba(215, 255, 63, .45);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .27), 0 0 30px rgba(215, 255, 63, .04);
    transform: translateY(-3px);
}

.link-hub-card-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    color: var(--primary-color);
    font-size: 1.25rem;
}

.link-hub-card-copy {
    display: grid;
    gap: .3rem;
}

.link-hub-card-copy strong {
    color: #fff;
    font-size: .94rem;
}

.link-hub-card-copy small {
    color: rgba(240, 240, 240, .5);
    font-size: .74rem;
    line-height: 1.4;
}

.link-hub-card-arrow {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    color: rgba(255, 255, 255, .52);
    transition: color .2s ease, transform .25s var(--premium-ease);
}

.link-hub-card:hover .link-hub-card-arrow {
    color: var(--primary-color);
    transform: translateX(3px);
}

.link-hub-footer {
    padding: 2rem .5rem .5rem;
    color: rgba(240, 240, 240, .35);
    text-align: center;
    font-size: .68rem;
}

.link-hub-home {
    color: rgba(240, 240, 240, .68);
    font: 700 .7rem var(--code-font);
    letter-spacing: .07em;
}

.link-hub-footer nav {
    display: flex;
    justify-content: center;
    gap: .9rem;
    margin: .75rem 0;
}

.link-hub-footer nav a {
    color: rgba(240, 240, 240, .4);
}

.link-hub-footer nav a:hover {
    color: var(--primary-color);
}

.link-hub-toast {
    position: fixed;
    right: 50%;
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 100;
    padding: .7rem 1rem;
    border: 1px solid rgba(215, 255, 63, .2);
    border-radius: 999px;
    background: rgba(11, 13, 16, .96);
    color: #fff;
    font-size: .76rem;
    opacity: 0;
    pointer-events: none;
    transform: translate(50%, 12px);
    transition: opacity .2s ease, transform .2s ease;
}

.link-hub-toast.is-visible {
    opacity: 1;
    transform: translate(50%, 0);
}

@keyframes link-card-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 760px) {
    .footer-copyright-copy {
        flex-direction: column;
        text-align: center;
    }

    .cookie-notice {
        grid-template-columns: auto 1fr;
    }

    .cookie-notice-dismiss {
        grid-column: 1 / -1;
        width: 100%;
    }

    .legal-layout {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    .legal-toc nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-identity-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .cookie-notice {
        right: .65rem;
        bottom: .65rem;
        width: calc(100vw - 1.3rem);
        padding: .85rem;
    }

    .cookie-notice-icon {
        width: 38px;
        height: 38px;
    }

    .legal-hero {
        padding-top: 7.5rem;
    }

    .legal-toc nav {
        grid-template-columns: 1fr;
    }

    .link-hub-shell {
        width: min(100% - 1.15rem, 680px);
        padding-top: 2rem;
    }

    .link-hub-card {
        gap: .68rem;
        min-height: 78px;
        padding: .72rem;
        border-radius: 16px;
    }

    .link-hub-card-icon {
        width: 43px;
        height: 43px;
    }

    .link-hub-card-copy strong {
        font-size: .86rem;
    }

    .link-hub-card-copy small {
        font-size: .68rem;
    }

    .link-hub-card-arrow {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .link-hub-card {
        animation: none;
        transition: none;
    }

    .link-hub-card:hover,
    .link-hub-card:focus-visible {
        transform: none;
    }

    .cookie-notice,
    .link-hub-toast {
        transition: none;
    }
}

/* =========================================================
   PRODUCT EXPERIENCE — LİSTELEME + DETAY
   ========================================================= */

.products-page,
.product-detail-page {
    --product-surface: rgba(13, 16, 19, 0.94);
    --product-surface-soft: rgba(18, 21, 25, 0.82);
    --product-line: rgba(255, 255, 255, 0.1);
    --product-muted: #9a9da4;
    --product-accent: var(--primary-color, #d7ff3f);
}

.products-page .products-hero {
    padding: clamp(9rem, 13vw, 11.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.products-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
    align-items: end;
    gap: clamp(2rem, 6vw, 5rem);
}

.products-eyebrow,
.product-filter-kicker,
.product-info-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--product-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.4;
}

.products-eyebrow {
    padding: 0.52rem 0.72rem;
    border: 1px solid rgba(215, 255, 63, 0.2);
    border-radius: 999px;
    background: rgba(215, 255, 63, 0.05);
}

.products-hero-copy h1 {
    max-width: 12ch;
    margin: 1.35rem 0 1.1rem;
    color: #f4f4f1;
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.93;
    letter-spacing: -0.072em;
    text-wrap: balance;
}

.products-hero-copy h1 span {
    color: transparent;
    background: linear-gradient(110deg, #e5ff79 8%, #b6dc35 50%, #9679e6 94%);
    background-clip: text;
    -webkit-background-clip: text;
}

.products-hero-copy > p {
    max-width: 62ch;
    margin: 0;
    color: var(--product-muted);
    font-size: clamp(0.96rem, 1.5vw, 1.08rem);
    line-height: 1.75;
}

.products-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.8rem;
    border: 1px solid var(--product-line);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.products-hero-stats > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.45rem;
    padding: 1rem;
    border-right: 1px solid var(--product-line);
}

.products-hero-stats > div:last-child {
    border-right: 0;
}

.products-hero-stats strong,
.products-hero-stats i {
    color: var(--product-accent);
    font-size: 1.55rem;
}

.products-hero-stats span {
    color: #c3c5c9;
    font-size: 0.72rem;
    line-height: 1.35;
}

.products-page .products-section {
    padding-top: 0;
}

.products-page .product-filter-panel {
    margin-bottom: 1.35rem;
    padding: clamp(1.15rem, 2.5vw, 1.8rem);
    border: 1px solid var(--product-line);
    border-radius: 1.25rem;
    background:
        linear-gradient(130deg, rgba(215, 255, 63, 0.035), transparent 42%),
        var(--product-surface);
    box-shadow: 0 22px 65px rgba(0, 0, 0, 0.2);
}

.product-filter-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.product-filter-heading h2 {
    margin: 0.25rem 0 0;
    color: #f2f2ef;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    letter-spacing: -0.035em;
}

.product-result-status {
    flex: 0 0 auto;
    margin: 0;
    color: var(--product-muted);
    font-size: 0.8rem;
}

.product-result-status strong {
    color: var(--product-accent);
    font-size: 1.05rem;
}

.products-page .filter-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(300px, 0.72fr) auto;
    align-items: end;
    gap: 1rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.products-page .search-filter label,
.products-page .price-filter .filter-label {
    display: block;
    margin: 0 0 0.55rem;
    color: #c7c9cd;
    font-size: 0.76rem;
    font-weight: 700;
    text-align: left;
}

.product-search-field {
    position: relative;
}

.product-search-field i {
    position: absolute;
    top: 50%;
    left: 1rem;
    color: #777b83;
    font-size: 1.2rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.products-page .search-filter input[type="search"] {
    width: 100%;
    height: 3.35rem;
    padding: 0 1rem 0 3rem;
    border: 1px solid var(--product-line);
    border-radius: 0.85rem;
    color: #f1f1ee;
    background: rgba(0, 0, 0, 0.28);
    font: inherit;
    font-size: 0.86rem;
    outline: none;
}

.products-page .search-filter input[type="search"]:focus {
    border-color: rgba(215, 255, 63, 0.65);
    box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.08);
}

.products-page .price-filter {
    min-width: 0;
}

.products-page .price-range-controls {
    position: relative;
    height: 1.3rem;
    display: block;
    margin: 0.1rem 0 0.3rem;
}

.products-page .price-range-track {
    position: absolute;
    z-index: 0;
    top: 50%;
    right: 0;
    left: 0;
    height: 0.28rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-50%);
}

.products-page .price-range-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--range-start, 0%);
    width: calc(var(--range-end, 100%) - var(--range-start, 0%));
    border-radius: inherit;
    background: linear-gradient(90deg, var(--product-accent), #9c7ae8);
    box-shadow: 0 0 14px rgba(215, 255, 63, 0.35);
}

.products-page .price-range-controls input[type="range"] {
    position: absolute;
    z-index: 2;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    background: transparent;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.products-page .price-range-controls input[type="range"]::-webkit-slider-runnable-track {
    height: 0.28rem;
    background: transparent;
}

.products-page .price-range-controls input[type="range"]::-webkit-slider-thumb {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: -0.39rem;
    border: 3px solid #111418;
    border-radius: 50%;
    background: var(--product-accent);
    box-shadow: 0 0 0 1px rgba(215, 255, 63, 0.55), 0 0 14px rgba(215, 255, 63, 0.3);
    cursor: grab;
    pointer-events: auto;
    appearance: none;
    -webkit-appearance: none;
}

.products-page .price-range-controls input[type="range"]::-moz-range-track {
    height: 0.28rem;
    background: transparent;
}

.products-page .price-range-controls input[type="range"]::-moz-range-thumb {
    width: 0.8rem;
    height: 0.8rem;
    border: 3px solid #111418;
    border-radius: 50%;
    background: var(--product-accent);
    box-shadow: 0 0 0 1px rgba(215, 255, 63, 0.55);
    cursor: grab;
    pointer-events: auto;
}

.products-page .price-range-values {
    display: flex;
    justify-content: space-between;
    gap: 0.7rem;
    margin: 0.2rem 0 0;
}

.products-page .price-range-values > span {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
}

.products-page .price-range-values small {
    color: #747880;
    font-size: 0.61rem;
}

.products-page .price-range-values strong {
    color: #e8e9e5;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.product-filter-reset {
    min-height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--product-line);
    border-radius: 0.85rem;
    color: #a3a6ac;
    background: rgba(255, 255, 255, 0.025);
    font: inherit;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
}

.product-filter-reset:hover,
.product-filter-reset.is-active {
    border-color: rgba(215, 255, 63, 0.35);
    color: var(--product-accent);
    background: rgba(215, 255, 63, 0.05);
}

.products-page .purchase-guide {
    display: grid;
    grid-template-columns: minmax(210px, 0.78fr) minmax(0, 2.22fr);
    gap: clamp(1.2rem, 3vw, 2.2rem);
    margin: 0 0 clamp(2rem, 4vw, 3rem);
    padding: clamp(1.2rem, 2.8vw, 1.75rem);
    border: 1px solid var(--product-line);
    border-radius: 1.25rem;
    color: var(--product-muted);
    background: rgba(10, 12, 15, 0.88);
    backdrop-filter: blur(12px);
}

.purchase-guide-intro > span {
    color: var(--product-accent);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.products-page .purchase-guide h2 {
    margin: 0.6rem 0 0.55rem;
    color: #eeefeb;
    font-size: clamp(1.25rem, 2.1vw, 1.75rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.purchase-guide-intro p {
    margin: 0;
    font-size: 0.76rem;
    line-height: 1.6;
}

.products-page .purchase-guide ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0;
    padding: 0;
}

.products-page .purchase-guide li {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
    margin: 0;
    padding: 2.25rem 0.85rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.024);
    font-size: 0.74rem;
    line-height: 1.5;
}

.products-page .purchase-guide li::before {
    top: 0.75rem;
    left: 0.85rem;
    width: auto;
    height: auto;
    color: var(--product-accent);
    background: transparent;
    box-shadow: none;
    font-size: 0.63rem;
    font-weight: 800;
}

.products-page .purchase-guide li strong {
    color: #e6e7e3;
    font-size: 0.8rem;
}

.products-page .purchase-guide li span {
    color: #8f9299;
}

.products-page .purchase-guide .filter-help {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: -1.55rem 0 0;
    color: #777b82;
    font-size: 0.67rem;
}

.products-page #product-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 350px));
    justify-content: center;
    gap: clamp(1rem, 1.7vw, 1.35rem);
    max-width: 1120px;
    margin-inline: auto;
}

.products-page #product-grid .product-card {
    width: 100%;
    max-width: 350px;
    border: 1px solid var(--product-line);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.035), transparent 36%),
        rgba(14, 17, 20, 0.95);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
}

.products-page #product-grid .product-card:hover {
    border-color: rgba(215, 255, 63, 0.3);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(215, 255, 63, 0.04);
}

.products-page #product-grid .card-media-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #090b0d;
}

.products-page #product-grid .card-media-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(transparent, rgba(12, 15, 18, 0.88));
    pointer-events: none;
}

.products-page #product-grid .card-media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--premium-ease);
}

.products-page #product-grid .product-card:hover .card-media-link img {
    transform: scale(1.035);
}

.products-page #product-grid .product-info {
    padding: 1.25rem;
}

.products-page #product-grid .product-info h3 {
    min-height: 2.7em;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.products-page #product-grid .product-description {
    min-height: 5.8em;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

/* Product detail */

.product-detail-page .product-detail-section {
    padding: clamp(8.5rem, 12vw, 10.5rem) 0 clamp(3.5rem, 6vw, 5rem);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    color: #777b82;
    font-size: 0.76rem;
}

.product-breadcrumb a {
    color: #b6b8bd;
}

.product-breadcrumb a:hover {
    color: var(--product-accent);
}

.product-detail-page .product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    gap: clamp(1.2rem, 3vw, 2.5rem);
    align-items: stretch;
    margin: 0 0 1.25rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border: 1px solid var(--product-line);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 10% 8%, rgba(139, 92, 246, 0.08), transparent 24rem),
        var(--product-surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.product-gallery-panel {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(0.65rem, 1.6vw, 1rem);
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 1.05rem;
    background: rgba(0, 0, 0, 0.24);
}

.product-detail-page .main-product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 0;
    border-radius: 0.85rem;
    background:
        radial-gradient(circle at 50% 45%, rgba(215, 255, 63, 0.045), transparent 50%),
        #090b0d;
}

.product-detail-page .main-product-image {
    width: 100%;
    max-width: none;
    height: 100%;
    display: block;
    object-fit: contain;
}

.product-gallery-badge {
    position: absolute;
    z-index: 2;
    top: 0.85rem;
    left: 0.85rem;
    padding: 0.46rem 0.62rem;
    border: 1px solid rgba(215, 255, 63, 0.35);
    border-radius: 999px;
    color: #e6ff88;
    background: rgba(8, 10, 12, 0.82);
    font-size: 0.68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.product-detail-page .slider-btn {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e8e9e5;
    background: rgba(8, 10, 12, 0.76);
    backdrop-filter: blur(8px);
}

.product-detail-page .slider-btn:hover {
    border-color: rgba(215, 255, 63, 0.52);
    color: var(--product-accent);
    background: rgba(8, 10, 12, 0.92);
}

.product-detail-page .product-thumbnails-vertical {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(58px, 72px));
    gap: 0.6rem;
    justify-content: center;
    margin: 0.75rem 0 0;
    padding: 0;
}

.product-detail-page .product-thumbnails-vertical.single-image {
    display: none;
}

.product-detail-page .product-thumbnails-vertical img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    opacity: 0.58;
    background: #090b0d;
}

.product-detail-page .product-thumbnails-vertical img:hover,
.product-detail-page .product-thumbnails-vertical img.active-thumb {
    border-color: var(--product-accent);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(215, 255, 63, 0.08);
}

.product-gallery-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0.75rem 0 0;
    color: #73777e;
    font-size: 0.68rem;
    text-align: center;
}

.product-detail-page .product-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-column: auto;
    padding: clamp(0.55rem, 2vw, 1.2rem);
}

.product-detail-page .product-details > * {
    order: 0;
}

.product-detail-page .product-details h1,
.product-detail-page .product-details .price-section,
.product-detail-page .product-details .add-to-cart-form,
.product-detail-page .product-details .product-description {
    order: 0;
}

.product-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.product-type-pill,
.product-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    color: #b9bbc0;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.68rem;
    font-weight: 700;
}

.product-type-pill {
    border-color: rgba(215, 255, 63, 0.2);
    color: var(--product-accent);
    background: rgba(215, 255, 63, 0.045);
}

.product-detail-page .product-details h1 {
    max-width: 16ch;
    margin: 0 0 0.8rem;
    color: #f2f2ef;
    font-size: clamp(2rem, 4vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
    text-wrap: balance;
}

.product-rating-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    align-self: flex-start;
    margin-bottom: 1.1rem;
    color: #94979e;
    font-size: 0.72rem;
}

.product-rating-stars {
    display: inline-flex;
    gap: 0.08rem;
    color: var(--product-accent);
    font-size: 0.88rem;
}

.product-lead {
    margin: 0 0 1.25rem;
    color: #a3a6ac;
    font-size: 0.86rem;
    line-height: 1.7;
}

.product-detail-page .price-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(215, 255, 63, 0.14);
    border-radius: 0.9rem;
    background: rgba(0, 0, 0, 0.3);
}

.product-detail-page .price-section .price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
}

.product-detail-page .price-section .product-price {
    color: var(--product-accent);
    font-size: clamp(1.6rem, 3.5vw, 2.25rem);
    line-height: 1;
}

.product-detail-page .discount-badge-detail {
    flex: 0 0 auto;
    padding: 0.45rem 0.55rem;
    border-radius: 0.5rem;
    color: #dffb7c;
    background: rgba(215, 255, 63, 0.08);
    font-size: 0.67rem;
    font-weight: 700;
}

.product-assurance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1.15rem;
}

.product-assurance-grid > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.025);
}

.product-assurance-grid i {
    flex: 0 0 auto;
    color: var(--product-accent);
    font-size: 1.2rem;
}

.product-assurance-grid span {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.product-assurance-grid strong {
    color: #e3e4e0;
    font-size: 0.72rem;
}

.product-assurance-grid small {
    overflow: hidden;
    color: #7d8188;
    font-size: 0.61rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-detail-page .add-to-cart-form {
    width: 100%;
    display: block;
    margin: auto 0 0;
    padding: 1rem;
    border: 1px solid var(--product-line);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.025);
}

.product-purchase-label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
    color: #c7c9cd;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-purchase-label span {
    color: #757980;
    font-size: 0.65rem;
    font-weight: 500;
}

.product-purchase-row {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    gap: 0.7rem;
}

.quantity-stepper {
    height: 3.25rem;
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) 2.5rem;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid var(--product-line);
    border-radius: 0.75rem;
    background: rgba(0, 0, 0, 0.28);
}

.quantity-stepper button,
.quantity-stepper input {
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #ecece9;
    background: transparent;
    font: inherit;
    text-align: center;
}

.quantity-stepper button {
    color: #90939a;
    cursor: pointer;
}

.quantity-stepper button:hover {
    color: var(--product-accent);
    background: rgba(215, 255, 63, 0.055);
}

.quantity-stepper input {
    border-right: 1px solid var(--product-line);
    border-left: 1px solid var(--product-line);
    font-size: 0.82rem;
    font-weight: 700;
    appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.product-detail-page .product-details .product-detail-cart-button {
    width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    border-radius: 0.75rem;
}

.product-support-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    color: #8c9097;
    font-size: 0.7rem;
}

.product-support-link:hover,
.product-support-link strong {
    color: var(--product-accent);
}

.product-checkout-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.7rem;
    color: #6f737a;
    font-size: 0.62rem;
    line-height: 1.45;
    text-align: center;
}

.product-checkout-note i {
    color: #91949a;
    font-size: 0.82rem;
}

.product-information-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1.25rem;
}

.product-information-card {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid var(--product-line);
    border-radius: 1.1rem;
    background: var(--product-surface-soft);
}

.product-information-card h2 {
    margin: 0.45rem 0 1rem;
    color: #edeeea;
    font-size: clamp(1.35rem, 2.7vw, 2rem);
    letter-spacing: -0.04em;
}

.product-information-card .product-description {
    color: #a1a4aa;
    font-size: 0.88rem;
    line-height: 1.8;
}

.product-delivery-steps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-delivery-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.product-delivery-steps li > span {
    color: var(--product-accent);
    font-size: 0.64rem;
    font-weight: 800;
}

.product-delivery-steps li > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-delivery-steps strong {
    color: #e1e2de;
    font-size: 0.78rem;
}

.product-delivery-steps small {
    color: #858990;
    font-size: 0.7rem;
    line-height: 1.5;
}

.product-detail-page .back-link-spaced {
    display: inline-flex;
    margin-top: 1.25rem;
}

.product-detail-page .related-products-section,
.product-detail-page .reviews-section {
    padding-top: clamp(3.5rem, 6vw, 5rem);
}

.product-detail-page .section-subtitle {
    color: #f0f0ed;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    letter-spacing: -0.045em;
}

@media (max-width: 980px) {
    .products-hero-layout,
    .product-detail-page .product-detail-grid,
    .product-information-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-hero-copy h1 {
        max-width: 14ch;
    }

    .products-hero-stats {
        max-width: 620px;
    }

    .products-page .filter-controls {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    }

    .product-filter-reset {
        grid-column: 1 / -1;
        justify-self: start;
        min-height: 2.8rem;
    }

    .products-page .purchase-guide {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-page .purchase-guide .filter-help {
        grid-column: 1;
        margin: 0;
    }

    .product-detail-page .product-detail-grid {
        max-width: 780px;
        margin-inline: auto;
    }

    .product-detail-page .product-details h1 {
        max-width: 20ch;
    }
}

@media (max-width: 700px) {
    .products-page .products-hero {
        padding-top: 7.5rem;
    }

    .products-hero-copy h1 {
        font-size: clamp(2.7rem, 15vw, 4.2rem);
    }

    .products-hero-stats {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-hero-stats > div {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid var(--product-line);
    }

    .products-hero-stats > div:last-child {
        border-bottom: 0;
    }

    .product-filter-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-page .filter-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-filter-reset {
        width: 100%;
        justify-self: stretch;
    }

    .products-page .purchase-guide ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-page #product-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-page #product-grid .product-card {
        max-width: 430px;
        justify-self: center;
    }

    .product-detail-page .product-detail-section {
        padding-top: 7.5rem;
    }

    .product-detail-page .product-detail-grid {
        padding: 0.7rem;
        border-radius: 1rem;
    }

    .product-detail-page .product-details {
        padding: 0.65rem 0.3rem 0.35rem;
    }

    .product-detail-page .product-details h1 {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    .product-purchase-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .quantity-stepper {
        grid-template-columns: 3rem minmax(0, 1fr) 3rem;
    }
}

@media (max-width: 440px) {
    .products-page .purchase-guide ol,
    .product-assurance-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .products-page .price-range-values {
        align-items: stretch;
    }

    .products-page .price-range-values > span {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.05rem;
    }

    .product-detail-page .price-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .product-gallery-note {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .products-page #product-grid .card-media-link img {
        transition: none;
    }

    .products-page #product-grid .product-card:hover .card-media-link img {
        transform: none;
    }
}

/* =========================================================
   BOZKURT STUDIO AUTH EXPERIENCE
   Login, register, verify ve parola kurtarma için tek sözleşme.
   ========================================================= */
body.auth-page {
    --auth-surface: rgba(12, 14, 17, 0.96);
    --auth-surface-soft: rgba(255, 255, 255, 0.045);
    --auth-border: rgba(255, 255, 255, 0.12);
    --auth-muted: #a8abb2;
    background:
        radial-gradient(circle at 12% 18%, rgba(139, 92, 246, 0.13), transparent 30rem),
        radial-gradient(circle at 88% 14%, rgba(215, 255, 63, 0.085), transparent 28rem),
        #050607;
}

.auth-page .auth-shell {
    min-height: auto;
    padding: clamp(7.75rem, 11vw, 9.5rem) 1.25rem clamp(4rem, 7vw, 6rem);
}

.auth-page .login-box.auth-card,
.auth-page .login-box.auth-card:hover,
.auth-page .login-box.auth-card.force-open,
.auth-page .login-box.auth-card.show-register,
.auth-page .login-box.auth-card.show-register:hover,
.auth-page .login-box.auth-card.show-register.force-open {
    position: relative;
    width: min(960px, calc(100vw - 2rem));
    height: auto;
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    border: 1px solid var(--auth-border);
    border-radius: 1.75rem;
    background: var(--auth-surface);
    box-shadow:
        0 36px 100px rgba(0, 0, 0, 0.58),
        0 0 0 1px rgba(215, 255, 63, 0.025) inset;
    filter: none;
    opacity: 0;
    transform: translateY(20px) scale(0.985);
    transition:
        opacity 0.65s var(--premium-ease),
        transform 0.65s var(--premium-ease),
        box-shadow 0.35s ease;
}

.auth-page.auth-ready .login-box.auth-card,
.auth-page.auth-ready .login-box.auth-card.force-open,
.auth-page.auth-ready .login-box.auth-card.show-register,
.auth-page.auth-ready .login-box.auth-card.show-register.force-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.auth-page .auth-card::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(215, 255, 63, 0.75), rgba(139, 92, 246, 0.55), transparent);
}

.auth-card-intro {
    position: relative;
    isolation: isolate;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3.25rem);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(155deg, rgba(215, 255, 63, 0.065), transparent 42%),
        radial-gradient(circle at 20% 86%, rgba(139, 92, 246, 0.2), transparent 18rem),
        #090b0d;
}

.auth-card-intro::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom right, #000, transparent 78%);
}

.auth-brand {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    color: #f5f5f2;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-decoration: none;
}

.auth-brand span {
    color: var(--primary-color);
}

.auth-intro-copy {
    position: relative;
    z-index: 2;
}

.auth-copy-register {
    display: none;
}

.auth-card.show-register .auth-copy-login {
    display: none;
}

.auth-card.show-register .auth-copy-register {
    display: block;
    animation: auth-copy-in 0.45s var(--premium-ease) both;
}

.auth-kicker,
.auth-form-kicker {
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.68rem;
    border: 1px solid rgba(215, 255, 63, 0.2);
    border-radius: 999px;
    background: rgba(215, 255, 63, 0.055);
}

.auth-intro-copy h1 {
    max-width: 10ch;
    margin: 1.15rem 0 0.85rem;
    color: #f6f6f3;
    font-size: clamp(2.35rem, 4.4vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-wrap: balance;
}

.auth-intro-copy p {
    max-width: 34ch;
    margin: 0;
    color: var(--auth-muted);
    font-size: 0.94rem;
    line-height: 1.75;
}

.auth-trust-list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.auth-trust-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.5rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 0.6rem;
    color: #c8cad0;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.72rem;
}

.auth-trust-list i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.auth-orbit {
    position: absolute;
    z-index: -1;
    right: -7rem;
    bottom: -7rem;
    width: 19rem;
    aspect-ratio: 1;
    border: 1px solid rgba(215, 255, 63, 0.22);
    border-radius: 50%;
    animation: auth-orbit-breathe 5s ease-in-out infinite;
}

.auth-orbit::before,
.auth-orbit::after {
    content: "";
    position: absolute;
    border-radius: inherit;
}

.auth-orbit::before {
    inset: 2.2rem;
    border: 1px solid rgba(139, 92, 246, 0.28);
}

.auth-orbit::after {
    inset: 5rem;
    background: rgba(215, 255, 63, 0.055);
    box-shadow: 0 0 70px rgba(215, 255, 63, 0.08);
}

.auth-card-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(2rem, 4.5vw, 3.6rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(215, 255, 63, 0.035), transparent 18rem),
        var(--auth-surface);
}

.auth-page .auth-card .form-content {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transition: none;
}

.auth-page .auth-card .auth-form {
    width: 100%;
    max-width: none;
    align-items: stretch;
    gap: 0;
}

.auth-page .auth-card .login-form {
    display: flex;
}

.auth-page .auth-card .register-form {
    display: none;
}

.auth-page .auth-card.show-register .login-form {
    display: none;
}

.auth-page .auth-card.show-register .register-form {
    display: flex;
    animation: auth-form-in 0.48s var(--premium-ease) both;
}

.auth-form-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.7rem;
}

.auth-form-icon,
.auth-state-icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(215, 255, 63, 0.24);
    border-radius: 0.85rem;
    color: var(--primary-color);
    background: rgba(215, 255, 63, 0.065);
    box-shadow: 0 0 24px rgba(215, 255, 63, 0.06);
}

.auth-form-icon i,
.auth-state-icon i {
    font-size: 1.35rem;
}

.auth-page .auth-title {
    margin: 0.18rem 0 0;
    color: #f3f3f0;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.auth-form-description {
    margin: -0.65rem 0 1.45rem;
    color: var(--auth-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.auth-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.auth-page .auth-card .input-group {
    position: relative;
    width: 100%;
    margin: 0 0 0.95rem;
}

.auth-page .auth-card .input-group input {
    width: 100%;
    height: 3.65rem;
    padding: 1.28rem 3rem 0.34rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    color: #f5f5f2;
    background: rgba(255, 255, 255, 0.035);
    outline: none;
    font-size: 0.94rem;
    box-shadow: none;
}

.auth-page .auth-card .input-group input:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.auth-page .auth-card .input-group input:focus {
    border-color: rgba(215, 255, 63, 0.72);
    background: rgba(215, 255, 63, 0.035);
    box-shadow: 0 0 0 3px rgba(215, 255, 63, 0.09);
}

.auth-page .auth-card .input-group label {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 3rem;
    max-width: calc(100% - 6rem);
    overflow: hidden;
    color: #8f939b;
    font-size: 0.88rem;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    transform: translateY(-50%);
    transition:
        top 0.22s ease,
        color 0.22s ease,
        font-size 0.22s ease,
        transform 0.22s ease;
}

.auth-page .auth-card .input-group input:focus ~ label,
.auth-page .auth-card .input-group input:valid ~ label {
    top: 0.72rem;
    color: #b9d950;
    font-size: 0.64rem;
    transform: translateY(0);
}

.auth-field-icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1rem;
    color: #777b83;
    font-size: 1.15rem;
    pointer-events: none;
    transform: translateY(-50%);
    transition: color 0.22s ease;
}

.input-group:focus-within .auth-field-icon {
    color: var(--primary-color);
}

.auth-password-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    right: 0.65rem;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 0.55rem;
    color: #8f939b;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.auth-password-toggle:hover {
    color: var(--primary-color);
    background: rgba(215, 255, 63, 0.07);
}

.auth-code-group input {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.24em;
}

.auth-form-meta {
    display: flex;
    justify-content: flex-end;
    margin: -0.15rem 0 1.15rem;
}

.auth-page .forgot-link {
    color: #c5c7cc;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
}

.auth-page .forgot-link:hover {
    color: var(--primary-color);
}

.auth-page .auth-button {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    overflow: hidden;
    padding: 0.8rem 1.15rem;
    border: 1px solid var(--primary-color);
    border-radius: 0.85rem;
    color: #090b05;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0.22), transparent 46%),
        var(--primary-color);
    box-shadow: 0 10px 30px rgba(183, 232, 20, 0.13);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.28s var(--premium-ease),
        box-shadow 0.28s ease,
        background-color 0.28s ease;
}

.auth-page .auth-button::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -60% auto -60% -35%;
    width: 24%;
    background: rgba(255, 255, 255, 0.48);
    transform: skewX(-20deg);
    transition: left 0.55s var(--premium-ease);
}

.auth-page .auth-button:hover {
    color: #080a04;
    background: #deff5e;
    box-shadow: 0 14px 36px rgba(183, 232, 20, 0.23);
    filter: none;
    transform: translateY(-2px);
}

.auth-page .auth-button:hover::before {
    left: 125%;
}

.auth-page .auth-button.is-loading {
    cursor: wait;
    opacity: 0.78;
}

.auth-page .auth-button.is-loading i {
    animation: auth-submit-spin 0.75s linear infinite;
}

.auth-switch-panel {
    margin-top: 1rem;
    color: #9699a0;
    font-size: 0.82rem;
    text-align: center;
}

.auth-switch-panel a,
.auth-text-button {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    color: var(--primary-color);
    font: inherit;
    font-weight: 750;
    text-decoration: none;
}

.auth-text-button {
    padding: 0.5rem;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.auth-text-button:hover,
.auth-switch-panel a:hover {
    color: #e5ff82;
}

.auth-secondary-form {
    display: flex;
    justify-content: center;
    margin-top: 0.45rem;
}

.auth-page .auth-card .auth-message {
    position: static;
    width: 100%;
    margin: 0.15rem 0 0;
    padding: 0.8rem 0.9rem;
    border-radius: 0.75rem;
    opacity: 1;
    color: #e7e8e4;
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.78rem;
    line-height: 1.5;
    text-align: left;
}

.auth-page .auth-card .auth-message.error {
    color: #ffb2ba;
    border-color: rgba(255, 100, 116, 0.45);
    background: rgba(176, 39, 55, 0.12);
}

.auth-page .auth-card .auth-message.success {
    color: #aef0c8;
    border-color: rgba(86, 220, 139, 0.42);
    background: rgba(40, 145, 82, 0.12);
}

.auth-state {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.auth-state .auth-state-icon {
    margin-bottom: 1.25rem;
    color: #ff9aa4;
    border-color: rgba(255, 104, 118, 0.28);
    background: rgba(255, 79, 97, 0.075);
}

.auth-state p {
    margin: 0.85rem 0 1.4rem;
    color: var(--auth-muted);
    line-height: 1.65;
}

.auth-button-link {
    width: 100%;
}

@keyframes auth-copy-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes auth-form-in {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes auth-orbit-breathe {
    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.96);
    }
    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

@keyframes auth-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 820px) {
    .auth-page .login-box.auth-card,
    .auth-page .login-box.auth-card:hover,
    .auth-page .login-box.auth-card.force-open,
    .auth-page .login-box.auth-card.show-register,
    .auth-page .login-box.auth-card.show-register:hover,
    .auth-page .login-box.auth-card.show-register.force-open {
        width: min(580px, calc(100vw - 1.5rem));
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .auth-card-intro {
        min-height: 230px;
        gap: 1.4rem;
        padding: 1.8rem 2rem;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .auth-intro-copy h1 {
        max-width: 14ch;
        font-size: clamp(2.15rem, 8vw, 3rem);
    }

    .auth-intro-copy p {
        max-width: 48ch;
    }

    .auth-trust-list {
        display: none;
    }

    .auth-orbit {
        right: -5rem;
        bottom: -9rem;
    }
}

@media (max-width: 560px) {
    .auth-page .auth-shell {
        padding: 6.5rem 0.7rem 3rem;
    }

    .auth-page .login-box.auth-card,
    .auth-page .login-box.auth-card:hover,
    .auth-page .login-box.auth-card.force-open,
    .auth-page .login-box.auth-card.show-register,
    .auth-page .login-box.auth-card.show-register:hover,
    .auth-page .login-box.auth-card.show-register.force-open {
        width: 100%;
        border-radius: 1.15rem;
    }

    .auth-card-intro {
        min-height: 205px;
        padding: 1.5rem;
    }

    .auth-card-main {
        padding: 1.6rem 1.25rem 1.8rem;
    }

    .auth-fields-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .auth-form-heading {
        margin-bottom: 1.35rem;
    }

    .auth-intro-copy h1 {
        margin-top: 0.85rem;
        font-size: clamp(2rem, 11vw, 2.7rem);
    }

    .auth-intro-copy p {
        font-size: 0.86rem;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page .login-box.auth-card,
    .auth-card.show-register .auth-copy-register,
    .auth-page .auth-card.show-register .register-form {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }

    .auth-orbit,
    .auth-page .auth-button.is-loading i {
        animation: none;
    }

    .auth-page .auth-button::before {
        display: none;
    }
}

/* =========================================================
   GLOBAL UI SHELL — TÜM VİTRİN SAYFALARI
   Çakışan eski navbar/media kurallarının üzerinde tek kaynak.
   ========================================================= */
html {
    min-width: 320px;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    min-width: 320px;
    overflow-x: clip;
}

.site-content,
.site-content > *,
.container,
.header-right,
.main-navigation,
.main-navigation ul,
.footer-grid {
    min-width: 0;
}

/* Kapsül (hap) navbar — ortalanmış, oval uçlu, buzlu cam. */
.site-header {
    --global-header-height: 4.35rem;
    z-index: 1300;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1320px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 999px;
    background: rgba(7, 10, 16, 0.74);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px) saturate(135%);
    -webkit-backdrop-filter: blur(18px) saturate(135%);
    transition:
        top 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        background-color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
    contain: layout style;
}

/* Sayfa kaydırılınca kapsül yukarı yaklaşır ve koyulaşır. */
.site-header.is-scrolled,
.premium-home .site-header.is-scrolled {
    top: 0.55rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1320px, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    border-color: rgba(215, 255, 63, 0.17);
    border-radius: 999px;
    background: rgba(5, 7, 11, 0.91);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.44);
}

.site-header .container {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    height: var(--global-header-height);
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 1.2vw, 1.25rem);
    padding-inline: clamp(1rem, 2vw, 1.65rem);
    transition:
        height 0.42s cubic-bezier(0.16, 1, 0.3, 1),
        padding 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.is-scrolled .container {
    height: 3.85rem;
    padding-inline: clamp(0.9rem, 1.8vw, 1.45rem);
}

.site-header .logo {
    flex: 0 0 auto;
    padding: 0;
    white-space: nowrap;
    letter-spacing: -0.035em;
    text-shadow: none;
}

.site-header .logo:hover {
    text-shadow: none;
}

.header-right {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: clamp(0.55rem, 1.2vw, 1.15rem);
}

.main-navigation {
    min-width: 0;
}

.main-navigation ul {
    align-items: center;
    gap: clamp(0.65rem, 1.25vw, 1.55rem);
}

.main-navigation li,
.main-navigation a,
.auth-links,
.auth-links a,
.user-menu-toggle,
.cart-icon-container {
    flex-shrink: 0;
}

.main-navigation a,
.main-navigation .nav-link,
.auth-links a,
.user-menu-toggle {
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

.main-navigation ul li a {
    font-size: clamp(0.72rem, 0.82vw, 0.92rem);
    letter-spacing: -0.012em;
}

.desktop-auth {
    padding-right: 0;
    gap: clamp(0.55rem, 0.9vw, 0.9rem);
}

.desktop-auth .user-menu-toggle span {
    display: block;
    max-width: clamp(7rem, 12vw, 11rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-icon-container {
    display: flex;
    align-items: center;
    margin-left: clamp(0.1rem, 0.5vw, 0.55rem);
}

.cart-nav-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    color: var(--text-color-light);
    background: rgba(255, 255, 255, 0.025);
    font-size: 1.32rem;
    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background-color 0.3s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-nav-link:hover,
.cart-nav-link:focus-visible {
    color: var(--primary-color);
    border-color: color-mix(in srgb, var(--primary-color) 45%, transparent);
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
    transform: translateY(-2px);
    outline: none;
}

.nav-toggle {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);
}

.nav-toggle span {
    left: 50%;
    width: 1.15rem;
    transform: translateX(-50%);
}

.nav-toggle span:nth-child(1) {
    top: 0.9rem;
}

.nav-toggle span:nth-child(2) {
    top: 1.32rem;
}

.nav-toggle span:nth-child(3) {
    top: 1.74rem;
}

.nav-toggle.active span:nth-child(1) {
    top: 1.32rem;
    transform: translateX(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    left: 50%;
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    top: 1.32rem;
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    display: block;
    padding: 0;
    border: 0;
    background: rgba(2, 4, 7, 0.62);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

html.mobile-nav-open .mobile-nav-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav {
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(88vw, 390px);
    max-width: 390px;
    height: 100vh;
    height: 100dvh;
    padding: 5.5rem clamp(1.25rem, 6vw, 2rem) max(1.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-left: 1px solid rgba(255, 255, 255, 0.09);
    background:
        radial-gradient(circle at 100% 0, rgba(0, 217, 255, 0.09), transparent 32%),
        rgba(8, 13, 24, 0.98);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(104%, 0, 0);
    transition:
        transform 0.52s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.mobile-nav.show-menu {
    right: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.mobile-nav ul {
    flex: 0 0 auto;
    gap: 0.25rem;
    text-align: left;
}

.mobile-nav a.nav-link {
    position: relative;
    padding: 0.82rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
    border-radius: 0;
    color: rgba(240, 240, 240, 0.78);
    font-size: clamp(1.05rem, 5vw, 1.35rem);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.025em;
    white-space: nowrap;
}

.mobile-nav a.nav-link::after {
    content: '↗';
    position: absolute;
    right: 0.2rem;
    color: var(--primary-color);
    font-size: 0.85rem;
    opacity: 0.55;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav a.nav-link:hover::after,
.mobile-nav a.nav-link:focus::after {
    opacity: 1;
    transform: rotate(45deg);
}

.nav-close {
    top: 1.2rem;
    right: 1.2rem;
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 1.5rem;
}

.mobile-auth {
    flex: 0 0 auto;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.mobile-auth .login-link,
.mobile-auth .btn-register,
.mobile-auth .user-menu-toggle {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* Global içerik ve mobil taşma güvenliği */
.site-content h1,
.site-content h2,
.site-content h3,
.page-title,
.section-title {
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.site-content p,
.site-content li,
.site-content label,
.site-footer p,
.site-footer a {
    overflow-wrap: anywhere;
}

.site-content img,
.site-content video,
.site-content iframe,
.site-content canvas,
.site-content svg {
    max-width: 100%;
}

.table-wrapper,
.orders-table-wrapper,
.cart-items-wrapper {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
}

.site-footer {
    overflow: hidden;
    border-top-color: rgba(255, 255, 255, 0.08);
}

.site-footer .footer-grid {
    grid-template-columns: minmax(260px, 1.6fr) minmax(140px, 0.8fr) minmax(170px, 0.95fr) minmax(230px, 1.15fr);
    gap: clamp(2rem, 4vw, 4rem);
}

@media screen and (max-width: 1180px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header .container {
        gap: 0.65rem;
    }

    .site-header .logo {
        order: 1;
        margin-right: auto;
    }

    .header-right {
        order: 2;
        flex: 0 0 auto;
    }

    .nav-toggle {
        order: 3;
        display: block;
        position: relative;
        margin-left: 0;
    }

    .main-navigation,
    .desktop-auth {
        display: none;
    }

    .cart-icon-container {
        margin-left: 0;
    }
}

@media screen and (min-width: 1181px) {
    .nav-toggle {
        display: none;
    }

    .mobile-nav,
    .mobile-nav-backdrop {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    :root {
        font-size: clamp(14px, 3.85vw, 16px);
    }

    /* Mobilde de kapsül korunur, yalnızca kenar boşluğu daraltılır. */
    .site-header,
    .premium-home .site-header {
        top: 0.6rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 1.5rem);
        max-width: calc(100% - 1.5rem);
        border-radius: 999px;
    }

    .site-header.is-scrolled,
    .premium-home .site-header.is-scrolled {
        top: 0.4rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 1.5rem);
        max-width: calc(100% - 1.5rem);
        border-radius: 999px;
    }

    .site-header {
        --global-header-height: 3.8rem;
    }

    .site-header.is-scrolled .container {
        height: 3.45rem;
    }

    .site-header .container {
        padding-inline: 0.75rem 0.55rem;
    }

    .site-header .logo {
        padding-left: 0.25rem;
        font-size: clamp(1.05rem, 5.2vw, 1.35rem);
    }

    .site-header .logo span {
        display: inline;
    }

    .cart-nav-link,
    .nav-toggle {
        width: 2.55rem;
        height: 2.55rem;
        flex-basis: 2.55rem;
    }

    .nav-toggle span:nth-child(1) {
        top: 0.8rem;
    }

    .nav-toggle span:nth-child(2) {
        top: 1.19rem;
    }

    .nav-toggle span:nth-child(3) {
        top: 1.58rem;
    }

    .nav-toggle.active span:nth-child(1),
    .nav-toggle.active span:nth-child(3) {
        top: 1.19rem;
    }

    .section {
        padding-block: clamp(4.5rem, 18vw, 6.5rem);
    }

    .page-header.section {
        padding-top: clamp(7.5rem, 26vw, 9rem);
        padding-bottom: clamp(2.5rem, 10vw, 4rem);
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 3.25rem);
        line-height: 1.03;
        letter-spacing: -0.045em;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.65rem);
        line-height: 1.08;
    }

    .container {
        width: 100%;
        padding-inline: clamp(1rem, 4.8vw, 1.5rem);
    }

    .projects-grid,
    .partners-grid,
    .partners-page-grid,
    .team-grid,
    .cards-wrapper,
    .profile-grid,
    .checkout-grid,
    .cart-layout,
    .contact-wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        font-size: max(1rem, 16px);
    }

    .footer-grid,
    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    .site-footer .social-links {
        justify-content: flex-start;
    }

    .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
        padding-inline: 1rem;
        font-size: 0.82rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 420px) {
    .mobile-nav {
        width: 100%;
        max-width: none;
    }

    .site-header .container {
        gap: 0.4rem;
    }

    .cart-nav-link,
    .nav-toggle {
        width: 2.42rem;
        height: 2.42rem;
        flex-basis: 2.42rem;
    }

    .nav-toggle span:nth-child(1) {
        top: 0.73rem;
    }

    .nav-toggle span:nth-child(2) {
        top: 1.12rem;
    }

    .nav-toggle span:nth-child(3) {
        top: 1.51rem;
    }

    .nav-toggle.active span:nth-child(1),
    .nav-toggle.active span:nth-child(3) {
        top: 1.12rem;
    }
}

/* ===== GLOBAL PREMIUM ALT SAYFA YÜZEYLERİ ===== */
body:not(.premium-home):not(.auth-page):not(.payment-handoff) {
    background:
        radial-gradient(circle at 12% 6%, rgba(139, 92, 246, 0.08), transparent 28rem),
        radial-gradient(circle at 88% 12%, rgba(215, 255, 63, 0.055), transparent 30rem),
        var(--secondary-color);
}

body:not(.premium-home) .page-header {
    position: relative;
    overflow: hidden;
    padding-top: clamp(9rem, 16vw, 12rem);
    padding-bottom: clamp(4rem, 8vw, 6rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
        radial-gradient(circle at 78% 22%, rgba(139, 92, 246, 0.12), transparent 25rem);
}

body:not(.premium-home) .page-header::after {
    content: '';
    position: absolute;
    right: -8rem;
    top: 25%;
    width: clamp(16rem, 30vw, 30rem);
    aspect-ratio: 1;
    border: 1px solid rgba(215, 255, 63, 0.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 4rem rgba(215, 255, 63, 0.012),
        0 0 0 8rem rgba(215, 255, 63, 0.008);
    pointer-events: none;
}

body:not(.premium-home) .page-title {
    position: relative;
    z-index: 1;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.06em;
}

body:not(.premium-home) .page-subtitle {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin-inline: auto;
    color: rgba(247, 247, 242, 0.58);
    line-height: 1.8;
}

body:not(.premium-home) .projects-grid,
body:not(.premium-home) .partners-page-grid,
body:not(.premium-home) .team-grid {
    gap: clamp(1rem, 2.4vw, 2rem);
}

body:not(.premium-home) .project-card,
body:not(.premium-home) .product-card,
body:not(.premium-home) .team-card,
body:not(.premium-home) .partner-card,
body:not(.premium-home) .ticket-card,
body:not(.premium-home) .profile-sidebar,
body:not(.premium-home) .profile-content,
body:not(.premium-home) .order-summary,
body:not(.premium-home) .checkout-form-container {
    border-color: rgba(255, 255, 255, 0.09);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 42%),
        rgba(15, 17, 20, 0.9);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.24);
}

body:not(.premium-home) .project-card:hover,
body:not(.premium-home) .product-card:hover,
body:not(.premium-home) .team-card:hover,
body:not(.premium-home) .partner-card:hover {
    border-color: rgba(215, 255, 63, 0.24);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

body:not(.premium-home) .btn-primary,
body:not(.premium-home) .btn-add-cart,
body:not(.premium-home) .btn-register {
    color: #090a07;
    background: var(--primary-color);
    box-shadow: none;
}

/* Footer tüm sayfalarda ana sayfadaki gibi arkası açık kalır:
   koyu blok, gölge ve buzlu cam yok, yalnızca ince ayırıcı çizgi. */
body:not(.premium-home) .site-footer {
    background: transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ===== WCAG 2.2 AA: odak, atlama bağlantısı ve ortak durumlar ===== */
.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 0.65rem;
    color: #090a07;
    background: var(--primary-color);
    font-weight: 700;
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

#main-content {
    scroll-margin-top: 7rem;
}

.cart-count {
    position: absolute;
    top: -0.3rem;
    right: -0.3rem;
    display: grid;
    place-items: center;
    min-width: 1.25rem;
    min-height: 1.25rem;
    padding: 0.1rem 0.3rem;
    border: 2px solid #070809;
    border-radius: 999px;
    color: #090a07;
    background: var(--primary-color);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1;
}

.cart-count:empty,
.cart-count[hidden] {
    display: none;
}

.modal-overlay[aria-hidden="true"],
.project-modal-overlay[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

@media (pointer: coarse) {
    button,
    input[type="checkbox"],
    input[type="radio"],
    .action-btn {
        min-width: 44px;
        min-height: 44px;
    }
}

/* POST ödeme aktarım ekranı: iş mantığına dokunmadan ortak görsel dil */
.payment-handoff {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(circle at 50% 35%, rgba(139, 92, 246, 0.14), transparent 24rem),
        #050607;
}

.payment-handoff-card {
    width: min(520px, 100%);
    padding: clamp(2rem, 7vw, 4rem);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 1.25rem;
    background: rgba(15, 17, 20, 0.92);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.payment-handoff-brand {
    margin-bottom: 2rem;
    color: #f4f5f0;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.payment-handoff-brand span,
.payment-handoff-kicker {
    color: var(--primary-color);
}

.payment-handoff-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-handoff-card h1 {
    margin: 0.75rem 0;
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    letter-spacing: -0.04em;
}

.payment-handoff-card p {
    margin-top: 0.65rem;
    color: var(--text-color-light);
    line-height: 1.7;
}

.payment-handoff-card .payment-handoff-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    padding: 0.9rem 1.3rem;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    color: #090b06;
    background: var(--primary-color);
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.payment-handoff-noscript {
    font-size: 0.8rem;
}

.payment-handoff-spinner {
    display: block;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: globalSpin 0.9s linear infinite;
}

@keyframes globalSpin {
    to { transform: rotate(360deg); }
}


/* ===== MIGRATED PAGE COMPONENTS ===== */

/* Migrated from order_success.php */
.success-section { padding-top: 8rem; text-align: center; min-height: 70vh; display: flex; align-items: center; }
        .success-icon { font-size: 5rem; color: #f5b942; margin-bottom: 1.5rem; text-shadow: 0 0 20px rgba(245,185,66,.35); }
        .success-title { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; }
        .success-message { color: #fff; font-size: 1.15rem; line-height: 1.7; max-width: 700px; margin: 0 auto 2rem; padding: 1rem 1.25rem; border: 1px solid #f5b942; border-radius: 8px; background: rgba(245,185,66,.1); }
        .order-info-box { max-width: 520px; margin: 0 auto 2rem; padding: 1.5rem; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
        .order-number { color: var(--primary-color); font-size: 1.25rem; font-weight: 700; }
        .order-meta { color: var(--text-color-light); margin-top: .75rem; }
        .action-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
        .btn-secondary { color: #fff; padding: 10px 20px; border: 1px solid #fff; border-radius: 5px; }

/* Migrated from products.php */
/* --- Filtreleme Alanı Stilleri --- */
        .filter-controls { /* ... (Mevcut stiller aynı) ... */ background-color: var(--container-color); padding: 1.5rem 2rem; border-radius: 8px; margin-bottom: 2rem; /* Alt boşluk azaltıldı */ border: 1px solid var(--bg-lighter, #1d2d50); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
        .search-filter .form-group { margin-bottom: 0; }
        .search-filter input[type="search"] { width: 100%; padding: 0.8rem 1rem; background-color: var(--secondary-color); border: 1px solid #1d2d50; border-radius: 0.5rem; color: var(--text-color); font-family: var(--body-font); font-size: 1rem; }
        .price-filter { min-width: 300px; }
        .price-filter .filter-label { display: block; margin-bottom: 0.75rem; color: var(--text-color-light); font-size: 0.9rem; text-align: center; }
        .price-range-values { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-color); margin-top: 0.75rem; font-weight: 500;}
        .price-range-controls { display: grid; gap: 0.55rem; }
        .price-range-controls input[type="range"] { width: 100%; accent-color: var(--primary-color); cursor: pointer; }
        .no-products-found { text-align: center; color: var(--text-color-light); padding: 3rem; background-color: var(--container-color); border-radius: 8px; display: block; width: 100%; grid-column: 1 / -1; }
        .no-products-found[hidden] { display: none; }

        /* YENİ: Satın Alma Rehberi Stilleri */
        .purchase-guide {
            background-color: rgba(17, 34, 64, 0.8); /* var(--container-color) biraz daha şeffaf */
            border: 1px solid var(--primary-color);
            border-radius: 8px;
            padding: 1.5rem 2rem;
            margin-bottom: 3rem; /* Ürünlerden önceki boşluk */
            color: var(--text-color-light);
            backdrop-filter: blur(5px); /* Hafif bulanıklık efekti */
        }
        .purchase-guide h3 {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
         .purchase-guide h3 i {
             font-size: 1.8rem;
         }
        .purchase-guide ol {
            list-style: none; /* Numaralandırmayı kaldırıp kendimiz ekleyeceğiz */
            padding-left: 0.5rem;
            counter-reset: guide-counter; /* Sayaç başlat */
        }
        .purchase-guide li {
            position: relative;
            padding-left: 2.5rem; /* Numara için yer aç */
            margin-bottom: 0.8rem;
            line-height: 1.6;
            font-size: 0.95rem;
        }
         .purchase-guide li::before {
             counter-increment: guide-counter; /* Sayacı artır */
             content: counter(guide-counter); /* Sayaç değerini yaz */
             position: absolute;
             left: 0;
             top: 0;
             width: 1.8rem;
             height: 1.8rem;
             background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
             color: #fff;
             font-weight: 600;
             border-radius: 50%;
             display: inline-flex;
             align-items: center;
             justify-content: center;
             font-size: 0.9rem;
             box-shadow: 0 2px 5px rgba(0,0,0,0.2);
         }


        @media screen and (max-width: 768px) {
           .filter-controls { grid-template-columns: 1fr; }
           .price-filter { min-width: unset; }
           .purchase-guide h3 { font-size: 1.2rem; }
           .purchase-guide li { font-size: 0.9rem; padding-left: 2.2rem;}
           .purchase-guide li::before { width: 1.6rem; height: 1.6rem; font-size: 0.8rem;}
        }

/* Migrated from profile.php */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: flex-start; }
        .profile-sidebar { background-color: var(--container-color); padding: 2rem; border-radius: 8px; text-align: center; border: 1px solid var(--bg-lighter, #1d2d50); }
        .profile-avatar { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 1.5rem auto; object-fit: cover; border: 4px solid var(--primary-color); }
        .profile-sidebar h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
        .profile-sidebar .role-badge { margin-bottom: 1rem; display: inline-block; }
        .profile-info p { color: var(--text-color-light); font-size: 0.9rem; margin-bottom: 0.5rem; }
        .profile-info p strong { color: var(--text-color); }
        .profile-nav { list-style: none; margin-top: 1.5rem; text-align: left; }
        .profile-nav li a { display: block; padding: 0.75rem 1rem; border-radius: 4px; color: var(--text-color-light); transition: 0.3s; }
        .profile-nav li a:hover, .profile-nav li a.active { background-color: var(--primary-color); color: var(--secondary-color); font-weight: 500;}
        .profile-content { display: flex; flex-direction: column; gap: 2rem; }
        .profile-card { background-color: var(--container-color); padding: 2rem; border-radius: 8px; border: 1px solid var(--bg-lighter, #1d2d50); }
        .profile-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--bg-lighter, #1d2d50); padding-bottom: 1rem; }
        
        
        .form-group input, .form-group select { width: 100%; padding: 0.8rem 1rem; background-color: var(--secondary-color); border: 1px solid #1d2d50; border-radius: 0.5rem; color: var(--text-color); font-family: var(--body-font); font-size: 1rem; }
        .form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary-color); }
        .phone-input-group { display: flex; gap: 0.5rem; }
        .phone-input-group select { width: 100px; flex-shrink: 0; }
        .phone-input-group input { flex-grow: 1; }
        .password-confirm-group { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bg-lighter, #1d2d50); }
        .password-confirm-group label { color: var(--accent-color); }
        .role-badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
        .role-badge.role-admin { background-color: rgba(233, 0, 255, 0.2); color: var(--accent-color); }
        .role-badge.role-user { background-color: rgba(0, 217, 255, 0.2); color: var(--primary-color); }
        .orders-table-wrapper { overflow-x: auto; }
        .orders-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
        .orders-table th, .orders-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--bg-lighter); white-space: nowrap; }
        .orders-table th { color: var(--text-color-light); font-weight: 600; font-size: 0.9rem; }
        .orders-table .order-actions a, .orders-table .order-actions button { display: inline-flex; align-items: center; justify-content: center; padding: 0.4rem 0.8rem; border-radius: 4px; font-size: 0.85rem; margin-right: 0.5rem; text-decoration: none; border: none; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
        .orders-table .order-actions .btn-view-details { background-color: var(--primary-color); color: var(--secondary-color); }
        .orders-table .order-actions .btn-view-details:hover { filter: brightness(1.2); }
        .orders-table .order-actions .btn-cancel-order { background-color: #ff4d4d; color: #fff; }
        .orders-table .order-actions .btn-cancel-order:hover { background-color: #ff2d2d; }
        .orders-table .order-actions .btn-cancel-order:disabled { background-color: var(--bg-lighter); color: var(--text-color-light); cursor: not-allowed; }
        
        
        
        
        
        
        @media screen and (max-width: 992px) { .profile-grid { grid-template-columns: 1fr; } }
        @media screen and (max-width: 768px) { .orders-table thead { display: none; } .orders-table tbody, .orders-table tr, .orders-table td { display: block; width: 100%; } .orders-table tr { margin-bottom: 1rem; border: 1px solid var(--bg-lighter); border-radius: 8px; padding: 0.5rem; } .orders-table td { text-align: right; padding-left: 50%; position: relative; border-bottom: none; display: flex; align-items: center; justify-content: flex-end; min-height: 30px;} .orders-table td::before { content: attr(data-label); position: absolute; left: 1rem; width: 45%; padding-right: 10px; white-space: nowrap; text-align: left; font-weight: 600; color: var(--text-color-light); } .orders-table td.order-actions { padding-left: 1rem; justify-content: flex-start; } .orders-table td.order-actions::before { display: none; } }

/* Migrated from shopier_pro_test.php */
.shopier-test-page { min-height: 100vh; padding: 50px; background: var(--secondary-color); text-align: center; }
        .shopier-test-page .box { width: min(360px, 100%); padding: 20px; margin: 20px auto; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: var(--container-color); box-shadow: 0 4px 20px rgba(0,0,0,.25); }
        .shopier-test-page h3 { margin-top: 0; color: var(--text-color); }
        .shopier-test-page button { width: 100%; padding: 15px; border: none; border-radius: 5px; color: #090a07; background: var(--primary-color); font-weight: bold; cursor: pointer; font-size: 16px; }
        .shopier-test-page small { display: block; margin-top: 10px; color: var(--text-color-light); }

/* Migrated from view_order.php */
.order-detail-section { padding-top: 8rem; }
        .detail-card { background-color: var(--container-color); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--bg-lighter); margin-bottom: 2rem; }
        .detail-card h2 { font-size: 1.3rem; margin-bottom: 1rem; border-bottom: 1px solid var(--bg-lighter); padding-bottom: 0.75rem; display: flex; justify-content: space-between; align-items: center;} /* Başlık yanına buton için */
        .detail-card p { color: var(--text-color-light); margin-bottom: 0.75rem; line-height: 1.6; }
        .detail-card p strong { color: var(--text-color); font-weight: 500; display: inline-block; min-width: 120px; }
        .items-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
        .items-table th, .items-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--bg-lighter); }
        .items-table th { color: var(--text-color-light); font-weight: 600; font-size: 0.9rem; }
        .items-table img { width: 50px; height: 40px; object-fit: cover; border-radius: 4px; vertical-align: middle; margin-right: 10px; }
        .items-table .item-price, .items-table .item-subtotal { text-align: right; white-space: nowrap; }
        .items-table .deleted-product { color: var(--text-color-light); font-style: italic; }

        .status-badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: capitalize; display: inline-block; }
        .status-badge.status-pending { background-color: rgba(255, 165, 0, 0.2); color: orange; }
        .status-badge.status-processing { background-color: rgba(0, 217, 255, 0.2); color: var(--primary-color); }
        .status-badge.status-shipped { background-color: rgba(100, 149, 237, 0.2); color: cornflowerblue; }
        .status-badge.status-delivered { background-color: rgba(76, 175, 80, 0.2); color: #4CAF50; }
        .status-badge.status-canceled { background-color: rgba(240, 240, 240, 0.2); color: var(--text-color-light); }

        .total-amount { font-size: 1.5rem; font-weight: 700; color: var(--primary-color); text-align: right; margin-top: 1rem; }
        /* PDF İndirme Butonu Stili */
        .btn-pdf {
            display: inline-flex; align-items: center; gap: 0.5rem;
            background-color: var(--accent-color); color: #fff;
            padding: 0.5rem 1rem; border-radius: 4px; font-size: 0.9rem;
            text-decoration: none; border: none; cursor: pointer;
            transition: background-color 0.3s;
        }
        .btn-pdf:hover { background-color: #c800e0; }
        .btn-pdf i { font-size: 1.1rem; }

/* Migrated from view_product.php */
/* --- VIEW_PRODUCT.PHP ÖZEL STİLLER (MOBİL ODAKLI GRID VE SLIDER) --- */

        /* MASAÜSTÜ GRID: 3 Sütunlu Yapı: Thumbnails | Ana Resim | Detaylar */
        .product-detail-grid {
            display: grid;
            grid-template-columns: 85px 1.5fr 1fr;
            gap: 2rem;
            align-items: flex-start;
            background-color: var(--container-color);
            padding: 2rem;
            border-radius: 8px;
            border: 1px solid var(--bg-lighter, #1d2d50);
            margin-bottom: 3rem;
        }

        /* 1. Sütun: Thumbnails (Masaüstü) */
        
        
        

        .product-thumbnails-vertical img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            border: 2px solid transparent;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.3s, border-color 0.3s;
        }
        

        /* 2. Sütun: Ana Resim */
        .product-main-content {
             grid-column: 2 / 3;
        }
        .main-product-image-container {
            position: relative;
            background-color: var(--secondary-color);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid var(--bg-lighter, #1d2d50);
            aspect-ratio: 10 / 10; /* KARE ORAN */
        }
        .main-product-image {
            width: 100%;
            height: 100%;
            display: block;
            object-fit: contain; /* Resmin tamamı görünsün */
            transition: opacity 0.3s ease;
        }

        /* Slider Butonları */
        .slider-btn {
            position: absolute; top: 50%; transform: translateY(-50%);
            background-color: rgba(10, 25, 47, 0.6); border: 1px solid rgba(0, 217, 255, 0.3);
            color: var(--primary-color); border-radius: 50%; width: 40px; height: 40px;
            display: flex; justify-content: center; align-items: center; font-size: 1.8rem;
            cursor: pointer; transition: background-color 0.3s, color 0.3s; z-index: 5;
        }
        .slider-btn:hover { background-color: var(--primary-color); color: var(--secondary-color); }
        .slider-btn.prev-btn { left: 1rem; }
        .slider-btn.next-btn { right: 1rem; }
        .slider-btn.hidden { display: none; }


        /* 3. Sütun: Ürün Detayları */
        .product-details {
            display: flex; flex-direction: column;
            grid-column: 3 / 4;
            height: 100%;
        }
        .product-details h1 { font-size: 2.2rem; margin-bottom: 0.5rem; line-height: 1.3; color: #fff; }
        .product-details .price-section { background-color: var(--secondary-color); padding: 1rem 1.5rem; border-radius: 8px; border: 1px solid var(--bg-lighter); margin-bottom: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
        .product-details .product-description { color: var(--text-color-light); line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; flex-grow: 1; }

        /* Sepet Formu */
        .add-to-cart-form { 
            display: flex; flex-direction: column; /* MOBİL İÇİN KOLAY YÖNETİM */
            padding-top: 1.5rem; border-top: 1px solid var(--bg-lighter); 
            /* Masaüstü: */
            margin-top: auto; 
        }
        .add-to-cart-form .form-group { margin-bottom: 1rem; width: 100%; } /* Tam genişlik */
        .add-to-cart-form input[type="number"] { padding: 0.8rem; font-size: 1rem; text-align: center; border-radius: 4px; border: 1px solid var(--bg-lighter); background-color: var(--secondary-color); color: var(--text-color); width: 100%; -moz-appearance: textfield; }


        /* --- MOBİL UYUMLULUK DÜZELTMESİ (GÖRSEL AKIŞINI SAĞLAR) --- */
        @media screen and (max-width: 992px) {
            .product-detail-grid { display: flex; flex-direction: column; padding: 1.5rem; } /* Grid yerine Flex kullan */

            /* Resim Konteyneri (Slider) ve Thumbnails'ı taşıyalım */
            .product-main-content { 
                order: 1; /* Resim alanı en üste */
                width: 100%; /* Tam genişlik */
                margin-top: 1rem; /* Başlık/Sepet'ten sonra boşluk */
            }
            .product-thumbnails-vertical { 
                 order: 2; /* Thumbnails, resmin hemen altına */
                 flex-direction: row; justify-content: center; flex-wrap: wrap; 
                 max-height: none; overflow-y: visible; padding-right: 0;
                 margin-top: 1rem; /* Resimle arasına boşluk */
            }
            
            /* Detaylar kutusunu parçala ve akışa sok */
            .product-details { 
                order: 3; /* Detaylar Kutusu resmin altına */
                width: 100%; 
                padding: 0; 
                margin-top: 1.5rem; /* Resimden sonra boşluk */
            }
            
            /* Detaylar İçindeki Sıra */
            .product-details h1 { order: 1; margin-bottom: 1rem; }
            .product-details .price-section { order: 2; margin-top: 0; margin-bottom: 1rem; }
            .product-details .add-to-cart-form { 
                order: 3; 
                margin-top: 0; /* Fiyattan sonra boşluk yok */
                padding-top: 0; 
                border-top: none;
                flex-direction: row; /* Mobil sepet: Miktar ve Sepete Ekle yan yana */
                justify-content: space-between;
                align-items: center;
            }
            .product-details .add-to-cart-form .form-group { width: 40%; margin-bottom: 0; }
            .product-details .add-to-cart-form button { width: 55%; margin-top: 0; }

            .product-details .product-description { 
                 order: 4; 
                 margin-top: 1.5rem; 
                 padding-top: 1.5rem; 
                 border-top: 1px solid var(--bg-lighter);
            }
            
            /* Resim boyut ayarları */
            
            
            .back-link { order: 10; margin-top: 2rem; }
        }

        @media screen and (max-width: 576px) {
             .product-thumbnails-vertical img { width: 55px; height: 40px;} /* Çok küçük thumbnail */
             
             .main-product-image { max-height: 300px; }
             .slider-btn { width: 30px; height: 30px; font-size: 1.4rem; }
             
             
             /* Sepet formu dikey yapalım (Miktar ve Buton tam dikey) */
             
             .add-to-cart-form .form-group { width: 100%; margin-bottom: 1rem; }
             .add-to-cart-form button { width: 100%; }
        }

         /* --- VIEW_PRODUCT.PHP ÖZEL STİLLER (BİRLEŞTİRİLMİŞ SİSTEM) --- */

     
        /* Thumbnails (1. Sütun) */
        .product-thumbnails-vertical {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            max-height: 480px;
            overflow-y: auto;
            padding-right: 5px;
        }
        .product-thumbnails-vertical::-webkit-scrollbar { width: 4px; }
        .product-thumbnails-vertical::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 2px;}

        .product-thumbnails-vertical img {
            width: 180px;
            height: 220px;
            object-fit: cover; /* Kutuyu doldur */
            border-radius: 4px;
            border: 2px solid transparent;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.3s, border-color 0.3s;
        }
        .product-thumbnails-vertical img:hover {
            opacity: 1;
            border-color: var(--text-color-light);
        }
        .product-thumbnails-vertical img.active-thumb {
            opacity: 1;
            border-color: var(--primary-color);
        }

        /* Ana Resim Konteyneri (2. Sütun) */
        .product-main-content {
            /* Bu konteyner 2. sütunu kaplıyor */
            height: 100%;
        }

        .main-product-image-container {
            position: relative;
            background-color: transparent;
            border-radius: 8px;
            overflow: hidden;
            border: none;
            aspect-ratio: 10 / 10; /* Oranı koruyalım */
        }
        .main-product-image {
            width: 500px;
            height: 500px;
            display: block;
            object-fit: contain; /* Resmin tamamı görünsün */
            border-radius: 10px;
            border: 1px solid var(--bg-lighter, #1d2d50);
            transition: opacity 0.3s ease; /* Slider için */
        }


      

        /* Mobil uyumluluk */
        @media screen and (max-width: 992px) {
            .product-detail-grid {
                 grid-template-columns: 1fr; /* Tek sütuna düşür */
                 padding: 1.5rem;
            }
            .product-thumbnails-vertical { 
                 order: 2; /* Resimden sonra */
                 flex-direction: row; /* Yatay yap */
                 justify-content: center; 
                 flex-wrap: wrap; 
                 max-height: none; 
                 overflow-y: visible; 
                 padding-right: 0;
                 margin-top: 1.5rem;
            }
            .product-main-content { order: 1; }
            .main-product-image-container { aspect-ratio: 16 / 9; } /* Mobilde daha yatay */
            .main-product-image { max-height: 450px; } /* Mobilde max yükseklik */
            .back-link { order: 3; }
            .product-details .product-description { flex-grow: 0; }
            .add-to-cart-form { margin-top: 1.5rem; }
        }
        @media screen and (max-width: 576px) {
             .product-thumbnails-vertical img { width: 65px; height: 50px;}
             .product-details h1 { font-size: 1.8rem; }
             .main-product-image { max-height: 350px; }
             .slider-btn { width: 35px; height: 35px; font-size: 1.5rem; }
             .slider-btn.prev-btn { left: 0.5rem; }
             .slider-btn.next-btn { right: 0.5rem; }
             .add-to-cart-form { flex-direction: column; align-items: stretch; }
             .add-to-cart-form .form-group { width: 100%; }
        }

/* Migrated from view_ticket.php */
.status-badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: capitalize; }
        .status-badge.status-open { background-color: rgba(0, 217, 255, 0.2); color: var(--primary-color); }
        .status-badge.status-answered { background-color: rgba(233, 0, 255, 0.2); color: var(--accent-color); }
        .status-badge.status-closed { background-color: rgba(240, 240, 240, 0.2); color: var(--text-color-light); }
        .btn-close-ticket { background: #ff4d4d; box-shadow: 0 0 15px rgba(255, 77, 77, 0.4); font-size: 0.9rem; padding: 0.6rem 1.2rem; }
        .btn-close-ticket:hover { background: #ff2d2d; box-shadow: 0 0 20px rgba(255, 77, 77, 0.6); }

        /* Dosya Yükleme Butonu Stili */
        .reply-form { display: flex; align-items: center; padding: 1rem; border-top: 1px solid var(--bg-lighter); }
        .reply-form textarea { flex-grow: 1; background-color: var(--bg-dark); border: 1px solid var(--bg-lighter); border-radius: 8px; padding: 0.75rem; color: var(--text-color); resize: none; font-family: var(--body-font); min-height: 50px; }
        .reply-form .input-group { display: flex; align-items: center; gap: 0.5rem; margin-left: 0.5rem; }
        .reply-form .file-input-wrapper { position: relative; overflow: hidden; display: inline-block; }
        .reply-form input[type="file"] { position: absolute; left: -9999px; top: -9999px; /* Gizle ama erişilebilir kalsın */ }
        .reply-form .file-btn-label { /* Buton gibi görünen label */ background: none; border: none; color: var(--text-color-light); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; transition: color 0.3s; display: inline-block; }
        .reply-form .file-btn-label:hover { color: var(--primary-color); }
        .reply-form .send-btn { background: var(--primary-color); border: none; color: var(--secondary-color); font-size: 1.5rem; width: 50px; height: 50px; border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;}
        .reply-form .send-btn:hover { background-color: var(--accent-color); color: #fff; }
        .reply-form .send-btn:disabled { background-color: var(--bg-lighter); cursor: not-allowed; } /* Gönderme sırasında */
        #file-name { font-size: 0.8rem; color: var(--text-color-light); margin-left: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; display: inline-block; vertical-align: middle;}

        /* Mesaj içindeki dosya linki */
        .attachment-link { display: inline-flex; align-items: center; gap: 0.3rem; background-color: var(--secondary-color); color: var(--primary-color); padding: 0.3rem 0.8rem; border-radius: 4px; text-decoration: none; font-size: 0.9rem; margin-top: 0.5rem; border: 1px solid var(--bg-lighter); }
        .attachment-link:hover { background-color: var(--bg-lighter); color: #fff; }
        .attachment-link i { font-size: 1rem; }
        /* Mesaj listesi yükleniyor */
        .message-list .loader { text-align: center; padding: 2rem; color: var(--text-color-light);}
        .message-list .no-messages-placeholder { text-align: center; padding: 2rem; color: var(--text-color-light);}
        /* Mesaj stilleri (main.js bunları ekliyor ama temel yapı) */
        .message { display: flex; flex-direction: column; max-width: 70%; padding: 0.75rem 1rem; border-radius: 12px; margin-bottom: 1rem; }
        .message.sent { align-self: flex-end; background-color: var(--primary-color); color: var(--secondary-color); border-bottom-right-radius: 2px; }
        .message.received { align-self: flex-start; background-color: var(--bg-lighter); border-bottom-left-radius: 2px; }
        .message-sender { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.25rem; }
        .message.sent .message-sender { color: var(--secondary-color); opacity: 0.8; }
        .message.received .message-sender { color: var(--text-color-light); }
        .message-content { line-height: 1.5; word-wrap: break-word; }
        .message-time { font-size: 0.7rem; align-self: flex-end; margin-top: 0.25rem; opacity: 0.7; }

/* Migrated from views\cart_view.php */
.cart-section { padding-top: 8rem; }
        
        /* ADIM İZLEYİCİ */
        
        @keyframes fadeIn {   }
        
        
        
        
        
        

        /* SEPET TABLOSU */
        .cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; background-color: var(--container-color); border-radius: 8px; overflow: hidden; border: 1px solid var(--bg-lighter); }
        .cart-table th, .cart-table td { padding: 1rem 1.5rem; text-align: left; border-bottom: 1px solid var(--bg-lighter); vertical-align: middle; }
        .cart-table th { background-color: var(--secondary-color); color: var(--text-color-light); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
        .cart-item-image img { width: 80px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid var(--bg-lighter); }
        .cart-item-name { font-weight: 600; font-size: 1.05rem;}
        .cart-item-name a { color: inherit; text-decoration: none; } .cart-item-name a:hover { color: var(--primary-color); }
        .cart-item-price { color: var(--primary-color); font-weight: 500; white-space: nowrap; font-size: 1.1rem; }
        .quantity-input { width: 60px; padding: 0.5rem; text-align: center; background-color: var(--secondary-color); border: 1px solid var(--bg-lighter); color: var(--text-color); border-radius: 4px; margin-right: 0.5rem; }
        .update-btn, .remove-btn { background: none; border: none; cursor: pointer; font-size: 1.3rem; transition: color 0.3s, transform 0.2s; padding: 0.3rem;}
        .update-btn:hover { color: #fff; transform: scale(1.1);}
        .remove-btn { color: #ff4d4d; } .remove-btn:hover { color: #ff8a8a; transform: scale(1.1); }
        .cart-actions { display: flex; align-items: center; gap: 0.5rem; }

        /* SEPET ÖZETİ & KUPON */
        .cart-summary { background-color: var(--container-color); padding: 2rem; border-radius: 8px; border: 1px solid var(--bg-lighter); position: sticky; top: 100px; }
        .cart-summary h2 { font-size: 1.5rem; margin-bottom: 1.5rem; text-align: left; }
        
        .coupon-box { margin-bottom: 1.5rem; border-bottom: 1px solid var(--bg-lighter); padding-bottom: 1.5rem; }
        .coupon-form { display: flex; gap: 10px; margin-top: 10px; }
        .coupon-input { flex: 1; padding: 10px; background: var(--secondary-color); border: 1px solid var(--bg-lighter); color: #fff; border-radius: 6px; text-transform: uppercase; }
        .btn-apply { padding: 0 15px; background: var(--bg-lighter); color: #fff; border: none; border-radius: 6px; cursor: pointer; transition: 0.3s; }
        .btn-apply:hover { background: var(--primary-color); color: #000; }
        .coupon-message { font-size: 0.85rem; margin-top: 8px; }
        .coupon-message.error { color: #ff4d4d; }
        .coupon-message.success { color: #00ff88; }
        .applied-badge { background: rgba(0, 255, 136, 0.1); color: #00ff88; padding: 8px 12px; border-radius: 4px; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; border: 1px solid #00ff88; }
        .remove-coupon { color: #ff4d4d; cursor: pointer; font-size: 1.1rem; background: none; border: 0; padding: 0; }

        .summary-list { list-style: none; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--bg-lighter); }
        .summary-list li { display: flex; justify-content: space-between; margin-bottom: 0.75rem; color: var(--text-color-light); }
        .summary-list li span:last-child { font-weight: 500; color: var(--text-color); white-space: nowrap; padding-left: 1rem; }
        .summary-list li.discount { color: var(--accent-color); }
        
        .total-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bg-lighter); }
        .total-row span:first-child { color: var(--text-color); font-weight: 600; }
        .total-row span:last-child { font-weight: 700; font-size: 1.6rem; color: var(--primary-color); }
        
        .checkout-btn { display: block; width: 100%; text-align: center; margin-top: 1.5rem; padding: 15px; background: var(--primary-color); color: #000; font-weight: bold; border-radius: 8px; transition: 0.3s; }
        .checkout-btn:hover { background: #fff; box-shadow: 0 0 15px var(--primary-color); }
        
        .empty-cart-message { text-align: center; padding: 4rem; background-color: var(--container-color); border-radius: 8px; color: var(--text-color-light); border: 1px solid var(--bg-lighter); }
        .form-message { padding: 1rem; margin-bottom: 1.5rem; border-radius: 0.5rem; font-weight: 500; border: 1px solid transparent;}
        .form-message.success { background-color: rgba(0, 217, 255, 0.1); color: var(--primary-color); border-color: var(--primary-color); }
        .form-message.error { background-color: rgba(255, 77, 77, 0.1); color: #ff4d4d; border-color: #ff4d4d; }

        .cart-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; align-items: start; }

        @media screen and (max-width: 992px) {
            .cart-layout { display: block; }
            .cart-summary { margin-top: 2rem; position: static; }
        }

        @media screen and (max-width: 768px) {
            
            .step-indicator::before { display: none; }
            .step { width: 40%; }
            .step .step-icon { width: 32px; height: 32px; font-size: 1.1rem; }
            .step .step-text { font-size: 0.75rem; }

            .cart-table thead { display: none; }
            .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
            .cart-table tr { margin-bottom: 1.5rem; border: 1px solid var(--bg-lighter); border-radius: 8px; padding: 1rem; background-color: var(--container-color); }
            .cart-table td { text-align: right; padding-left: 50%; position: relative; border-bottom: none; display: flex; justify-content: flex-end; align-items: center; min-height: 40px; padding-top: 0.5rem; padding-bottom: 0.5rem; }
            .cart-table td::before { content: attr(data-label); position: absolute; left: 1rem; width: 45%; padding-right: 10px; white-space: nowrap; text-align: left; font-weight: 600; color: var(--text-color-light); font-size: 0.9rem; }
            .cart-item-image { padding: 0; margin-bottom: 1rem; justify-content: center; }
            .cart-item-image img { margin: 0 auto; }
            .cart-item-image::before { display: none; }
            .cart-summary { width: 100%; padding: 1.5rem; }
            .cart-summary h2 { font-size: 1.3rem; }
            .total-row span:last-child { font-size: 1.3rem; }
            .checkout-btn { font-size: 1rem; }
            .cart-item-name { font-size: 0.95rem; }
            .cart-item-price { font-size: 1rem; }
        }
        
        @media screen and (max-width: 920px) {
            .nav-toggle { display: flex; }
            .header-right { display: flex; align-items: center; gap: 0.5rem; }
            .cart-icon-container { margin-left: 0; }
        }

/* Migrated from views\checkout_view.php */
.checkout-section { padding-top: 8rem; }
        .step-indicator { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2.5rem; padding: 1rem 0; border-bottom: 1px solid var(--bg-lighter); position: relative; counter-reset: step-counter; opacity: 0; animation: fadeIn 0.8s ease forwards; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px);} to { opacity: 1; transform: translateY(0);} }
        .step-indicator::before { content: ''; position: absolute; top: calc(18px + 1px); left: 10%; width: 80%; height: 2px; background-color: var(--bg-lighter); z-index: 1; }
        .step { display: flex; flex-direction: column; align-items: center; text-align: center; width: 23%; position: relative; z-index: 2; }
        .step .step-icon { width: 36px; height: 36px; border-radius: 50%; background-color: var(--secondary-color); color: var(--text-color-light); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 0.5rem; border: 2px solid var(--bg-lighter); transition: background-color 0.3s, border-color 0.3s, color 0.3s; z-index: 3; }
        .step .step-text { font-size: 0.8rem; color: var(--text-color-light); font-weight: 500; }
        .step.active .step-icon { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--secondary-color); box-shadow: 0 0 10px rgba(0, 217, 255, 0.5); }
        .step.active .step-text { color: var(--text-color); font-weight: 600; }
        .step.completed .step-icon { background-color: var(--container-color); border-color: var(--primary-color); color: var(--primary-color); }
        .step.completed .step-text { color: var(--text-color-light); }
        .checkout-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: flex-start; margin-top: 2rem; }
        .checkout-form, .order-summary { background-color: var(--container-color); padding: 2rem; border-radius: 8px; border: 1px solid var(--bg-lighter); }
        .checkout-form h2, .order-summary h2 { font-size: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--bg-lighter); padding-bottom: 1rem; }
        .form-group { margin-bottom: 1.5rem; }
        .form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-color-light); font-size: 0.9rem; }
        .form-group input { width: 100%; padding: 0.8rem 1rem; background-color: var(--secondary-color); border: 1px solid var(--bg-lighter); border-radius: 0.5rem; color: var(--text-color); font-family: var(--body-font); font-size: 1rem; }
        .form-group input:focus { outline: none; border-color: var(--primary-color); }
        .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
        .order-summary ul { list-style: none; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--bg-lighter); }
        .order-summary li { display: flex; justify-content: space-between; margin-bottom: 0.75rem; color: var(--text-color-light); }
        .order-summary li span:last-child { font-weight: 500; color: var(--text-color); white-space: nowrap; padding-left: 1rem;}
        .summary-total { display: flex; justify-content: space-between; align-items: center; font-size: 1.2rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--bg-lighter); }
        .summary-total span:first-child { color: var(--text-color); font-weight: 600; }
        .summary-total span:last-child { font-weight: 700; font-size: 1.5rem; color: var(--primary-color); }
        .place-order-btn { width: 100%; margin-top: 1.5rem; }
        @media screen and (max-width: 992px) { .checkout-grid { grid-template-columns: 1fr; } .order-summary { margin-top: 2rem; } }
        @media screen and (max-width: 768px) { .step-indicator { flex-wrap: wrap; justify-content: space-around; gap: 1.5rem 0; } .form-row { grid-template-columns: 1fr; } }

/* ===== GLOBAL COMPONENT CONTRACT ===== */
[hidden] {
    display: none;
}

.inline-form {
    display: inline;
}

.form-message-spaced {
    margin-bottom: 1.5rem;
}

.section-title-left,
.page-title-left,
.page-subtitle-left {
    text-align: left;
}

.section-title-left {
    margin-bottom: 2rem;
}

.page-title-left {
    margin-bottom: 1rem;
}

.page-subtitle-left {
    margin-right: 0;
    margin-bottom: 2rem;
    margin-left: 0;
}

.checkout-page-title {
    margin-bottom: 2rem;
}

.section-compact {
    padding-top: 2rem;
}

.empty-state {
    width: 100%;
    padding: 1.25rem;
    color: var(--text-color-light);
    text-align: center;
}

.empty-state-compact {
    padding-block: 1rem;
}

.accent-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.inherit-link {
    color: inherit;
    text-decoration: none;
}

.filter-help {
    margin-top: 1rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.card-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-kind,
.cart-item-kind {
    display: block;
    font-size: 0.8rem;
}

.product-kind {
    margin-bottom: 0.5rem;
}

.product-kind.is-physical,
.cart-item-kind.is-physical {
    color: #ffb454;
}

.product-kind.is-digital {
    color: var(--primary-color);
}

.cart-item-kind.is-digital {
    color: var(--text-color-light);
}

.card-detail-link {
    margin-right: 0.5rem;
}

.project-full-data {
    display: none;
}

.modal-project-link {
    margin-top: 1.5rem;
}

.page-header-inline {
    padding: 0;
    background: none;
    text-align: left;
}

.page-header-inline::after {
    display: none;
}

.table-wrapper-plain {
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.product-detail-section {
    padding-top: 8rem;
}

.gallery-spacer {
    width: 85px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.back-link-spaced {
    margin-top: 3rem;
}

.related-price {
    padding: 0 1rem 0.5rem;
}

.rating-progress {
    flex: 1;
    height: 0.55rem;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.rating-progress::-webkit-progress-bar {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
}

.rating-progress::-webkit-progress-value {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.rating-progress::-moz-progress-bar {
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.review-form-auth,
.auth-return {
    margin-top: 1.25rem;
    text-align: center;
}

.review-login-copy {
    margin-bottom: 1rem;
    color: var(--text-color-light);
}

.ticket-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-page-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.ticket-page-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.reply-form-closed {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    color: var(--text-color-light);
    background: var(--secondary-color);
    text-align: center;
}

.preserve-lines {
    white-space: pre-wrap;
}

.project-modal-open {
    overflow: hidden;
}

.coupon-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.empty-cart-icon {
    margin-bottom: 1rem;
    color: var(--text-color-light);
    font-size: 4rem;
}

.empty-cart-cta {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.7rem 1.25rem;
}

.checkout-discount {
    color: var(--accent-color);
}

.checkout-edit-link {
    display: block;
    margin-bottom: 1rem;
    text-align: center;
}

.checkout-security-note {
    margin-top: 0.65rem;
    color: var(--text-color-light);
    font-size: 0.8rem;
    text-align: center;
}

.checkout-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.checkout-heading .checkout-page-title {
    margin: 0.35rem 0 0.5rem;
}

.checkout-heading > p {
    color: var(--text-color-light);
    line-height: 1.7;
}

.checkout-eyebrow,
.payment-provider-kicker {
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.payment-provider-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    margin: 0.25rem 0 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(215, 255, 63, 0.25);
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(215, 255, 63, 0.08), rgba(139, 92, 246, 0.05));
}

.payment-provider-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid rgba(215, 255, 63, 0.35);
    border-radius: 0.75rem;
    color: var(--primary-color);
    background: rgba(5, 6, 7, 0.55);
    font-size: 1.35rem;
}

.payment-provider-card strong {
    display: block;
    margin: 0.2rem 0;
    color: var(--text-color);
}

.payment-provider-card p {
    margin: 0;
    color: var(--text-color-light);
    font-size: 0.82rem;
    line-height: 1.55;
}

.payment-provider-badge {
    padding: 0.35rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    color: var(--text-color-light);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.checkout-consents {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.checkout-consent {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.7rem;
    align-items: start;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-color-light);
    background: rgba(0, 0, 0, 0.16);
    font-size: 0.82rem;
    line-height: 1.55;
    cursor: pointer;
}

.checkout-consent input {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.15rem;
    accent-color: var(--primary-color);
}

.checkout-consent a {
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.place-order-btn:disabled {
    cursor: not-allowed;
    filter: grayscale(0.8);
    opacity: 0.55;
}

@media screen and (max-width: 560px) {
    .payment-provider-card {
        grid-template-columns: auto 1fr;
    }

    .payment-provider-badge {
        display: none;
    }

    .checkout-consent {
        padding: 0.8rem;
    }
}

.toast-container {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    z-index: 99999;
    display: grid;
    gap: 0.65rem;
    width: min(420px, calc(100vw - 2rem));
}

.toast {
    width: 100%;
    min-width: min(260px, 100%);
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-success {
    background: #16794b;
}

.toast-error {
    background: #b42318;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.toast.is-leaving {
    opacity: 0;
    transform: translateY(10px);
}

.ui-fragment-updated {
    animation: ui-fragment-enter .42s cubic-bezier(.2, .75, .25, 1);
}

@keyframes ui-fragment-enter {
    from {
        opacity: .55;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-grid:not(:has(.product-card:not([hidden]))) .no-products-found {
    display: block;
}

@media (max-width: 768px) {
    .gallery-spacer {
        display: none;
    }

    .ticket-page-actions {
        width: 100%;
    }
}

.btn-cancel-order,
.btn-close-ticket {
    color: #fff;
    background: #8f1d2c;
}

.btn-cancel-order:hover,
.btn-close-ticket:hover {
    color: #fff;
    background: #a82436;
}

/* ===== CENTRAL AUTH COMPONENTS ===== */
/* ANA KUTU - Kapalı hali (Varsayılan) */
.login-box {
    position: relative;
    width: 380px;
    height: 100px; /* Kapalıyken sadece başlık görünür */
    background: #1c1c1c;
    border-radius: 20px;
    overflow: hidden;
    transition: height 0.5s ease, width 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* İçerik alt alta dizilsin */
    filter: drop-shadow(0 15px 50px #000);
}

/* AÇIK HALİ (Hover veya force-open sınıfı varsa) */
.login-box:hover,
.login-box.force-open {
    width: 450px;
    height: 600px; /* Açılınca form sığacak kadar büyür */
}

/* Kayıt formu açıkken biraz daha uzun olsun */
.login-box.show-register:hover,
.login-box.show-register.force-open {
    height: 680px;
}

/* KAPALI DURUM BAŞLIĞI (LOGIN <3) */
.closed-title {
    position: absolute; /* Ortada sabit kalsın */
    color: #fff;
    font-size: 2em;
    font-weight: 600;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--accent-color);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 10;
}
.closed-title i { color: var(--primary-color); }
.closed-title i:last-of-type { color: var(--accent-color); }

/* Kutu açılınca başlık kaybolsun */
.login-box:hover .closed-title,
.login-box.force-open .closed-title {
    opacity: 0;
    transform: scale(0);
}

/* FORM İÇERİĞİ */
.form-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    transition-delay: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Kutu açılınca form görünür olsun */
.login-box:hover .form-content,
.login-box.force-open .form-content {
    opacity: 1;
    pointer-events: auto;
}

.auth-form {
    display: none; /* Varsayılan gizli */
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.login-form {
    display: flex; /* Login varsayılan açık */
}

/* Form geçişleri */
.login-box.show-register .login-form {
    display: none;
}
.login-box.show-register .register-form {
    display: flex;
}

.auth-title {
    font-size: 1.8em;
    color: var(--text-color);
    margin-bottom: 20px;
    margin-top: 20px;
}

.input-group {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}
.input-group input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    outline: none;
    color: #fff;
    font-size: 1em;
}
.input-group label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: .5s;
}
.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -20px;
    font-size: 0.8em;
    color: var(--primary-color);
}

.auth-button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.auth-button:hover {
    filter: brightness(1.2);
}

.toggle-link, .social-login {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}
.toggle-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.social-login p { margin-bottom: 15px; }
.google-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #4285F4;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}
.google-btn:hover { background: #357ae8; }
.google-btn i { font-size: 1.5em; }

/* HAREKETLİ IŞIK ÇİZGİLERİ */
.line {
    position: absolute;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    opacity: 0;
    transition: opacity 0.5s;
}
.login-box:hover .line,
.login-box.force-open .line {
    opacity: 1;
}

.line-top { top: 0; left: -100%; width: 100%; height: 4px; animation: animate-top 4s linear infinite; }
@keyframes animate-top { 0% { left: -100%; } 100% { left: 100%; } }

.line-right { top: -100%; right: 0; width: 4px; height: 100%; animation: animate-right 4s linear infinite; animation-delay: 1s; }
@keyframes animate-right { 0% { top: -100%; } 100% { top: 100%; } }

.line-bottom { bottom: 0; right: -100%; width: 100%; height: 4px; animation: animate-bottom 4s linear infinite; animation-delay: 2s; }
@keyframes animate-bottom { 0% { right: -100%; } 100% { right: 100%; } }

.line-left { bottom: -100%; left: 0; width: 4px; height: 100%; animation: animate-left 4s linear infinite; animation-delay: 3s; }
@keyframes animate-left { 0% { bottom: -100%; } 100% { bottom: 100%; } }

/* İkinci Renk (Pembe) Çizgiler */
.line::before {
    content: '';
    position: absolute;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color), 0 0 40px var(--accent-color);
}
.line-top::before { top: 0; left: 0; width: 100%; height: 100%; animation: animate-top 4s linear infinite; animation-delay: 2s; }
.line-right::before { top: 0; right: 0; width: 100%; height: 100%; animation: animate-right 4s linear infinite; animation-delay: 3s; }
.line-bottom::before { bottom: 0; right: 0; width: 100%; height: 100%; animation: animate-bottom 4s linear infinite; animation-delay: 0s; }
.line-left::before { bottom: 0; left: 0; width: 100%; height: 100%; animation: animate-left 4s linear infinite; animation-delay: 1s; }

/* MESAJ KUTUSU (Hata/Başarı) */
.auth-message {
    position: absolute;
    bottom: 20px; /* En alta sabitle */
    width: 80%;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.85rem;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
    background: rgba(0,0,0,0.9); /* Okunabilirlik için koyu arka plan */
}

.auth-message.error {
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.auth-message.success {
    color: #00ff88;
    border: 1px solid #00ff88;
}

.login-box:hover .auth-message,
.login-box.force-open .auth-message {
    opacity: 1;
}

/* ===== GLOBAL AUTH SHELL ===== */
body.auth-page {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    background:
        radial-gradient(circle at 16% 12%, rgba(139, 92, 246, 0.12), transparent 28rem),
        radial-gradient(circle at 84% 20%, rgba(215, 255, 63, 0.07), transparent 26rem),
        var(--secondary-color);
}

.auth-page .auth-shell {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    width: 100%;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(7.5rem, 13vw, 10rem) 1rem clamp(4rem, 8vw, 6rem);
}

.auth-page .login-box,
.auth-page .verify-box {
    width: min(450px, calc(100vw - 2rem));
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 40%),
        rgba(12, 14, 16, 0.94);
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-page .login-box {
    height: 600px;
}

.auth-page .login-box.show-register {
    height: 680px;
}

.auth-page .login-box:hover,
.auth-page .login-box.force-open {
    width: min(450px, calc(100vw - 2rem));
}

.auth-page .login-box .closed-title {
    opacity: 0;
    transform: scale(0);
}

.auth-page .login-box .form-content {
    opacity: 1;
    pointer-events: auto;
}

.auth-page .login-box .line {
    opacity: 1;
}

.auth-page .site-footer {
    width: 100%;
}

.auth-page .auth-button {
    color: #080906;
    background: var(--primary-color);
    border-radius: 999px;
}

.auth-page .auth-button:hover {
    color: #080906;
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.auth-page .input-group input {
    border-bottom-color: rgba(255, 255, 255, 0.34);
}

.auth-page .input-group input:focus {
    border-bottom-color: var(--primary-color);
}

@media (hover: none), (max-width: 768px) {
    .auth-page .login-box {
        width: min(450px, calc(100vw - 2rem));
        height: 600px;
    }

    .auth-page .login-box.show-register {
        height: min(680px, calc(100svh - 7rem));
        min-height: 620px;
    }

    .auth-page .login-box .closed-title {
        opacity: 0;
        transform: scale(0);
    }

    .auth-page .login-box .form-content {
        opacity: 1;
        pointer-events: auto;
    }

    .auth-page .login-box .line {
        opacity: 1;
    }
}

@media (max-width: 520px) {
    .auth-page .auth-shell {
        padding-inline: 0.75rem;
        padding-top: 6.5rem;
    }

    .auth-page .login-box,
    .auth-page .verify-box {
        width: 100%;
        border-radius: 16px;
    }

    .auth-page .form-content {
        padding: 1.4rem;
    }

    .auth-page .auth-title {
        font-size: clamp(1.25rem, 7vw, 1.65rem);
        text-align: center;
    }

    .auth-page .verify-box {
        padding: 1.5rem;
    }
}


/* ===== MIGRATED AUTH COMPONENTS ===== */

/* Migrated from verify.php */
.verify-box { width: 400px; padding: 40px; background: rgba(0,0,0,0.7); border-radius: 10px; border: 1px solid var(--primary-color); position: relative; z-index: 10; backdrop-filter: blur(10px); }
        .verify-header h2 { font-size: 2em; color: var(--primary-color); text-align: center; margin-bottom: 20px; }
        .verify-header p { text-align: center; color: #fff; margin-bottom: 30px; font-size: 0.9em; }
        .input-box { position: relative; width: 100%; height: 50px; margin: 30px 0; }
        .input-box input { width: 100%; height: 100%; background: transparent; border: none; outline: none; border-bottom: 2px solid var(--text-color); font-size: 1em; color: #fff; padding-right: 25px; transition: .5s; }
        .input-box label { position: absolute; top: 50%; left: 0; transform: translateY(-50%); font-size: 1em; color: #fff; pointer-events: none; transition: .5s; }
        .input-box input:focus ~ label, .input-box input:valid ~ label { top: -5px; color: var(--primary-color); }
        .input-box input:focus, .input-box input:valid { border-bottom: 2px solid var(--primary-color); }
        .btn { width: 100%; height: 45px; background: var(--primary-color); border: none; outline: none; border-radius: 6px; cursor: pointer; font-size: 1em; color: #000; font-weight: 600; transition: .5s; margin-top: 10px;}
        .btn:hover { background: #fff; color: var(--primary-color); }
        .resend-link { text-align: center; margin-top: 15px; display: block; color: #fff; font-size: 0.9em; background: none; border: none; cursor: pointer; width: 100%; text-decoration: underline;}
        .resend-link:hover { color: var(--primary-color); }
        .auth-message { margin-top: 15px; padding: 10px; border-radius: 5px; text-align: center; font-size: 0.9rem; }
        .auth-message.error { background: rgba(255, 0, 0, 0.2); color: #ff4444; border: 1px solid #ff4444; }
        .auth-message.success { background: rgba(0, 255, 0, 0.2); color: #00ff88; border: 1px solid #00ff88; }

/* ===== AUTH COMPONENT CONTRACT ===== */
.verify-input-icon {
    position: absolute;
    top: 15px;
    right: 0;
    color: #fff;
}

.auth-return {
    margin-top: 1.25rem;
    text-align: center;
}

.auth-page .accent-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.toggle-link-compact {
    margin-top: 0.65rem;
}

.forgot-link {
    font-size: 0.9rem;
    opacity: 0.8;
}

.auth-button-link {
    display: inline-block;
    width: auto;
    padding: 0.7rem 1.25rem;
    text-decoration: none;
}

/* =========================================================
   SİTE GENELİ HAREKET İYİLEŞTİRMELERİ
   Tüm sayfalarda tutarlı, yumuşak geçişler. Hareket azaltma
   tercihi olan kullanıcılar için en altta devre dışı bırakılır.
   ========================================================= */

/* Kart yüzeyleri: hover'da hafif yükselme + belirginleşen kenar. */
.product-card,
.project-card,
.skill-card,
.team-card,
.member-card,
.info-card,
.partner-logo {
    transition:
        transform 0.45s var(--premium-ease),
        box-shadow 0.45s var(--premium-ease),
        border-color 0.45s var(--premium-ease);
    will-change: transform;
}

.product-card:hover,
.project-card:hover,
.skill-card:hover,
.team-card:hover,
.member-card:hover,
.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
    border-color: rgba(215, 255, 63, 0.28);
}

.partner-logo:hover {
    transform: translateY(-4px) scale(1.03);
}

/* Kart içi görseller hover'da yavaşça yakınlaşır. */
.product-card img,
.project-card img {
    transition: transform 0.6s var(--premium-ease);
}

.product-card:hover img,
.project-card:hover img {
    transform: scale(1.06);
}

/* Butonlar ve bağlantılar. */
.btn-primary,
.btn-secondary,
.btn-add-cart,
.accent-link {
    transition:
        transform 0.3s var(--premium-ease),
        box-shadow 0.3s var(--premium-ease),
        background-color 0.3s ease,
        color 0.3s ease;
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-add-cart:hover {
    transform: translateY(-2px);
}

.btn-primary:active,
.btn-secondary:active,
.btn-add-cart:active {
    transform: translateY(0);
}

/* Navigasyon ve footer bağlantıları. */
.footer-links a,
.social-link,
.footer-social-link,
.footer-contact-list a {
    transition:
        color 0.3s ease,
        transform 0.3s var(--premium-ease);
}

.footer-links a:hover {
    transform: translateX(4px);
}

.social-link:hover,
.footer-social-link:hover {
    transform: translateY(-3px);
}

/* Tablo satırları (admin dışı listelerde). */
.data-table tbody tr,
.cart-table tbody tr {
    transition: background-color 0.3s ease;
}

/* Form alanları odaklanınca yumuşak vurgu. */
input:not([type="file"]),
textarea,
select {
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

/* Erişilebilirlik: hareket azaltma tercihinde tüm bu geçişler kapanır. */
@media (prefers-reduced-motion: reduce) {

    .product-card,
    .project-card,
    .skill-card,
    .team-card,
    .member-card,
    .info-card,
    .partner-logo,
    .product-card img,
    .project-card img,
    .btn-primary,
    .btn-secondary,
    .btn-add-cart,
    .footer-links a,
    .social-link,
    .footer-social-link,
    .footer-contact-list a {
        transition: none;
    }

    .footer-brand-studio,
    .footer-status-dot {
        animation: none;
    }

    .product-card-cart-button.is-loading .cart-button-icon {
        animation: none;
    }

    .footer-brand-studio {
        color: var(--primary-color);
        opacity: 1;
        transform: none;
    }

    .product-card:hover,
    .project-card:hover,
    .skill-card:hover,
    .team-card:hover,
    .member-card:hover,
    .info-card:hover,
    .partner-logo:hover,
    .product-card:hover img,
    .project-card:hover img,
    .btn-primary:hover,
    .btn-secondary:hover,
    .btn-add-cart:hover,
    .footer-links a:hover,
    .social-link:hover,
    .footer-social-link:hover {
        transform: none;
    }
}
/* Discord bot lisans ve müşteri paneli */
.bot-access-page,
.bot-panel-page {
    background:
        radial-gradient(circle at 15% 15%, rgba(88, 101, 242, .18), transparent 34rem),
        radial-gradient(circle at 85% 30%, rgba(215, 255, 63, .08), transparent 28rem),
        var(--secondary, #050607);
}

.bot-access-shell,
.bot-panel-shell {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    min-height: 70vh;
    padding: clamp(7rem, 11vw, 10rem) 0 5rem;
}

.bot-access-shell {
    display: grid;
    place-items: center;
}

.bot-access-card,
.bot-panel-hero,
.bot-dashboard-hero,
.bot-panel-state,
.bot-license-card,
.bot-dashboard-card {
    border: 1px solid rgba(255, 255, 255, .1);
    background: linear-gradient(145deg, rgba(18, 20, 27, .96), rgba(8, 9, 13, .96));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
}

.bot-access-card {
    width: min(800px, 100%);
    padding: clamp(2rem, 6vw, 4.5rem);
    border-radius: 28px;
    text-align: center;
}

.bot-panel-kicker,
.bot-license-package {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: #aeb6ff;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bot-panel-kicker i { font-size: 1.25rem; }
.bot-access-card h1,
.bot-panel-hero h1,
.bot-dashboard-hero h1 {
    margin: .9rem 0 1rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
}

.bot-access-card > p,
.bot-panel-hero p,
.bot-dashboard-hero p {
    color: rgba(255, 255, 255, .68);
    line-height: 1.75;
}

.bot-access-actions,
.bot-state-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.bot-access-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, .55);
    font-size: .85rem;
}

.bot-access-trust span { display: inline-flex; align-items: center; gap: .4rem; }
.bot-access-trust i { color: var(--primary, #d7ff3f); }

.bot-panel-hero,
.bot-dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: clamp(1.6rem, 4vw, 3rem);
    border-radius: 24px;
    margin-bottom: 1.5rem;
}

.bot-panel-hero h1,
.bot-dashboard-hero h1 { font-size: clamp(2rem, 4vw, 3.3rem); }

.bot-license-grid,
.bot-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1.25rem;
}

.bot-license-card {
    border-radius: 22px;
    overflow: hidden;
}

.bot-license-card.is-active { border-color: rgba(215, 255, 63, .24); }
.bot-license-card.is-locked { opacity: .82; }
.bot-license-visual { position: relative; height: 190px; overflow: hidden; }
.bot-license-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(8, 9, 13, .95)); }
.bot-license-visual img { width: 100%; height: 100%; object-fit: cover; }
.bot-license-status {
    position: absolute;
    z-index: 1;
    left: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .75rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 0, 0, .68);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 700;
}

.bot-license-card.is-active .bot-license-status i { color: var(--primary, #d7ff3f); }
.bot-license-body { padding: 1.35rem; }
.bot-license-body h2 { color: #fff; margin: .45rem 0 1.2rem; font-size: 1.45rem; }
.bot-license-facts { display: grid; gap: .7rem; margin: 0 0 1.25rem; }
.bot-license-facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .65rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.bot-license-facts dt { color: rgba(255, 255, 255, .48); }
.bot-license-facts dd { margin: 0; color: rgba(255, 255, 255, .88); text-align: right; overflow-wrap: anywhere; }
.bot-panel-open { width: 100%; justify-content: center; }

.bot-panel-state {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 22px;
}
.bot-panel-state > i { color: var(--primary, #d7ff3f); font-size: 2rem; }
.bot-panel-state h2 { margin: 0 0 .55rem; color: #fff; }
.bot-panel-state p { margin: 0; color: rgba(255, 255, 255, .62); line-height: 1.65; }
.bot-panel-state-error { border-color: rgba(255, 91, 91, .35); }
.bot-panel-state-error > i { color: #ff7474; }

.bot-breadcrumb { margin-bottom: 1rem; }
.bot-breadcrumb a { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .7); }
.bot-runtime-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border-radius: 999px; background: rgba(215, 255, 63, .1); color: var(--primary, #d7ff3f); white-space: nowrap; }
.bot-dashboard-card { border-radius: 20px; padding: 1.5rem; }
.bot-dashboard-card > i { color: #8f9aff; font-size: 2rem; }
.bot-dashboard-card h2 { color: #fff; margin: .9rem 0 .6rem; }
.bot-dashboard-card p { color: rgba(255, 255, 255, .8); overflow-wrap: anywhere; }
.bot-dashboard-note { display: block; margin-top: 1rem; color: rgba(255, 255, 255, .46); font-size: .84rem; line-height: 1.5; }
.bot-dashboard-next { margin-top: 1.25rem; }

.bot-config-alert {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 1.25rem 0;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
}
.bot-config-alert.is-success { border-color: rgba(215, 255, 63, .3); }
.bot-config-alert.is-success i { color: var(--primary, #d7ff3f); }
.bot-config-alert.is-error { border-color: rgba(255, 91, 91, .38); }
.bot-config-alert.is-error i { color: #ff7474; }
.bot-config-form {
    margin-top: 1.25rem;
    padding: clamp(1.4rem, 4vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(18, 20, 27, .97), rgba(8, 9, 13, .97));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.bot-config-heading,
.bot-config-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}
.bot-config-heading h2 { margin: .7rem 0 .45rem; color: #fff; font-size: clamp(1.55rem, 3vw, 2.25rem); }
.bot-config-heading p { margin: 0; color: rgba(255, 255, 255, .58); }
.bot-config-revision { flex: 0 0 auto; padding: .55rem .8rem; border-radius: 999px; background: rgba(88, 101, 242, .14); color: #b9c0ff; font-size: .8rem; }
.bot-config-layout { display: grid; gap: 1rem; margin-top: 1.6rem; }
.bot-config-section { padding: 1.25rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.bot-config-section h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 1rem; color: #fff; }
.bot-config-section h3 i { color: #9ea7ff; }
.bot-toggle-grid,
.bot-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.bot-toggle-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; cursor: pointer; background: rgba(0, 0, 0, .14); }
.bot-toggle-card span { display: grid; gap: .25rem; }
.bot-toggle-card strong { color: rgba(255, 255, 255, .9); }
.bot-toggle-card small { color: rgba(255, 255, 255, .46); line-height: 1.4; }
.bot-toggle-card input { position: absolute; opacity: 0; pointer-events: none; }
.bot-toggle-card > i { position: relative; flex: 0 0 44px; width: 44px; height: 24px; border-radius: 999px; background: rgba(255, 255, 255, .14); transition: .2s ease; }
.bot-toggle-card > i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s ease; }
.bot-toggle-card input:checked + i { background: var(--primary, #d7ff3f); }
.bot-toggle-card input:checked + i::after { transform: translateX(20px); background: #111; }
.bot-toggle-card:focus-within { outline: 2px solid #9ea7ff; outline-offset: 2px; }
.bot-field-grid label { display: grid; gap: .45rem; color: rgba(255, 255, 255, .7); font-size: .85rem; }
.bot-field-grid input { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px; background: rgba(0, 0, 0, .3); color: #fff; }
.bot-field-grid input:focus { outline: none; border-color: rgba(215, 255, 63, .55); box-shadow: 0 0 0 3px rgba(215, 255, 63, .08); }
.bot-config-actions { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .08); }
.bot-config-actions > span { color: rgba(255, 255, 255, .5); font-size: .85rem; }
.bot-config-actions > span i { color: var(--primary, #d7ff3f); }

@media (max-width: 720px) {
    .bot-panel-hero,
    .bot-dashboard-hero { align-items: flex-start; flex-direction: column; }
    .bot-panel-hero .btn { width: 100%; justify-content: center; }
    .bot-access-actions .btn { width: 100%; justify-content: center; }
    .bot-license-facts div { flex-direction: column; gap: .2rem; }
    .bot-license-facts dd { text-align: left; }
    .bot-config-heading,
    .bot-config-actions { align-items: stretch; flex-direction: column; }
    .bot-config-actions .btn { width: 100%; justify-content: center; }
    .bot-toggle-grid,
    .bot-field-grid { grid-template-columns: 1fr; }
}

/* BozkurtStudio Bot Merkezi — ortak ve stabil arayüz katmanı */
.bot-access-page,
.bot-panel-page {
    --bot-bg: #07080d;
    --bot-surface: rgba(16, 18, 25, .96);
    --bot-surface-soft: rgba(255, 255, 255, .032);
    --bot-border: rgba(255, 255, 255, .085);
    --bot-purple: #8994ff;
    --bot-lime: var(--primary, #d7ff3f);
    background:
        radial-gradient(circle at 8% 9%, rgba(88, 101, 242, .16), transparent 31rem),
        radial-gradient(circle at 92% 18%, rgba(215, 255, 63, .065), transparent 27rem),
        linear-gradient(180deg, #090a10, var(--bot-bg) 38%);
    background-attachment: fixed;
}
.bot-access-shell,
.bot-panel-shell,
.bot-management-shell { width: min(1380px, calc(100% - 2rem)); }
.bot-access-card,
.bot-panel-hero,
.bot-dashboard-hero,
.bot-panel-state,
.bot-license-card,
.bot-dashboard-card,
.bot-management-content,
.bot-management-nav {
    border-color: var(--bot-border);
    background: linear-gradient(145deg, rgba(19,21,29,.97), rgba(9,10,15,.97));
    box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.bot-panel-hero,
.bot-dashboard-hero {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    background:
        linear-gradient(120deg, rgba(88,101,242,.18), transparent 42%),
        linear-gradient(145deg, rgba(19,21,29,.98), rgba(8,9,13,.98));
}
.bot-panel-hero::after,
.bot-dashboard-hero::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -110px;
    bottom: -170px;
    border: 1px solid rgba(215,255,63,.13);
    border-radius: 50%;
    pointer-events: none;
}
.bot-panel-hero > *,
.bot-dashboard-hero > * { position: relative; z-index: 1; }
.bot-panel-summary { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.bot-panel-summary span { display: inline-flex; align-items: baseline; gap: .32rem; padding: .42rem .65rem; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; color: rgba(255,255,255,.52); background: rgba(0,0,0,.16); font-size: .72rem; }
.bot-panel-summary strong { color: #fff; font-size: .84rem; }
.bot-license-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr)); }
.bot-license-card { transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.bot-license-card:hover { border-color: rgba(137,148,255,.28); box-shadow: 0 30px 80px rgba(0,0,0,.36); transform: translateY(-3px); }
.bot-license-visual { height: 168px; }
.bot-license-body { position: relative; }
.bot-license-runtime { display: inline-flex; align-items: center; gap: .4rem; margin: -.5rem 0 1rem; color: rgba(255,255,255,.48); font-size: .74rem; }
.bot-license-runtime i { width: 7px; height: 7px; border-radius: 50%; background: #7c8291; box-shadow: 0 0 0 4px rgba(124,130,145,.08); }
.bot-license-runtime.is-online { color: #d9f58a; }
.bot-license-runtime.is-online i { background: var(--bot-lime); box-shadow: 0 0 0 4px rgba(215,255,63,.09), 0 0 12px rgba(215,255,63,.35); }
.bot-license-facts { padding: .85rem; border: 1px solid rgba(255,255,255,.065); border-radius: 13px; background: rgba(255,255,255,.018); }
.bot-license-facts div:last-child { padding-bottom: 0; border-bottom: 0; }
.bot-management-layout { gap: 1rem; }
.bot-management-nav { border-radius: 18px; }
.bot-management-content { border-radius: 22px; }
.bot-tab-panel { min-height: 520px; }
.bot-panel-heading { align-items: flex-end; }
.bot-panel-heading h2 { letter-spacing: -.025em; }
.bot-settings-grid { gap: .85rem; }
.bot-setting-group { padding: 1rem; border: 1px solid var(--bot-border); border-radius: 18px; background: rgba(255,255,255,.018); }
.bot-setting-group + .bot-setting-group { margin-top: 1rem; }
.bot-setting-group-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; padding-bottom: .8rem; border-bottom: 1px solid rgba(255,255,255,.065); }
.bot-setting-group-header span { color: var(--bot-purple); font-size: .62rem; font-weight: 800; letter-spacing: .13em; }
.bot-setting-group-header h3 { margin: .3rem 0 0; color: #fff; font-size: 1rem; }
.bot-setting-group-header b { padding: .3rem .55rem; border-radius: 999px; color: #c9ceff; background: rgba(88,101,242,.12); font-size: .66rem; white-space: nowrap; }
.bot-setting-field { min-height: 142px; border-color: rgba(255,255,255,.075); background: linear-gradient(145deg, rgba(255,255,255,.028), rgba(255,255,255,.012)); transition: border-color .2s ease, background .2s ease; }
.bot-setting-field:hover { border-color: rgba(137,148,255,.2); background: rgba(88,101,242,.035); }
.bot-setting-field.is-toggle { min-height: 100px; }
.bot-setting-field > select,
.bot-setting-field > input,
.bot-setting-field > textarea,
.bot-repeater-row select,
.bot-repeater-row input,
.bot-repeater-row textarea {
    border-color: rgba(255,255,255,.105);
    border-radius: 11px;
    background: #10121a;
    color-scheme: dark;
}
.bot-setting-field > select:focus,
.bot-setting-field > input:focus,
.bot-setting-field > textarea:focus,
.bot-repeater-row select:focus,
.bot-repeater-row input:focus,
.bot-repeater-row textarea:focus { outline: none; border-color: rgba(137,148,255,.5); box-shadow: 0 0 0 3px rgba(88,101,242,.1); }
.bot-repeater { border-radius: 18px; background: rgba(255,255,255,.018); }
.bot-management-savebar { border-radius: 15px; border-color: rgba(215,255,63,.13); }
.bot-access-card { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(20,22,31,.98), rgba(8,9,14,.98)); }
.bot-access-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(125deg, rgba(88,101,242,.12), transparent 38%, rgba(215,255,63,.035)); pointer-events: none; }
.bot-access-card > * { position: relative; }

/* Dialog root seviyesinde tam viewport overlay olarak açılır. */
.bot-role-dialog { display: none; }
.bot-role-dialog[open] {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 1rem;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: rgba(2, 3, 7, .82);
    backdrop-filter: blur(9px);
    transform: none;
}
.bot-role-dialog::backdrop { background: transparent; }
.bot-role-dialog-card {
    width: min(560px, 100%);
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 20px;
    background: #11131c;
    box-shadow: 0 28px 90px rgba(0,0,0,.62);
}
.bot-role-options { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
body:has(.bot-role-dialog[open]) { overflow: hidden; }

/* Bot merkezi etkileşim ve form sağlamlaştırmaları. */
.bot-tab-panel[hidden] { display: none !important; }
.bot-management-nav button:focus-visible,
.bot-command-filters button:focus-visible,
.bot-role-picker-button:focus-visible,
.bot-repeater-heading button:focus-visible,
.bot-repeater-row > button:focus-visible,
.bot-role-dialog button:focus-visible,
.bot-role-option:has(input:focus-visible) {
    outline: 2px solid var(--bot-purple);
    outline-offset: 2px;
}
.bot-inline-switch:focus-within > i { box-shadow: 0 0 0 3px rgba(137,148,255,.18); }
.bot-command-main h3 { line-height: 1.45; overflow-wrap: anywhere; }
.bot-command-role-control.is-disabled { opacity: .58; pointer-events: none; }
.bot-setting-field .bot-command-role-control { width: 100%; padding: .7rem; border: 1px solid rgba(255,255,255,.075); border-radius: 12px; background: rgba(0,0,0,.16); }
.bot-repeater-field { display: grid; gap: .35rem; min-width: 0; }
.bot-repeater-field > span { color: rgba(255,255,255,.55); font-size: .7rem; }
.bot-system-table article > span { min-width: 0; overflow-wrap: anywhere; }
.bot-management-savebar > span { display: inline-flex; align-items: center; gap: .45rem; }
.bot-management-savebar > span.is-dirty { color: #f5cd76; }
.bot-management-savebar > span.is-dirty i { color: #f5cd76; }
.bot-management-savebar .btn > span { pointer-events: none; }
.bot-role-dialog-card { min-height: min(560px, 80vh); }
.bot-role-search input::placeholder,
.bot-command-search input::placeholder { color: rgba(255,255,255,.32); }
.bot-role-option:has(input:checked) { border-color: rgba(215,255,63,.22); background: rgba(215,255,63,.045); }

@media (max-width: 900px) {
    .bot-tab-panel { min-height: 0; }
    .bot-management-content { border-radius: 18px; }
    .bot-management-nav { scrollbar-width: thin; scrollbar-color: rgba(137,148,255,.35) transparent; }
}
@media (max-width: 680px) {
    .bot-access-shell,
    .bot-panel-shell,
    .bot-management-shell { width: min(100% - .8rem, 1380px); }
    .bot-panel-hero,
    .bot-dashboard-hero { border-radius: 20px; }
    .bot-panel-summary { width: 100%; }
    .bot-panel-summary span { flex: 1; justify-content: center; }
    .bot-tab-panel { padding: 1rem; }
    .bot-setting-group { padding: .7rem; }
    .bot-setting-group-header { align-items: flex-start; }
    .bot-setting-field { min-height: 0; }
    .bot-management-nav { margin-inline: -.15rem; padding: .55rem; scroll-snap-type: x proximity; }
    .bot-management-nav button { scroll-snap-align: start; white-space: nowrap; }
    .bot-management-savebar { bottom: .35rem; }
    .bot-management-savebar > span { line-height: 1.45; }
    .bot-role-dialog[open] { padding: .35rem; }
    .bot-role-dialog-card { min-height: 0; max-height: 80vh; border-radius: 18px; }
}

@media (hover: none) {
    .bot-license-card:hover,
    .bot-role-picker-button:hover { transform: none; }
}
