/* COLORS 111*/
:root {
    --primary-blue: #1e40af;
    --secondary-yellow: #f59e0b;
    --light-bg: #f7f9ff;
    --red-strong: #dc2626;
    --green-strong: #059669;
    --blue-strong: #2563eb;
    --purple-strong: #9333ea;
}

#nttevent * {
    box-sizing: border-box;
}

/* CONTAINER MAIN ok 1112 4 ok fddsds ss */
#nttevent.container {
    width: 100%;
    /* ĐÃ SỬA: Bỏ max-width: 1200px để khối chiếm toàn bộ chiều rộng */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    margin-top: 20px;
}
 #nttevent.container *{
     /* ĐÃ SỬA: BỎ font-family: 'Inter', sans-serif; */
     font-size: 18px;
 }

/* HEADER */
#nttevent .contest-header {
    background-color: var(--primary-blue);
    padding: 1.5rem;
    color: white; /* ĐÃ ĐẢM BẢO: Chữ màu trắng */
    text-align: center;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}
#nttevent .contest-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    line-height: 1.25;
    color: white;
}
#nttevent .contest-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-yellow);
    margin-top: 0.25rem;
}

/* SAPO / META */
#nttevent .sapo-meta {
    padding: 1rem 1.5rem;
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}
#nttevent .sapo-meta p {
    font-size: 1.125rem;
    color: #4b5563;
    font-style: italic;
}

/* BANNER IMAGE */
#nttevent .banner-container {
    width: 100%; 
    height: 25rem; /* Chiều cao mặc định lớn hơn */
    overflow: hidden;
    margin: 0 auto;
}
#nttevent .banner-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}
#nttevent .banner-container img:hover {
    transform: scale(1.05);
}

/* SECTIONS */
#nttevent .contest-section {
    padding: 1.5rem;
}
#nttevent .contest-section-bg {
    background-color: var(--light-bg);
    border-top: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
}

/* HEADINGS */
#nttevent .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
#nttevent .section-title span {
    font-size: 1.875rem;
    margin-right: 0.75rem;
}

/* GRID LAYOUT (HƯỚNG DẪN) */
#nttevent .guideline-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

/* CARD STYLE (Bước 1, 2, 3) */
#nttevent .step-card {
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--secondary-yellow);
    transition: transform 0.3s;
}
#nttevent .step-card:hover {
    transform: scale(1.02);
}
#nttevent .step-number {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--secondary-yellow);
    margin-bottom: 0.5rem;
}
#nttevent .step-card p {
    color: #4b5563;
}
#nttevent .step-card ul {
    list-style-type: disc;
    margin-left: 1.25rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.5;
}
#nttevent .step-card strong {
    color: var(--primary-blue);
}
#nttevent .step-card a {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-top: 0.75rem;
    display: inline-block;
    text-decoration: none;
}
#nttevent .step-card a:hover {
    text-decoration: underline;
}

/* REGULATIONS (THỂ LỆ) */
#nttevent .regulation-item {
    padding: 1rem;
    border-left-width: 4px;
    border-radius: 0 0.5rem 0.5rem 0;
}
#nttevent .regulation-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}
#nttevent .regulation-item p, #nttevent .regulation-item ul {
    color: #4b5563;
}
#nttevent .regulation-item ul {
    list-style-type: disc;
    margin-left: 1.25rem;
    line-height: 1.5;
}

#nttevent .reg-yellow {
    border-left-color: var(--secondary-yellow);
    background-color: #fffbeb;
}
#nttevent .reg-blue {
    border-left-color: var(--primary-blue);
    background-color: #eff6ff;
}

/* SCORING */
#nttevent .scoring-box {
    padding: 0.75rem;
    border-radius: 0.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
#nttevent .scoring-box span:first-child {
    font-weight: 700;
}
#nttevent .scoring-box span:last-child {
    font-size: 1.25rem;
    font-weight: 800;
}

#nttevent .score-green { background-color: #ecfdf5; border: 1px solid #a7f3d0; }
#nttevent .score-green span:first-child { color: var(--green-strong); }
#nttevent .score-green span:last-child { color: var(--green-strong); }

#nttevent .score-blue { background-color: #eff6ff; border: 1px solid #93c5fd; }
#nttevent .score-blue span:first-child { color: var(--blue-strong); }
#nttevent .score-blue span:last-child { color: var(--blue-strong); }

#nttevent .score-red { background-color: #fee2e2; border: 1px solid #fca5a5; }
#nttevent .score-red span:first-child { color: var(--red-strong); }
#nttevent .score-red span:last-child { color: var(--red-strong); }

/* BONUS SCORE */
#nttevent .bonus-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f3e8ff;
    border: 2px solid #d8b4fe;
    border-radius: 0.5rem;
}
#nttevent .bonus-box h5 {
    font-weight: 700;
    color: var(--purple-strong);
    margin-bottom: 0.5rem;
}
#nttevent .bonus-box ul {
    list-style-type: disc;
    margin-left: 1.25rem;
    color: #374151;
    line-height: 1.5;
}
#nttevent .bonus-total {
    text-align: center;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--primary-blue);
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: #fde68a;
    border-radius: 0.375rem;
}

/* REWARDS SECTION */
#nttevent .rewards-section {
    padding: 1.5rem;
    background-color: var(--primary-blue);
    color: white;
}
#nttevent .rewards-section h3 {
    color: var(--secondary-yellow);
}
#nttevent .rewards-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}
#nttevent .reward-card {
    background-color: white;
    color: var(--primary-blue);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-bottom: 4px solid var(--secondary-yellow);
}
#nttevent .reward-card div:first-child {
    font-size: 1.875rem;
    margin-bottom: 0.25rem;
}
#nttevent .reward-card p:nth-child(2) {
    font-size: 1.25rem;
    font-weight: 700;
}
#nttevent .reward-card p:nth-child(3) {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--secondary-yellow);
    margin-top: 0.25rem;
}
#nttevent .reward-card p:nth-child(4) {
    font-size: 0.875rem;
    color: #4b5563;
}

/* VINDICATION BOX */
#nttevent .vindication-box {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #fef3c7;
    color: var(--primary-blue);
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
}
#nttevent .vindication-box svg {
    height: 1.5rem;
    width: 1.5rem;
    display: inline-block;
    margin-right: 0.5rem;
    vertical-align: middle;
}
#nttevent .vindication-box span {
    vertical-align: middle;
}


/* FOOTER */
#nttevent .contest-footer {
    padding: 1.5rem;
    text-align: center;
    background-color: #f3f4f6;
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
#nttevent .contest-footer h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}
#nttevent .contest-footer p:first-of-type {
    font-size: 1.125rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
#nttevent .contest-footer p:last-of-type {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red-strong);
    margin-bottom: 1rem;
}
#nttevent .hashtag {
    display: inline-block;
    background-color: var(--secondary-yellow);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    font-size: 0.875rem;
}

/* RESPONSIVE DESIGN */
@media (min-width: 768px) {
    #nttevent .guideline-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    #nttevent .rewards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #nttevent .contest-header {
        padding: 2.5rem;
    }
    #nttevent .contest-header h1 {
        font-size: 2.25rem;
    }
    #nttevent .contest-header h2 {
        font-size: 1.5rem;
    }
    #nttevent .banner-container {
        height: 35rem; /* Chiều cao trên desktop lớn hơn */
    }
    #nttevent .guideline-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #nttevent .rewards-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
