@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    font-family: 'Inter', sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    background-color: #000;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    background-color: #111;
}

/* Navigation */
.nav-bar {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-bar-name {
    font-size: 28px;
    font-weight: 600;
    margin-right: 50px;
    color: #fff;
}

.nav-bar-links {
    display: flex;
    gap: 50px;
    align-items: center;
}

.nav-bar-links a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border-radius: 8px;
    position: relative;
}

.nav-bar-links a:hover {
    color: #fff;
    background-color: #111;
}

.nav-bar-links a:not(.nav-bar-name):before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-bar-links a:not(.nav-bar-name):hover:before {
    width: 80%;
}

/* CV Download Button */
.cv-download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #fff;
}

.cv-download-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.cv-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 60px;
    box-sizing: border-box;
    background: 
        linear-gradient(to bottom, 
            rgba(0, 0, 0, 1) 0%, 
            rgba(0, 0, 0, 1) 10%, 
            rgba(0, 0, 0, 0.7) 30%, 
            rgba(0, 0, 0, 0.7) 85%, 
            rgba(0, 0, 0, 1) 100%
        ), 
        url('https://images.unsplash.com/photo-1517077304055-6e89abbf09b0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    z-index: 2;
}

.hero-content h1 {
    font-size: 80px;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-description {
    font-size: 28px;
    opacity: 0.9;
    margin-bottom: 15px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.7;
}

/* About Section */
.about-section {
    padding: 150px 0;
    background-color: #000;
}

.about-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -1px;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
    align-items: start;
}

.about-text p {
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.9;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.about-photo {
    text-align: center;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #333;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.profile-photo:hover {
    transform: scale(1.05);
    border-color: #555;
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.15);
}

.photo-caption h4 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #fff;
}

.photo-caption p {
    font-size: 16px;
    opacity: 0.7;
    margin: 0;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 8px;
}

.stat p {
    font-size: 16px;
    opacity: 0.7;
}

/* Hobbies Section */
.hobbies-section {
    padding: 200px 0;
    background-color: #000;
}

.hobbies-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 100px;
    text-align: center;
    letter-spacing: -1px;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.hobby-item.large-hobby {
    background-color: #222;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    gap: 40px;
    padding: 50px;
    min-height: 300px;
}

.hobby-item.large-hobby:hover {
    transform: translateY(-8px);
    background-color: #2a2a2a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hobby-image {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.hobby-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hobby-item.large-hobby:hover .hobby-image img {
    transform: scale(1.05);
}

.hobby-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hobby-text h4 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.hobby-text p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
}

/* Special hobby with rotating gallery */
.hobby-item.special-hobby {
    grid-column: 1 / -1;
    max-width: none;
    padding: 60px;
    min-height: 400px;
}

.rotating-gallery {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.hobby-video {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.hobby-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
}

.gallery-image img,
.gallery-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-image video {
    background-color: #000;
}

.gallery-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: #fff;
    transform: scale(1.2);
}

.special-hobby .hobby-text {
    margin-left: 40px;
}

.special-hobby .hobby-text h4 {
    font-size: 32px;
    margin-bottom: 25px;
}

.special-hobby .hobby-text p {
    font-size: 20px;
    line-height: 1.7;
}

/* Projects Section */
.projects-section {
    padding: 150px 0;
    background-color: #000;
}

.projects-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    background-color: #111;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image {
    opacity: 0.3;
}

.project-card:hover .project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.project-icons {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    z-index: 10;
}

.icon {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.project-card:hover .icon {
    background-color: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.project-text {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    height: 50%;
    padding: 30px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 0 0 16px 16px;
    transition: bottom 0.5s ease;
    z-index: 4;
    border-top: 3px solid #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card:hover .project-text {
    bottom: 0;
}

.project-text h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #fff;
}

.project-text p {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 20px;
}

.project-visit-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.project-visit-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Coming Soon Project Cards */
.coming-soon-card {
    position: relative;
    opacity: 0.8;
}

.coming-soon-card:hover {
    opacity: 1;
}

.coming-soon-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.coming-soon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.construction-icon {
    font-size: 48px;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.coming-soon-text {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.project-visit-btn.disabled {
    background-color: #333;
    color: #999;
    cursor: not-allowed;
    border: 1px solid #444;
}

.project-visit-btn.disabled:hover {
    background-color: #333;
    color: #999;
    transform: none;
}

.coming-soon-card .project-text p {
    font-style: italic;
}

/* Skills Section */
.skills-section {
    padding: 150px 0;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    pointer-events: none;
}

.skills-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 60px;
    position: relative;
    z-index: 2;
}

.skill-category {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

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

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

.skill-category:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.skill-category:nth-child(1) {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.05));
    border-color: rgba(74, 144, 226, 0.2);
}

.skill-category:nth-child(2) {
    background: linear-gradient(145deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.2);
}

.skill-category:nth-child(3) {
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.15), rgba(168, 85, 247, 0.05));
    border-color: rgba(168, 85, 247, 0.2);
}

.skill-category h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #fff;
    text-align: center;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.skill-category:nth-child(1) h3 {
    color: #4A90E2;
    text-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.skill-category:nth-child(2) h3 {
    color: #22C55E;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.skill-category:nth-child(3) h3 {
    color: #A855F7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.skill {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(5px);
    color: #fff;
    padding: 16px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: skillFloat 3s ease-in-out infinite;
}

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

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

.skill:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    color: #000;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 
        0 15px 30px rgba(255, 255, 255, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
    animation-play-state: paused;
}

/* Individual skill hover colors */
.skill-category:nth-child(1) .skill:hover {
    background: linear-gradient(145deg, #4A90E2, #357ABD);
    color: #fff;
    box-shadow: 
        0 15px 30px rgba(74, 144, 226, 0.4),
        0 0 20px rgba(74, 144, 226, 0.3);
}

.skill-category:nth-child(2) .skill:hover {
    background: linear-gradient(145deg, #22C55E, #16A34A);
    color: #fff;
    box-shadow: 
        0 15px 30px rgba(34, 197, 94, 0.4),
        0 0 20px rgba(34, 197, 94, 0.3);
}

.skill-category:nth-child(3) .skill:hover {
    background: linear-gradient(145deg, #A855F7, #9333EA);
    color: #fff;
    box-shadow: 
        0 15px 30px rgba(168, 85, 247, 0.4),
        0 0 20px rgba(168, 85, 247, 0.3);
}

/* Floating animation for skills */
@keyframes skillFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.skill:nth-child(2n) {
    animation-delay: -1s;
}

.skill:nth-child(3n) {
    animation-delay: -2s;
}

.skill:nth-child(4n) {
    animation-delay: -0.5s;
}

.skill:nth-child(5n) {
    animation-delay: -1.5s;
}

/* Contact Section */
.contact-section {
    padding: 150px 0;
    background-color: #000;
}

.contact-section h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 80px;
    text-align: center;
    letter-spacing: -1px;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.contact-cta {
    text-align: center;
    margin-bottom: 50px;
}

.contact-cta h3 {
    font-size: 42px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -1px;
}

.cta-button {
    display: inline-block;
    padding: 20px 40px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 30px;
}

.contact-item strong {
    color: #fff;
    font-weight: 500;
    min-width: 120px;
    text-align: right;
}

.contact-item span {
    color: #fff;
    opacity: 0.9;
}

.contact-item span a {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.contact-item span a:hover {
    opacity: 1;
    border-bottom: 1px solid #fff;
    transform: translateY(-1px);
}

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

.social-link {
    padding: 12px 24px;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-link:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: #111;
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer p {
    font-size: 16px;
    opacity: 0.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-bar {
        padding: 20px 25px;
        flex-wrap: wrap;
    }
    
    .nav-bar-links {
        gap: 20px;
        font-size: 16px;
    }
    
    .nav-bar-name {
        font-size: 22px;
        margin-right: 25px;
    }
    
    .cv-download-btn {
        padding: 10px 18px;
        font-size: 14px;
        order: 3;
        margin-left: auto;
        min-width: auto;
    }
    
    .cv-icon {
        font-size: 16px;
    }
    
    .hero-content h1 {
        font-size: 48px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-right {
        gap: 30px;
    }
    
    .profile-photo {
        width: 150px;
        height: 150px;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: space-around;
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-card {
        aspect-ratio: 1;
    }
    
    .project-text {
        position: static;
        height: auto;
        background: rgba(0, 0, 0, 0.9);
        border-radius: 0 0 12px 12px;
        border-top: 3px solid #fff;
        padding: 30px;
        display: block;
    }
    
    .project-card:hover .project-text {
        bottom: auto;
    }
    
    .project-overlay {
        display: none;
    }
    
    .project-icons {
        flex-direction: row;
        top: auto;
        bottom: 15px;
        right: 15px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hobby-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .hobby-image {
        width: 100px;
        height: 100px;
        align-self: center;
    }
}

/* Animation classes for scroll effects */
.scroll-animate {
    opacity: 0;
    transform: translate(-100px, 100px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translate(0, 0);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
    transition-delay: 0.4s;
}

.scroll-animate-delay-5 {
    transition-delay: 0.5s;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #333;
    border-top: 3px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-content h2 {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.loading-content p {
    font-size: 18px;
    opacity: 0.8;
    margin: 0;
}

.main-content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.main-content.loaded {
    opacity: 1;
}
