/* CSS Variables for Gaming Theme */
:root {
    --primary-glow: #00ff88;
    --secondary-glow: #ff0080;
    --accent-glow: #0080ff;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-glow: 0 0 20px rgba(0, 255, 136, 0.5);
    --text-glow: 0 0 10px rgba(0, 255, 136, 0.8);
    --box-glow: 0 0 30px rgba(0, 255, 136, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-glow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc6a;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .glow-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
    animation: pulse 2s infinite;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-glow);
    transition: width 0.3s ease;
    box-shadow: var(--text-glow);
}

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

.nav-link:hover {
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 50px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.typing-text {
    display: block;
    color: var(--text-secondary);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.name-glow {
    display: block;
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-glow);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.glow-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.glow-btn.primary {
    background: linear-gradient(45deg, var(--primary-glow), #00cc6a);
    color: var(--dark-bg);
    box-shadow: var(--box-glow);
}

.glow-btn.secondary {
    background: transparent;
    color: var(--primary-glow);
    border: 2px solid var(--primary-glow);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.glow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.4);
}

.glow-btn.primary:hover {
    background: linear-gradient(45deg, #00cc6a, var(--primary-glow));
}

.glow-btn.secondary:hover {
    background: var(--primary-glow);
    color: var(--dark-bg);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow), var(--accent-glow));
    border-radius: 15px;
    z-index: -1;
    opacity: 0.3;
    animation: rotate 3s linear infinite;
}

.code-snippet {
    font-family: 'Orbitron', monospace;
    color: var(--primary-glow);
}

.code-line {
    display: block;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(0, 255, 136, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-glow);
    border-bottom: 2px solid var(--primary-glow);
    transform: rotate(45deg);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-glow), transparent);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
    box-shadow: var(--box-glow);
}

.stat-number {
    display: block;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.image-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: rotate 4s linear infinite;
}

.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: var(--card-bg);
    border: 2px solid var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-glow);
    text-shadow: var(--text-glow);
    box-shadow: var(--box-glow);
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: var(--primary-glow);
    box-shadow: var(--box-glow);
}

.category-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: var(--primary-glow);
    margin-bottom: 1.5rem;
    text-shadow: var(--text-glow);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-glow), var(--secondary-glow));
    border-radius: 4px;
    transition: width 1.5s ease;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-glow);
    box-shadow: var(--box-glow);
}

.project-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-glow), var(--secondary-glow));
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    padding: 8px 20px;
    background: var(--primary-glow);
    color: var(--dark-bg);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--secondary-glow);
    transform: scale(1.1);
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--primary-glow);
    margin-bottom: 1rem;
    text-shadow: var(--text-glow);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 4px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid var(--primary-glow);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--primary-glow);
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-glow);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-glow);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--box-glow);
    z-index: 1;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--primary-glow);
    box-shadow: var(--box-glow);
}

.timeline-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    color: var(--primary-glow);
    margin-bottom: 0.5rem;
    text-shadow: var(--text-glow);
}

.timeline-company {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-period {
    color: var(--secondary-glow);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-glow);
    box-shadow: var(--box-glow);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 50%;
    border: 1px solid var(--primary-glow);
}

.contact-details h3 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-glow);
    margin-bottom: 0.5rem;
    text-shadow: var(--text-glow);
}

.contact-details p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--primary-glow);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-link:hover {
    text-shadow: var(--text-glow);
    transform: scale(1.1);
}

/* Animations */
@keyframes glow {
    0% { text-shadow: 0 0 10px rgba(0, 255, 136, 0.8); }
    100% { text-shadow: 0 0 20px rgba(0, 255, 136, 1), 0 0 30px rgba(0, 255, 136, 0.8); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
    100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.8); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .typing-text {
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        text-align: left;
        padding-left: 1rem;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .glow-btn {
        width: 100%;
        max-width: 250px;
    }
} 