@import url('https://fonts.googleapis.com/css2?family=Allura&family=Tangerine:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8d5f2 0%, #d5b3e0 50%, #c291ce 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    isolation: isolate;
}

.content {
    position: relative;
    text-align: center;
    z-index: 3;
}

.starfield {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: calc(3px * var(--s));
    height: calc(3px * var(--s));
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 18px rgba(222, 191, 255, 0.7);
    animation: twinkle var(--t) ease-in-out infinite;
    animation-delay: var(--d);
}

.star::before,
.star::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 2px;
}

.star::before {
    width: calc(10px * var(--s));
    height: 1px;
}

.star::after {
    width: 1px;
    height: calc(10px * var(--s));
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.25;
        transform: scale(0.82);
    }

    50% {
        opacity: 0.95;
        transform: scale(1.15);
    }
}

/* Diamond Shape */
.diamond {
    width: 320px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 10px 30px rgba(75, 0, 130, 0.3));
    animation: shimmer 3s ease-in-out infinite;
}

.diamond-svg {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes shimmer {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Title */
.title {
    font-family: 'Allura', cursive;
    font-size: 8rem;
    font-weight: bold;
    color: #4b0082;
    margin-bottom: 10px;
    position: relative;
    z-index: 4;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 2rem;
    color: #6b2fa9;
    position: relative;
    z-index: 4;
    letter-spacing: 3px;
    font-weight: 300;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    z-index: 3;
    text-align: center;
    color: #6b2fa9;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .diamond {
        width: 250px;
        margin: 0 auto 30px;
    }

    .title {
        font-size: 6rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .diamond {
        width: 190px;
        margin: 0 auto 20px;
    }

    .title {
        font-size: 4rem;
    }

    .subtitle {
        font-size: 1.25rem;
    }
}
