@extends('layouts.auth')
@section('title', 'Verify Email — JAM Members Club')

@section('content')
<div class="min-h-screen flex items-center justify-center px-4 bg-[#0d0d0d]">
    <div class="w-full max-w-md text-center">
        <p class="text-[#D4B84A] text-xs tracking-[0.4em] uppercase font-medium mb-8">Jam Corner · Members Club</p>
        <div class="bg-[#111111] border border-[#1e1e1e] rounded-2xl p-8">
            <div class="w-14 h-14 rounded-full bg-[#D4B84A]/10 flex items-center justify-center mx-auto mb-6">
                <svg class="w-7 h-7 text-[#D4B84A]" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"/></svg>
            </div>
            <h2 class="text-xl font-semibold mb-2" style="font-family: 'Playfair Display', serif;">Verify your email</h2>
            <p class="text-white/40 text-sm mb-6 leading-relaxed">We've sent a verification link to <span class="text-white">{{ auth()->user()->email }}</span>. Click the link in the email to activate your membership.</p>

            @if(session('status') === 'verification-link-sent')
            <p class="text-green-400 text-sm mb-4">A new verification link has been sent.</p>
            @endif

            <form method="POST" action="{{ route('verification.send') }}" class="mb-4">
                @csrf
                <button type="submit" class="w-full bg-[#D4B84A] hover:bg-[#E8D080] text-black font-semibold text-xs tracking-widest uppercase py-3.5 rounded-full transition-colors">
                    Resend Email
                </button>
            </form>
            <form method="POST" action="{{ route('logout') }}">
                @csrf
                <button type="submit" class="text-white/30 hover:text-white text-xs transition-colors">Sign out</button>
            </form>
        </div>
    </div>
</div>
@endsection
