/*
Theme Name: betflik1150 Site
Theme URI: https://example.com
Author: Site Factory
Description: Auto-assembled theme by site-factory. Seed=217913.
Version: 1.0.0
License: Private
Text Domain: betflik1150-com
*/

/* === Fragment CSS (merged) === */


/* === Base reset === */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
    font-family: 'Sarabun', 'Prompt', 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #e8e8e8;
    background: linear-gradient(180deg, #0b0f1a 0%, #131a2c 100%);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
}
a { color: #ffc83d; text-decoration: none; transition: color .2s; }
a:hover { color: #fff3b0; }
img { max-width:100%; height:auto; display:block; }

/* === Header === */
#header, header#header {
    background: linear-gradient(135deg, #1a2340 0%, #0f1628 100%);
    padding: 12px 20px;
    border-bottom: 2px solid #ffc83d;
    box-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.top-bar .left-blc { display: flex; align-items: center; gap: 24px; flex: 1; }
.logo a {
    font-size: 22px;
    font-weight: 700;
    color: #ffc83d;
    text-shadow: 0 0 8px rgba(255,200,61,.4);
}
.mainmenu ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}
.mainmenu li a {
    display: inline-block;
    padding: 8px 14px;
    color: #e8e8e8;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
}
.mainmenu li a:hover { background: rgba(255,200,61,.15); color: #ffc83d; }
.mainmenu li.blink a { background: linear-gradient(135deg, #ffc83d, #ff9a3c); color: #0b0f1a; }
.mainmenu li.blink a:hover { filter: brightness(1.1); }
.elem { background: linear-gradient(135deg, #4a7eff, #2a5ed9); color: #fff !important; }

/* === Main content === */
.sf-content, #sf-content {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    min-height: 60vh;
    background: rgba(255,255,255,.02);
    border-radius: 8px;
}
.sf-home, #sf-home { display:block; }
.sf-card {
    display: inline-block;
    vertical-align: top;
    width: 31%;
    margin: 1%;
    padding: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,200,61,.2);
    border-radius: 8px;
    transition: transform .2s, border-color .2s;
}
.sf-card:hover { transform: translateY(-4px); border-color: #ffc83d; }
.sf-card h3 { margin: 8px 0; font-size: 18px; color: #ffc83d; }
.sf-card p { margin: 0; color: #cfcfcf; font-size: 14px; }
.sf-card img { border-radius: 6px; }

@media (max-width: 900px){ .sf-card { width: 48%; } }
@media (max-width: 560px){ .sf-card { width: 98%; } .top-bar { flex-direction: column; } }

/* === Original layout embed === */
.sf-original-layout {
    opacity: 0.95;
    padding: 20px 0;
}
.sf-original-layout ul,
.sf-original-layout ol { padding-left: 24px; }
.sf-original-layout h1, .sf-original-layout h2, .sf-original-layout h3 { color: #ffc83d; }

/* === Footer === */
footer, #footer {
    background: #0a0e18;
    color: #a0a0a0;
    padding: 24px 20px;
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid rgba(255,200,61,.2);
}

/* === Utility === */
.screen-reader-text, .skip-link { position: absolute !important; left: -9999px; }
