/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Enable text selection but prevent cursor visibility */
p, h1, h2, h3, h4, h5, h6, li, span {
    user-select: text;
    cursor: default !important;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

p::selection, h1::selection, h2::selection, h3::selection, 
h4::selection, h5::selection, h6::selection, li::selection, span::selection {
    background: rgba(239, 66, 36, 0.2);
    color: inherit;
}

a, button {
    user-select: none;
    cursor: pointer;
}

:root {
    --primary-color: #EF4224;
    --secondary-color: #D13116;
    --text-color: #1f2937;
    --light-text: #4b5563;
    --background: #ffffff;
    --section-bg: #fdf5f3;
    --transition: all 0.3s ease;
    --content-width: 1200px;
    --section-padding: 3rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content width control */
.content-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Text sizing */
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
p, li { font-size: 1.125rem; margin-bottom: 1rem; }

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000000;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Star styling */
.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.3s ease-out;
    will-change: transform;
    z-index: 2;
}

.star.large {
    width: 4px !important;
    height: 4px !important;
    box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.3);
}

.star.medium {
    width: 3px !important;
    height: 3px !important;
    box-shadow: 0 0 3px 1px rgba(255, 255, 255, 0.2);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes shooting-star {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateX(-10vw) translateY(10vh) rotate(45deg) scale(1);
    }
    20% {
        opacity: 0;
        transform: translateX(-20vw) translateY(20vh) rotate(45deg) scale(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-20vw) translateY(20vh) rotate(45deg) scale(0);
    }
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.shooting-star::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
    transform-origin: left center;
    transform: translateY(-50%);
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    color: #EF4224;
    text-shadow: 0 0 15px rgba(239, 66, 36, 0.3);
}

.hero p {
    font-size: 1.5rem;
    color: #a0aec0;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 1200px;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-social-links a {
    font-size: 2.5rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    padding: 0.5rem;
    transition: all 0.3s ease;
    letter-spacing: 2px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-social-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.hero-social-links a:hover {
    color: #EF4224;
    text-shadow: 0 0 10px rgba(239, 66, 36, 0.3);
}

.hero-social-links a:hover::after {
    width: 100%;
}

/* Platform-specific hover colors */
.hero-social-links a[href*="steam"]:hover {
    color: #66c0f4;
    text-shadow: 0 0 10px rgba(102, 192, 244, 0.3);
}
.hero-social-links a[href*="steam"]::after {
    background: #66c0f4;
}

.hero-social-links a[href*="speedrun"]:hover {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.hero-social-links a[href*="speedrun"]::after {
    background: #FFD700;
}

.hero-social-links a[href*="twitch"]:hover {
    color: #9146ff;
    text-shadow: 0 0 10px rgba(145, 70, 255, 0.3);
}
.hero-social-links a[href*="twitch"]::after {
    background: #9146ff;
}

.hero-social-links a[href*="instagram"]:hover {
    color: #E4405F;
    text-shadow: 0 0 10px rgba(228, 64, 95, 0.3);
}
.hero-social-links a[href*="instagram"]::after {
    background: #E4405F;
}

.hero-social-links a[href*="x.com"]:hover {
    color: #1DA1F2;
    text-shadow: 0 0 10px rgba(29, 161, 242, 0.3);
}
.hero-social-links a[href*="x.com"]::after {
    background: #1DA1F2;
}

.hero-social-links a[href*="tiktok"]:hover {
    color: #EE1D52;
    text-shadow: 0 0 10px rgba(238, 29, 82, 0.3);
}
.hero-social-links a[href*="tiktok"]::after {
    background: #EE1D52;
}

.hero-social-links a[href*="namemc"]:hover {
    color: #70B237;
    text-shadow: 0 0 10px rgba(112, 178, 55, 0.3);
}
.hero-social-links a[href*="namemc"]::after {
    background: #70B237;
}

.hero-social-links a[href*="spotify"]:hover {
    color: #1DB954;
    text-shadow: 0 0 10px rgba(29, 185, 84, 0.3);
}
.hero-social-links a[href*="spotify"]::after {
    background: #1DB954;
}

.hero-social-links a[href*="discord"]:hover {
    color: #5865F2;
    text-shadow: 0 0 10px rgba(88, 101, 242, 0.3);
}
.hero-social-links a[href*="discord"]::after {
    background: #5865F2;
}

.hero-social-links a[href*="xbox"]:hover {
    color: #107C10;
    text-shadow: 0 0 10px rgba(16, 124, 16, 0.3);
}
.hero-social-links a[href*="xbox"]::after {
    background: #107C10;
}

.hero-social-links a[href*="stats.fm"]:hover {
    color: #22d863;
    text-shadow: 0 0 10px rgba(34, 216, 99, 0.3);
}
.hero-social-links a[href*="stats.fm"]::after {
    background: #22d863;
}

.hero-social-links a[href*="roblox"]:hover {
    color: #00A2FF;
    text-shadow: 0 0 10px rgba(0, 162, 255, 0.3);
}
.hero-social-links a[href*="roblox"]::after {
    background: #00A2FF;
}

@media (max-width: 768px) {
    .hero-social-links {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hero-social-links a {
        font-size: 2rem;
        padding: 0.4rem;
    }
}

/* Sections */
section {
    padding: var(--section-padding) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* Section styling and separation */
.about {
    background: var(--background);
    position: relative;
}

.expertise {
    background: var(--section-bg);
    position: relative;
}

.achievements {
    background: var(--background);
    position: relative;
}

/* Decorative separator lines */
.about::after,
.expertise::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-color) 50%, 
        transparent 100%
    );
    opacity: 0.5;
}

/* Add some extra padding for visual breathing room */
.about,
.expertise,
.achievements {
    padding: 5rem 0;
}

/* Enhance section titles */
section h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

/* About Section */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-text, .intro-text {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* Skills Section */
.skills {
    background: var(--section-bg);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Experience Section */
.experience {
    background: var(--background);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    border-left: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content .company {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.timeline-content .date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background: var(--section-bg);
    text-align: center;
    padding: var(--section-padding) 0 3rem 0; /* Further reduced bottom padding */
    position: relative;
}

/* Create a pseudo-element to extend the background */
.contact::after {
    content: '';
    position: absolute;
    bottom: -4rem; /* Further reduced extension */
    left: 0;
    width: 100%;
    height: 4rem; /* Further reduced height */
    background: var(--section-bg);
    z-index: -1;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-intro p {
    font-size: var(--text-xl);
    color: var(--text-color);
    margin-bottom: 3rem;
}

.preferred-platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 320px));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.platform-card {
    background: var(--background);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    width: 100%;
}

.platform-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.platform-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.platform-card p {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.platform-card .platform-username {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(239, 66, 36, 0.15);
}

.platform-card:hover i {
    transform: scale(1.1);
}

/* Platform-specific hover colors */
.platform-card[href*="discord"]:hover {
    background: linear-gradient(135deg, #fff, #f6f6fe);
}
.platform-card[href*="discord"]:hover i {
    color: #5865F2;
}
.platform-card[href*="discord"]:hover .platform-username {
    color: #5865F2;
}

.platform-card[href*="x.com"]:hover {
    background: linear-gradient(135deg, #fff, #e8f5fe);
}
.platform-card[href*="x.com"]:hover i {
    color: #1DA1F2;
}
.platform-card[href*="x.com"]:hover .platform-username {
    color: #1DA1F2;
}

.platform-card[href*="fiverr"]:hover {
    background: linear-gradient(135deg, #fff, #e8f9f0);
}
.platform-card[href*="fiverr"]:hover i {
    color: #1DBF73;
}
.platform-card[href*="fiverr"]:hover .platform-username {
    color: #1DBF73;
}

.platform-card[href*="mailto"]:hover {
    background: linear-gradient(135deg, #fff, #f8f8f8);
}
.platform-card[href*="mailto"]:hover i {
    color: #000000;
}
.platform-card[href*="mailto"]:hover .platform-username {
    color: #000000;
}

@media (max-width: 768px) {
    .preferred-platforms {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-intro p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}

/* Social Links Section */
.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 12px;
    background: var(--background);
    color: var(--text-color);
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: white;
    transform: scale(1.1);
}

/* Custom colors for specific platforms */
.social-link[title="Steam"]:hover::before {
    background: linear-gradient(135deg, #171a21, #66c0f4);
}

.social-link[title="Twitch"]:hover::before {
    background: linear-gradient(135deg, #6441a5, #9146ff);
}

.social-link[title="Speedrun.com"]:hover::before {
    background: linear-gradient(135deg, #FF5252, #FF1744);
}

.social-link[title="Instagram"]:hover::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link[title="X (Twitter)"]:hover::before {
    background: linear-gradient(135deg, #000000, #14171A);
}

.social-link[title="Spotify"]:hover::before {
    background: linear-gradient(135deg, #1DB954, #191414);
}

.social-link[title="TikTok"]:hover::before {
    background: linear-gradient(135deg, #000000, #EE1D52);
}

.social-link[title="Minecraft"]:hover::before {
    background: linear-gradient(135deg, #70B237, #4D7C23);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #EF4224;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(239, 66, 36, 0.2);
}

.submit-btn:hover {
    background: #D13116;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 66, 36, 0.4);
}

/* Footer */
footer {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: #EF4224;
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.4s backwards;
    box-shadow: 0 4px 15px rgba(239, 66, 36, 0.3);
}

.cta-button:hover {
    background: #D13116;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 66, 36, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    section {
        padding: 4rem 1rem;
    }

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

/* Add subtle sparkle animation to links on hover */
@keyframes sparkle {
    0% { opacity: 0; transform: translateY(0) scale(0.8); }
    50% { opacity: 1; transform: translateY(-2px) scale(1); }
    100% { opacity: 0; transform: translateY(-4px) scale(0.8); }
}

.hero-social-links a::before {
    content: '✦';
    position: absolute;
    font-size: 1.2rem;
    top: -5px;
    left: -15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: currentColor;
}

.hero-social-links a:hover::before {
    animation: sparkle 1.2s ease-in-out infinite;
    opacity: 1;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000000;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.achievement-highlights {
    margin: 2rem auto;
    font-size: 1.25rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Expertise Section */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.expertise-area {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expertise-area h3 {
    color: #EF4224;
    margin-bottom: 1.5rem;
    font-size: var(--text-xl);
}

.expertise-area ul {
    text-align: left;
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.expertise-area li {
    margin-bottom: 0.75rem;
    font-size: var(--text-lg);
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-area li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    line-height: 1;
    top: 0.1em;
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.achievement-card {
    background: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.achievement-card h3 {
    color: #EF4224;
    margin-bottom: 1.5rem;
    font-size: var(--text-xl);
}

.achievement-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: var(--text-lg);
    text-align: left;
}

/* Setup Section */
.setup {
    background: var(--background);
}

.setup-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.setup-category {
    background: var(--section-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.setup-category h3 {
    color: #EF4224;
    margin-bottom: 2rem;
    font-size: var(--text-xl);
    text-align: center;
}

.setup-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.setup-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--background);
    border-radius: 0.75rem;
    border-left: 5px solid #EF4224;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.setup-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(239, 66, 36, 0.15);
    border-left-width: 6px;
}

.component-type {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    align-self: start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.component-spec {
    color: var(--text-color);
    line-height: 1.4;
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
}

/* Contact Section */
.contact {
    background: var(--section-bg);
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.contact-intro ul {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-intro li {
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    background: white;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: #EF4224;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(239, 66, 36, 0.2);
}

.submit-btn:hover {
    background: #D13116;
    box-shadow: 0 6px 20px rgba(239, 66, 36, 0.3);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .expertise-grid,
    .achievements-grid,
    .setup-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .preferred-platforms {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .content-container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 1rem;
    }
}

/* Ensure consistent spacing between sections */
section:not(:last-child) {
    margin-bottom: 2rem;
}

/* Maintain text alignment for lists while keeping containers centered */
.expertise-area li,
.achievement-card p {
    text-align: left;
    margin-bottom: 0.75rem;
}

/* Center all headings */
h1, h2, h3 {
    text-align: center;
    width: 100%;
}

/* Ensure consistent card heights in grids */
.expertise-area,
.achievement-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Add consistent spacing between elements */
.section-title {
    margin-bottom: 3rem;
}

.expertise-area h3,
.achievement-card h3 {
    margin-bottom: 1.5rem;
}

/* Ensure proper spacing for nested content */
.about-content,
.expertise-content,
.achievements-content,
.contact-content {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Remove any bottom margin from the last section */
section:last-child {
    margin-bottom: 0;
}

/* Make the last section expand to fill remaining space */
section:last-child {
    flex-grow: 1;
}

/* Ensure contact section fills viewport */
#contact {
    position: relative;
}

/* Previous Work Section */
.previous-work {
    background: var(--background);
    padding: 0 0 3rem 0;
}

.collapsible-trigger {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.collapsible-trigger:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 66, 36, 0.2);
}

.collapsible-trigger i {
    transition: transform 0.3s ease;
}

.collapsible-trigger.active i {
    transform: rotate(180deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    margin-top: 2rem;
}

.collapsible-content.active {
    max-height: 1000px;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.collab-category {
    text-align: left;
}

.collab-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.collab-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.collab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    color: var(--text-color);
    gap: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.collab-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.collab-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.collab-stats {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--primary-color);
}

.collab-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

/* Platform-specific hover effects */
.collab-item[href*="twitter.com"]:hover::before {
    background: linear-gradient(135deg, #1DA1F2, #0d8bd9);
}

.collab-item[href*="youtube.com"]:hover::before {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.collab-item[href*="twitch.tv"]:hover::before {
    background: linear-gradient(135deg, #9146FF, #7313ff);
}

.collab-item[href*="instagram.com"]:hover::before {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.collab-item[href*="tiktok.com"]:hover::before {
    background: linear-gradient(135deg, #000000, #25F4EE);
}

@media (max-width: 768px) {
    .collab-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .collab-item {
        padding: 1rem;
    }

    .collab-image {
        width: 60px;
        height: 60px;
    }

    .collab-name {
        font-size: 0.9rem;
    }

    .collab-title,
    .collab-stats {
        font-size: 0.75rem;
    }
}

/* Modal adjustments for new layout */
.modal-content {
    padding: 3rem;
    max-width: 1400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
}

@media (max-width: 768px) {
    .collab-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    .collab-item {
        padding: 0.75rem;
    }

    .collab-image {
        width: 60px;
        height: 60px;
    }

    .modal-content {
        padding: 2rem;
        width: 95%;
    }
}

/* Previous Work Button */
.previous-work-trigger {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(239, 66, 36, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    max-width: 400px;
    width: 100%;
    animation: pulse-glow 2s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 8px 25px rgba(239, 66, 36, 0.3);
    }
    100% {
        box-shadow: 0 8px 35px rgba(239, 66, 36, 0.5), 0 0 20px rgba(239, 66, 36, 0.2);
    }
}

.previous-work-trigger::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #EF4224, #D13116, #EF4224, #D13116);
    background-size: 400% 400%;
    border-radius: 50px;
    z-index: -1;
    animation: gradient-border 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes gradient-border {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.previous-work-trigger:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(239, 66, 36, 0.4);
    animation: none;
}

.previous-work-trigger:hover::before {
    opacity: 1;
}

.previous-work-trigger i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.previous-work-trigger:hover i {
    transform: translateX(5px) rotate(12deg);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
    color: var(--secondary-color);
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Scrollbar styling for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
    opacity: 0.8;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
    }
    
    .collaboration-grid {
        grid-template-columns: 1fr;
    }
    
    .previous-work-trigger {
        width: 95%;
        max-width: none;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        margin: 2rem auto;
        justify-content: center;
    }
}

/* Credit Note */
.credit-note {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
    font-style: italic;
    background: var(--section-bg);
}

.credit-note:hover {
    opacity: 1;
    transition: opacity 0.3s ease;
} 