/* ============================================
   KISHO.ME - PORTFOLIO STYLESHEET
   Version: 2.0.0 - Hub Style Redesign
   ============================================ */

/* ============================================
   RESET & ROOT VARIABLES
   ============================================ */

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

:root {
    /* Background Colors - Hub Style */
    --bg-primary: #0c0c0c;
    --bg-secondary: #161616;
    
    /* Accent Colors - Hub Palette */
    --accent-purple: #784ba0;
    --accent-pink: #ff3cac;
    --accent-cyan: #00f2fe;
    --accent: #784ba0;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    
    /* UI Elements */
    --card-bg: rgba(22, 22, 22, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ============================================
   HTML & BODY
   ============================================ */

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

/* ============================================
   ANIMATED BACKGROUND - Hub Style
   ============================================ */

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

/* Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift));
        opacity: 0;
    }
}

/* Grid Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

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

/* Mouse Glow */
.bg-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(120, 75, 160, 0.08), transparent 60%);
    transition: opacity 0.3s ease;
}

/* ============================================
   GLOBAL CONTAINERS & SECTIONS
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

/* ============================================
   LOGO
   ============================================ */

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-name {
    background: linear-gradient(90deg, #fff 20%, #aaa 50%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.logo a {
    color: inherit;
    text-decoration: none;
}

.logo-bracket {
    color: rgba(120, 75, 160, 0.6);
    font-weight: 400;
}

/* ============================================
   NAVBAR - Hub Style
   ============================================ */

nav {
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-purple);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-purple);
    transition: 0.3s;
}

/* ============================================
   HERO SECTION - Hub Style
   ============================================ */

.hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 10rem 0 2rem;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff 20%, #aaa 50%, #fff 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    letter-spacing: 3px;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

/* Hero Avatar */
.hero-avatar-container {
    width: 260px;
    height: 260px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.hero-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 30px rgba(120, 75, 160, 0.4);
    transition: all 0.3s;
}

.hero-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(120, 75, 160, 0.6);
}

.hero-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    font-weight: 900;
    color: white;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 30px rgba(120, 75, 160, 0.4);
    font-family: 'Orbitron', sans-serif;
}

/* CTA Buttons - Glassmorphism */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.2,.9,.2,1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn i {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(5px);
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
    color: white;
    box-shadow: 0 8px 24px rgba(120, 75, 160, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(120, 75, 160, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px) saturate(180%);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.glow-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.glow-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid rgba(120, 75, 160, 0.3);
    font-size: 1.4rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.glow-icon:hover {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(120, 75, 160, 0.5);
    border-color: var(--accent-purple);
}

/* ============================================
   SPACER
   ============================================ */

.spacer {
    position: relative;
    z-index: 2;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spacer::before {
    content: '';
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: spacerPulse 3s ease-in-out infinite;
}

@keyframes spacerPulse {
    0%, 100% { opacity: 0.4; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    letter-spacing: 2px;
}

.title-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(120, 75, 160, 0.5), transparent);
}

/* ============================================
   CARDS SYSTEM - Hub Style
   ============================================ */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(.2,.9,.2,1);
    border: 2px solid #222;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-card-x, 50%) var(--mouse-card-y, 50%), rgba(120, 75, 160, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

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

.card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(120, 75, 160, 0.3);
}

.card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

/* Logo Container */
.game-logo-container {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(120, 75, 160, 0.2);
    transition: all 0.3s;
}

.card:hover .game-logo-container {
    border-color: var(--accent-purple);
    box-shadow: 0 0 20px rgba(120, 75, 160, 0.4);
}

.game-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.game-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

/* Stats */
.stat-item {
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(120, 75, 160, 0.2);
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(120, 75, 160, 0.1);
    border-color: var(--accent-purple);
}

.stat-value {
    color: var(--accent-purple);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.stat-value i {
    font-size: 1rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Tags System */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.tag {
    background: rgba(120, 75, 160, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid rgba(120, 75, 160, 0.3);
    transition: all 0.3s;
    font-weight: 500;
}

.tag:hover {
    background: rgba(120, 75, 160, 0.25);
    box-shadow: 0 0 15px rgba(120, 75, 160, 0.4);
}

.tag i {
    font-size: 0.9rem;
}

.tag a {
    color: inherit;
    text-decoration: none;
}

/* Tag Types */
.tag.guild-tag {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
    color: #a78bfa;
}

.tag.guild-tag:hover {
    background: rgba(147, 51, 234, 0.25);
}

.tag.primary-tag {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.tag.primary-tag:hover {
    background: rgba(34, 197, 94, 0.25);
}

.tag.secondary-tag {
    background: rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
    color: #fdba74;
}

.tag.secondary-tag:hover {
    background: rgba(249, 115, 22, 0.25);
}

.tag.build-tag {
    background: rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.3);
    color: var(--accent-cyan);
}

.tag.build-tag:hover {
    background: rgba(0, 242, 254, 0.25);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.projects-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.projects-category {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.projects-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
    font-style: italic;
}

.projects-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   GAMES SECTION
   ============================================ */

.game-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.game-genre {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.game-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.game-server {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    background: rgba(120, 75, 160, 0.15);
    border: 1px solid rgba(120, 75, 160, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-server i {
    font-size: 0.85rem;
}

.game-nickname {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #86efac;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-nickname i {
    font-size: 0.85rem;
}

.game-guild {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.7rem;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-guild i {
    font-size: 0.85rem;
}

.game-nickname,
.game-guild {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.game-nickname:hover,
.game-guild:hover {
    opacity: 0.7;
}

.game-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
    filter: drop-shadow(0 0 20px rgba(120, 75, 160, 0.5));
}

.empty-icon i {
    font-size: 5rem;
}

.floating {
    animation: floatAnim 3s ease-in-out infinite;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-state h3 {
    color: var(--accent-purple);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.empty-state p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 2px solid #222;
    transition: all 0.4s cubic-bezier(.2,.9,.2,1);
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(120, 75, 160, 0.3);
    border-color: var(--accent-purple);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all 0.3s;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.contact-link {
    display: inline-block;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(120, 75, 160, 0.2);
    transition: all 0.3s;
    margin: 0 0 1rem 0;
}

.contact-link:hover {
    background: rgba(120, 75, 160, 0.3);
    transform: scale(1.05);
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid rgba(120, 75, 160, 0.2);
    margin-top: 0.5rem;
}

.contact-badge i {
    color: var(--accent-purple);
    font-size: 0.8rem;
}

.contact-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(120, 75, 160, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(120, 75, 160, 0.2);
    margin-bottom: 3rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    animation: pulse-status 2s ease-in-out infinite;
}

.status-available {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.status-busy {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.status-away {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

@keyframes pulse-status {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.contact-status p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: rgba(22, 22, 22, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    margin-top: 0.8rem;
    font-size: 0.95rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-purple));
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(120, 75, 160, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(120, 75, 160, 0.5);
}

/* ============================================
   RESPONSIVE - TABLET (768px)
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    nav {
        position: fixed;
        width: 100%;
        height: 60px;
        z-index: 1000;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        width: 75%;
        height: calc(100vh - 60px);
        background: rgba(22, 22, 22, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transform: translateX(100%);
        transition: transform 0.35s ease-in-out;
        border-left: 1px solid rgba(120, 75, 160, 0.3);
        z-index: 1500;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 2000;
    }

    .hero h1 {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-description {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }

    .hero-avatar-container {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
        gap: 1rem;
    }

    .title-line {
        width: 40px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .game-stats,
    .projects-stats {
        gap: 0.8rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .game-logo-container {
        width: 60px;
        height: 60px;
    }

    .tags {
        gap: 0.5rem;
    }

    .tag {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .empty-state {
        padding: 3rem 1rem;
    }

    .empty-icon,
    .empty-icon i {
        font-size: 3rem;
    }

    .empty-state h3 {
        font-size: 1.4rem;
    }

    .empty-state p {
        font-size: 0.95rem;
    }

    .contact-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .section-title {
        font-size: 1.5rem;
        gap: 0.5rem;
    }

    .title-line {
        width: 30px;
    }
}

/* ============================================
   END OF STYLESHEET
   ============================================ */