* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.logo span {
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 6px;
    position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20 20h60v60H20z" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}
.cta-button {
    font-size: 0.9rem;
    border: none;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.page-section {
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.about-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-card h3 {
    color: #3498db;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.why-waao-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.why-waao-card {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
}

.why-waao-card h3 {
    color: #3498db;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.why-waao-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 25px;
    width: 12px;
    height: 12px;
    background: #3498db;
    border-radius: 50%;
    border: 2px solid white;
}

.timeline-date { color: #3498db; margin-bottom: 10px; }
.timeline-title { color: #2c3e50; margin-bottom: 10px; }

.competitions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.competition-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.competition-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.competition-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.competition-info {
    padding: 25px;
}

.competition-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.competition-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.news-content {
    padding: 25px;
}

.news-date {
    color: #3498db;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.newsletter-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.newsletter-box h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-box p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.newsletter-message {
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.9;
    min-height: 1.2em;
    font-weight: 600;
}

.newsletter-notice {
    font-size: 0.9rem;
    margin-top: 20px;
    opacity: 0.7;
}

.ranking-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

.ranking-table table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.ranking-table th {
    background: #3498db;
    color: white;
    font-weight: 600;
}

.ranking-table tbody tr {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.ranking-table tbody tr:hover {
    background-color: #f0f5fa;
}
.rank-icon {
    font-size: 1.2rem;
}

.ranking-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.ranking-section-title h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.ranking-actions {
    text-align: center;
    margin-bottom: 60px;
}
.tournament-rules-link {
    background: #3498db;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}
.tournament-rules-link:hover {
    background: #2980b9;
}

.top-winners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.winner-card {
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.winner-card-1st { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.winner-card-2nd { background: linear-gradient(135deg, #95a5a6, #7f8c8d); }
.winner-card-3rd { background: linear-gradient(135deg, #d35400, #e67e22); }

.winner-card-bg-icon {
    position: absolute;
    top: -50px;
    right: -50px;
    font-size: 8rem;
    opacity: 0.2;
    z-index: -1;
}

.winner-card h2 { font-size: 3rem; margin-bottom: 10px; }
.winner-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.winner-card p { opacity: 0.9; margin-bottom: 10px; }
.winner-card .winner-score { font-size: 1.1rem; font-weight: 600; margin-top: 10px; }

.benefit-announcement {
    text-align: center;
    margin-bottom: 60px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 5px solid #3498db;
}
.benefit-announcement p {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.7;
}

.last-updated-notice {
    text-align: center;
    margin-top: 40px;
}
.last-updated-notice p {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.stat-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}
.stat-label { color: #7f8c8d; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.chatbot-area {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.chatbot-placeholder {
    background: #ecf0f1;
    border: 2px dashed #bdc3c7;
    border-radius: 10px;
    padding: 60px 20px;
    color: #7f8c8d;
    font-style: italic;
}

.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

.footer p {
    margin-bottom: 20px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links span {
    opacity: 0.5;
}

.footer-business-info {
    margin-bottom: 20px;
    padding: 0 20px;
}

.footer-business-info p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #3498db;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: fixed;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        display: flex;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .why-waao-grid {
        gap: 30px;
    }
    .why-waao-card {
        padding: 30px;
    }
    .why-waao-card h3 {
        font-size: 1.6rem;
    }
    .timeline {
        padding-left: 20px;
    }
    .timeline-dot {
        left: -27px;
    }
    .timeline-item {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .ranking-table {
        overflow-x: initial;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        margin-top: 20px;
    }

    .ranking-table thead {
        display: none;
    }

    .ranking-table table,
    .ranking-table tbody,
    .ranking-table tr,
    .ranking-table td {
        display: block;
        width: 100%;
    }

    .ranking-table tr {
        background: #f8f9fa;
        border-radius: 15px;
        margin-bottom: 20px;
        padding: 20px;
        box-shadow: none;
        border: 1px solid #e9ecef;
    }

    .ranking-table td {
        padding: 12px 0;
        border-bottom: 1px solid #ecf0f1;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }
    .ranking-table td:last-child { border-bottom: none; }
    .ranking-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
        color: #2c3e50;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .competitions-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .why-waao-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        padding: 40px 20px;
    }
    .newsletter-box h2 {
        font-size: 2rem;
    }
    .newsletter-form {
        flex-direction: column;
    }

}

.fade-in {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}