        /* Base Styles */
        :root {
            --primary: #2e8b57;
            --primary-light: #66c285;
            --primary-dark: #1a5d1a;
            --secondary: #ffd700;
            --text-dark: #333;
            --text-light: #666;
            --bg-light: #f0f8f0;
            --white: #ffffff;
            --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.1);
            --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
            --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
            --radius-sm: 8px;
            --radius-md: 15px;
            --radius-lg: 20px;
            --radius-full: 50%;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

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

        /* Scrollbar Styling */
        ::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-light);
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary-dark);
        }

        /* Banner Section */
        .banner {
            position: relative;
            width: 100%;
            height: 500px;
            background-image: url('https://event.tathanhan.com/banner.webp');
            background-size: contain;
            background-position: center;
            overflow: hidden;
            background-repeat: no-repeat;
            background-color: black;
        }

        .banner-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to right, rgba(0, 77, 0, 0.8), rgba(34, 139, 34, 0.6));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 20px;
            color: var(--white);
        }

        .banner h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            text-shadow: 2px 2px 4px rgb(255 0 0);
            animation: fadeInDown 1s ease;
        }

        .banner p {
            font-size: 2.5rem;
            max-width: 800px;
            margin-bottom: 30px;
            text-shadow: 1px 1px 2px rgb(255 0 0);
            animation: fadeInUp 1s ease 0.3s;
            animation-fill-mode: both;
        }

        .cta-button {
            background-color: var(--primary);
            color: var(--white);
            border: none;
            padding: 15px 30px;
            font-size: 1.2rem;
            font-weight: bold;
            border-radius: 50px;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 4px 8px rgb(255 0 0);
            animation: fadeInUp 1s ease 0.6s;
            animation-fill-mode: both;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cta-button:hover {
            background-color: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        .cta-button:active {
            transform: translateY(-1px);
        }

        /* Section Styles */
        .section {
            background-color: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
            padding: 30px;
            margin: 30px 0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .section:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-5px);
        }

        .section-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .section-header h2 {
            color: var(--primary);
            font-size: 2rem;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }

        .section-header h2:after {
            content: '';
            position: absolute;
            width: 60%;
            height: 3px;
            background: linear-gradient(to right, var(--primary), transparent);
            bottom: -10px;
            left: 20%;
            transition: var(--transition);
        }

        .section:hover .section-header h2:after {
            width: 80%;
            left: 10%;
        }

        .section-header p {
            color: var(--text-light);
            font-size: 1.1rem;
        }

        /* Winner Section - Enhanced & Redesigned */
        #winner {
            background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
            padding: 40px;
            position: relative;
            overflow: hidden;
        }

        #winner:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
        }

        .winner-spotlight {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
            padding: 30px;
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-lg);
            overflow: hidden;
            z-index: 1;
            transition: var(--transition);
        }

        .winner-spotlight:hover {
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        .winner-spotlight:before {
            content: '';
            position: absolute;
            top: -50px;
            right: -50px;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(46, 139, 87, 0.05) 100%);
            border-radius: var(--radius-full);
            z-index: -1;
        }

        .winner-spotlight:after {
            content: '';
            position: absolute;
            bottom: -50px;
            left: -50px;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(46, 139, 87, 0.1) 0%, rgba(46, 139, 87, 0.05) 100%);
            border-radius: var(--radius-full);
            z-index: -1;
        }

        .winner-header {
            text-align: center;
            margin-bottom: 30px;
            position: relative;
        }

        .winner-header:before, .winner-header:after {
            content: '';
            position: absolute;
            top: 50%;
            width: 100px;
            height: 2px;
            background: linear-gradient(to right, transparent, var(--primary), transparent);
        }

        .winner-header:before {
            left: -120px;
        }

        .winner-header:after {
            right: -120px;
        }

        .winner-badge {
            display: inline-block;
            padding: 8px 20px;
            background: var(--primary);
            color: var(--white);
            border-radius: 30px;
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 15px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }

        .winner-content {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 40px;
        }

        .winner-avatar {
            position: relative;
            width: 250px;
            height: 250px;
            border-radius: var(--radius-full);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 8px solid var(--white);
            animation: float 6s ease-in-out infinite;
            background: linear-gradient(135deg, var(--primary-light), var(--primary));
            padding: 5px;
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }
            50% {
                transform: translateY(-10px);
            }
            100% {
                transform: translateY(0px);
            }
        }

        .winner-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: var(--radius-full);
            transition: var(--transition);
        }

        .winner-avatar:hover img {
            transform: scale(1.05);
        }

        .trophy-badge {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 70px;
            height: 70px;
            background: var(--secondary);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 4px solid var(--white);
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
            z-index: 2;
            transition: var(--transition);
        }

        .winner-avatar:hover .trophy-badge {
            transform: rotate(15deg) scale(1.1);
        }

        .trophy-badge i {
            color: var(--white);
            font-size: 2rem;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        }

        .winner-info {
            flex: 1;
            min-width: 300px;
        }

        .winner-name {
            font-size: 2.5rem;
            color: var(--text-dark);
            margin-bottom: 15px;
            font-weight: 700;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .winner-name i {
            font-size: 2rem;
            color: var(--primary);
            -webkit-text-fill-color: var(--primary);
        }

        .winner-prize {
            display: inline-block;
            font-size: 1.8rem;
            color: var(--white);
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            padding: 10px 25px;
            border-radius: 30px;
            margin-bottom: 25px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
        }

        .winner-prize:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% {
                left: -100%;
            }
            20% {
                left: 100%;
            }
            100% {
                left: 100%;
            }
        }

        .winner-details {
            background: #f9fff9;
            padding: 25px;
            border-radius: var(--radius-md);
            border-left: 6px solid var(--primary);
            margin-top: 20px;
            transition: var(--transition);
            box-shadow: var(--shadow-sm);
        }

        .winner-details:hover {
            box-shadow: var(--shadow-md);
            transform: translateX(5px);
        }

        .winner-details p {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            font-size: 1.1rem;
        }

        .winner-details p:last-child {
            margin-bottom: 0;
        }

        .winner-details p i {
            color: var(--primary);
            margin-right: 15px;
            font-size: 1.3rem;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

        .winner-details p:hover i {
            transform: scale(1.2);
        }

        .winner-details span {
            font-weight: 600;
            color: var(--text-dark);
            margin-right: 8px;
        }

        .confetti {
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: var(--secondary);
            opacity: 0.8;
            animation: confetti-fall 5s linear infinite;
            z-index: 0;
        }

        .confetti.square {
            border-radius: 0;
        }

        .confetti.circle {
            border-radius: var(--radius-full);
        }

        .confetti.triangle {
            width: 0;
            height: 0;
            background-color: transparent;
            border-left: 5px solid transparent;
            border-right: 5px solid transparent;
            border-bottom: 10px solid var(--secondary);
        }

        .confetti.green {
            background-color: var(--primary-light);
            border-bottom-color: var(--primary-light);
        }

        .confetti.white {
            background-color: var(--white);
            border-bottom-color: var(--white);
        }

        @keyframes confetti-fall {
            0% {
                transform: translateY(-100px) rotate(0deg);
                opacity: 1;
            }
            100% {
                transform: translateY(500px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Rules Section */
        .rules-list {
            margin-bottom: 30px;
        }

        .rule-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            transition: var(--transition);
            padding: 5px;
            border-radius: var(--radius-sm);
        }

        .rule-item:hover {
            background-color: rgba(46, 139, 87, 0.05);
            transform: translateX(5px);
        }

        .rule-item i {
            color: var(--primary);
            font-size: 1.2rem;
            margin-right: 15px;
            margin-top: 3px;
            transition: var(--transition);
        }

        .rule-item:hover i {
            transform: scale(1.2);
        }

        .timeline {
            background-color: var(--bg-light);
            padding: 20px;
            border-radius: var(--radius-sm);
            border: 1px solid #d0e8d0;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .timeline:hover {
            box-shadow: var(--shadow-sm);
        }

        .timeline h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .timeline h3 i {
            animation: pulse 2s infinite;
        }

        .timeline-item {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
            gap: 10px;
        }

        .timeline-item i {
            color: var(--primary);
        }

        /* Two Column Layout */
        .two-column {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        /* Form Styles */
        form {
            margin-top: 20px;
        }

        .form-group {
            position: relative;
            margin-bottom: 20px;
        }

        .form-group i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            transition: var(--transition);
        }

        .form-group:focus-within i {
            color: var(--primary);
        }

        input {
            width: 100%;
            padding: 12px 12px 12px 45px;
            border: 1px solid #ddd;
            border-radius: var(--radius-sm);
            font-size: 1rem;
            transition: var(--transition);
        }

        input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(46, 139, 87, 0.2);
        }

        .submit-button,.huong-dan-button {
            width: 100%;
            background-color: var(--primary);
            color: var(--white);
            border: none;
            padding: 12px;
            font-size: 1rem;
            font-weight: bold;
            border-radius: var(--radius-sm);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .submit-button i {
            margin-right: 8px;
            transition: var(--transition);
        }

        .submit-button:hover {
            background-color: var(--primary-light);
        }

        .submit-button:hover i {
            transform: scale(1.2);
        }

        .submit-button: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: var(--transition);
        }

        .submit-button:hover:before {
            left: 100%;
            transition: 0.5s;
        }

        .form-note {
            text-align: center;
            margin-top: 15px;
            font-size: 0.9rem;
            color: var(--text-light);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .form-note i {
            color: var(--primary);
        }

        /* Search Result */
        .search-result {
            margin-top: 20px;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: var(--radius-sm);
            background-color: #f9fff9;
            transition: var(--transition);
        }

        .search-result:hover {
            box-shadow: var(--shadow-sm);
        }

        .search-result h3 {
            font-size: 1.2rem;
            color: var(--text-dark);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .search-result h3 i {
            color: var(--primary);
        }

        .result-details p {
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .result-details p i {
            color: var(--primary);
            width: 16px;
        }

        .result-details span:first-child {
            font-weight: bold;
            color: var(--text-dark);
        }

        .hidden {
            display: none;
        }

        /* Participants List Section - Enhanced */
        #participants {
            background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
            padding: 40px;
            position: relative;
        }

        #participants:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
        }

        .participants-stats {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }

        .stat-card {
            background: var(--white);
            border-radius: var(--radius-md);
            padding: 25px 40px;
            text-align: center;
            box-shadow: var(--shadow-md);
            position: relative;
            overflow: hidden;
            transition: var(--transition);
        }

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

        .stat-card:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
        }

        .stat-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
            transition: var(--transition);
        }

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

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 5px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transition: var(--transition);
        }

        .stat-card:hover .stat-number {
            letter-spacing: 1px;
        }

        .stat-label {
            font-size: 1.1rem;
            color: var(--text-light);
            font-weight: 500;
        }

        .recent-participants-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--bg-light);
        }

        .recent-participants-title {
            font-size: 1.5rem;
            color: var(--primary);
            font-weight: 600;
            display: flex;
            align-items: center;
        }

        .recent-participants-title i {
            margin-right: 10px;
            animation: pulse 2s infinite;
        }

        .participants-table-container {
            overflow-x: auto;
            background: var(--white);
            border-radius: var(--radius-sm);
            box-shadow: var(--shadow-sm);
            transition: var(--transition);
        }

        .participants-table-container:hover {
            box-shadow: var(--shadow-md);
        }

        .participants-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 0;
        }

        .participants-table th,
        .participants-table td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid var(--bg-light);
        }

        .participants-table th {
            background-color: #f9fff9;
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .participants-table tr:last-child td {
            border-bottom: none;
        }

        .participants-table tr {
            transition: var(--transition);
        }

        .participants-table tr:hover {
            background-color: #f9fff9;
            transform: translateX(5px);
        }

        .new-badge {
            display: inline-block;
            padding: 3px 8px;
            background: var(--primary);
            color: var(--white);
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: bold;
            margin-left: 8px;
            animation: pulse 2s infinite;
        }

        .privacy-note {
            text-align: center;
            margin-top: 20px;
            font-size: 0.9rem;
            color: var(--text-light);
            font-style: italic;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }

        .privacy-note i {
            color: var(--primary);
        }

        /* Footer */
        footer {
            background-color: var(--primary-dark);
            color: var(--white);
            padding: 30px 0;
            text-align: center;
            margin-top: 50px;
            position: relative;
        }

        footer:before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--primary-light));
        }

        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .footer-logo i {
            color: var(--secondary);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin: 15px 0;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: var(--radius-full);
            color: var(--white);
            transition: var(--transition);
        }

        .social-links a:hover {
            background-color: var(--primary);
            transform: translateY(-3px);
        }

        .footer-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            margin: 10px 0;
        }

        .footer-nav a {
            color: var(--white);
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .footer-nav a:hover {
            color: var(--secondary);
        }

        .copyright {
            margin-top: 20px;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            color: var(--white);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 100;
            box-shadow: var(--shadow-md);
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background-color: var(--primary-light);
            transform: translateY(-5px);
        }

        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Responsive Design - Enhanced */
        @media (max-width: 992px) {
            .container {
                padding: 0 15px;
            }
            
            .section {
                padding: 25px;
            }
            
            .winner-header:before, .winner-header:after {
                width: 70px;
            }

            .winner-header:before {
                left: -80px;
            }

            .winner-header:after {
                right: -80px;
            }
            
            .winner-spotlight {
                padding: 25px 20px;
            }
            
            .winner-content {
                gap: 30px;
            }
            
            .winner-avatar {
                width: 220px;
                height: 220px;
            }
            
            .trophy-badge {
                width: 60px;
                height: 60px;
            }
            
            .winner-name {
                font-size: 2.2rem;
            }
            
            .winner-prize {
                font-size: 1.6rem;
                padding: 8px 20px;
            }
        }

        @media (max-width: 768px) {
            .banner {
                height: 400px;
            }
            
            .banner h1 {
                font-size: 2rem;
            }
            
            .banner p {
                font-size: 1.2rem;
            }
            
            .two-column {
                grid-template-columns: 1fr;
            }
            
            .section {
                padding: 20px;
                margin: 20px 0;
            }
            
            .section-header h2 {
                font-size: 1.8rem;
            }
            
            .participants-table th,
            .participants-table td {
                padding: 12px 10px;
            }

            .winner-content {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .winner-spotlight {
                padding: 20px 15px;
            }
            
            .winner-avatar {
                width: 180px;
                height: 180px;
                margin: 0 auto;
            }
            
            .trophy-badge {
                width: 50px;
                height: 50px;
                bottom: 5px;
                right: 5px;
            }
            
            .trophy-badge i {
                font-size: 1.5rem;
            }
            
            .winner-name {
                font-size: 2rem;
                justify-content: center;
            }
            
            .winner-prize {
                font-size: 1.4rem;
                padding: 8px 16px;
                margin: 0 auto 20px;
            }
            
            .winner-details {
                padding: 15px;
                margin-top: 15px;
            }
            
            .winner-details p {
                font-size: 1rem;
                margin-bottom: 10px;
            }
            
            .winner-details p i {
                font-size: 1.1rem;
                margin-right: 10px;
            }

            .winner-header:before, .winner-header:after {
                width: 50px;
            }

            .winner-header:before {
                left: -60px;
            }

            .winner-header:after {
                right: -60px;
            }

            .stat-card {
                padding: 20px;
            }

            .stat-number {
                font-size: 2.5rem;
            }
            
            .footer-nav {
                flex-direction: column;
                align-items: center;
                gap: 10px;
            }
            
            #winner {
                padding: 30px 15px;
            }
        }

        @media (max-width: 576px) {
            .banner {
                height: 350px;
            }
            
            .banner h1 {
                font-size: 1.8rem;
            }
            
            .banner p {
                font-size: 1rem;
            }
            
            .cta-button {
                padding: 12px 25px;
                font-size: 1rem;
            }
            
            .section {
                padding: 15px;
                margin: 15px 0;
            }
            
            .section-header h2 {
                font-size: 1.5rem;
            }
            
            .section-header p {
                font-size: 0.9rem;
            }
            
            .winner-spotlight {
                padding: 15px 10px;
                border-radius: var(--radius-md);
            }
            
            .winner-badge {
                padding: 5px 15px;
                font-size: 0.9rem;
            }
            
            .winner-avatar {
                width: 150px;
                height: 150px;
                border-width: 5px;
            }
            
            .winner-name {
                font-size: 1.6rem;
                margin-bottom: 10px;
            }
            
            .winner-name i {
                font-size: 1.4rem;
            }
            
            .winner-prize {
                font-size: 1.2rem;
                padding: 6px 15px;
                margin-bottom: 15px;
            }
            
            .winner-details {
                padding: 12px;
                border-left-width: 4px;
            }
            
            .winner-details p {
                font-size: 0.9rem;
                margin-bottom: 8px;
            }
            
            .winner-details p i {
                font-size: 1rem;
                margin-right: 8px;
                width: 20px;
                height: 20px;
            }
            
            .trophy-badge {
                width: 40px;
                height: 40px;
            }
            
            .trophy-badge i {
                font-size: 1.2rem;
            }
            
            .winner-header:before, .winner-header:after {
                display: none;
            }
            
            .participants-table th,
            .participants-table td {
                padding: 10px 8px;
                font-size: 0.9rem;
            }
            
            .stat-card {
                padding: 15px;
            }
            
            .stat-icon {
                font-size: 2rem;
            }
            
            .stat-number {
                font-size: 2rem;
            }
            
            .stat-label {
                font-size: 0.9rem;
            }
            
            .recent-participants-title {
                font-size: 1.2rem;
            }
            
            .back-to-top {
                width: 40px;
                height: 40px;
                bottom: 15px;
                right: 15px;
            }
            
            #winner {
                padding: 20px 10px;
            }
            
            .confetti {
                width: 8px;
                height: 8px;
            }
            
            .confetti.triangle {
                border-left: 4px solid transparent;
                border-right: 4px solid transparent;
                border-bottom: 8px solid var(--secondary);
            }
        }
        
        .no-winner{
            text-align: center;
            color: red;
        }

                /* CSS cho nút submit */
                .submit-button {
                    background-color: #2e8b57;
                    color: white;
                    border: none;
                    padding: 12px 24px;
                    border-radius: 5px;
                    cursor: pointer;
                    font-size: 16px;
                    transition: all 0.3s ease;
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 8px;
                }
        
                .submit-button:hover:not(:disabled) {
                    background-color: #246b47;
                    transform: translateY(-2px);
                    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
                }
        
                .submit-button:disabled {
                    background-color: #cccccc;
                    color: #666666;
                    cursor: not-allowed;
                    transform: none;
                    box-shadow: none;
                    opacity: 0.7;
                }
        
                .submit-button i {
                    font-size: 18px;
                }
        
                /* Animation cho loading spinner */
                @keyframes spin {
                    0% { transform: rotate(0deg); }
                    100% { transform: rotate(360deg); }
                }
        
                .fa-spinner {
                    animation: spin 1s linear infinite;
                }

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    max-height: 1200px;
    /* overflow-y: scroll; */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-header .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-header .close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
    text-align: center;
    overflow-y: scroll;
    max-height: 1000px;
}

.modal-body p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.modal-button {
    background-color: #2e8b57;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.modal-button:hover {
    background-color: #246b47;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Style cho bảng tra cứu */
.lookup-result {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
}

.lookup-result h3 {
    color: #1a5d1a;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #1a5d1a;
    padding-bottom: 10px;
}

.lookup-stats {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.lookup-stats p {
    font-size: 18px;
    color: #1a5d1a;
    margin: 0;
}

.lookup-stats b {
    font-size: 24px;
    color: #28a745;
}

.lookup-predictions h4 {
    color: #1a5d1a;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.lookup-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.lookup-table thead {
    background: #1a5d1a;
    color: #fff;
}

.lookup-table th {
    padding: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
}

.lookup-table td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
    font-size: 15px;
}

.lookup-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.lookup-table tbody tr:hover {
    background: #e9ecef;
    transition: background 0.3s ease;
}

.lookup-table td:first-child {
    font-weight: 600;
    color: #1a5d1a;
}

/* Animation cho modal */
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Style cho nút đóng modal */
.modal-button {
    background: #1a5d1a;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.modal-button:hover {
    background: #134013;
}

/* Responsive cho bảng */
@media (max-width: 768px) {
    .lookup-table {
        font-size: 14px;
    }
    
    .lookup-table th,
    .lookup-table td {
        padding: 10px;
    }
    
    .lookup-result h3 {
        font-size: 20px;
    }
    
    .lookup-stats p {
        font-size: 16px;
    }
    
    .lookup-stats b {
        font-size: 20px;
    }
}

/* Connect Section Styles */
.connect-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.connect-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    width: 150px; /* Chiều rộng cố định cho mỗi item */
    text-align: center;
}

.connect-item:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.connect-item i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.connect-item:hover i {
    color: var(--white);
    transform: scale(1.1);
}

.connect-item span {
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.connect-item:hover span {
    color: var(--white);
}

@media (max-width: 768px) {
    .connect-item {
        width: 120px;
        padding: 15px;
    }
    .connect-item i {
        font-size: 2.5rem;
    }
    .connect-item span {
        font-size: 0.9rem;
    }
    .container {
        overflow-x: hidden;
    }
}
@media (max-width: 576px) {
    .connect-links {
        gap: 15px;
    }
    .connect-item {
        width: 100px;
        padding: 10px;
    }
    .connect-item i {
        font-size: 2rem;
    }
    .connect-item span {
        font-size: 0.8rem;
    }
}
.mode-huong-dan{
    text-align: justify;
}

b {
    color: red;
}
