@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Noto+Sans:wght@300;400;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans', sans-serif;
    margin: 0;
    background: #f9f6f1;
    color: #2e2e2e;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #efeaec;
    border-bottom: 2px solid #d4af37;
    padding: 25px 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

header img {
    height: 150px;
    width: auto;
    margin: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    align-items: center;
    max-width: 960px;
    gap: 30px;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.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: #333;
    letter-spacing: 1px;
    text-decoration: none;
    padding-left: 20px;
    border-left: 2px solid #e1d8b9;
}

.waao-logo-link.text-logo span {
    color: #b8860b;
    font-family: 'Playfair Display', serif;
}

.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-in-out;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background: #b8860b;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.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 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 30px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1em;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background: rgba(184, 134, 11, 0.1);
    color: #b8860b;
}

.nav-link.active {
    background: #b8860b;
    color: #fff;
}

main {
    flex-grow: 1;
    max-width: 960px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    padding: 40px 50px;
    color: #3a3a3a;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #b8860b;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    text-transform: uppercase;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #b8860b;
    margin: 15px auto 0;
    border-radius: 2px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.grid-item {
    background: #faf7f2;
    border: 1px solid #e1d8b9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.15);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.grid-item:hover {
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.3);
    transform: translateY(-5px);
}

.grid-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #b8860b;
    margin-bottom: 18px;
}

.grid-item p, .intro-section p, .announcement p, .regulation-section p, .cta-box p, .application-section p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.5;
    padding: 0;
    text-align: left;
}

.small-text {
    font-size: 0.85em !important;
    color: #777 !important;
    margin-top: 5px;
    line-height: 1.4;
    padding: 0;
}

.highlight {
    color: #b8860b;
    font-weight: 700;
}

.cta-section {
    background: #efeaec;
    border-top: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 960px;
    margin: 40px auto;
    padding: 60px 0;
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 15px;
}

.cta-box {
    background: #fff;
    border: 1px solid #e1d8b9;
    border-radius: 12px;
    padding: 30px;
    flex: 1 1 280px;
    max-width: 450px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.cta-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: none;
}

.cta-box h2::after {
    display: none;
}

.cta-box p {
    margin-bottom: 25px;
    padding: 0 10px;
}

.btn-secondary {
    display: inline-block;
    background: #b8860b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.2);
}

.btn-secondary:hover {
    background: #a07409;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.3);
}

footer {
    background: #fff;
    border-top: 2px solid #d4af37;
    padding: 25px 40px;
    text-align: center;
    font-size: 0.9em;
    color: #888;
}

.regulation-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #b8860b;
    margin: 30px 0 10px;
}

.regulation-section h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #d4af37;
    margin-top: 8px;
}

.regulation-section ul, .regulation-section ol, .regulation-section h4 {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 1em;
    color: #3a3a3a;
}

.regulation-section ul li, .regulation-section ol li {
    margin-bottom: 0.5em;
    color: #3a3a3a;
}

.regulation-section strong:first-child {
    font-weight: 700;
    color: #b8860b;
}

.category-group {
    background: #faf7f2;
    border: 1px solid #e1d8b9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.category-group h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #b8860b;
    margin: 0 0 15px;
    border-bottom: 1px dashed #e1d8b9;
    padding-bottom: 10px;
}

.category-group ul li {
    list-style: disc;
    margin-left: 20px;
}

.note {
    font-size: 0.95em;
    color: #777;
    background: #f0f0f0;
    border-left: 4px solid #b8860b;
    padding: 10px 15px;
    margin: 20px 0;
}

.break-line {
    display: block;
    margin-top: 1.5em;
}

.section-separator {
    margin: 40px auto;
    border: 0;
    height: 1px;
    width: 80%;
    background: linear-gradient(to right, #e1d8b9, #b8860b, #e1d8b9);
}

#paymentButton, #formLinkButton {
    background: #b8860b;
    color: #fff;
    padding: 18px 45px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.2);
    display: block;
    margin: 40px auto;
    max-width: 350px;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

#paymentButton:hover, #formLinkButton:hover {
    background: #a07409;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(184, 134, 11, 0.3);
}

#paymentButton:active, #formLinkButton:active {
    background: #88650a;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#results-announcement-pending {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px dashed #e1d8b9;
}

#results-announcement-pending h3 {
    font-size: 1.8rem;
    color: #b8860b;
    margin-bottom: 15px;
}

#announced-winners-content {
    padding-top: 30px;
}

#announced-winners-content h3 {
    text-align: center;
    margin: 40px 0 25px;
    color: #333;
    font-size: 2.2rem;
    border-bottom: 2px solid #e1d8b9;
    padding-bottom: 10px;
}

.section-description {
    text-align: center;
    font-size: 1.1em;
    color: #666;
    margin: 0 auto 40px;
    max-width: 800px;
    line-height: 1.6;
}

.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: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #ddd;
}

.winner-card-highlight:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.winner-card-highlight h4 {
    font-size: 1.6rem;
    color: #b8860b;
    margin-bottom: 20px;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.winner-photo-lg {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid #b8860b;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.winner-name-lg {
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.winner-quote {
    font-style: italic;
    color: #777;
    font-size: 1.05em;
    line-height: 1.6;
    margin-top: 15px;
    padding: 0 10px;
}

.winner-card-highlight .winner-rank-list {
    list-style-type: none;
    padding-left: 1.5em;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: left;
}

.winner-card-highlight .winner-rank-list li {
    font-size: 1.05em;
    color: #444;
    margin-bottom: 5px;
    line-height: 1.4;
}

.winner-card-highlight .winner-rank-list li strong {
    color: #b8860b;
}

.other-categories-winners-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
    margin-bottom: 50px;
}

.winner-group-card {
    background: #fcfcfc;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    border: 1px solid #eee;
    text-align: left;
}

.winner-group-card h4 {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.winner-list-simple {
    list-style: none;
    padding: 0;
    margin: 0;
}

.winner-list-simple li {
    font-size: 1.05em;
    color: #444;
    padding: 5px 0;
    line-height: 1.5;
}

.winner-list-simple li strong {
    color: #b8860b;
}

.detailed-results-notice {
    text-align: center;
    font-size: 1.15em;
    color: #333;
    background: #fff8e1;
    padding: 20px;
    border-radius: 8px;
    margin-top: 50px;
    border: 1px solid #ffe0b2;
}

.application-section h2 + p {
    text-align: center;
    padding: 0;
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .professional-winners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    header img {
        height: 120px;
    }
    
    main, .cta-section {
        margin: 30px auto;
        width: calc(100% - 30px);
        padding: 30px;
        box-sizing: border-box;
    }

    .cta-container {
        gap: 20px;
        max-width: 640px;
    }
}

@media (min-width: 1201px) {
    .menu-toggle {
        display: none;
    }

    #main-nav-wrapper {
        display: flex;
        position: static;
        height: auto;
        width: auto;
        box-shadow: none;
        transform: none;
    }

    #mobile-nav-menu {
        display: none;
    }
}

@media (max-width: 1200px) {
    .menu-toggle {
        display: flex;
    }

    #main-nav-wrapper {
        display: none;
    }

    #mobile-nav-menu {
        position: fixed;
        top: 100px; 
        left: 0;
        width: 100%;
        max-height: 0;
        background: #efeaec;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        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;
        overflow-y: auto;
    }

    #mobile-nav-menu .main-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
    }

    #mobile-nav-menu .nav-link {
        padding: 15px 20px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    }

    #mobile-nav-menu .nav-link:last-child {
        border-bottom: none;
    }

    header {
        padding: 15px 20px;
    }

    header img {
        height: 70px;
    }

    .waao-logo-link.text-logo {
        font-size: 1.4rem;
        padding-left: 15px;
    }

    .header-inner {
        max-width: none;
        padding: 0;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .detail-grid {
        gap: 20px;
        padding: 0;
    }

    .grid-item h3 {
        font-size: 1.4rem;
    }

    .regulation-section h3 {
        font-size: 1.4rem;
        padding-left: 15px;
    }

    .regulation-section p, .regulation-section ul, .regulation-section ol, .regulation-section h4 {
        font-size: 1em;
        padding-left: 15px;
        padding-right: 15px;
    }

    .category-group {
        padding: 15px;
    }

    .cta-container {
        flex-direction: column;
        gap: 20px;
        max-width: unset;
        padding: 0 10px;
    }

    .cta-box {
        flex: none;
        width: 100%;
        max-width: unset;
        padding: 25px;
    }

    #paymentButton, #formLinkButton {
        font-size: 1.4rem;
        padding: 15px 35px;
        margin: 30px auto;
    }

    #announced-winners-content h3 {
        font-size: 2rem;
    }

    .professional-winners-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .winner-photo-lg {
        width: 160px;
        height: 160px;
    }

    .winner-name-lg {
        font-size: 1.45rem;
    }

    .winner-card-highlight h4 {
        font-size: 1.4rem;
    }

    .winner-quote {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    main, .cta-section {
        margin: 15px 15px;
        padding: 15px;
    }

    h2 {
        font-size: 1.4rem;
    }

    .grid-item h3 {
        font-size: 1.2rem;
    }

    .cta-box h2 {
        font-size: 1.4rem;
    }

    .cta-box p {
        font-size: 0.95em;
        padding: 0 5px;
    }

    .btn-secondary {
        font-size: 0.9em;
        padding: 8px 18px;
    }

    #paymentButton, #formLinkButton {
        font-size: 1.2rem;
        padding: 12px 25px;
        margin: 20px auto;
    }

    #results-announcement-pending {
        padding: 40px 15px;
    }

    #results-announcement-pending h3 {
        font-size: 1.6rem;
    }

    #announced-winners-content h3 {
        font-size: 1.8rem;
        margin: 30px 0 20px;
    }

    .professional-winners-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .winner-photo-lg {
        width: 150px;
        height: 150px;
    }

    .winner-name-lg {
        font-size: 1.3rem;
    }

    .winner-card-highlight h4 {
        font-size: 1.3rem;
    }

    .other-categories-winners-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .winner-group-card h4 {
        font-size: 1.2rem;
    }

    .winner-list-simple li {
        font-size: 1em;
    }

    .detailed-results-notice {
        font-size: 1.05em;
        padding: 15px;
    }
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #e1d8b9;
    border-radius: 50%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    background-color: #b8860b;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* Payment Card Grid Styles */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background: #fff;
    border: 1px solid #e1d8b9;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(184, 134, 11, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.2);
}

.payment-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #b8860b;
    margin: 0 0 10px;
}

.payment-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: #3a3a3a;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.payment-card .description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    min-height: 40px;
}

.btn-payment {
    display: inline-block;
    background: #b8860b;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-payment:hover {
    background: #a07409;
}

@media (max-width: 890px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}