/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-purple: #6638ab;
    --accent-purple-light: #87799c;
    --accent-gray: #c0c0c0;
    /*--text-light: #87799c;*/
    --text-light: white;
    --text-dim: #666666;
    --border-glow: #6638ab;
    --shadow-deep: rgba(0, 0, 0, 0.8);
}

body {
    font-family: 'Cinzel', serif;
    background: var(--primary-dark);
    color: var(--text-light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Background animations */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;    background: linear-gradient(45deg, #000000, #1a1a2a, #000000, #2a2a3a);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.metal-particles {
    position: absolute;
    width: 100%;
    height: 100%;    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--accent-purple-light), transparent),
        radial-gradient(2px 2px at 40px 70px, var(--accent-gray), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--accent-purple), transparent),
        radial-gradient(1px 1px at 130px 80px, var(--accent-purple-light), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 30s linear infinite;
    opacity: 0.1;
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100vh) translateX(50px); }
}

.lightning {
    position: absolute;
    width: 100%;
    height: 100%;    background: 
        linear-gradient(90deg, transparent 45%, rgba(102, 56, 171, 0.1) 50%, transparent 55%),
        linear-gradient(45deg, transparent 30%, rgba(135, 121, 156, 0.05) 50%, transparent 70%);
    animation: lightningFlash 8s ease-in-out infinite;
}

@keyframes lightningFlash {
    0%, 90%, 100% { opacity: 0; }
    5%, 10% { opacity: 1; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(26, 0, 0, 0.8) 0%, transparent 100%);
}

.site-title {
    font-family: 'Metal Mania', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-shadow: 
        0 0 10px var(--accent-purple),
        0 0 20px var(--accent-purple),
        0 0 30px var(--accent-purple);
    margin-bottom: 10px;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { 
        text-shadow: 
            0 0 10px var(--accent-purple),
            0 0 20px var(--accent-purple),
            0 0 30px var(--accent-purple);
    }
    to { 
        text-shadow: 
            0 0 15px var(--accent-purple),
            0 0 25px var(--accent-purple),
            0 0 35px var(--accent-purple),
            0 0 45px var(--accent-purple);
    }
}

.title-main {
    color: var(--text-light);
}

.title-sub {
    color: var(--accent-purple);
    display: block;
    font-size: 0.6em;
    margin-top: -10px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-dim);
    font-style: italic;
    text-shadow: 0 2px 4px var(--shadow-deep);
}

/* Main content */
.main-content {
    padding: 40px 0;
}

/* Hero section */
.hero-section {
    margin-bottom: 80px;
}

.profile-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: linear-gradient(135deg, var(--secondary-dark), rgba(26, 26, 26, 0.8));
    border: 2px solid var(--accent-purple);
    border-radius: 5px;
    padding: 40px;
    box-shadow: 
        0 10px 30px var(--shadow-deep),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--accent-purple), var(--accent-gray), var(--accent-purple));
    border-radius: 5px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.profile-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 50%;    border: 4px solid var(--accent-purple-light);
    box-shadow: 
        0 0 20px var(--accent-purple),
        0 10px 20px var(--shadow-deep);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);    box-shadow: 
        0 0 30px var(--accent-purple),
        0 15px 30px var(--shadow-deep);
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.3;
    animation: imageGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes imageGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px var(--shadow-deep);
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
}

.metal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: linear-gradient(135deg, var(--accent-purple), #4a2a70);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px var(--shadow-deep);
    box-shadow: 0 4px 8px rgba(102, 56, 171, 0.3);
    transition: transform 0.2s ease;
}

.badge:hover {
    transform: translateY(-2px);
}

/* Dark links section */
.dark-links-section {
    margin-bottom: 80px;
    text-align: center;
}

.dark-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    text-shadow: 0 2px 4px var(--shadow-deep);
}

.dark-link {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 600;
    text-shadow: 0 0 10px var(--accent-purple);
    transition: all 0.3s ease;
    position: relative;
}

.dark-link:hover {
    color: var(--accent-purple-light);
    text-shadow: 
        0 0 15px var(--accent-purple-light),
        0 0 25px var(--accent-purple-light);
    transform: translateY(-1px);
}

.dark-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.dark-link:hover::after {
    width: 100%;
    background: var(--accent-purple-light);
}

/* Games section */
.games-section {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Metal Mania', cursive;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;    text-shadow: 
        0 0 10px var(--accent-purple),
        0 0 20px var(--accent-purple),
        0 0 30px var(--accent-purple);
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

.section-title .title-main {
    color: var(--text-light);
}

.section-title .title-sub {
    color: var(--accent-purple);
    display: block;
    font-size: 0.6em;
    margin-top: -10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
}

.game-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    background: linear-gradient(135deg, var(--secondary-dark), rgba(26, 26, 26, 0.8));
    border: 1px solid var(--accent-purple);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-deep);
}

.game-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;    background: linear-gradient(135deg, var(--accent-purple), #4a2a70);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(102, 56, 171, 0.4);
}

.game-symbol {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px var(--shadow-deep));
}

.game-title {
    font-size: 1.8rem;
    color: var(--accent-purple-light);
    margin-bottom: 15px;
    text-shadow: 0 1px 2px var(--shadow-deep);
}

.game-description {
    margin-bottom: 25px;
    line-height: 1.7;
}

.game-button {
    display: inline-block;
    position: relative;    background: linear-gradient(135deg, var(--accent-purple), #4a2a70);
    color: var(--text-light);
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(102, 56, 171, 0.3);
}

.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 56, 171, 0.5);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.game-button:hover .button-glow {
    left: 100%;
}

/* Quotes section */
.quotes-section {
    text-align: center;
    margin-bottom: 40px;
}

.metal-quote {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.9));
    border-left: 4px solid var(--accent-purple-light);
    padding: 40px;
    border-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.metal-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.metal-quote cite {
    color: var(--accent-purple-light);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer */
.footer {    background: linear-gradient(180deg, transparent 0%, rgba(26, 0, 26, 0.8) 100%);
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid var(--accent-purple);
}

.social-links {
    margin-top: 20px;
}

.metal-symbol {
    font-size: 1.5rem;
    letter-spacing: 10px;
    animation: symbolPulse 2s ease-in-out infinite;
}

@keyframes symbolPulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Responsive design */
@media (max-width: 768px) {
    .profile-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }
    
    .game-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0 30px;
    }
    
    .metal-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .profile-name {
        font-size: 1.8rem;
    }
    
    .game-title {
        font-size: 1.5rem;
    }
    
    .profile-description {
        font-size: 1rem;
    }
    
    .metal-quote blockquote {
        font-size: 1.1rem;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-purple);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-purple-light);
}
