:root {
    --saffron: #FF9933;
    --saffron-dark: #E68A2E;
    --dark: #121212;
    --light: #ffffff;
    --gray: #757575;
    --radius: 20px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #FFFAF5;
    color: var(--dark);
    overflow-x: hidden;
}

/* Main Container - Full Screen */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--saffron) 0%, #FF5722 100%);
    clip-path: ellipse(150% 100% at 50% 0%);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 87, 34, 0.15) 0%, transparent 50%);
    animation: gradientPulse 8s ease-in-out infinite;
}

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

.floating-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.orb1 {
    top: 10%;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
}

.orb2 {
    bottom: 15%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    animation: fadeIn 0.8s ease-out;
}

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

/* Header */
.header {
    text-align: center;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.1em;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.8rem;
    background: white;
    color: var(--dark);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn i {
    font-size: 1.3rem;
}

.social-btn.portfolio {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    color: white;
    box-shadow: 0 6px 25px rgba(255, 153, 51, 0.4);
}

.social-btn.github {
    background: #24292e;
    color: white;
    width: 50px;
    height: 50px;
    padding: 0;
    box-shadow: 0 6px 25px rgba(36, 41, 46, 0.4);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    width: 50px;
    height: 50px;
    padding: 0;
    box-shadow: 0 6px 25px rgba(131, 58, 180, 0.4);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
}

/* Projects */
.projects-container {
    text-align: center;
    animation: slideUp 0.8s ease-out 0.2s both;
}

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

.projects-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2.5rem;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.projects-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

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

.project-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-decoration: none;
    color: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--saffron) 0%, #FF5722 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

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

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 153, 51, 0.3);
    border-color: rgba(255, 153, 51, 0.3);
}

.project-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.4);
}

.project-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    position: relative;
    z-index: 1;
}

.project-arrow {
    color: var(--saffron);
    font-size: 1.2rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.project-card:hover .project-arrow {
    transform: translateX(8px);
    color: #FF5722;
}

/* Footer */
.footer {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.8s ease-out 0.4s both;
}

/* Responsive */
@media (max-width: 1024px) {
    .main-title {
        font-size: 3.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        min-height: auto;
    }
    
    .content-wrapper {
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .projects-title {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .social-btn.portfolio span {
        display: none;
    }
    
    .social-btn.portfolio {
        width: 50px;
        height: 50px;
        padding: 0;
    }
}

@media (max-width: 576px) {
    .content-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .main-title {
        font-size: 2.2rem;
    }
    
    .projects-title {
        font-size: 1.5rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-icon {
        width: 70px;
        height: 70px;
    }
    
    .project-name {
        font-size: 1.2rem;
    }
}
