<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Verify Your Email - LeagueLedger</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f9f9f9;
        }
        .container {
            background-color: #ffffff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        .header {
            background-color: #2D7738;
            padding: 20px;
            text-align: center;
            color: white;
        }
        .content {
            padding: 30px;
            background-color: #ffffff;
        }
        .button-container {
            margin: 25px 0;
            text-align: center;
        }
        .button {
            display: inline-block;
            background-color: #2D7738;
            color: white;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 500;
        }
        .link-help {
            margin-top: 20px;
            padding: 15px;
            background-color: #f5f5f5;
            border-radius: 5px;
            font-size: 14px;
        }
        .footer {
            padding: 20px;
            text-align: center;
            font-size: 12px;
            color: #777;
            border-top: 1px solid #eaeaea;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>Email Verification</h1>
        </div>
        
        <div class="content">
            <p>Hello {{ username }},</p>
            
            <p>Thank you for creating an account with LeagueLedger, your pub quiz team tracking platform. We're excited to have you join our community!</p>
            
            <p>To ensure account security and complete your registration, please verify your email address by clicking the button below:</p>
            
            <div class="button-container">
                <a href="{{ verification_link }}" class="button">Verify My Email</a>
            </div>
            
            <div class="link-help">
                <p>If the button above doesn't work, you can copy and paste this link into your browser:</p>
                <p><a href="{{ verification_link }}">Complete your verification</a></p>
            </div>
            
            <p>This verification step helps us keep your account secure and allows you to:</p>
            <ul>
                <li>Create or join teams</li>
                <li>Track your quiz night scores</li>
                <li>Earn points and achievements</li>
                <li>Climb the leaderboards</li>
            </ul>
            
            <p>If you did not create an account with LeagueLedger, please disregard this email.</p>
            
            <p>Best regards,<br>The LeagueLedger Team</p>
        </div>
        
        <div class="footer">
            <p>© 2025 LeagueLedger. All rights reserved.</p>
            <p>This email was sent to verify your account registration.</p>
        </div>
    </div>
</body>
</html>
