/* =========================
   GLOBAL STYLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #0f2027;
    color: white;
}

/* =========================
   NOTICE BAR
========================= */
.notice-bar {
    margin-top: 70px;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
    overflow: hidden;
    white-space: nowrap;
}

.notice-text {
    display: inline-block;
    padding: 10px 0;
    padding-left: 100%;
    animation: scroll 15s linear infinite;
    font-weight: 600;
    color: #000;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* =========================
   HERO SECTION
========================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('book.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 750px;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    line-height: 1.6;
}

.volume-text {
    margin: 20px 0;
    font-weight: 600;
    color: #00f2fe;
}

.btn {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(0, 242, 254, 1);
}

/* =========================
   ABOUT SECTION
========================= */
.about {
    padding: 80px 8%;
    background: #ffffff;
    color: #333;
    text-align: center;
}

.about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: auto;
    line-height: 1.8;
}

/* =========================
   PUBLICATIONS SECTION
========================= */
.publications {
    padding: 100px 8%;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    text-align: center;
}

.publications h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.pub-text {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.7;
}

.main-pub-btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    background: white;
    color: #0077ff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.main-pub-btn:hover {
    background: #111;
    color: white;
    transform: scale(1.08);
}

/* =========================
   BEST WRITERS OF MONTH
========================= */
.best-writers {
    padding: 100px 8%;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.best-writers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00f2fe, transparent);
}

.best-writers h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: #00f2fe;
    font-weight: 700;
}

.best-writers .subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    font-weight: 300;
}

.writers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.writer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.writer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.writer-card:hover::before {
    transform: scaleX(1);
}

.writer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.2);
    border-color: rgba(0, 242, 254, 0.3);
}

.writer-avatar {
    width: 100%;
    height: 250px;
    border-radius: 20px 20px 0 0;
    margin: 0;
    border: none;
    border-bottom: 3px solid #00f2fe;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
    overflow: hidden;
    position: relative;
}

/* Circular variant - centered with fixed size */
.writer-avatar.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 3px solid #00f2fe;
}

/* Image inside avatar */
.writer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.writer-name {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
    padding: 0 25px;
    margin-top: 20px;
}

.writer-role {
    font-size: 14px;
    color: #00f2fe;
    margin-bottom: 15px;
    font-weight: 500;
    padding: 0 25px;
}

.writer-articles {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    padding: 0 25px;
}

.writer-bio {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    padding: 0 25px;
}

.writer-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    font-size: 12px;
    color: #00f2fe;
    font-weight: 600;
    margin: 0 0 25px 25px;
}

/* =========================
   CONTACT SECTION
========================= */
.contact {
    padding: 80px 8%;
    background: #f5f5f5;
    color: #333;
    text-align: center;
}

.contact h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    width: 250px;
    text-align: center;
    transition: 0.4s;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    font-size: 35px;
    color: #4facfe;
    margin-bottom: 15px;
}

.contact-card a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-top: 8px;
    font-weight: 500;
}

.contact-card a:hover {
    color: #00f2fe;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:768px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
    }

    .about,
    .publications,
    .best-writers,
    .contact {
        padding: 60px 5%;
    }

    .contact-info {
        gap: 20px;
    }

    .writers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .best-writers h2 {
        font-size: 28px;
    }
}