* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #EAEAEA;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #000000;
    overflow: hidden;
}

.animated-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(25, 25, 112, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(139, 0, 0, 0.06) 0%, transparent 35%);
    pointer-events: none;
    animation: nebula 40s ease-in-out infinite alternate;
}

@keyframes nebula {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 0.6;
    }
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100vh;
    padding: 60px 40px;
    opacity: 0;
    animation: fadeIn 2s ease-out 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Section */
.header {
    flex-shrink: 0;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
}

.main-title {
    font-size: 4.5rem;
    font-weight: 600;
    color: #EAEAEA;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-out 1s forwards;
    opacity: 0;
    text-shadow:
        0 0 40px rgba(0, 0, 0, 1),
        0 0 80px rgba(0, 0, 0, 0.9),
        0 0 120px rgba(0, 0, 0, 0.8),
        5px 5px 25px rgba(0, 0, 0, 1),
        -5px -5px 25px rgba(0, 0, 0, 1),
        10px 10px 30px rgba(0, 0, 0, 0.8),
        0 0 100px rgba(0, 0, 0, 0.7);
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: #CCCCCC;
    letter-spacing: 0.01em;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 2s ease-out 1.5s forwards;
    opacity: 0;
    text-shadow:
        0 0 35px rgba(0, 0, 0, 1),
        0 0 70px rgba(0, 0, 0, 0.9),
        0 0 100px rgba(0, 0, 0, 0.8),
        4px 4px 20px rgba(0, 0, 0, 1),
        -4px -4px 20px rgba(0, 0, 0, 1),
        0 0 80px rgba(0, 0, 0, 0.7);
}

/* Main Content Section */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.app-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.app-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.app-link:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.app-link:active {
    transform: scale(0.98);
}

.app-icon {
    animation: fadeIn 2s ease-out 2s forwards, iconPulse 3s ease-in-out 4s infinite;
    opacity: 0;
    transition: transform 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.05);
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.app-icon svg {
    filter: drop-shadow(0 0 20px rgba(125, 249, 255, 0.3));
}

.app-name {
    font-size: 2.2rem;
    font-weight: 500;
    color: #EAEAEA;
    letter-spacing: 0.02em;
    animation: fadeIn 2s ease-out 2.5s forwards;
    opacity: 0;
    text-shadow:
        0 0 35px rgba(0, 0, 0, 1),
        0 0 70px rgba(0, 0, 0, 0.9),
        0 0 100px rgba(0, 0, 0, 0.8),
        4px 4px 20px rgba(0, 0, 0, 1),
        -4px -4px 20px rgba(0, 0, 0, 1),
        0 0 80px rgba(0, 0, 0, 0.7);
}

/* Footer Section */
.footer {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
}

.contact-email {
    font-size: 1rem;
    font-weight: 400;
    color: #AAAAAA;
    letter-spacing: 0.01em;
    animation: fadeIn 2s ease-out 3s forwards;
    opacity: 0;
    transition: color 0.3s ease;
    text-shadow:
        0 0 30px rgba(0, 0, 0, 1),
        0 0 60px rgba(0, 0, 0, 0.9),
        0 0 90px rgba(0, 0, 0, 0.8),
        3px 3px 15px rgba(0, 0, 0, 1),
        -3px -3px 15px rgba(0, 0, 0, 1),
        0 0 70px rgba(0, 0, 0, 0.7);
}

.contact-email:hover {
    color: #7DF9FF;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
        align-items: center;
        text-align: center;
        justify-content: flex-start;
        gap: 40px;
        min-height: 100vh;
    }

    .header {
        text-align: center;
        padding-left: 0;
        margin-bottom: 20px;
        flex-shrink: 0;
    }

    .main-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .main-title {
        font-size: 3.2rem;
    }

    .tagline {
        font-size: 1rem;
        max-width: 90%;
    }

    .app-icon svg {
        width: 100px;
        height: 100px;
    }

    .app-icon img {
        width: 100px;
        height: 100px;
    }

    .app-name {
        font-size: 1.8rem;
    }

    .contact-email {
        font-size: 0.9rem;
    }

    .footer {
        flex-shrink: 0;
        margin-top: auto;
        padding-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
        gap: 30px;
        min-height: 100vh;
    }

    .header {
        margin-bottom: 15px;
        flex-shrink: 0;
    }

    .main-content {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 15px;
        margin-bottom: 25px;
    }

    .main-title {
        font-size: 2.8rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .app-icon svg {
        width: 80px;
        height: 80px;
    }

    .app-icon img {
        width: 80px;
        height: 80px;
    }

    .app-name {
        font-size: 1.5rem;
    }

    .contact-email {
        font-size: 0.85rem;
    }

    .footer {
        flex-shrink: 0;
        margin-top: auto;
        padding-bottom: 20px;
    }
}

/* High DPI/Retina Display Optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .app-icon svg {
        filter: drop-shadow(0 0 20px rgba(125, 249, 255, 0.4));
    }
}

/* Dark theme enhancement for OLED displays */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
    }

    .animated-background {
        background: linear-gradient(135deg, #000000 0%, #111111 50%, #000000 100%);
    }
}
