main {
    padding: 0;
}

.title-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.page-title {
    margin: 0 0 20px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-primary);
}

.title-line {
    display: block;
    margin-bottom: 8px;
}

.subtitle-line {
    display: block;
    margin-top: 8px;
    opacity: 0.9;
}

.heading-latin {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50, #4a6fa5);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1.1;
    margin-bottom: 5px;
}

.heading-batak {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 2.2rem;
    color: #d35400;
    display: block;
    margin-top: -5px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    display: inline-block;
    margin-right: 10px;
}

.subtitle-batak {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 1.4rem;
    color: #e67e22;
    display: inline-block;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0;
}

.decoration-line {
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, transparent, #f1c40f, transparent);
}

.decoration-dot {
    width: 8px;
    height: 8px;
    background: #f1c40f;
    border-radius: 50%;
    margin: 0 10px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

[data-theme="dark"] .heading-latin {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .heading-batak {
    color: #f1c40f;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .subtitle {
    color: #a0a0c0;
}

[data-theme="dark"] .subtitle-batak {
    color: #f1c40f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .content-section {
    background-color: var(--section-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .content-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    box-shadow: var(--card-shadow);
}

[data-theme="dark"] .content-title {
    color: #f1c40f;
}

[data-theme="dark"] .content-title:after {
    background: linear-gradient(90deg, transparent, #f1c40f, transparent);
}

@media (max-width: 768px) {
    .heading-latin {
        font-size: 2.5rem;
    }

    .heading-batak {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .subtitle-batak {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1.1rem;
        padding: 0 10px;
    }
}

:root {
    --bg-primary: #fff9f2;
    --bg-secondary: #fff5e6;
    --text-primary: #2c3e50;
    --text-secondary: #555;
    --text-batak: #d35400;
    --accent: #f1c40f;
    --accent-hover: #f39c12;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --highlight-bg: linear-gradient(135deg, #fff9f2, #fff5e6);
    --highlight-border: rgba(241, 196, 15, 0.3);
}

[data-theme="dark"] {
    --bg-color: #1a1a2e;
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --text-color: #f0f0f0;
    --text-primary: #f0f0f0;
    --text-secondary: #a0a0c0;
    --text-batak: #f1c40f;
    --accent: #f1c40f;
    --accent-hover: #f8d358;
    --card-bg: #16213e;
    --card-border: rgba(255, 255, 255, 0.1);
    --highlight-bg: linear-gradient(135deg, #16213e, #1e2a4a);
    --highlight-border: rgba(241, 196, 15, 0.3);
    --nav-bg: rgba(26, 26, 46, 0.95);
    --section-bg: #0f0f1f;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --text-muted: #a0a0c0;
}

/* Base Styles */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hero Section */
.content-section {
    padding: 60px 0;
    background-color: var(--bg-primary);
}

/* Huruf Dasar Section */
.huruf-dasar-section {
    margin-top: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.title-underline {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 3px;
}

.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

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

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

.huruf-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.huruf-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.huruf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.huruf-card:hover::before {
    opacity: 1;
}

.huruf-character {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #d4a30d;
    margin-bottom: 10px;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.huruf-card:hover .huruf-character {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.huruf-details {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.huruf-latin {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.huruf-pronounce {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    background: var(--bg-secondary);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* Notes Box Styles */
.notes-box {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
}

.notes-title {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.notes-list {
    margin: 10px 0 0 20px;
    padding: 0;
}

.notes-list li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Tanda Baca Section */
.tanda-baca-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.tanda-baca-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tanda-baca-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tanda-baca-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.tanda-baca-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-light));
    opacity: 0.8;
}

.tanda-baca-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.tanda-baca-symbol {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4a30d;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
    background: var(--bg-secondary);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: color 0.3s ease;
}

.tanda-baca-details {
    flex: 1;
}

.tanda-baca-name {
    margin: 0 0 8px 0;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.tanda-baca-desc {
    margin: 0 0 12px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tanda-baca-usage {
    background: var(--bg-secondary);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

.usage-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
}

.usage-example {
    font-family: 'Noto Sans Batak', sans-serif;
    color: #d4a30d;
    margin-right: 8px;
}

.usage-latin {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .huruf-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 768px) {
    .huruf-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 15px;
    }

    .huruf-character {
        font-size: 2.5rem;
    }

    .huruf-latin {
        font-size: 1rem;
    }

    .huruf-pronounce {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .huruf-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 12px;
    }

    .huruf-card {
        padding: 15px 10px;
    }

    .huruf-character {
        font-size: 2.2rem;
    }
}

.content-block {
    margin-bottom: 50px;
}

.content-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.content-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.content-subtitle {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin: 40px 0 25px;
    text-align: center;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text em {
    color: var(--text-batak);
    font-style: italic;
}

/* Grid Layout */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 0 15px;
}

/* Feature Cards */
.feature-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--card-border);
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    /* background: var(--highlight-bg); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}


.language-option .batak-char {
    font-family: 'Noto Sans Batak', sans-serif;
    color: #2d3748;
}

.batak-char {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 2rem;
    color: var(--text-batak);
}

.feature-card h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Highlight Box */
.highlight-box {
    background: var(--highlight-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--highlight-border);
    max-width: 800px;
    margin: 50px auto 0;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.highlight-box h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.highlight-box p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.3);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .heading-latin {
        font-size: 2.2rem;
    }

    .heading-batak {
        font-size: 1.8rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .content-subtitle {
        font-size: 1.4rem;
    }

    .grid-layout {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .heading-latin {
        font-size: 2.2rem;
    }

    .heading-batak {
        font-size: 1.8rem;
    }

    .content-title {
        font-size: 1.8rem;
    }

    .content-subtitle {
        font-size: 1.4rem;
    }

    .grid-layout {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0 50px;
    }

    .container {
        padding: 0;
    }

    .heading-latin {
        font-size: 2rem;
    }

    .heading-batak {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 15px;
    }

    .content-section {
        padding: 40px 0;
    }

    .content-title {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .content-subtitle {
        font-size: 1.3rem;
        margin: 30px 0 20px;
    }

    .content-text {
        font-size: 1rem;
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .batak-char {
        font-size: 1.8rem;
    }

    .highlight-box {
        padding: 25px 20px;
        margin: 40px 15px 0;
    }

    .highlight-box h3 {
        font-size: 1.3rem;
    }

    .highlight-box p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .section-tag {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .heading-latin {
        font-size: 1.8rem;
    }

    .heading-batak {
        font-size: 1.4rem;
    }

    .divider {
        width: 60px;
        height: 3px;
        margin-bottom: 20px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-card {
        max-width: 320px;
        margin: 0 auto;
        background: var(--card-bg);
        border: 1px solid var(--card-border);
    }

    .highlight-box {
        margin: 30px 10px 0;
        padding: 20px 15px;
        background: var(--highlight-bg);
        border: 1px solid var(--highlight-border);
    }

    .highlight-box h3 {
        font-size: 1.2rem;
    }
}

.hero-section {
    position: relative;
    padding: 100px 0 60px;
    /* background: var(--bg-secondary); */
    overflow: hidden;
}

.section-intro {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--text-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.heading-latin {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

.heading-batak {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 2rem;
    color: #d35400;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 25px;
    border-radius: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== PENGENALAN PAGE ENHANCEMENTS ===== */

/* Enhanced Hero Section for Pengenalan */
.manuscript-pengenalan {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #fff9f2 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 20px 140px;
    box-shadow: inset 0 0 50px rgba(241, 196, 15, 0.1);
}

.manuscript-pengenalan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(241, 196, 15, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(243, 156, 18, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(241, 196, 15, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Enhanced Hero Content */
.manuscript-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.cultural-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #f39c12);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.3);
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero-title-container {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.manuscript-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin: 0 0 15px 0;
    padding: 0;
    color: var(--text-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.title-illuminated {
    font-size: 5rem;
    color: var(--accent);
    font-weight: 900;
    text-shadow:
        3px 3px 0px #d35400,
        4px 4px 10px rgba(241, 196, 15, 0.5);
    display: inline-block;
    margin: 0;
    line-height: 1;
    animation: glow 3s ease-in-out infinite alternate;
}

.title-highlight {
    display: inline-block;
    margin: 0;
    line-height: 1;
    position: relative;
    z-index: 1;
}

@keyframes glow {
    from {
        text-shadow: 3px 3px 0px #d35400, 4px 4px 10px rgba(241, 196, 15, 0.5);
    }

    to {
        text-shadow: 3px 3px 0px #d35400, 4px 4px 20px rgba(241, 196, 15, 0.8), 0 0 30px rgba(241, 196, 15, 0.3);
    }
}

.title-main {
    font-weight: 700;
    color: var(--text-primary);
}

.title-highlight {
    background: linear-gradient(135deg, var(--accent), #f39c12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: block;
    margin-top: 5px;
}

.title-batak {
    margin-top: 10px;
}

.batak-script-large {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 2.2rem;
    color: var(--accent);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
}

.ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    gap: 15px;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.ornament-left,
.ornament-right {
    color: var(--accent);
    font-size: 1.2rem;
    animation: sparkle 2s ease-in-out infinite;
}

.ornament-center {
    color: var(--accent);
    font-size: 1rem;
    animation: rotate 4s linear infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.divider-line {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 1px;
}

.hero-description-enhanced {
    animation: fadeInUp 1s ease 0.9s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.manuscript-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.drop-cap {
    font-size: 3.5rem;
    color: var(--accent);
    font-weight: 800;
    float: left;
    line-height: 0.9;
    margin: 8px 8px 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-family: serif;
}

.manuscript-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Cultural Atmosphere for Pengenalan */
.cultural-atmosphere-pengenalan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-elements-pengenalan {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-char-pengenalan {
    position: absolute;
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 4rem;
    color: rgba(241, 196, 15, 0.1);
    animation: floatPengenalan 20s infinite linear;
    pointer-events: none;
}

.char-pengenalan-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.char-pengenalan-2 {
    top: 60%;
    right: 15%;
    animation-delay: -8s;
    animation-duration: 30s;
}

.char-pengenalan-3 {
    top: 80%;
    left: 20%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.char-pengenalan-4 {
    top: 30%;
    right: 25%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes floatPengenalan {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.mystical-particles-pengenalan {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle-pengenalan {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #f1c40f, transparent);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

.particle-pengenalan-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particle-pengenalan-2 {
    top: 70%;
    right: 20%;
    animation-delay: -5s;
}

.particle-pengenalan-3 {
    top: 45%;
    left: 60%;
    animation-delay: -10s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* Manuscript Content Styling */
.manuscript-content {
    background: var(--bg-primary);
    padding: 80px 0;
    position: relative;
}

.manuscript-intro-section {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.intro-content-detail {
    text-align: center;
    padding: 40px;
}

.intro-tag-text {
    color: var(--accent);
    background: rgba(241, 196, 15, 0.1);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.intro-title-detail {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-illuminated {
    font-size: 3.5rem;
    color: var(--accent);
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-right: 5px;
}

.highlight-manuscript {
    background: linear-gradient(135deg, var(--accent), #f39c12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.intro-subtitle-detail {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Enhanced Content Section */
.manuscript-content {
    background: var(--bg-primary);
    padding: 80px 0;
    position: relative;
}

.manuscript-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* Enhanced Manuscript Section Headers */
.manuscript-section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.section-ornament {
    margin-bottom: 20px;
}

.ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ornament-symbol {
    color: var(--accent);
    font-size: 1rem;
    opacity: 0.8;
}

.ornament-divider {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.batak-ornament {
    font-family: 'Noto Sans Batak', sans-serif;
    color: var(--accent);
    font-size: 1.5rem;
    opacity: 0.7;
}

.manuscript-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

.manuscript-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Enhanced Punctuation Cards */
.manuscript-punctuation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.manuscript-punctuation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.enhanced-punctuation-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.enhanced-punctuation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--accent), #f39c12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-punctuation-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent);
}

.enhanced-punctuation-card:hover::before {
    opacity: 1;
}

.enhanced-symbol {
    font-family: 'Noto Sans Batak', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-right: 30px;
    min-width: 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    padding: 20px;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.enhanced-symbol::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.1), rgba(243, 156, 18, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.enhanced-punctuation-card:hover .enhanced-symbol {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(241, 196, 15, 0.3);
}

.enhanced-punctuation-card:hover .enhanced-symbol::before {
    opacity: 1;
}

.enhanced-usage {
    background: linear-gradient(135deg, var(--bg-secondary), var(--card-bg));
    padding: 20px 25px;
    border-radius: 12px;
    font-size: 1.05rem;
    border: 1px solid var(--border-color);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.enhanced-usage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), #f39c12);
    opacity: 0.8;
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    .manuscript-title {
        font-size: 2rem;
    }

    .title-illuminated {
        font-size: 3.5rem;
    }

    .batak-script-large {
        font-size: 1.8rem;
    }

    .manuscript-intro {
        font-size: 1.1rem;
        text-align: left;
    }

    .drop-cap {
        font-size: 3rem;
    }

    .manuscript-punctuation-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .enhanced-punctuation-card {
        padding: 25px 20px;
    }

    .enhanced-symbol {
        font-size: 3rem;
        padding: 15px;
        margin-right: 20px;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .manuscript-title {
        font-size: 1.8rem;
    }

    .title-illuminated {
        font-size: 3rem;
    }

    .batak-script-large {
        font-size: 1.6rem;
    }

    .cultural-badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }

    .manuscript-intro {
        font-size: 1rem;
    }

    .enhanced-symbol {
        font-size: 2.5rem;
        padding: 12px;
        margin-right: 15px;
        min-width: 60px;
    }
}