/* 
    Project: Snowball Hero Profile
    Theme: Dark Futuristic / Cyberpunk Cat
    Colors: Dark Grey/Black Background, Electric Blue Accents
*/

:root {
    --bg-dark: #050505;
    --bg-panel: #111111;
    --accent-blue: #00f3ff;
    --accent-dim: #005f63;
    --text-main: #e0e0e0;
    --text-dim: #888888;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --border-glow: 0 0 10px rgba(0, 243, 255, 0.5);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; /* Grid effect */
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-head);
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 2px;
}

/* Header */
.cyber-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 2px solid var(--accent-blue);
    background: linear-gradient(to bottom, #000, #0a0a0a);
    box-shadow: 0 5px 20px rgba(0, 243, 255, 0.2);
    position: relative;
}

.cyber-header h1 {
    font-size: 4rem;
    text-shadow: 0 0 15px var(--accent-blue);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-dim);
    font-family: var(--font-head);
}

.blink {
    animation: blinker 1.5s linear infinite;
    color: #0f0;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Main Layout - Flexbox */
.main-container {
    display: flex;
    flex-wrap: wrap; /* Responsive wrapping */
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

/* Left Column (Sidebar) */
.profile-column {
    flex: 1 1 300px; /* Grow, shrink, base width */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Right Column (Content) */
.info-column {
    flex: 2 1 600px; /* Takes up roughly 2/3 space */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Profile Picture Placeholder */
.profile-frame {
    border: 2px solid var(--accent-blue);
    padding: 5px;
    background: var(--bg-panel);
    position: relative;
    box-shadow: var(--border-glow);
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%); /* Futuristic corner cut */
}

.profile-pic-placeholder {
    width: 100%;
    height: 350px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-dim);
    font-family: var(--font-head);
    position: relative;
    overflow: hidden;
    background-image: repeating-linear-gradient(
        45deg,
        #050505,
        #050505 10px,
        #080808 10px,
        #080808 20px
    );
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2); /* Slight cybernetic filter */
}

.scanner-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    top: 0;
    left: 0;
    animation: scan 3s infinite linear;
    box-shadow: 0 0 10px var(--accent-blue);
}

@keyframes scan {
    0% { top: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.caption {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--accent-blue);
    font-family: var(--font-head);
}

/* Stats Panel */
.stats-panel {
    background: var(--bg-panel);
    padding: 20px;
    border: 1px solid var(--accent-dim);
    border-left: 4px solid var(--accent-blue);
}

.stat-list {
    list-style: none;
    margin-top: 15px;
}

.stat-list li {
    margin-bottom: 15px;
}

.label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-main);
}

.progress-bar {
    background: #222;
    height: 10px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
}

.fill {
    background: var(--accent-blue);
    height: 100%;
    box-shadow: 0 0 10px var(--accent-blue);
}

/* Data Cards */
.data-card {
    background: var(--bg-panel);
    padding: 25px;
    border: 1px solid var(--accent-dim);
    position: relative;
}

.data-card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent-blue);
    border-right: 2px solid var(--accent-blue);
}

.data-card h2 {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--accent-dim);
    padding-bottom: 5px;
    display: flex;
    align-items: center;
}

.icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Abilities Grid */
.ability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.ability-item {
    background: rgba(0, 243, 255, 0.05);
    padding: 15px;
    border-left: 2px solid var(--accent-blue);
}

.ability-item h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
}

/* Log List */
.log-list {
    list-style: none;
    font-family: 'Courier New', monospace;
    color: var(--text-dim);
}

.log-list li {
    margin-bottom: 8px;
    border-bottom: 1px dashed #333;
    padding-bottom: 8px;
}

.time {
    color: var(--accent-blue);
    font-weight: bold;
}

/* Footer */
.cyber-footer {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border-top: 1px solid var(--accent-dim);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .cyber-header h1 {
        font-size: 3rem;
    }
}
