/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,700;1,700&family=Permanent+Marker&family=Righteous&display=swap');

:root {
    --primary: #00f2ff;
    --secondary: #0048ff;
    --accent: #ffee00;
    --deep-bg: #000214;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #e0faff;

    --font-heading: 'Permanent Marker', cursive;
    --font-sub: 'Righteous', cursive;
    --font-body: 'Comic Neue', cursive;
}

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

body {
    background-color: var(--deep-bg);
    background-image: url('bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* Overlay for depth effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 10, 40, 0.6) 50%,
            rgba(0, 5, 20, 0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

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

.particle {
    position: absolute;
    bottom: -10vh;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: rise linear infinite;
}

@keyframes rise {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-120vh) scale(2);
        opacity: 0;
    }
}

/* Typography & Layout */
section {
    position: relative;
    z-index: 2;
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-shadow: 4px 4px 0px #000, 0 0 20px var(--secondary);
    letter-spacing: 2px;
}

p {
    font-size: 1.3rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    perspective: 1000px;
}

.avatar-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin-bottom: 2rem;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 5px solid var(--accent);
    box-shadow: 0 0 50px var(--primary), inset 0 0 20px #000;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    z-index: 1;
    animation: pulse 3s infinite;
}

.hero-title {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
    transform: rotate(-2deg);
}

.hero-subtitle {
    font-family: var(--font-sub);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

/* CA Box */
.ca-container {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
    padding: 20px 40px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.ca-container:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px var(--secondary);
    border-color: var(--accent);
}

.ca-text {
    font-family: monospace;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
}

.copy-feedback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    transform: translateY(100%);
    transition: transform 0.2s;
}

.ca-container.copied .copy-feedback {
    transform: translateY(0);
}

/* Cards & Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px;
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.card h3 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Roadmap specialized styling */
.roadmap-step {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    /* JS reveal */
    transform: translateX(-50px);
    transition: 0.8s;
}

.roadmap-step.visible {
    opacity: 1;
    transform: translateX(0);
}

.step-marker {
    font-size: 4rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.1);
    margin-right: 30px;
    text-align: right;
    min-width: 100px;
}

.step-content {
    border-left: 4px solid var(--primary);
    padding-left: 30px;
    background: linear-gradient(90deg, rgba(0, 242, 255, 0.05) 0%, transparent 100%);
    padding: 20px;
    border-radius: 0 20px 20px 0;
}

/* Button */
.social-btn-mega {
    display: inline-block;
    background: #fff;
    color: #000;
    font-family: var(--font-heading);
    font-size: 2rem;
    padding: 20px 60px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 10px 10px 0 #000;
    transition: all 0.2s;
    margin-top: 40px;
    border: 4px solid #000;
}

.social-btn-mega:hover {
    background: var(--accent);
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 #000;
}

.social-btn-mega:active {
    transform: translate(5px, 5px);
    box-shadow: 5px 5px 0 #000;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .ca-text {
        font-size: 0.9rem;
    }

    .card {
        padding: 25px;
    }
}