* { box-sizing: border-box; }
body { margin: 0; font-family: 'Source Sans Pro', Arial, sans-serif; background: #F4F1EA; color: #111; }
#ad1 { display: block; }
h1, h2, h3, .logo { font-family: 'Playfair Display', Georgia, serif; color: #000; }
.topbar { border-bottom: 4px solid #000; padding: 30px 5% 20px; text-align: center; background: transparent; }
.date-header { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #000; padding-bottom: 5px; margin-bottom: 15px; display: inline-block; }
.logo { font-size: 42px; letter-spacing: -0.5px; margin: 0; line-height: 1; }
.tagline { font-style: italic; color: #444; margin-top: 10px; font-size: 16px; border-top: 1px solid #000; padding-top: 5px; display: inline-block; }
.container { width: 95%; max-width: 1100px; margin: 40px auto; }
.controls { display: flex; gap: 20px; align-items: flex-end; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #000; }
.control-group { display: flex; flex-direction: column; gap: 8px; flex: 1; }
label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: bold; }
select, button { height: 45px; border: 1px solid #000; border-radius: 0; padding: 0 15px; font-family: 'Source Sans Pro', sans-serif; font-size: 16px; background: #fff; outline: none; }
button { background: #000; color: #F4F1EA; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; flex: 1; transition: background 0.2s ease; }
button:hover { background: #333; }

.price-card, .beginner-card, .trade-card, .chart-card, .indicator-card, .analysis-card, .levels {
    background: #fff; border: 1px solid #000; padding: 25px; margin-bottom: 25px; box-shadow: 4px 4px 0px rgba(0,0,0,1);
}

.price-card { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; text-align: center; }
.price-card .data-block { border-right: 1px solid #ddd; }
.price-card .data-block:last-child { border-right: none; }
.price-card small, .level small { text-transform: uppercase; font-size: 12px; letter-spacing: 1px; color: #666; }
#price { font-size: 36px; font-weight: bold; margin-top: 10px; font-family: 'Playfair Display', serif;}
#signal { font-size: 28px; font-weight: bold; margin-top: 15px; }
#score { font-size: 32px; font-weight: bold; margin-top: 12px; }

/* Setup Container */
.setup-container { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.beginner-card { background: #f8fafc; border-color: #1e293b; }
.beginner-card h2, .trade-card h2 { margin-top: 0; border-bottom: 2px solid #000; padding-bottom: 10px; }
#beginnerVerdict { font-size: 17px; line-height: 1.5; margin-bottom: 0; font-weight: 600; }

/* Trade Targets Grid */
.setup-grid { display: flex; flex-direction: column; gap: 15px; margin-top: 15px;}
.setup-grid .trade-box { background: #f9f9f9; padding: 12px; border-left: 4px solid #000; }
.trade-box strong { font-size: 15px; display: block; margin-bottom: 3px; }
.trade-box span { font-size: 20px; font-weight: bold; font-family: 'Playfair Display', serif;}
.trade-box p { margin: 5px 0 0 0; font-size: 13px; color: #555; line-height: 1.4; }

.bullish { color: #166534; }
.bearish { color: #991b1b; }
.neutral { color: #444; }

.chart-card h2 { margin-top: 0; border-bottom: 2px solid #000; padding-bottom: 10px; }
#chart { width: 100%; height: 500px; border: 1px solid #000; }
.dashboard { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 25px; }
.indicator-card h3 { margin: 0 0 10px 0; font-size: 16px; text-transform: uppercase; border-bottom: 1px solid #ddd; padding-bottom: 5px; }
.indicator-card div { font-size: 24px; font-weight: bold; }
.indicator-card small { display: block; margin-top: 5px; font-weight: 600; }
.bottom-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 25px; }
.analysis-card h2, .levels h2 { margin-top: 0; border-bottom: 2px solid #000; padding-bottom: 10px; }
.analysis-item { padding: 12px 0; border-bottom: 1px solid #eee; font-size: 16px; line-height: 1.5; }
.level { margin-bottom: 20px; padding: 15px; background: #fafafa; border: 1px solid #ddd; }
.level:last-child { margin-bottom: 0; }
.level strong { display: block; font-size: 24px; margin-top: 8px; font-family: 'Playfair Display', serif; }
.warning { margin-top: 30px; background: #fff; border: 2px solid #000; padding: 20px; font-size: 14px; text-align: center; box-shadow: 4px 4px 0px rgba(0,0,0,1); }
footer { text-align: center; padding: 40px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; border-top: 4px solid #000; margin-top: 50px; }

@media (max-width: 850px) {
    .controls { flex-direction: column; align-items: stretch; }
    .price-card, .setup-container, .dashboard, .bottom-grid { grid-template-columns: 1fr; }
    .price-card .data-block { border-right: none; border-bottom: 1px solid #ddd; padding-bottom: 15px; margin-bottom: 15px; }
    #chart { height: 350px; }
}