/* DM PLAY Main Custom Stylesheet */
* { box-sizing: border-box; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.site-header {
    background: #07090e;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}
.site-logo {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.site-logo span { color: var(--accent-blue); }
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}
.main-nav a {
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-nav a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

/* Hero Section */
.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin: 30px 0;
}
.hero-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
    min-height: 380px;
    border: 1px solid var(--border-color);
}
.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: transform 0.3s ease;
}
.hero-card:hover img { transform: scale(1.03); opacity: 0.85; }
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(to top, rgba(7,9,14,0.95), transparent);
}
.badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--accent-purple);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 8px;
}
.badge-blue { background: var(--accent-blue); color: #000; }
.badge-green { background: var(--accent-green); color: #000; }

.hero-title {
    font-size: 24px;
    font-family: var(--font-heading);
    margin: 5px 0 10px;
    color: #fff;
}
.hero-title a { color: #fff; }
.hero-title a:hover { color: var(--accent-blue); }

/* Layout Grid */
.main-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* Cards & Sections */
.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    text-transform: uppercase;
    border-left: 4px solid var(--accent-blue);
    padding-left: 12px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.post-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}
.post-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-blue);
}
.post-thumb {
    height: 170px;
    width: 100%;
    object-fit: cover;
}
.post-details {
    padding: 15px;
}
.post-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.post-heading {
    font-size: 16px;
    margin: 0 0 10px;
    line-height: 1.4;
}
.post-heading a { color: #f0f4f8; }
.post-heading a:hover { color: var(--accent-blue); }

/* Sidebar */
.widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.widget-title {
    font-size: 18px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
}

/* Newsletter */
.newsletter-box {
    background: linear-gradient(135deg, #121824, #1a103c);
    border: 1px solid var(--accent-purple);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
}
.newsletter-box input[type="email"] {
    padding: 12px 15px;
    width: 60%;
    max-width: 320px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-main);
    color: #fff;
}
.newsletter-box button {
    padding: 12px 25px;
    background: var(--accent-blue);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: #05070a;
    border-top: 2px solid var(--border-color);
    padding: 40px 0 20px;
    margin-top: 50px;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .main-layout { grid-template-columns: 1fr; }
    .main-nav ul { flex-wrap: wrap; }
}
