<div style="padding: 5px 0;">
    <h2 style="color: #0f172a; font-size: 26px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px;">
        ✅ Participation Status Accepted
    </h2>

    <p style="color: #475569; font-size: 15px; line-height: 1.7; margin-bottom: 20px;">
        Hello <strong style="color: #0f172a;">{{ NamaLengkap }}</strong>
    </p>

    <p style="color: #475569; font-size: 15px; line-height: 1.7; margin-bottom: 25px;">
        We are pleased to inform you that your team's participation status for the tournament has been <strong
            style="color: #16a34a;">accepted</strong>.
        Your team is officially registered and ready to compete!
    </p>

    <!-- Tournament Details Section -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 25px 0;">
        <tr>
            <td style="background: #f8fafc; border-radius: 12px; padding: 20px 25px; border-left: 4px solid #3b82f6;">
                <h3 style="color: #0f172a; font-size: 16px; font-weight: 600; margin: 0 0 15px 0;">
                    🏆 Tournament Details
                </h3>
                
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td style="width: 80px; padding-right: 20px; vertical-align: top;">
                            <div style="width: 80px; height: 80px; border-radius: 8px; overflow: hidden; background: #e2e8f0;">
                                <img src="{{ Tournament.Gambar }}" alt="{{ Tournament.NamaTournament }}" style="width: 80px; height: 80px; object-fit: cover; display: block;">
                            </div>
                        </td>
                        <td style="vertical-align: top;">
                            <div style="font-weight: 600; color: #0f172a; font-size: 16px; margin-bottom: 4px;">
                                {{ Tournament.NamaTournament }}
                            </div>
                            <div style="color: #64748b; font-size: 14px; margin-bottom: 3px;">
                                📍 {{ Tournament.Lokasi }}
                            </div>
                            <div style="color: #64748b; font-size: 13px;">
                                📅 {{ Tournament.Tanggal }}
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    <!-- Team Details Section -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 25px 0;">
        <tr>
            <td style="background: #f0fdf4; border-radius: 12px; padding: 20px 25px; border-left: 4px solid #22c55e;">
                <h3 style="color: #0f172a; font-size: 16px; font-weight: 600; margin: 0 0 15px 0;">
                    👥 Team Details
                </h3>
                
                <table width="100%" cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td style="width: 50%; padding-right: 10px; vertical-align: top;">
                            <div style="background: #ffffff; border-radius: 8px; padding: 12px 15px; border: 1px solid #dcfce7;">
                                <div style="font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;">
                                    Partner 1
                                </div>
                                <div style="font-weight: 600; color: #0f172a; font-size: 14px;">
                                    {{ TeamData.Partner1.Nama }}
                                </div>
                                <div style="font-size: 12px; color: #64748b;">
                                    {{ TeamData.Partner1.Email }}
                                </div>
                            </div>
                        </td>
                        <td style="width: 50%; padding-left: 10px; vertical-align: top;">
                            <div style="background: #ffffff; border-radius: 8px; padding: 12px 15px; border: 1px solid #dcfce7;">
                                <div style="font-size: 11px; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px;">
                                    Partner 2
                                </div>
                                <div style="font-weight: 600; color: #0f172a; font-size: 14px;">
                                    {{ TeamData.Partner2.Nama }}
                                </div>
                                <div style="font-size: 12px; color: #64748b;">
                                    {{ TeamData.Partner2.Email }}
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
                
                <div style="margin-top: 12px; padding-top: 12px; border-top: 1px solid #dcfce7;">
                    <table width="100%" cellpadding="0" cellspacing="0" border="0">
                        <tr>
                            <td style="color: #64748b; font-size: 14px; padding-bottom: 4px;">Team Name</td>
                            <td style="font-weight: 600; color: #0f172a; font-size: 14px; text-align: right; padding-bottom: 4px;">{{ TeamData.NamaTim }}</td>
                        </tr>
                        <tr>
                            <td style="color: #64748b; font-size: 14px; padding-bottom: 4px;">Category</td>
                            <td style="font-weight: 600; color: #0f172a; font-size: 14px; text-align: right; padding-bottom: 4px;">{{ TeamData.Kategori }}</td>
                        </tr>
                        <tr>
                            <td style="color: #64748b; font-size: 14px;">Level</td>
                            <td style="font-weight: 600; color: #0f172a; font-size: 14px; text-align: right;">{{ TeamData.Level }}</td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
    </table>

    <!-- Action Button -->
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 30px 0 20px;">
        <tr>
            <td align="center">
                <a href="{{ Tournament.URLLanding }}" style="display: inline-block; 
                          background-color: #16a34a;
                          color: #ffffff; 
                          padding: 14px 32px; 
                          border-radius: 12px; 
                          font-weight: 600; 
                          font-size: 15px;
                          text-decoration: none;
                          cursor: pointer;">
                    View Tournament Details
                </a>
            </td>
        </tr>
    </table>
    
    <table width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 20px 0;">
        <tr>
            <td style="background: #f8fafc; border-radius: 12px; padding: 15px 20px; border-left: 4px solid #3b82f6;">
                <p style="margin: 0; color: #475569; font-size: 13px; line-height: 1.6;">
                    💡 Further information regarding match schedules will be sent to you via this email.
                    Stay tuned for the latest updates on our website.
                </p>
            </td>
        </tr>
    </table>
    
    <p style="color: #64748b; font-size: 13px; text-align: center; margin-top: 30px; border-top: 1px solid #f1f5f9; padding-top: 25px;">
        Questions? Contact us at 
        <a href="mailto:{{ CompanyEmail }}" style="color: #3b82f6; font-weight: 500; text-decoration: none;">{{ CompanyEmail }}</a>
        or via 
        <a href="https://wa.me/{{ CompanyWhatsapp|replace:'+':'' }}" style="color: #25D366; font-weight: 500; text-decoration: none;">WhatsApp {{ CompanyWhatsappDisplay }}</a>
    </p>
</div>