@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700&display=swap');
@import 'space.css';

/* Base styles */
body {
    margin: 0;
    padding: 20px;
    font-family: 'Orbitron', sans-serif;
    min-height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Layout */
.container {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fade-in 2s ease;
}

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

h1 {
    font-size: 3.5em;
    margin-bottom: 0.2em;
    text-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
    font-weight: 700;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5em;
    color: #00c3ff;
    margin-bottom: 30px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.intro {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 0 5px rgba(0, 195, 255, 0.3);
}

/* Skills Section */
.skills-section {
    margin: 60px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background: rgba(0, 195, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
    border: 1px solid rgba(0, 195, 255, 0.2);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.4);
}

.skill-card h3 {
    color: #00c3ff;
    margin: 0 0 15px 0;
    font-size: 1.4em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.skill-list li::before {
    content: "◈";
    color: #00c3ff;
    margin-right: 10px;
}

/* Contact Section */
.contact-section {
    background: rgba(0, 195, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
    border: 1px solid rgba(0, 195, 255, 0.2);
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
}

.contact-section h2 {
    margin: 0 0 20px 0;
    font-size: 2em;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #00c3ff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1em;
    padding: 10px 20px;
    border: 1px solid rgba(0, 195, 255, 0.2);
    border-radius: 30px;
    background: rgba(0, 195, 255, 0.1);
}

.social-links a:hover {
    color: #fff;
    background: rgba(0, 195, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.4);
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1002;
    background: rgba(0, 195, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(0, 195, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.2);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 195, 255, 0.4);
}

.music-control.playing {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(0, 195, 255, 0.2); }
    50% { box-shadow: 0 0 30px rgba(0, 195, 255, 0.4); }
    100% { box-shadow: 0 0 20px rgba(0, 195, 255, 0.2); }
}

.music-control i {
    color: #00c3ff;
    font-size: 1.5em;
}

/* Utilities */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 195, 255, 0.05);
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 195, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, 
        rgba(0, 195, 255, 0.3),
        rgba(0, 123, 255, 0.3));
    border-radius: 10px;
    border: 2px solid rgba(0, 195, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg,
        rgba(0, 195, 255, 0.5),
        rgba(0, 123, 255, 0.5));
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.4);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 195, 255, 0.3) rgba(0, 195, 255, 0.05);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px 10px;
    }

    h1 {
        font-size: 2.5em;
    }

    .subtitle {
        font-size: 1.2em;
        letter-spacing: 2px;
    }

    .intro {
        font-size: 1em;
        padding: 0 15px;
    }

    .skills-section {
        margin: 30px 0;
        gap: 20px;
    }

    .skill-card {
        padding: 20px;
    }

    .skill-card h3 {
        font-size: 1.2em;
    }

    .contact-section {
        padding: 20px;
        margin: 30px auto;
    }

    .contact-section h2 {
        font-size: 1.6em;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .social-links a {
        font-size: 1em;
        padding: 8px 15px;
        min-width: 120px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }

    .skill-card {
        padding: 15px;
    }

    .skill-list li {
        font-size: 0.9em;
    }

    .music-control {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .music-control i {
        font-size: 1.2em;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        width: 80%;
        text-align: center;
    }
}

@media screen and (max-height: 600px) and (orientation: landscape) {
    .container {
        padding-top: 20px;
    }

    .hero-section {
        margin-bottom: 30px;
    }

    .skills-section {
        margin: 20px 0;
    }

    .skill-card {
        padding: 15px;
    }

    .contact-section {
        margin: 20px auto;
    }
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .skill-card, .contact-section {
        border-width: 0.5px;
    }
}

@media (prefers-color-scheme: dark) {
    .skill-card, .contact-section {
        background: rgba(0, 195, 255, 0.05);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section, .skill-card, .music-control {
        animation: none;
        transition: none;
    }

    .skill-card:hover {
        transform: none;
    }
} 