/* ============================================
   CASINOFAST CUSTOM THEME
   Pink #ff2fb9 + Purple #6a3df1 (dark #12062d)
============================================ */

:root {
    --bg:        #12062d;
    --bg-dark:   #0a0320;
    --bg-card:   #1a0a3d;
    --bg-nav:    #0f0426;
    --purple:    #6a3df1;
    --gold:      #ff2fb9;
    --gold-h:    #ff5cc9;
    --gold-d:    #d420a0;
    --gold-b:    rgba(255,47,185,0.30);
    --gold-glow: rgba(255,47,185,0.28);
    --text:      #e8edf2;
    --text-dim:  #8a7aab;
    --radius:    10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: linear-gradient(160deg, #12062d 0%, #0a0320 50%, #12062d 100%) fixed;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    min-height: 100vh;
}

a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-h); }

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

/* ── LAYOUT ── */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}
.content-row {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    padding: 8px 0;
}
.content-row.no-sidebar {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

/* ── HEADER ── */
.site-header {
    background: rgba(10,26,63,0.97);
    border-bottom: 2px solid var(--gold-b);
    box-shadow: 0 3px 24px rgba(0,0,0,0.55);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.site-logo img { height: 56px; width: auto; }
.site-logo .logo-text {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-shadow: 0 0 20px var(--gold-glow);
}

/* ── NAV ── */
.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
    color: rgba(232,237,242,0.9);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.current { color: var(--gold); background: rgba(106,61,241,0.45); }

.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%) !important;
    color: #0a0320 !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    padding: 8px 18px !important;
}
.nav-cta:hover {
    background: linear-gradient(135deg, var(--gold-h) 0%, var(--gold) 100%) !important;
    box-shadow: 0 0 16px var(--gold-glow) !important;
    color: #0a0320 !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: rgba(106,61,241,0.45);
    border: 1px solid var(--gold-b);
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    padding: 8px 12px;
    font-size: 1.1rem;
    transition: all .2s;
}
.nav-toggle:hover { color: var(--gold); background: rgba(106,61,241,0.7); }

/* ── INFO BAR ── */
.info-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,47,185,0.08);
    font-size: 0.78rem;
    color: var(--text-dim);
    padding: 6px 0;
}
.info-bar .container { display: flex; justify-content: space-between; align-items: center; }
.info-bar a { color: var(--gold-d); }
.info-bar a:hover { color: var(--gold); }

/* ── HERO BANNER ── */
.hero-banner {
    background: linear-gradient(135deg, #1a0a3d 0%, #0a0320 60%, #1a0a3d 100%);
    border-bottom: 1px solid var(--gold-b);
    padding: 52px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,47,185,0.08) 0%, transparent 65%);
    pointer-events: none;
}
.hero-banner h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    text-shadow: 0 0 30px var(--gold-glow);
    margin-bottom: 12px;
}
.hero-banner p {
    color: var(--text-dim);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── CARDS / ARTICLES ── */
.card {
    background: rgba(10,26,63,0.65);
    border: 1px solid rgba(255,47,185,0.16);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}
.card:hover {
    border-color: var(--gold-b);
    box-shadow: 0 6px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,47,185,0.12);
    transform: translateY(-2px);
}
.card-body { padding: 22px; }
.card-img img { width: 100%; height: 180px; object-fit: cover; }

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

/* Single article */
.entry-wrap {
    background: rgba(10,26,63,0.65);
    border: 1px solid rgba(255,47,185,0.16);
    border-radius: var(--radius);
    padding: 32px 36px;
}
.entry-header { margin-bottom: 22px; border-bottom: 1px solid rgba(255,47,185,0.1); padding-bottom: 16px; }
.entry-title { font-size: 1.55rem; font-weight: 800; color: var(--gold); line-height: 1.35; }
.entry-title a { color: var(--gold); }
.entry-title a:hover { color: var(--gold-h); }

.entry-meta { margin-top: 8px; font-size: 0.78rem; color: var(--text-dim); display: flex; gap: 14px; flex-wrap: wrap; }
.entry-meta a { color: var(--text-dim); }
.entry-meta a:hover { color: var(--gold); }

.entry-content { color: var(--text); }
.entry-content p { margin-bottom: 16px; line-height: 1.8; }
.entry-content h2,.entry-content h3,.entry-content h4 {
    color: var(--gold);
    margin: 28px 0 12px;
    padding-left: 12px;
    border-left: 3px solid var(--gold);
}
.entry-content ul, .entry-content ol { padding-left: 22px; margin-bottom: 16px; }
.entry-content li { margin-bottom: 6px; }
.entry-content a { color: var(--gold); }
.entry-content a:hover { color: var(--gold-h); }
.entry-content img { border-radius: 8px; margin: 16px 0; }
.entry-content blockquote {
    border-left: 4px solid var(--gold);
    background: rgba(14,35,80,0.4);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 20px 0;
    color: rgba(255,255,255,0.88);
}
.entry-content hr { border: none; border-top: 1px solid rgba(255,47,185,0.22); margin: 28px 0; }
.entry-content code {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,47,185,0.15);
    border-radius: 4px;
    color: var(--gold);
    padding: 2px 7px;
    font-size: 0.88em;
}

/* Post thumbnail */
.entry-thumbnail { margin-bottom: 24px; border-radius: 8px; overflow: hidden; }
.entry-thumbnail img { width: 100%; height: auto; }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.widget {
    background: rgba(8,22,50,0.7);
    border: 1px solid rgba(255,47,185,0.22);
    border-radius: var(--radius);
    padding: 18px;
}
.widget-title {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,47,185,0.14);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li {
    padding: 7px 0;
    border-bottom: 1px solid rgba(255,47,185,0.06);
    font-size: 0.88rem;
}
.widget ul li:last-child { border: none; }
.widget ul li a { color: rgba(232,237,242,0.78); }
.widget ul li a:hover { color: var(--gold); padding-left: 5px; transition: padding .2s; }

/* Arama */
.widget .search-form, .wp-block-search { display: flex; flex-direction: column; gap: 8px; }
.widget .search-field, .wp-block-search__input {
    width: 100% !important;
    flex: 1;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,47,185,0.22);
    border-radius: 6px;
    color: var(--text);
    padding: 8px 12px;
    font-size: 0.88rem;
}
.widget .search-field:focus, .wp-block-search__input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 2px var(--gold-glow);
}
.widget .search-submit, .wp-block-search__button { width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
    border: none;
    border-radius: 6px;
    color: var(--bg);
    font-weight: 700;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 0.82rem;
}
.widget .search-submit:hover, .wp-block-search__button:hover {
    background: linear-gradient(135deg, var(--gold-h) 0%, var(--gold) 100%);
    box-shadow: 0 0 12px var(--gold-glow);
}

/* ── FOOTER ── */
.site-footer {
    background: rgba(2,8,22,0.99);
    border-top: 2px solid rgba(255,47,185,0.2);
    margin-top: auto;
    padding: 36px 0 20px;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,47,185,0.08);
}
.footer-col h4 {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(232,237,242,0.5); font-size: 0.86rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-col p { color: rgba(232,237,242,0.45); font-size: 0.84rem; line-height: 1.7; }

.footer-bottom {
    padding-top: 18px;
    text-align: center;
    color: rgba(232,237,242,0.3);
    font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,47,185,0.5); }
.footer-bottom a:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
    color: var(--bg) !important;
    border: none;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    cursor: pointer;
    transition: all .25s;
    text-shadow: none;
    line-height: 1;
}
.btn:hover {
    background: linear-gradient(135deg, var(--gold-h) 0%, var(--gold) 100%);
    box-shadow: 0 0 22px var(--gold-glow);
    transform: translateY(-1px);
    color: var(--bg) !important;
}
.btn-outline {
    background: transparent !important;
    border: 2px solid var(--gold-b) !important;
    color: var(--gold) !important;
}
.btn-outline:hover {
    background: rgba(106,61,241,0.4) !important;
    border-color: var(--gold) !important;
    box-shadow: 0 0 14px var(--gold-glow) !important;
}

button, input[type="submit"], input[type="button"] {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-d) 100%);
    color: var(--bg);
    border: none;
    border-radius: 7px;
    font-weight: 700;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .25s;
}
button:hover, input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--gold-h) 0%, var(--gold) 100%);
    box-shadow: 0 0 18px var(--gold-glow);
}

/* ── FORMLAR ── */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="tel"], input[type="number"],
textarea, select {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,47,185,0.2);
    border-radius: 7px;
    color: var(--text);
    padding: 10px 14px;
    width: 100%;
    font-size: 0.9rem;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 2px var(--gold-glow);
    outline: none;
}
input::placeholder, textarea::placeholder { color: rgba(232,237,242,0.28); }
label { color: rgba(232,237,242,0.7); font-size: 0.88rem; display: block; margin-bottom: 5px; }

/* ── COMMENTS ── */
.comments-section {
    background: rgba(10,26,63,0.6);
    border: 1px solid rgba(255,47,185,0.14);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 20px;
}
.comments-title { color: var(--gold); font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.comment-list { list-style: none; }
.comment { padding: 14px 0; border-bottom: 1px solid rgba(255,47,185,0.07); }
.comment:last-child { border: none; }
.comment-author-name { color: var(--gold); font-weight: 700; font-size: 0.88rem; }
.comment-date { color: var(--text-dim); font-size: 0.75rem; margin-left: 8px; }
.comment-text { color: var(--text); margin-top: 6px; font-size: 0.9rem; }
.comment-reply-link { color: var(--gold); font-size: 0.78rem; font-weight: 600; }
.comment-reply-link:hover { color: var(--gold-h); }

#respond { margin-top: 24px; }
.comment-reply-title { color: var(--gold); font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.comment-form p { margin-bottom: 14px; }

/* ── PAGINATION ── */
.paging-nav { display: flex; justify-content: center; gap: 6px; padding: 20px 0; }
.paging-nav a, .paging-nav span {
    background: rgba(10,26,63,0.65);
    border: 1px solid rgba(255,47,185,0.22);
    border-radius: 7px;
    color: var(--text);
    padding: 8px 14px;
    font-size: 0.88rem;
    transition: all .2s;
}
.paging-nav a:hover { background: rgba(106,61,241,0.55); border-color: var(--gold); color: var(--gold); }
.paging-nav .current { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 700; }

/* WP pagination */
.page-numbers { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; width: 100%; padding: 16px 0; }
.page-numbers a, .page-numbers span {
    background: rgba(10,26,63,0.65);
    border: 1px solid rgba(255,47,185,0.22);
    border-radius: 7px;
    color: var(--text);
    padding: 7px 13px;
    font-size: 0.86rem;
    transition: all .2s;
}
.page-numbers a:hover { background: rgba(106,61,241,0.55); border-color: var(--gold); color: var(--gold); }
.page-numbers .current { background: var(--gold); color: var(--bg); border-color: var(--gold); font-weight: 700; }

/* ── TABLES ── */
table { width: 100%; border-collapse: collapse; }
th { background: rgba(106,61,241,0.55); color: var(--gold); border: 1px solid rgba(255,47,185,0.14); padding: 10px 14px; font-weight: 700; text-align: left; }
td { background: rgba(10,26,63,0.3); border: 1px solid rgba(255,47,185,0.07); padding: 9px 14px; color: var(--text); }
tr:hover td { background: rgba(10,26,63,0.55); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ── NO ADMIN BAR ── */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* ── NOTICES ── */
.notice {
    border-left: 4px solid var(--gold);
    background: rgba(14,35,80,0.45);
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 16px 0;
    color: var(--text);
    font-size: 0.9rem;
}

/* ── MOBİL ── */
@media (max-width: 900px) {
    .content-row { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .sidebar.show { display: flex; }
}
@media (max-width: 680px) {
    .site-nav { display: none; }
    .site-nav.open { display: flex; flex-direction: column; position: fixed; top: 62px; left: 0; right: 0; background: rgba(4,13,34,0.98); border-bottom: 2px solid var(--gold-b); padding: 12px 0; z-index: 99; }
    .site-nav.open a { padding: 12px 24px; border-radius: 0; border-bottom: 1px solid rgba(255,47,185,0.06); }
    .nav-toggle { display: block; }
    .header-inner { padding: 0 16px; }
    .container { padding: 0 14px; }
    .entry-wrap { padding: 18px; }
    .hero-banner { padding: 32px 0; }
    .hero-banner h1 { font-size: 1.4rem; }
    .posts-grid { grid-template-columns: 1fr; }
}

/* ── BOXED LAYOUT ── */
body {
    background: linear-gradient(160deg, #04081a 0%, #02060f 50%, #04081a 100%) fixed !important;
}

.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: linear-gradient(170deg, #12062d 0%, #12062d 100%);
    box-shadow: 0 0 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,47,185,0.12);
    min-height: 100vh;
}

.container {
    max-width: 100% !important;
    padding: 0 28px !important;
}

.content-row.no-sidebar {
    max-width: 100% !important;
}

.site-header {
    border-radius: 0 !important;
}

.info-bar {
    border-radius: 0 !important;
}

.site-footer {
    border-radius: 0 !important;
}

/* ── FAQ ACCORDION ── */
.faq-block { margin: 28px 0; }
.faq-block h2 { color: var(--gold); margin-bottom: 16px; }
.faq-item {
    border: 1px solid rgba(255,47,185,0.22);
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
    background: rgba(6,17,42,0.5);
}
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    list-style: none;
    user-select: none;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(106,61,241,0.45); }
.faq-item[open] summary { color: var(--gold); background: rgba(106,61,241,0.3); border-bottom: 1px solid rgba(255,47,185,0.12); }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--gold); transition: transform .25s; flex-shrink: 0; margin-left: 12px; }
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 14px 18px; color: rgba(232,237,242,0.8); font-size: 0.9rem; line-height: 1.7; }

/* ── FOOTER SEO BAR ── */
.footer-seo {
    padding: 14px 0;
    border-top: 1px solid rgba(255,47,185,0.08);
    border-bottom: 1px solid rgba(255,47,185,0.08);
    margin: 8px 0 14px;
    font-size: 0.78rem;
    text-align: center;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    gap: 8px;
    line-height: 2;
}
.footer-seo a { color: rgba(255,47,185,0.55) !important; }
.footer-seo a:hover { color: var(--gold) !important; }

/* ── NAV OVERFLOW SCROLL MOBİL ── */
@media (max-width: 1000px) {
    .site-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 2px;
    }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { flex-shrink: 0; font-size: 0.82rem; padding: 8px 10px; }
}
