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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(to bottom, #1a472a, #2d5a3f);
    overflow-x: hidden;
}

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

/* Cricket Ball Cursor */
.cricket-ball {
    width: 16px;
    height: 16px;
    background-color: #dc2626;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    transition: all 0.1s ease-out;
}

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

.stadium-background {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?q=80&w=1920');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, #1a472a);
}

.profile-container {
    margin-bottom: 2rem;
}

.profile-image-wrapper {
    width: 192px;
    height: 192px;
    margin: 0 auto;
    position: relative;
}

.profile-glow {
    position: absolute;
    inset: 0;
    background: #22c55e;
    border-radius: 50%;
    opacity: 0.2;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #22c55e;
    position: relative;
    z-index: 1;
}

.glowing-text {
    font-size: 4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.subtitle {
    font-size: 1.5rem;
    text-align: center;
    color: #86efac;
    margin-bottom: 2rem;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

.stadium-light {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: #fde047;
    border-radius: 50%;
    box-shadow: 0 0 40px 20px rgba(255, 255, 0, 0.3);
    animation: pulse 2s infinite;
}

.stadium-light.left {
    left: 25%;
}

.stadium-light.right {
    right: 25%;
}

/* About Section */
.about {
    padding: 5rem 0;
}

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

.about-content {
    font-size: 1.125rem;
}

.about-image img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background-color: rgba(34, 197, 94, 0.1);
    backdrop-filter: blur(8px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: scale(1.05);
}

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

.skill-type {
    font-size: 0.875rem;
    color: #86efac;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.skill-progress {
    height: 100%;
    background: #22c55e;
    width: 0;
    transition: width 1s ease-out;
}

/* Fun Facts Section */
.fun-facts {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.facts-container {
    max-width: 600px;
    margin: 0 auto;
}

.fact-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(8px);
    text-align: center;
}

.cricket-ball-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: spin 10s linear infinite;
}

.facts-carousel {
    position: relative;
    height: 4rem;
}

.facts-carousel p {
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.facts-carousel p:first-child {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.glowing-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: white;
    transition: all 0.3s ease;
}

.glowing-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #22c55e;
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: #22c55e;
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #16a34a;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-icon {
    color: white;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #22c55e;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

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

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .glowing-text {
        font-size: 3rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

