<?php

/**
 * The template for displaying guest dashboard view
 *
 * This template can be overridden by copying it to yourtheme/movie-engine/dashboard/guest.php.
 *
 * HOWEVER, on occasion MovieEngine will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @note Please do not delete our CSS classes when you customize, as it may break functionality.
 * @package Movie_Engine
 * @subpackage Movie_Engine/templates/dashboard
 * @version 1.0.0
 * @since 1.0.0
 */

if (! defined("ABSPATH")) {
    exit; // Exit if accessed directly
}
?>
<div class="movie-engine-guest-dashboard">
    <div class="movie-engine-card me-login-card">
        <span class="fa-solid fa-users"></span>
        <h2><?php esc_html_e('Unlock Your Cinema', 'cine-movie-engine'); ?></h2>
        <p><?php esc_html_e('Sign in to save your watchlist, track your history, and get personal recommendations.', 'cine-movie-engine'); ?></p>
        <div class="movie-engine-action-btns">
            <a href="<?php echo esc_url(wp_login_url(get_permalink())); ?>" class="movie-engine-btn me-btn-primary"><?php esc_html_e('Login', 'cine-movie-engine'); ?></a>
            <?php if (get_option('users_can_register')) : ?>
                <a href="<?php echo esc_url(wp_registration_url()); ?>" class="movie-engine-btn me-btn-outline"><?php esc_html_e('Register', 'cine-movie-engine'); ?></a>
            <?php endif; ?>
        </div>
    </div>
</div>