* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #FF6B35 0%, #004E89 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px 20px 0 0;
    padding: 50px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin: 40px auto 0 auto;
    flex: 1;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 4px solid #FF6B35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 2.5em;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.about-section {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.05);
    border-radius: 12px;
}

.bio {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

.section {
    margin-top: 40px;
    text-align: left;
}

.section h2 {
    color: #004E89;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #FF6B35;
    padding-bottom: 10px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95em;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.2);
    transition: transform 0.2s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 53, 0.3);
}

.experience-item,
.education-item {
    background: white;
    border-left: 4px solid #FF6B35;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.experience-item:hover,
.education-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.experience-item h3,
.education-item h3 {
    color: #004E89;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.company,
.degree {
    color: #FF6B35;
    font-weight: 600;
    margin-bottom: 5px;
}

.period {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.location,
.grade {
    color: #999;
    font-size: 0.9em;
    font-style: italic;
    margin-bottom: 8px;
}

.description {
    color: #555;
    line-height: 1.6;
    margin-top: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    background: white;
    border: 2px solid #004E89;
    border-radius: 12px;
    padding: 18px 30px;
    text-decoration: none;
    color: #004E89;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.social-link:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
}

.social-link svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.tiktok:hover {
    background: #000000;
    border-color: #000000;
}

.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.discord:hover {
    background: #5865F2;
    border-color: #5865F2;
}

.github:hover {
    background: #181717;
    border-color: #181717;
}

.gitlab:hover {
    background: #FC6D26;
    border-color: #FC6D26;
}

@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        max-width: 100%;
    }

    h1 {
        font-size: 2em;
    }

    .section h2 {
        font-size: 1.5em;
    }

    .skills-grid {
        gap: 8px;
    }

    .skill-tag {
        font-size: 0.85em;
        padding: 8px 15px;
    }

    .social-link {
        padding: 15px 20px;
        font-size: 1em;
    }

    .experience-item,
    .education-item {
        padding: 15px;
    }

    .contact-cards {
        flex-direction: column;
    }

    .contact-card {
        max-width: 100%;
    }
}

.contact-section {
    text-align: center;
}

.contact-intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    border: 3px solid #004E89;
    border-radius: 20px;
    padding: 40px 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: #FF6B35;
}

.contact-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #004E89;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.contact-detail {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 20px;
    word-break: break-all;
    font-weight: 500;
}

.contact-cta {
    display: inline-block;
    color: #FF6B35;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.contact-card:hover .contact-cta {
    color: #FF8C5A;
}

.footer {
    background: linear-gradient(135deg, #004E89, #FF6B35);
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-radius: 0 0 20px 20px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.footer p {
    margin: 5px 0;
    font-size: 1em;
}

.footer-subtitle {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 10px;
}

.minecraft-server {
    background: linear-gradient(135deg, #004E89, #0066B3);
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    border: 3px solid #FF6B35;
}

.server-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.minecraft-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.server-icon-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.minecraft-server h3 {
    color: white;
    font-size: 1.8em;
    margin: 0;
}

.server-description {
    font-size: 1.1em;
    margin-bottom: 15px;
    opacity: 0.95;
}

.whitelist-notice {
    background: rgba(255, 107, 53, 0.2);
    border: 2px solid #FF6B35;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.whitelist-notice p {
    margin: 0;
    font-size: 1em;
    line-height: 1.5;
}

.server-info {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.server-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.server-ip {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.copy-btn,
.website-btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    display: inline-block;
}

.copy-btn:hover,
.website-btn:hover {
    background: #FF8C5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.copy-btn:active,
.website-btn:active {
    transform: translateY(0);
}