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

body {
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
    background-color: #0c0402;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(
        135deg,
        #0a0302 0%,
        #1c0804 25%,
        #2b0d05 50%,
        #1a0703 75%,
        #080201 100%
    );
    background-size: 300% 300%;
    animation: fieryGradient 18s ease-in-out infinite alternate;
}

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

.container {
    width: 100%;
    max-width: 960px;
    padding: 50px 20px 80px 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.hero {
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.accent-text {
    color: #ff6600;
    text-shadow: 0 0 18px rgba(255, 102, 0, 0.35);
}

.hero p {
    font-size: 1.15rem;
    color: #bfa598;
}

.projects-section h2 {
    font-size: 1.8rem;
    margin-bottom: 28px;
    text-align: center;
    color: #ffffff;
    letter-spacing: 1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.project-card {
    background: rgba(22, 10, 6, 0.6);
    border: 1px solid rgba(255, 102, 0, 0.18);
    border-radius: 16px;
    padding: 28px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: 0 12px 35px rgba(255, 102, 0, 0.15);
    background: rgba(30, 14, 8, 0.8);
}

.card-content h3 {
    font-size: 1.35rem;
    color: #ff6600;
    margin-bottom: 12px;
}

.card-content p {
    font-size: 0.95rem;
    color: #cbb4a9;
    line-height: 1.6;
    margin-bottom: 24px;
}

.project-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #ff6600;
    border: 1px solid #ff6600;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    align-self: flex-start;
    transition: all 0.3s ease;
}

.project-btn:hover {
    background-color: #ff6600;
    color: #0c0402;
    box-shadow: 0 0 15px rgba(255, 102, 0, 0.4);
}

.back-link-container {
    margin-bottom: -10px;
}

.back-btn {
    display: inline-block;
    color: #8c7265;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: #ff6600;
}

.project-detail-section {
    background: rgba(22, 10, 6, 0.6);
    border: 1px solid rgba(255, 102, 0, 0.18);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.project-detail-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.project-info-side {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-info-side h1 {
    font-size: 2.5rem;
    color: #ff6600;
    text-shadow: 0 0 15px rgba(255, 102, 0, 0.3);
}

.project-description {
    font-size: 1.05rem;
    color: #cbb4a9;
    line-height: 1.7;
}

.download-btn {
    align-self: flex-start;
    margin-top: 10px;
}

.screenshot-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.screenshot-box {
    width: 260px;
    height: 310px;
    border: 1px dashed rgba(255, 102, 0, 0.35);
    border-radius: 14px;
    background: rgba(14, 6, 4, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    text-align: center;
}

.screenshot-placeholder {
    color: #8c7265;
    font-size: 0.95rem;
    font-weight: 500;
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.contact-label {
    color: #8c7265;
}

.contact-link {
    color: #ff6600;
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-link:hover {
    color: #ff8533;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.4);
}

.lang-switcher-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 6, 4, 0.75);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 102, 0, 0.25);
    backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: #8c7265;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.lang-btn:hover {
    color: #ff6600;
}

.lang-btn.active {
    color: #ff6600;
    text-shadow: 0 0 8px rgba(255, 102, 0, 0.5);
}

.lang-divider {
    color: #442a1e;
    font-size: 0.8rem;
}

.fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.fade-in-delay-1 {
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

.fade-in-delay-4 {
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
