/* ----------------------------------------------------------------------
 * 1. HERO SEARCH AREA WRAPPERS
 * ---------------------------------------------------------------------- */
.hero-search-section {
    background: linear-gradient(135deg, #042f2e 0%, #0f766e 100%);
    color: #ffffff;
    padding: 3.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.hero-content p {
    font-size: 1.1rem;
    color: #ccfbf1;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* Functional Search Box Engine Assembly */
.main-search-box {
    max-width: 550px;
    margin: 0 auto;
    position: relative;
}

.search-form {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.search-form input[type="search"] {
    flex: 1;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    outline: none;
    color: var(--text-main);
}

.search-form button {
    background: var(--accent-color);
    border: none;
    color: #ffffff;
    padding: 0 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-form button:hover {
    background: #92400e;
}

/* ----------------------------------------------------------------------
 * 2. LIVE SEARCH DROPDOWN ENGINE BOX
 * ---------------------------------------------------------------------- */
.suggestions-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    z-index: 50;
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
}

.suggestion-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover, .suggestion-item.focused {
    background-color: var(--bg-main);
    color: var(--primary-color);
}

/* ----------------------------------------------------------------------
 * 3. GENDER NAVIGATION CARDS & MATRIX ALPHABET SYSTEM GRID
 * ---------------------------------------------------------------------- */
.gender-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gender-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.boy-card h2 { color: var(--boy-color); }
.girl-card h2 { color: var(--girl-color); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.alphabet-directory-section {
    margin: 4rem 0;
}

.alphabet-directory-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 1.5rem;
}

@media (min-width: 480px) { .alphabet-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 768px) { .alphabet-grid { grid-template-columns: repeat(13, 1fr); } }

.letter-link {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-align: center;
    padding: 0.75rem 0;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.letter-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}