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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #ee3e38;
    color: #FFFFFF;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(238, 62, 56, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 8px 16px;
}

.nav-link:hover {
    opacity: 0.7;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: rgba(238, 62, 56, 0.98);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 300px;
}

.mobile-link {
    color: #FFFFFF;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.mobile-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }
}

.container {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image-link {
    display: block;
    width: 200px;
    margin: 0 auto 20px;
    text-decoration: none;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #FFFFFF;
    transition: transform 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.profile-image-link:hover .profile-image {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.5);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFFFFF;
}

.bio {
    font-size: 18px;
    color: #FFFFFF;
    margin-top: 8px;
    font-weight: 500;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: transparent;
    border: 2px solid #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    overflow: hidden;

    /* 3D Transform properties */
    transform-style: preserve-3d;
    perspective: 1000px;

    /* Shadow for 3D effect */
    box-shadow:
        0 4px 0 0 rgba(255, 255, 255, 0.3),
        0 8px 12px rgba(0, 0, 0, 0.4);
}

.link-button::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: none;
    opacity: 0;
}

.link-button:hover::before {
    opacity: 1;
    transition: left 0.5s ease;
    left: 100%;
}

.link-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
    transform: translateY(-4px) translateZ(20px) rotateX(5deg);
    box-shadow:
        0 8px 0 0 rgba(255, 255, 255, 0.3),
        0 16px 24px rgba(0, 0, 0, 0.6);
}

.link-button:active {
    transform: translateY(2px) translateZ(10px);
    box-shadow:
        0 2px 0 0 rgba(255, 255, 255, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Icon styling */
.link-button .icon {
    margin-right: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.link-button .icon-img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.link-button:hover .icon,
.link-button:hover .icon-img {
    transform: scale(1.2) rotateZ(5deg);
}

/* Gradient variants for different links */
.link-button.primary {
    border-color: #FFFFFF;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.link-button.secondary {
    border-color: #FFFFFF;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.link-button.tertiary {
    border-color: #FFFFFF;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

/* Responsive design */
@media (max-width: 768px) {
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }

    h1 {
        font-size: 24px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-button {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.link-button:nth-child(1) { animation-delay: 0.1s; }
.link-button:nth-child(2) { animation-delay: 0.2s; }
.link-button:nth-child(3) { animation-delay: 0.3s; }
.link-button:nth-child(4) { animation-delay: 0.4s; }
.link-button:nth-child(5) { animation-delay: 0.5s; }
.link-button:nth-child(6) { animation-delay: 0.6s; }

/* Footer */
.footer {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    color: #FFFFFF;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer p {
    margin: 0;
}

/* Video Popup Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    animation: slideIn 0.3s ease;
}

.video-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #FFFFFF;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.video-close:hover {
    color: #ee3e38;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}

.video-title {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 20px;
}

.video-loading {
    text-align: center;
    color: #FFFFFF;
    padding: 40px;
    font-size: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* About Modal Styles */
.about-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #FFFFFF;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.about-close:hover {
    color: #ee3e38;
}

.about-modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.about-content {
    color: #FFFFFF;
    padding: 20px;
}

.about-mission {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(238, 62, 56, 0.5);
    line-height: 1.4;
}

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

.about-section h3 {
    color: #ee3e38;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 10px;
    color: #e0e0e0;
}

.about-section p strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* Scrollbar styling for About modal */
.about-modal-content::-webkit-scrollbar {
    width: 8px;
}

.about-modal-content::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 10px;
}

.about-modal-content::-webkit-scrollbar-thumb {
    background: #ee3e38;
    border-radius: 10px;
}

.about-modal-content::-webkit-scrollbar-thumb:hover {
    background: #d63832;
}

/* Contact Modal Styles */
.contact-close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #FFFFFF;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.contact-close:hover {
    color: #ee3e38;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2a;
    border: 2px solid rgba(238, 62, 56, 0.3);
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ee3e38;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #ee3e38;
    color: #FFFFFF;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background-color: #d63832;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    transform: none;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(46, 204, 113, 0.2);
    border: 1px solid #2ecc71;
    color: #2ecc71;
}

.form-status.error {
    display: block;
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #e74c3c;
}

/* QR Code Styles */
.qr-code-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px;
    z-index: 999;
    text-align: center;
    transition: transform 0.3s ease;
}

.qr-code-container:hover {
    transform: scale(1.05);
}

.qr-code-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.qr-code {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Hide QR code on mobile */
@media (max-width: 768px) {
    .qr-code-container {
        display: none;
    }
}

/* Christmas Mode Styles */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -20px;
    color: #fff;
    animation: fall linear infinite;
    user-select: none;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(20px) rotate(360deg);
    }
}

.santa-hat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    animation: wobble 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes wobble {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-5deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(5deg);
    }
}

.christmas-lights {
    position: relative;
    width: 100%;
    height: 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.christmas-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: absolute;
    top: 0;
    box-shadow: 0 0 10px currentColor;
    animation: twinkle 1.5s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(0.8);
    }
}

