﻿/* /css/access-denied.css */
/* Version: 1.0.0 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

@keyframes matrix-rain {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #ff4444;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 4s infinite ease-in-out;
    box-shadow: 0 0 10px #ff4444;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) translateX(20px);
    }
}

.gaming-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gaming-card {
    width: 100%;
    max-width: 500px;
    background: rgba(10, 10, 15, 0.95);
    border: 2px solid #ff4444;
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 0 50px rgba(255, 68, 68, 0.5), 0 0 100px rgba(255, 68, 68, 0.3), inset 0 0 100px rgba(255, 68, 68, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

    .gaming-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, #ff4444, #ff0000, #ff4444, #ff0000);
        background-size: 400% 400%;
        border-radius: 16px;
        z-index: -1;
        animation: gradient-shift 8s ease infinite;
        opacity: 0.3;
    }

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.card-header {
    text-align: center;
    margin-bottom: 30px;
}

.error-icon-wrapper {
    margin-bottom: 20px;
}

.error-icon {
    font-size: 4rem;
    display: inline-block;
    animation: pulse-error 2s ease-in-out infinite;
    filter: drop-shadow(0 0 20px #ff4444);
}

@keyframes pulse-error {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.gaming-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
    position: relative;
    transition: transform 0.1s ease;
}

    .gaming-title.error {
        background: linear-gradient(90deg, #ff4444, #ff0000, #ff4444);
        background-size: 200% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradient-text 3s ease infinite;
        text-shadow: 0 0 30px rgba(255, 68, 68, 0.8);
    }

@keyframes gradient-text {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.gaming-title.error::before {
    content: attr(data-text);
    position: absolute;
    left: 2px;
    top: 2px;
    color: #ff0000;
    opacity: 0.5;
    z-index: -1;
    animation: glitch 0.3s infinite;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }

    25% {
        transform: translate(-2px, 2px);
    }

    50% {
        transform: translate(2px, -2px);
    }

    75% {
        transform: translate(-2px, -2px);
    }
}

.gaming-subtitle {
    font-size: 1rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
    color: #ff6666;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3), inset 0 0 20px rgba(255, 68, 68, 0.1);
}

.alert-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

    .alert-content strong {
        display: block;
        font-size: 1.1rem;
        margin-bottom: 5px;
        color: #ff4444;
    }

    .alert-content p {
        margin: 0;
        opacity: 0.9;
        font-size: 0.95rem;
    }

.system-log {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #ff4444;
    border-radius: 4px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.log-line {
    margin: 5px 0;
    color: #aaa;
}

.status-error {
    color: #ff4444;
    font-weight: 700;
}

.status-warning {
    color: #ffaa00;
    font-weight: 700;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-gaming {
    width: 100%;
    padding: 15px 30px;
    border: 2px solid;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
}

    .btn-gaming span {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-gaming::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn-gaming:hover::before {
        width: 300px;
        height: 300px;
    }

    .btn-gaming.primary {
        background: #ff4444;
        border-color: #ff4444;
        color: #000;
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    }

        .btn-gaming.primary:hover {
            background: #ff6666;
            box-shadow: 0 0 30px rgba(255, 68, 68, 0.8);
            transform: translateY(-2px);
        }

    .btn-gaming.secondary {
        background: transparent;
        border-color: #aaa;
        color: #fff;
    }

        .btn-gaming.secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #fff;
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        }

.countdown-wrapper {
    text-align: center;
    padding: 15px;
    background: rgba(255, 68, 68, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.countdown-text {
    font-size: 0.9rem;
    opacity: 0.7;
    display: inline;
    margin: 0 5px;
}

.countdown-timer {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
    animation: countdown-pulse 1s ease-in-out infinite;
    margin: 0 5px;
}

@keyframes countdown-pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@media (max-width: 576px) {
    .gaming-card {
        padding: 30px 20px;
    }

    .gaming-title {
        font-size: 2rem;
    }

    .error-icon {
        font-size: 3rem;
    }

    .btn-gaming {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .alert {
        padding: 12px 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
