<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Reset Password - Match Metrix</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@700;900&display=swap" rel="stylesheet">
    <style>
        body {
            margin: 0;
            padding: 0;
            background: linear-gradient(180deg, #0B0E14 0%, #05070A 100%);
            color: #FFFFFF;
            font-family: 'Inter', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            overflow: hidden;
            position: relative;
        }

        /* Glowing Blobs */
        .glow-blob {
            position: absolute;
            border-radius: 50%;
            filter: blur(100px);
            opacity: 0.15;
            z-index: 1;
        }
        .blob-cyan {
            width: 300px;
            height: 300px;
            background: #06B6D4;
            top: -50px;
            right: -50px;
        }
        .blob-blue {
            width: 300px;
            height: 300px;
            background: #3B82F6;
            bottom: -50px;
            left: -50px;
        }

        .container {
            z-index: 2;
            width: 90%;
            max-width: 400px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px rgba(255, 255, 255, 0.08) solid;
            border-radius: 24px;
            padding: 32px 24px;
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }

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

        .logo-badge {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #131722;
            border: 1.5px solid rgba(74, 222, 128, 0.4);
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 16px auto;
            box-shadow: 0 0 16px rgba(74, 222, 128, 0.15);
        }

        .logo-icon {
            font-size: 24px;
            color: #4ADE80;
        }

        h1 {
            font-family: 'Outfit', sans-serif;
            font-size: 22px;
            font-weight: 900;
            margin: 0 0 8px 0;
        }

        p {
            font-size: 13px;
            color: #9CA3AF;
            margin: 0;
            line-height: 1.4;
        }

        .form-group {
            margin-bottom: 16px;
            display: flex;
            flex-direction: column;
        }

        label {
            font-size: 12px;
            font-weight: 500;
            color: #9CA3AF;
            margin-bottom: 6px;
        }

        input {
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 12px;
            padding: 12px 14px;
            color: #FFFFFF;
            font-size: 13px;
            font-family: 'Inter', sans-serif;
            outline: none;
            transition: border-color 0.2s ease;
        }

        input:focus {
            border-color: #4ADE80;
        }

        .error-message {
            color: #F87171;
            font-size: 11px;
            margin-top: 4px;
        }

        .btn {
            width: 100%;
            background: linear-gradient(90deg, #4ADE80 0%, #34D399 100%);
            border: none;
            border-radius: 20px;
            color: #000000;
            padding: 12px;
            font-size: 13px;
            font-weight: 700;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
            transition: all 0.3s ease;
            margin-top: 8px;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 6px 16px rgba(74, 222, 128, 0.3);
        }
    </style>
</head>
<body>
    <div class="glow-blob blob-cyan"></div>
    <div class="glow-blob blob-blue"></div>

    <div class="container">
        <div class="header">
            <div class="logo-badge">
                <span class="logo-icon">⚽</span>
            </div>
            <h1>Reset Password</h1>
            <p>Enter your email and choose a secure new password for your account.</p>
        </div>

        <form method="POST" action="{{ route('password.update') }}">
            @csrf
            <input type="hidden" name="token" value="{{ $token }}">

            <div class="form-group">
                <label for="email">Email Address</label>
                <input type="email" id="email" name="email" value="{{ old('email', $email) }}" required readonly autocomplete="email">
                @error('email')
                    <span class="error-message">{{ $message }}</span>
                @enderror
            </div>

            <div class="form-group">
                <label for="password">New Password</label>
                <input type="password" id="password" name="password" required autocomplete="new-password" placeholder="At least 8 characters">
                @error('password')
                    <span class="error-message">{{ $message }}</span>
                @enderror
            </div>

            <div class="form-group">
                <label for="password_confirmation">Confirm Password</label>
                <input type="password" id="password_confirmation" name="password_confirmation" required autocomplete="new-password" placeholder="Repeat your new password">
            </div>

            <button type="submit" class="btn">Update Password</button>
        </form>
    </div>
</body>
</html>
