/* assets/css/style.css - Exact Gaming Theme Match */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at center, #001122 0%, #000000 100%);
    color: #00ccff;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 204, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 204, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: grid-move 10s linear infinite;
    pointer-events: none;
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.pulse-effect {
    position: fixed;
    width: 100px;
    height: 100px;
    border: 2px solid #00ccff;
    border-radius: 50%;
    animation: pulse 2s infinite;
    pointer-events: none;
    transition: all 0.5s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pulse-1 { top: 10%; left: 5%; animation-delay: 0s; }
.pulse-2 { top: 70%; right: 10%; animation-delay: 1s; }

.header {
    text-align: center;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
    margin-bottom: 0.5rem;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.8;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.1), rgba(0, 255, 255, 0.05));
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff, #0080ff);
    background-size: 300% 300%;
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    animation: border-glow 2s linear infinite;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 204, 255, 0.3);
}

@keyframes border-glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00ffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
}

.play-button {
    background: linear-gradient(45deg, #0080ff, #00ffff);
    border: none;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.play-button:hover::before {
    left: 100%;
}

.play-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.stats-panel {
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid #00ccff;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #00ffff;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Additional styles for blog elements */
nav {
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid #00ccff;
    border-radius: 10px;
    padding: 1rem;
    margin: 2rem auto;
    max-width: 600px;
    backdrop-filter: blur(10px);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #00ccff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: #00ccff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 8px;
    color: #00ccff;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

/* Login Container */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    background: linear-gradient(135deg, rgba(0, 128, 255, 0.1), rgba(0, 255, 255, 0.05));
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #0080ff, #00ffff, #0080ff);
    background-size: 300% 300%;
    border-radius: 15px;
    z-index: -1;
    opacity: 1;
    animation: border-glow 2s linear infinite;
}

/* Error and Success Messages */
.error-message {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid #ff006e;
    color: #ff006e;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 8px;
}

.success-message {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    border-radius: 8px;
}

/* Admin Header */
.admin-header {
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid #00ccff;
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
    backdrop-filter: blur(10px);
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.admin-nav a {
    color: #00ccff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.admin-nav a:hover {
    color: #00ffff;
    text-shadow: 0 0 10px #00ffff;
}

@media (max-width: 768px) {
    .logo { font-size: 2.5rem; }
    .main-content { grid-template-columns: 1fr; padding: 1rem; }
}