:root {
    --primary-color: #ff0b37;
    --primary-hover: #d10027;
    --telegram-color: #0088cc;
    --telegram-hover: #006699;
    --bg-light: #f4f7f6;
    --text-dark: #1a1a1a;
    --card-bg: #ffffff;
}

body { 
    background-color: var(--bg-light); 
    color: var(--text-dark); 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    line-height: 1.6;
}

header { 
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 15px 20px; 
    text-align: center; 
    border-bottom: 4px solid var(--primary-color); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    position: sticky; 
    top: 0; 
    z-index: 1000;
}

.logo-container { 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 12px;
}

.logo-container img { 
    max-height: 45px; 
    width: auto; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo-container h1 {
    margin: 0; 
    font-size: 26px; 
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 1px;
}

nav a { 
    margin: 0 15px; 
    text-decoration: none; 
    color: #444; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 14px; 
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover { color: var(--primary-color); }
nav a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -4px; left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
nav a:hover::after { width: 100%; }

.container { padding: 30px 20px; max-width: 1050px; margin: auto; }

.hero-buttons { 
    text-align: center; 
    margin: 20px 0 40px 0; 
    background: var(--card-bg); 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    display: flex; 
    flex-wrap: wrap; 
    justify-content: center;
    gap: 15px;
    border: 1px solid #eaeaea;
}

.btn { 
    background: linear-gradient(135deg, var(--primary-color), #ff4d6d); 
    color: #ffffff !important; 
    padding: 14px 32px; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    display: inline-block; 
    border: none; 
    cursor: pointer; 
    font-size: 16px; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    box-shadow: 0 6px 12px rgba(255, 11, 55, 0.3); 
}

.btn:hover { 
    background: linear-gradient(135deg, var(--primary-hover), #e60026);
    transform: translateY(-3px); 
    box-shadow: 0 8px 16px rgba(255, 11, 55, 0.4); 
}

.btn-telegram {
    background: linear-gradient(135deg, var(--telegram-color), #33aadd);
    box-shadow: 0 6px 12px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, var(--telegram-hover), var(--telegram-color));
    box-shadow: 0 8px 16px rgba(0, 136, 204, 0.4);
}

.content-section { 
    margin-top: 35px; 
    line-height: 1.8; 
    font-size: 16px; 
    text-align: justify; 
    padding: 30px; 
    background: var(--card-bg); 
    border-radius: 12px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.04); 
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-2px);
}

.content-section p {
    color: #555;
}

.img-placeholder, .content-img { 
    width: 100%; 
    max-width: 220px; 
    height: auto;     
    max-height: 220px; 
    margin: 20px auto; 
    border-radius: 10px; 
    box-shadow: 0 8px 16px rgba(0,0,0,0.1); 
    border: 3px solid var(--primary-color); 
    display: block; 
    object-fit: contain; 
    background-color: #ffffff; 
    padding: 5px;
    transition: transform 0.3s ease;
}

.content-img:hover {
    transform: scale(1.05);
}

.blog-form { background: var(--card-bg); padding: 25px; border-radius: 12px; border: 1px solid #eaeaea; box-shadow: 0 6px 18px rgba(0,0,0,0.04); margin-bottom: 25px; }
.blog-form input, .blog-form textarea { width: 100%; padding: 14px; margin: 10px 0; border: 2px solid #eee; border-radius: 8px; box-sizing: border-box; font-family: inherit; transition: border-color 0.3s;}
.blog-form input:focus, .blog-form textarea:focus { border-color: var(--primary-color); outline: none; }
.post-box { border: 1px solid #eee; padding: 18px; margin-bottom: 15px; border-radius: 10px; background: #fff; box-shadow: 0 4px 8px rgba(0,0,0,0.03); border-left: 5px solid var(--primary-color); }

footer { background-color: #111; color: #ddd; text-align: center; padding: 40px 20px; margin-top: 60px; font-size: 14px;}
footer a { color: var(--primary-color); text-decoration: none; font-weight: bold; transition: color 0.3s;}
footer a:hover { color: #fff; }
h1, h2, h3 { color: var(--text-dark); margin-bottom: 20px; text-align: center; font-weight: 800;}
h2 { font-size: 28px; position: relative; padding-bottom: 10px; }
h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--primary-color); border-radius: 2px;}

@media (max-width: 768px) {
    nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 10px;}
    nav a { margin: 5px; font-size: 12px;}
    .hero-buttons { flex-direction: column; padding: 20px;}
    .btn { width: 100%; margin: 8px 0; box-sizing: border-box;}
    .img-placeholder, .content-img { max-width: 180px; max-height: 180px; margin: 15px auto; }
    h2 { font-size: 24px; }
}