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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0f0f23;
    overflow-x: hidden;
}

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

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text {
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a0f 0%, #2d2d1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d4af37;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #b8860b;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFD700;
    font-weight: 600;
}

.icon {
    font-size: 2rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(2deg);
    }
    66% {
        transform: translateY(10px) rotate(-2deg);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 215, 0, 0.6);
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: rgba(255, 215, 0, 0.4);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 215, 0, 0.4);
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    transform: rotate(45deg);
}

@keyframes scroll-bounce {
    0%, 20% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    80%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d2d1a 0%, #3d3d2a 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-card {
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.1);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.about-card p {
    color: #f0e68c;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.expertise-list li {
    color: #daa520;
    position: relative;
    padding-left: 1.5rem;
}

.expertise-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

/* Skills Section */
.skills {
    padding: 6rem 0;
    background: linear-gradient(135deg, #3d3d2a 0%, #1a1a0f 100%);
}

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

.skill-card {
    background: rgba(255, 215, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.8), transparent);
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.5);
    background: rgba(255, 215, 0, 0.1);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.skill-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #f0e68c;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-level {
    background: rgba(255, 215, 0, 0.1);
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    animation: fill-bar 2s ease-out;
}

.java-bar { width: 85%; }
.javascript-bar { width: 90%; }
.html-bar { width: 95%; }
.python-bar { width: 75%; }

@keyframes fill-bar {
    0% { width: 0; }
}

/* Experience Section */
.experience {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a1a0f 0%, #2d2d1a 100%);
}

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

.experience-item {
    position: relative;
    color: white;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.experience-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.experience-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 215, 0, 0.7);
    margin-bottom: 1rem;
    line-height: 1;
}

.experience-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.experience-item p {
    color: #f0e68c;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2d2d1a 0%, #3d3d2a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text {
    color: white;
}

.contact-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-text p {
    color: #f0e68c;
    line-height: 1.7;
    font-size: 1.1rem;
}

.contact-cards {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 215, 0, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateX(10px);
    background: rgba(255, 215, 0, 0.15);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #f0e68c;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #0f0f0a;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.footer-text span {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-text p {
    color: #b8860b;
    font-size: 0.9rem;
}

.footer-links span {
    color: #b8860b;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}