@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d2691e;
    --rust-orange: #cd853f;
    --rust-dark: #8b4513;
    --rust-red: #a0522d;
    --rust-brown: #654321;
    --rust-metal: #3d3d3d;
    --accent-color: #ff8c42;
    --text-color: #f4e4bc;
    --text-secondary: #d4a574;
    --card-bg: rgba(45, 35, 25, 0.85);
    --card-hover: rgba(65, 45, 30, 0.95);
    --border-color: #5c4033;
    --rust-glow: rgba(210, 105, 30, 0.4);
}

body {
    font-family: 'Rajdhani', 'Segoe UI', sans-serif;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 69, 19, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(160, 82, 45, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #1a1612 0%, #2d2419 25%, #1f1a15 50%, #2d2419 75%, #1a1612 100%);
    background-attachment: fixed;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(139, 69, 19, 0.03) 2px,
            rgba(139, 69, 19, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(101, 67, 33, 0.03) 2px,
            rgba(101, 67, 33, 0.03) 4px
        );
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Logo Container */
.logo-container {
    text-align: center;
    padding: 30px 20px 20px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.logo-img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 50%;
    border: 3px solid var(--rust-orange);
    box-shadow: 
        0 0 25px var(--rust-glow),
        inset 0 0 20px rgba(139, 69, 19, 0.3);
    transition: all 0.4s ease;
    background: rgba(45, 35, 25, 0.5);
    padding: 5px;
    filter: contrast(1.1) brightness(0.95) sepia(0.1);
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 0 35px var(--rust-glow),
        inset 0 0 25px rgba(139, 69, 19, 0.5);
    border-color: var(--accent-color);
    filter: contrast(1.2) brightness(1) sepia(0.15);
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
}

.profile-section {
    animation: fadeInDown 0.8s ease-out;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--rust-orange);
    box-shadow: 
        0 0 20px var(--rust-glow),
        inset 0 0 20px rgba(139, 69, 19, 0.3);
    transition: transform 0.3s ease;
    position: relative;
}

.profile-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--rust-orange), var(--rust-red), var(--rust-dark));
    z-index: -1;
    opacity: 0.6;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px var(--rust-glow),
        inset 0 0 20px rgba(139, 69, 19, 0.5);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.95);
}

.streamer-name {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--rust-orange), var(--accent-color), var(--rust-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px var(--rust-glow);
    letter-spacing: 2px;
}

.streamer-bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Sections */
.section {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--rust-orange), transparent);
    border-radius: 2px;
}

.section-title i {
    color: var(--rust-orange);
    filter: drop-shadow(0 0 5px var(--rust-glow));
}

/* Redes Sociales */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.social-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-color);
    display: block;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(210, 105, 30, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-card:hover::before {
    left: 100%;
}

.social-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px var(--rust-glow),
        inset 0 0 20px rgba(139, 69, 19, 0.2);
    border-color: var(--rust-orange);
}

.social-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.social-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.social-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Setup */
.setup-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.setup-category {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.setup-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.setup-category:hover::after {
    opacity: 1;
}

.setup-category:hover {
    background: var(--card-hover);
    border-color: var(--rust-orange);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 20px var(--rust-glow),
        inset 0 0 20px rgba(139, 69, 19, 0.2);
}

.setup-category h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--rust-orange);
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.setup-category h3 i {
    filter: drop-shadow(0 0 5px var(--rust-glow));
}

.setup-list {
    list-style: none;
}

.setup-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(92, 64, 51, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.setup-item:hover {
    padding-left: 5px;
    border-left: 2px solid var(--rust-orange);
}

.setup-item:last-child {
    border-bottom: none;
}

.setup-item-name {
    font-weight: 500;
    color: var(--text-color);
}

.setup-item-spec {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Configuración de Juegos */
.games-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.game-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.5);
    position: relative;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rust-dark), var(--rust-orange), var(--rust-dark));
    opacity: 0.6;
}

.game-card:hover {
    background: var(--card-hover);
    border-color: var(--rust-orange);
    transform: translateY(-5px);
    box-shadow: 
        0 10px 30px var(--rust-glow),
        inset 0 0 30px rgba(139, 69, 19, 0.2);
}

.game-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--rust-orange);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--rust-glow);
}

.game-title i {
    filter: drop-shadow(0 0 5px var(--rust-glow));
}

.game-config {
    margin-bottom: 15px;
    padding: 8px 0;
    border-left: 2px solid transparent;
    padding-left: 10px;
    transition: all 0.2s ease;
}

.game-config:hover {
    border-left-color: var(--rust-orange);
    padding-left: 15px;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 4px;
}

.game-config-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    display: block;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.game-config-value {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: 10px;
    font-weight: 500;
}

/* Secciones de configuración */
.config-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.config-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.config-section-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.config-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--rust-orange);
    border-radius: 1px;
}

.config-section-title i {
    color: var(--rust-orange);
    filter: drop-shadow(0 0 3px var(--rust-glow));
}

.copy-hint {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: normal;
    font-style: italic;
    margin-left: auto;
}

/* Bindeos */
.bindeos-section {
    margin-top: 20px;
}

.bind-item {
    background: rgba(139, 69, 19, 0.15);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.4);
}

.bind-item:hover {
    background: rgba(139, 69, 19, 0.25);
    border-color: var(--rust-orange);
    transform: translateX(5px);
    box-shadow: 
        0 4px 12px var(--rust-glow),
        inset 0 0 10px rgba(139, 69, 19, 0.2);
}

.bind-item:active {
    transform: translateX(3px) scale(0.98);
}

.bind-item.copied {
    background: rgba(210, 105, 30, 0.3);
    border-color: var(--accent-color);
    animation: copiedPulse 0.5s ease;
}

@keyframes copiedPulse {
    0% {
        box-shadow: 0 0 0 0 var(--rust-glow);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(210, 105, 30, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(210, 105, 30, 0);
    }
}

.bind-key {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 80px;
}

.bind-key i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.key-name {
    background: linear-gradient(135deg, var(--rust-orange), var(--rust-red));
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    box-shadow: 
        0 2px 8px rgba(139, 69, 19, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bind-info {
    flex: 1;
}

.bind-command {
    display: block;
    background: rgba(0, 0, 0, 0.5);
    color: var(--accent-color);
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    margin-bottom: 8px;
    border-left: 3px solid var(--rust-orange);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.bind-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.bind-copy-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-secondary);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.bind-item:hover .bind-copy-icon {
    opacity: 1;
    color: var(--rust-orange);
    filter: drop-shadow(0 0 3px var(--rust-glow));
}

.bind-item.copied .bind-key .key-name {
    background: linear-gradient(135deg, var(--accent-color), var(--rust-orange));
    animation: none;
    box-shadow: 
        0 2px 8px rgba(255, 140, 66, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bind-item.copied .bind-key i {
    color: var(--accent-color);
    filter: drop-shadow(0 0 5px var(--rust-glow));
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
    border-top: 2px solid var(--border-color);
    margin-top: 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rust-orange), transparent);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .streamer-name {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .social-grid,
    .setup-container {
        grid-template-columns: 1fr;
    }
    
    .bind-item {
        flex-direction: column;
        align-items: stretch;
    }
    
    .bind-key {
        flex-direction: row;
        justify-content: center;
        min-width: auto;
    }
    
    .game-card {
        padding: 20px;
    }
}
