/* Dark Theme with AI/Tech aesthetic */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #252525;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-primary: #00d4ff;
    --accent-secondary: #ff00ff;
    --accent-tertiary: #00ff88;
    --gradient-1: linear-gradient(45deg, #00d4ff, #ff00ff);
    --gradient-2: linear-gradient(135deg, #00ff88, #00d4ff);
    --gradient-3: linear-gradient(90deg, #ff00ff, #00ff88);
    --border-glow: 0 0 20px rgba(0, 212, 255, 0.5);
}

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

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Roboto Mono', 'Courier New', monospace;
    overflow-x: hidden;
    position: relative;
}

/* Animated background bubbles */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3), transparent);
    backdrop-filter: blur(5px);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
    }
    10% {
        transform: translateY(90vh) scale(1);
    }
    90% {
        transform: translateY(-10vh) scale(1);
    }
}

/* Animated border lighting */
.glow-border {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 9999;
}

.glow-border::before,
.glow-border::after {
    content: '';
    position: absolute;
    background: var(--gradient-1);
    animation: borderGlow 3s linear infinite;
}

.glow-border::before {
    top: 0;
    left: 0;
    right: 0;
    height: 4px; /* thicker */
}

.glow-border::after {
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px; /* thicker */
}

.glow-border-left,
.glow-border-right {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 4px; /* thicker */
    pointer-events: none;
    z-index: 9999;
}

.glow-border-left {
    left: 0;
    background: var(--gradient-2);
    animation: borderGlow 3s linear infinite;
    animation-delay: 1.5s;
}

.glow-border-right {
    right: 0;
    background: var(--gradient-3);
    animation: borderGlow 3s linear infinite;
    animation-delay: 0.75s;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
        filter: blur(2px);
    }
    50% {
        opacity: 1;
        filter: blur(4px) drop-shadow(0 0 20px currentColor);
    }
}

/* Typewriter effect */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    animation: typing 3.5s steps(40, end);
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--accent-primary);
    animation: blink 1s infinite;
    margin-left: 2px;
    vertical-align: text-bottom;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 50% { opacity: 1 }
    51%, 100% { opacity: 0 }
}

/* Main container styling */
.main-container {
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Button styling */
.btn {
    padding: 1rem 2rem;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--accent-primary);
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--bg-primary);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

/* Card styling */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    padding: 2rem;
    margin: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

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

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--bg-tertiary);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Navigation */
.nav {
    background: var(--bg-secondary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--bg-tertiary);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-primary);
}

/* Admin Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-tile {
    background: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.dashboard-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.dashboard-tile:hover::before {
    opacity: 0.1;
}

.dashboard-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.dashboard-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.dashboard-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.dashboard-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
