<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>adstoday</title>
    <meta name="description" content="AdArchive: Instantly discover vintage ads by year from across the internet with real-time search and playback.">
    <meta name="keywords" content="vintage ads, ad archive, retro commercials, tv ads, old advertisements, ad search, video ads by year, classic commercials">
    <meta property="og:title" content="adstoday">
    <meta property="og:description" content="AdArchive: Instantly discover vintage ads by year from across the internet with real-time search and playback.">
    <meta property="og:image" content="https://project-screens.s3.amazonaws.com/screenshots/34604/app-hero-20251002-214707.png">
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:image" content="https://project-screens.s3.amazonaws.com/screenshots/34604/app-hero-20251002-214707.png">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="assets/css/custom.css">
</head>
<body>

    <div class="container my-5">
        <div class="text-center mb-5">
            <h1 class="display-4">Ad Archive</h1>
            <p class="lead">Search for vintage video ads by year.</p>
        </div>

        <div class="row justify-content-center">
            <div class="col-md-8">
                <form id="searchForm" class="mb-4">
                    <div class="input-group mb-3">
                        <input type="number" id="yearInput" class="form-control form-control-lg" placeholder="Enter a year (e.g., 1984)" min="1900" max="2025">
                        <button class="btn btn-primary btn-lg" type="submit">Search</button>
                    </div>
                </form>

                <div id="videoContainer" class="video-container mb-3">
                    <!-- Video player will be dynamically inserted here -->
                </div>

                <div class="text-center">
                    <button id="regenerateBtn" class="btn btn-secondary btn-regenerate">Regenerate</button>
                </div>
            </div>
        </div>
    </div>

    <script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>