/* ==================== ANIMATIONEN ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes codeTyping {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* ==================== GLOBALE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f0f1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: #1a1a2e;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #2a2a4e;
    animation: slideInDown 0.6s ease-out;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out;
}

.code-bracket {
    color: #8a2be2;
}

.brand-name {
    color: #e0e0e0;
    margin: 0 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    color: #b0b0c0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8a2be2;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8a2be2;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}
/* ==================== CLOCK WIDGET ==================== */
.clock-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    flex-direction: column;
}

.timezone-label {
    color: #b0b0c0;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: right;
    animation: slideInRight 0.6s ease-out;
}

.time-display {
    color: #8a2be2;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    animation: slideInRight 0.6s ease-out;
}

/* ==================== MUSIC PLAYER (REMOVED) ==================== */

.music-title {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    color: #8a2be2;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-content {
    width: 100%;
    max-width: 800px;
}

.profile-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    padding: 40px;
    animation: fadeInUp 1.2s ease-out;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    border: 2px solid #8a2be2;
    flex-shrink: 0;
    animation: glow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 2.5rem;
    color: #e0e0e0;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.profile-title {
    color: #8a2be2;
    font-size: 1.1rem;
    font-weight: 600;
}

.discord-section {
    margin-top: 30px;
}

.discord-section h3 {
    color: #8a2be2;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.discord-card {
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid #8a2be2;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.discord-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a4e;
}

.discord-field:last-child {
    border-bottom: none;
}

.field-label {
    color: #8a2be2;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.field-value {
    color: #e0e0e0;
    font-size: 0.95rem;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-badge.online {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid #4caf50;
}

/* ==================== BIO SECTION ==================== */
.bio-section {
    background: #0f0f1a;
    padding: 80px 40px;
    animation: fadeInUp 1s ease-out;
}

.bio-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.bio-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.bio-card h2 {
    color: #8a2be2;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.bio-content p {
    color: #b0b0c0;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ==================== STATUS SECTION ==================== */
.status-section {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 1.4s ease-out;
}

.status-section h2 {
    color: #8a2be2;
    font-size: 1.5rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(138, 43, 226, 0.05);
    border: 1px solid #2a2a4e;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.status-item:hover {
    background: rgba(138, 43, 226, 0.1);
    border-color: #8a2be2;
    transform: translateX(5px);
}

.status-icon {
    font-size: 1.5rem;
}

.status-text {
    color: #e0e0e0;
    font-weight: 500;
}

/* ==================== PORTFOLIO SECTION ==================== */
.portfolio-section {
    background: #0f0f1a;
    padding: 80px 40px;
    animation: fadeInUp 1s ease-out;
}

.portfolio-container {
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-container h2 {
    color: #e0e0e0;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    letter-spacing: 1px;
}

.portfolio-container h2::before {
    content: "// ";
    color: #8a2be2;
}

.portfolio-container h2::after {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #8a2be2;
    margin: 20px auto 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: fadeInUp 1.2s ease-out;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    border-color: #8a2be2;
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(138, 43, 226, 0.2);
}

.project-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #8a2be2 0%, #6a0dad 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.portfolio-card:hover .project-image {
    background: linear-gradient(135deg, #6a0dad 0%, #4a0d8d 100%);
}

.project-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-content h3 {
    color: #e0e0e0;
    font-size: 1.2rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.project-content p {
    color: #8a2be2;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== PROJECT DETAIL PAGE ==================== */
.project-detail {
    background: #0f0f1a;
    min-height: 100vh;
    padding: 60px 40px;
    animation: fadeInUp 0.8s ease-out;
}

.project-detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    color: #8a2be2;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #b368ff;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out;
}

.project-logo-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8a2be2, #6a0dad);
    margin: 0 auto 30px;
    border: 2px solid #8a2be2;
    animation: glow 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-header h1 {
    font-size: 2.5rem;
    color: #e0e0e0;
    letter-spacing: 1px;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.detail-card {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    padding: 30px;
    animation: fadeInUp 1.2s ease-out;
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.detail-card h3 {
    color: #8a2be2;
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-card p {
    color: #b0b0c0;
    line-height: 1.8;
}

.task-list ul {
    list-style: none;
    padding: 0;
}

.task-list li {
    color: #b0b0c0;
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
}

.task-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #8a2be2;
    font-weight: bold;
}

.project-showcase-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #2a2a4e;
    animation: fadeInUp 1.2s ease-out;
}

.showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-img:hover {
    transform: scale(1.02);
}

/* ==================== FOOTER ==================== */
.footer {
    background: #1a1a2e;
    color: #b0b0c0;
    text-align: center;
    padding: 30px;
    border-top: 1px solid #2a2a4e;
    font-size: 0.9rem;
}
.footer-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-link {
    color: #8a2be2;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #b368ff;
    text-decoration: underline;
}

/* ==================== LEGAL PAGES ==================== */
.legal-page {
    background: #0f0f1a;
    min-height: 100vh;
    padding: 60px 40px;
    animation: fadeInUp 0.8s ease-out;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #e0e0e0;
    letter-spacing: 1px;
}

.legal-content {
    background: #1a1a2e;
    border: 1px solid #2a2a4e;
    border-radius: 12px;
    padding: 40px;
    animation: fadeInUp 1.2s ease-out;
}

.legal-content h2 {
    color: #8a2be2;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    color: #b368ff;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-content p {
    color: #b0b0c0;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.legal-content ul {
    color: #b0b0c0;
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 8px;
}

/* ==================== 404 ERROR PAGE ==================== */
.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a0f2e 100%);
    flex: 1;
}

.error-container {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8a2be2, #b368ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.3);
    animation: slideInDown 0.6s ease-out;
}

.error-title {
    font-size: 2.5rem;
    color: #e0e0e0;
    margin: 20px 0;
    font-weight: 700;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.error-description {
    font-size: 1.2rem;
    color: #b0b0c0;
    margin: 20px 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.error-details {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.error-details p {
    color: #b0b0c0;
    margin: 10px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.error-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #8a2be2, #b368ff);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    cursor: pointer;
}

.error-button:hover {
    background: linear-gradient(135deg, #b368ff, #8a2be2);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6), 0 0 60px rgba(138, 43, 226, 0.3);
    transform: translateY(-3px);
}

.error-button:active {
    transform: translateY(-1px);
}

/* ==================== COMING SOON PAGE ==================== */
.soon-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a0f2e 100%);
    flex: 1;
}

.soon-container {
    text-align: center;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
}

.soon-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: slideInDown 0.6s ease-out;
    display: inline-block;
}

.soon-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #8a2be2, #b368ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 20px 0;
    font-weight: 700;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.soon-description {
    font-size: 1.3rem;
    color: #b0b0c0;
    margin: 20px 0;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.soon-details {
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(138, 43, 226, 0.3);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.soon-details p {
    color: #b0b0c0;
    margin: 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.soon-button {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #8a2be2, #b368ff);
    color: #e0e0e0;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
    cursor: pointer;
}

.soon-button:hover {
    background: linear-gradient(135deg, #b368ff, #8a2be2);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6), 0 0 60px rgba(138, 43, 226, 0.3);
    transform: translateY(-3px);
}

.soon-button:active {
    transform: translateY(-1px);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .logo {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .nav-links {
        gap: 1.5rem;
        font-size: 0.85rem;
    }

    .clock-widget {
        gap: 8px;
    }

    .timezone-label {
        font-size: 0.65rem;
    }

    .time-display {
        font-size: 0.9rem;
    }

    .hero {
        padding: 30px 20px;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
    }

    .profile-info h1 {
        font-size: 1.8rem;
    }

    .profile-title {
        font-size: 1rem;
    }

    .discord-card {
        flex-direction: column;
    }

    .discord-field {
        flex-direction: column;
        align-items: flex-start;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .bio-section {
        padding: 50px 20px;
    }

    .bio-card h2 {
        font-size: 1.3rem;
    }

    .portfolio-section {
        padding: 50px 20px;
    }

    .portfolio-container h2 {
        font-size: 1.8rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .project-image {
        height: 150px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-card h3 {
        font-size: 1rem;
    }

    .project-detail {
        padding: 30px 20px;
    }

    .project-detail-container {
        padding: 0;
    }

    .project-header {
        margin-bottom: 30px;
    }

    .project-header h1 {
        font-size: 1.8rem;
    }

    .project-logo-large {
        width: 150px;
        height: 150px;
        margin: 0 auto 20px;
    }

    .legal-page {
        padding: 40px 20px;
    }

    .legal-header h1 {
        font-size: 1.8rem;
    }

    .legal-content {
        padding: 25px;
    }

    .legal-content h2 {
        font-size: 1.3rem;
    }

    .error-section {
        padding: 30px 20px;
    }

    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.8rem;
    }

    .error-description {
        font-size: 1rem;
    }

    .error-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .soon-section {
        padding: 30px 20px;
    }

    .soon-title {
        font-size: 2.5rem;
    }

    .soon-description {
        font-size: 1.1rem;
    }

    .soon-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .footer-links {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .nav-container {
        flex-direction: column;
        gap: 12px;
        padding: 12px 15px;
    }

    .logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .code-bracket {
        display: none;
    }

    .brand-name {
        margin: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .clock-widget {
        gap: 6px;
    }

    .timezone-label {
        font-size: 0.6rem;
    }

    .time-display {
        font-size: 0.8rem;
    }

    .hero {
        min-height: auto;
        padding: 25px 15px;
    }

    .profile-card {
        padding: 20px;
    }

    .profile-avatar {
        width: 80px;
        height: 80px;
    }

    .profile-info h1 {
        font-size: 1.4rem;
    }

    .profile-title {
        font-size: 0.9rem;
    }

    .discord-section h3 {
        font-size: 0.9rem;
    }

    .discord-card {
        padding: 15px;
        gap: 12px;
    }

    .field-label {
        font-size: 0.8rem;
    }

    .field-value {
        font-size: 0.85rem;
    }

    .bio-section {
        padding: 30px 15px;
    }

    .bio-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bio-card {
        padding: 20px;
    }

    .bio-card h2 {
        font-size: 1.2rem;
    }

    .bio-content p {
        font-size: 0.9rem;
    }

    .status-item {
        padding: 12px;
        gap: 12px;
    }

    .status-icon {
        font-size: 1.3rem;
    }

    .status-text {
        font-size: 0.9rem;
    }

    .portfolio-section {
        padding: 30px 15px;
    }

    .portfolio-container h2 {
        font-size: 1.5rem;
    }

    .portfolio-container h2::after {
        width: 80px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-image {
        height: 120px;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    .project-detail {
        padding: 20px 15px;
    }

    .project-header {
        margin-bottom: 25px;
    }

    .project-header h1 {
        font-size: 1.5rem;
    }

    .project-logo-large {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
    }

    .detail-card {
        padding: 15px;
    }

    .detail-card h3 {
        font-size: 0.95rem;
    }

    .detail-card p {
        font-size: 0.9rem;
    }

    .task-list li {
        font-size: 0.9rem;
    }

    .back-link {
        font-size: 0.85rem;
        margin-bottom: 25px;
    }

    .legal-page {
        padding: 30px 15px;
    }

    .legal-container {
        padding: 0;
    }

    .legal-header h1 {
        font-size: 1.5rem;
    }

    .legal-content {
        padding: 20px;
    }

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .legal-content h3 {
        font-size: 1rem;
    }

    .legal-content p {
        font-size: 0.9rem;
    }

    .error-section {
        padding: 25px 15px;
    }

    .error-code {
        font-size: 4rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-description {
        font-size: 0.95rem;
    }

    .error-details {
        padding: 15px;
    }

    .error-details p {
        font-size: 0.85rem;
    }

    .error-button {
        margin-top: 20px;
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .soon-section {
        padding: 25px 15px;
    }

    .soon-icon {
        font-size: 3.5rem;
        margin-bottom: 15px;
    }

    .soon-title {
        font-size: 2rem;
    }

    .soon-description {
        font-size: 1rem;
    }

    .soon-details {
        padding: 15px;
    }

    .soon-details p {
        font-size: 0.9rem;
    }

    .soon-button {
        margin-top: 20px;
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .footer {
        padding: 20px 15px;
        font-size: 0.8rem;
    }

    .footer-links {
        margin-top: 12px;
        gap: 8px;
        font-size: 0.8rem;
    }

    .footer-link {
        font-size: 0.8rem;
    }
}