@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --primary: #00f2ff;
    --secondary: #7000ff;
    --accent: #ff00c8;
    --bg-dark: #020205;
    --card-bg: rgba(10, 10, 15, 0.85);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --neon-glow: 0 0 30px rgba(0, 242, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    user-select: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,10%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,10%,1) 0, transparent 50%);
}

/* Abstract Background Shapes */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: pulse 10s infinite alternate;
}

.circle-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    opacity: 0.15;
}

.circle-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -150px;
    right: -100px;
    opacity: 0.15;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    100% { transform: scale(1.3); opacity: 0.3; }
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle 10s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* Light Streaks */
.streak {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    width: 200px;
    opacity: 0.2;
    animation: moveStreak 8s infinite linear;
}

@keyframes moveStreak {
    0% { left: -200px; top: 10%; transform: rotate(45deg); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 120%; top: 90%; transform: rotate(45deg); opacity: 0; }
}

/* Master Card */
.portfolio-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: var(--card-bg);
    backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 36px;
    padding: 3rem 2.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Card Shine Effect */
.portfolio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}

.portfolio-card:hover::before {
    left: 150%;
}

/* Profile Section */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.pfp-ring {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3px;
    margin-bottom: 1.5rem;
    box-shadow: var(--neon-glow);
    transform: rotate(-3deg);
    transition: all 0.5s ease;
}

.pfp-ring:hover {
    transform: rotate(0) scale(1.05);
}

.pfp {
    width: 100%;
    height: 100%;
    border-radius: 37px;
    object-fit: cover;
    background: var(--bg-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 0.2rem;
    background: linear-gradient(to right, #fff, var(--text-gray));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

/* Skill Grid */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.skill-pill {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    transition: 0.3s;
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Info Box */
.notice-box {
    background: rgba(112, 0, 255, 0.05);
    border-left: 4px solid var(--secondary);
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: left;
}

.notice-box p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-gray);
}

.notice-box b {
    color: var(--primary);
}

/* Action Inputs/Buttons */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.field {
    text-align: left;
}

.field-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.copy-column {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 0.5rem;
    transition: 0.3s;
}

.copy-column:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
}

.copy-column input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    padding: 0.5rem 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    pointer-events: none;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    mask-image: linear-gradient(to right, black 90%, transparent 100%);
}

.copy-btn {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-btn:hover {
    transform: scale(1.05);
    background: #fff;
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Custom Alert */
.alert-popup {
    position: fixed;
    top: 30px;
    right: 30px;
    background: var(--primary);
    color: #000;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
    transform: translateY(-100px);
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1000;
}

.alert-popup.active {
    transform: translateY(0);
}

/* Animations Scroll Reveal */
.reveal {
    animation: revealAnim 1s ease forwards;
}

@keyframes revealAnim {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .portfolio-card {
        padding: 2.5rem 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
}
