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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.8;
    font-size: 16px;
    color: #e0e0e0;

    /* Dark gradient background - customizable via CSS variables */
    background: linear-gradient(135deg,
        var(--gradient-1) 0%,
        var(--gradient-2) 25%,
        var(--gradient-3) 50%,
        var(--gradient-2) 75%,
        var(--gradient-1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;

    min-height: 100vh;
    padding: 2rem 1.5rem;
    position: relative;
    overflow-x: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Subtle animated particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, var(--particle-1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--particle-2) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, var(--particle-3) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.1);
        opacity: 0.5;
    }
}

/* Main content container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Logo styling */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 22%;
    filter: drop-shadow(0 0 30px var(--glow-1))
            drop-shadow(0 0 60px var(--glow-2));
    animation: logoFloat 3s ease-in-out infinite, logoPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 40px var(--glow-1-hover))
            drop-shadow(0 0 80px var(--glow-2-hover));
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px var(--glow-1))
                drop-shadow(0 0 60px var(--glow-2));
    }
    50% {
        filter: drop-shadow(0 0 40px var(--glow-1-mid))
                drop-shadow(0 0 80px var(--glow-2-mid));
    }
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 40px var(--glow-1), 0 0 80px var(--glow-2);
    position: relative;
    z-index: 1;
    letter-spacing: 2px;

    /* Fade in animation */
    animation: fadeInDown 0.8s ease-out 0.2s backwards, glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 40px var(--glow-1), 0 0 80px var(--glow-2);
    }
    50% {
        text-shadow: 0 0 50px var(--glow-1-hover), 0 0 100px var(--glow-2-hover);
    }
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.subtitle p {
    font-size: 1.2rem;
    color: var(--subtitle-color);
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-style: italic;
    text-shadow: 0 0 20px var(--subtitle-glow);
}

/* App Store Badge */
.app-store-badge {
    text-align: center;
    margin: 2.5rem auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.app-store-badge a {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: all 0.3s ease;
    overflow: visible;
}

.app-store-badge a::before {
    display: none !important;
}

.app-store-badge a:hover {
    transform: translateY(-3px) scale(1.05);
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: inherit;
}

.app-store-badge img {
    height: 50px;
    width: auto;
    border: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease, filter 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
}

.app-store-badge a:hover img {
    filter: brightness(1.1);
}

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

/* Content containers */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.links-container > div {
    margin: 0;
    position: relative;
    z-index: 1;

    /* Staggered fade in for divs */
    animation: fadeInUp 0.8s ease-out backwards;
}

.links-container > div:nth-child(1) {
    animation-delay: 0.5s;
}

.links-container > div:nth-child(2) {
    animation-delay: 0.7s;
}

.links-container > div:nth-child(3) {
    animation-delay: 0.9s;
}

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

/* Modern link styling */
a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 500;

    /* Glass morphism effect */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;

    /* Smooth transitions */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadow effect */
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.2),
        0 0 30px var(--link-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    position: relative;
    overflow: hidden;
    width: 100%;
}

.icon {
    font-size: 1.5rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 0 10px var(--icon-glow));
}

/* Hover glow effect */
a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--hover-bg);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

a:hover::before {
    width: 300px;
    height: 300px;
}

a:hover {
    transform: translateY(-5px) scale(1.03);
    background: var(--hover-gradient);
    border-color: var(--hover-border);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.3),
        0 0 60px var(--hover-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: var(--hover-text);
}

a:hover .icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px var(--icon-glow-hover));
}

a:active {
    transform: translateY(-1px) scale(1);
}

/* Paragraph styling */
p {
    margin: 1rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* List styling */
li {
    list-style-type: none;
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    margin: 0.5rem 0;
}

li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Strong text styling */
strong {
    color: var(--accent-color);
    font-size: 1.3rem;
    display: block;
    margin: 2rem 0 1rem;
    text-shadow: 0 0 20px var(--accent-glow);
}

/* Scroll reveal animation */
@keyframes scrollReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 480px) {
    body {
        padding: 1.5rem 1rem;
        font-size: 14px;
    }

    .container {
        padding: 1rem 0;
    }

    .logo {
        width: 90px;
        height: 90px;
    }

    h1 {
        font-size: 2.5rem;
        margin: 0 0 1rem;
    }

    .subtitle p {
        font-size: 1rem;
    }

    .app-store-badge {
        margin: 2rem auto 2.5rem;
    }

    .app-store-badge img {
        height: 45px;
    }

    .links-container {
        gap: 1rem;
    }

    a {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .icon {
        font-size: 1.3rem;
    }
}

/* Add subtle parallax effect on scroll */
@media (prefers-reduced-motion: no-preference) {
    body {
        animation: gradientShift 15s ease infinite;
    }
}

/* Selection styling */
::selection {
    background: var(--selection-bg);
    color: #ffffff;
}

