<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Access Denied</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Optional: Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">

    <style>
        body {
            margin: 0;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #1d2671, #c33764);
            font-family: Arial, sans-serif;
            color: #fff;
        }

        .card {
            background: rgba(0,0,0,0.35);
            padding: 40px;
            border-radius: 12px;
            text-align: center;
            max-width: 420px;
            width: 90%;
            box-shadow: 0 20px 40px rgba(0,0,0,.3);
        }

        .card i {
            font-size: 60px;
            margin-bottom: 20px;
            color: #ffb703;
        }

        .card h1 {
            margin: 0 0 10px;
            font-size: 28px;
        }

        .card p {
            font-size: 15px;
            opacity: 0.9;
        }

        .btn {
            display: inline-block;
            margin-top: 25px;
            padding: 12px 25px;
            background: #ffb703;
            color: #000;
            text-decoration: none;
            border-radius: 6px;
            font-weight: bold;
            transition: 0.3s;
        }

        .btn:hover {
            background: #ffd166;
        }
    </style>
</head>
<body>

<div class="card">
    <i class="fas fa-lock"></i>
    <h1>Access Denied</h1>
    <p>You don’t have permission to view this page.</p>

    <a href="home" class="btn">
        <i class="fas fa-arrow-left"></i> Go Back
    </a>
</div>

</body>
</html>
