@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #f8f6f3 0%, #ebe7e2 100%);
    color: #2d2d2d;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
header {
    background: #b7b1a4;
    border-bottom: 3px solid #9b938a;
    padding: 20px 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

header img {
    height: 120px;
    width: auto;
    margin: 0;
    filter: brightness(1.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.menu-open .bar:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.menu-open .bar:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

#main-nav-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 1.1em;
    padding: 12px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.waao-logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.waao-logo-link:hover {
    transform: scale(1.08);
}

.waao-logo-link.text-logo {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
    font-size: 1.7rem;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 255, 255, 0.3);
}

.waao-logo-link.text-logo span {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Playfair Display', serif;
}

main {
    flex-grow: 1;
    max-width: 1200px;
    margin: 50px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 70px;
    color: #333;
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b5ada3, #9b938a, #b5ada3);
    border-radius: 20px 20px 0 0;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #b5ada3;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    font-weight: 600;
    letter-spacing: -0.02em;
}

h2::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b5ada3, transparent);
    margin: 20px auto 0;
    border-radius: 1px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.grid-item {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e8e5e1;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #b5ada3, #9b938a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-item:hover::before {
    opacity: 1;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(181, 173, 163, 0.2);
}

.grid-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #9b938a;
    margin-bottom: 20px;
    font-weight: 600;
}

.grid-item p, .intro-section p, .announcement p, .regulation-section p, .cta-box p, .application-section p, .contact-section p {
    font-size: 1.05em;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

.small-text {
    font-size: 0.9em !important;
    color: #888 !important;
    margin-top: 10px;
    line-height: 1.5;
    font-style: italic;
}

.highlight {
    color: #9b938a;
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, #b5ada3 0%, #a39993 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    text-align: center;
    max-width: 1200px;
    margin: 60px auto;
    padding: 80px 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 18px;
    padding: 40px;
    flex: 1 1 350px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.cta-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #9b938a;
}

.cta-box h2::after {
    display: none;
}

.btn-secondary {
    display: inline-block;
    background: linear-gradient(135deg, #9b938a 0%, #8a8178 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(155, 147, 138, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155, 147, 138, 0.4);
}

footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    color: #a0a0a0;
    padding: 40px;
    text-align: center;
    font-size: 0.95em;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: #bbb;
    transition: fill 0.3s ease;
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-info {
    font-size: 0.85em;
    color: #888;
    line-height: 1.6;
    max-width: 800px;
}

.regulation-section h3, .contact-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #9b938a;
    margin: 40px 0 15px;
    font-weight: 600;
}

.regulation-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #b5ada3, transparent);
    margin-top: 10px;
}

.regulation-section ul, .regulation-section ol, .regulation-section h4, .contact-section ul {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 1em;
    color: #444;
}

.regulation-section ul li, .regulation-section ol li, .contact-section ul li {
    margin-bottom: 8px;
    color: #444;
}

.regulation-section strong:first-child {
    font-weight: 600;
    color: #9b938a;
}

.category-group {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e8e5e1;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
    position: relative;
}

.category-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #b5ada3, #9b938a);
    border-radius: 15px 15px 0 0;
}

.category-group h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #9b938a;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e8e5e1;
    font-weight: 600;
}

.note {
    font-size: 0.95em;
    color: #666;
    background: linear-gradient(135deg, #f8f6f3 0%, #ebe7e2 100%);
    border-left: 4px solid #b5ada3;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.section-separator {
    margin: 50px auto;
    border: 0;
    height: 1px;
    width: 80%;
    background: linear-gradient(90deg, transparent, #b5ada3, transparent);
}

#paymentButton, #formLinkButton {
    background: linear-gradient(135deg, #9b938a 0%, #8a8178 100%);
    color: #fff;
    padding: 20px 50px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(155, 147, 138, 0.3);
    display: block;
    margin: 50px auto;
    max-width: 400px;
    width: 100%;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

#paymentButton::before, #formLinkButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

#paymentButton:hover::before, #formLinkButton:hover::before {
    left: 100%;
}

#paymentButton:hover, #formLinkButton:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(155, 147, 138, 0.4);
}

#results-announcement-pending {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 15px;
    margin-bottom: 40px;
    border: 2px dashed #b5ada3;
}

#results-announcement-pending h3 {
    font-size: 2rem;
    color: #9b938a;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

#announced-winners-content {
    padding-top: 40px;
}

#announced-winners-content h3 {
    text-align: center;
    margin: 50px 0 30px;
    color: #9b938a;
    font-size: 2.4rem;
    border-bottom: 2px solid #e8e5e1;
    padding-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin: 0 auto 50px;
    max-width: 800px;
    line-height: 1.7;
}

.professional-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.winner-card-highlight {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 35px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #e8e5e1;
    position: relative;
    overflow: hidden;
}

.winner-card-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #b5ada3, #9b938a);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.winner-card-highlight:hover::before {
    opacity: 1;
}

.winner-card-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(181, 173, 163, 0.25);
}

.winner-card-highlight h4 {
    font-size: 1.6rem;
    color: #9b938a;
    margin-bottom: 25px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.winner-photo-lg {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 4px solid #b5ada3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.winner-name-lg {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.winner-quote {
    font-style: italic;
    color: #666;
    font-size: 1em;
    line-height: 1.6;
    margin-top: 20px;
}

.winner-card-highlight .winner-rank-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0;
    text-align: left;
}

.winner-card-highlight .winner-rank-list li {
    font-size: 1em;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
    padding: 8px 15px;
    background: rgba(181, 173, 163, 0.05);
    border-radius: 8px;
    margin-bottom: 5px;
}

.winner-card-highlight .winner-rank-list li strong {
    color: #9b938a;
    font-weight: 600;
}

.detailed-results-notice {
    text-align: center;
    font-size: 1.1em;
    color: #555;
    background: linear-gradient(135deg, #f8f6f3 0%, #ebe7e2 100%);
    padding: 25px;
    border-radius: 12px;
    margin-top: 60px;
    border: 1px solid #e8e5e1;
    line-height: 1.7;
}

.contact-section a {
    color: #9b938a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: #b5ada3;
}

.application-section h2 + p {
    text-align: center;
    padding: 0;
}

@media (max-width: 1024px) and (min-width: 891px) {
    .professional-winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) {
    header img {
        height: 100px;
    }
    
    main, .cta-section {
        margin: 30px auto;
        width: calc(100% - 30px);
        padding: 40px;
    }

    .cta-container {
        gap: 25px;
        max-width: 100%;
    }
}

@media (min-width: 891px) {
    .menu-toggle {
        display: none;
    }

    #main-nav-wrapper {
        display: flex;
    }

    #mobile-nav-menu {
        display: none;
    }
}

@media (max-width: 890px) {
    .menu-toggle {
        display: flex;
    }

    #main-nav-wrapper {
        display: none;
    }

    #mobile-nav-menu {
        position: fixed;
        top: 92px;
        left: 0;
        width: 100%;
        max-height: 0;
        background: rgba(181, 173, 163, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.4s ease-out, max-height 0.4s ease-out;
        overflow: hidden;
        display: flex;
    }

    #mobile-nav-menu.menu-open {
        transform: translateY(0);
        max-height: 500px;
    }

    #mobile-nav-menu .main-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    #mobile-nav-menu .nav-link {
        padding: 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    #mobile-nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    header {
        padding: 15px 25px;
    }

    header img {
        height: 80px;
    }

    main, .cta-section {
        margin: 25px 15px;
        padding: 30px;
    }

    .cta-section {
        padding: 50px 30px;
    }

    .detail-grid {
        gap: 25px;
        grid-template-columns: 1fr;
    }

    .grid-item h3 {
        font-size: 1.5rem;
    }

    .regulation-section h3, .contact-section h3 {
        font-size: 1.6rem;
        margin-left: 15px;
        margin-right: 15px;
    }

    .regulation-section p, .regulation-section ul, .regulation-section ol, .regulation-section h4, .contact-section p, .contact-section ul {
        margin-left: 15px;
        margin-right: 15px;
    }

    .category-group {
        margin: 20px 15px;
        padding: 25px;
    }

    .cta-container {
        flex-direction: column;
        gap: 25px;
    }

    .cta-box {
        width: 100%;
        max-width: none;
    }

    #paymentButton, #formLinkButton {
        font-size: 1.2rem;
        padding: 18px 40px;
        margin: 40px auto;
    }

    .professional-winners-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 480px) {
    main, .cta-section {
        margin: 20px 10px;
        width: auto;
        padding: 25px;
    }

    h2 {
        font-size: 2.2rem;
    }

    .grid-item h3 {
        font-size: 1.4rem;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }

    #paymentButton, #formLinkButton {
        font-size: 1.1rem;
        padding: 15px 30px;
    }

    .professional-winners-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .winner-card-highlight {
        padding: 25px;
    }

    .winner-card-highlight h4 {
        font-size: 1.4rem;
    }

    .detailed-results-notice {
        font-size: 1em;
        padding: 20px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border: 1px solid #e8e5e1;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(181, 173, 163, 0.2);
}

.payment-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: #9b938a;
    margin-bottom: 15px;
    font-weight: 600;
}

.payment-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.payment-card .description {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.payment-card .btn-pay {
    display: inline-block;
    background: linear-gradient(135deg, #9b938a 0%, #8a8178 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(155, 147, 138, 0.3);
    margin-top: auto;
}

.payment-card .btn-pay:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(155, 147, 138, 0.4);
}

@media (max-width: 430px) {
    header img {
        height: 60px;
    }
    .waao-logo-link.text-logo {
        font-size: 1.2rem;
        padding-left: 10px;
    }
    .header-branding {
        gap: 10px;
    }
}

@media (max-width: 890px) {
    .payment-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}