@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    
    /* Clean, solid base color */
    background-color: #2826ce; 
}

/* Allow scrolling on privacy policy */
body.policy-page {
    height: auto;
    min-height: 100vh;
}

/* --- MINIMALIST IMAGE CURSOR --- */
.cursor-star {
    position: fixed;
    /* 10% larger: 44px base size */
    top: -22px;
    left: -22px;
    width: 44px;
    height: 44px;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease;
}

.cursor-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-star.hovered {
    /* 10% larger: 66px hover size */
    width: 66px;
    height: 66px;
    top: -33px;
    left: -33px;
}

/* Make it slightly transparent and scale it slightly when hovering over links */
.cursor-star.hovered img {
    opacity: 0.6;
    transform: scale(1.1);
}

a {
    cursor: pointer;
}

/* --- HOMEPAGE LAYOUT --- */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* --- ENTRANCE & IDLE ANIMATIONS --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-up {
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

/* --- LOGO EFFECT --- */
.logo-fade-in {
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-floater {
    position: relative;
    display: inline-flex;
    animation: float 6s ease-in-out infinite;
}

.logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    position: relative;
    z-index: 2; 
}

/* --- TYPOGRAPHY & LINKS --- */
.tagline {
    opacity: 0;
    margin-bottom: 50px;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.tagline p {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin: 0 auto;
}

.contact {
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.contact p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.email-link {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #ffffff;
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* --- PLAY STORE BUTTON WITH SHIMMER --- */
.store-link {
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
    margin-top: 40px;
}

.store-link a {
    display: inline-block;
    padding: 14px 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.store-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.6s ease;
}

.store-link a:hover {
    background-color: #ffffff;
    color: #2826ce; 
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.store-link a:hover::before {
    left: 150%;
}

.store-link span {
    position: relative;
    z-index: 2;
}

/* --- PRIVACY POLICY PAGE STYLING --- */
.page-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

.content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 20px 80px;
    flex: 1;
    text-align: left;
}

.content-container h1 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}

.content-container h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #ffffff;
    font-weight: 600;
}

.content-container h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
}

.content-container p, 
.content-container ul {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.content-container ul {
    padding-left: 20px;
}

.content-container li {
    margin-bottom: 8px;
}

.content-container a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity 0.3s ease;
}

.content-container a:hover {
    opacity: 0.7;
}

/* --- FOOTER --- */
footer {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    opacity: 0;
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

footer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
}

.divider {
    margin: 0 12px;
    opacity: 0.4;
}

/* --- RESPONSIVE --- */
@media (max-width: 600px) {
    .logo { max-width: 280px; }
    .tagline p { font-size: 16px; }
    .email-link { font-size: 20px; }
    
    .cursor-star { display: none; }
    * { cursor: auto; }
    
    .content-container h1 { font-size: 28px; }
    .content-container h2 { font-size: 20px; }
    .page-header { padding-top: 30px; }
}