/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0a0a0a;
    color: white;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Background Elements */
.bg-gradient {
    position: fixed;
    inset: 0;
    background-image: url("/attached_assets/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.bg-noise {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7); /* Overlay to darken the image */
    z-index: -1;
    pointer-events: none;
}

/* Floating Decorations */
.floating-element {
    position: fixed;
    border-radius: 50%;
    object-fit: cover;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

.sushi-1 {
    top: 10%;
    left: 5%;
    width: 128px;
    height: 128px;
    opacity: 0.2;
    filter: blur(2px);
    animation: float1 8s ease-in-out infinite;
}

.sushi-2 {
    bottom: 15%;
    right: 5%;
    width: 160px;
    height: 160px;
    opacity: 0.15;
    filter: blur(3px);
    animation: float2 10s ease-in-out infinite 1s;
}

.sushi-3 {
    top: 40%;
    right: 15%;
    width: 96px;
    height: 96px;
    opacity: 0.1;
    filter: blur(1px);
    animation: float3 12s ease-in-out infinite 2s;
}

/* Layout */
.container {
    position: relative;
    z-index: 10;
    max-width: 28rem; /* 448px */
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

.logo-container {
    position: relative;
    width: 8rem;
    height: 8rem;
    margin: 0 auto;
    animation: floatLogo 6s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    filter: blur(24px);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.logo-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 0.25rem;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.2), transparent);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.logo-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.status-badge {
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #22c55e;
    color: black;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    z-index: 20;
}

.status-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: black;
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.title {
    margin-top: 1.5rem;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    font-family: 'Playfair Display', serif;
    animation: slideUp 0.5s ease-out 0.2s backwards;
}

.subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    animation: slideUp 0.5s ease-out 0.3s backwards;
}

/* Links Section */
.links-container {
    flex: 1;
    width: 100%;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    text-decoration: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: slideUp 0.5s ease-out backwards;
}

.link-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.link-card:active {
    transform: scale(0.98);
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.link-card:hover::before {
    transform: translateX(100%);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.link-card:hover .icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.link-text {
    flex: 1;
    font-weight: 500;
    font-size: 1.125rem;
    letter-spacing: 0.025em;
}

.arrow-icon {
    opacity: 0.3;
    transition: all 0.3s ease;
    width: 1.25rem;
    height: 1.25rem;
}

.link-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(4px);
}

/* Grid Buttons */
.grid-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.app-button {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: slideUp 0.5s ease-out backwards;
}

.app-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.app-button:active {
    transform: scale(0.95);
}

.app-button span {
    margin-top: 0.5rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.icon-large {
    width: 2rem;
    height: 2rem;
    color: white;
    transition: color 0.3s ease;
}

.app-button:hover .icon-large.store-apple {
    color: #60a5fa; /* blue-400 */
}

.app-button:hover .icon-large.store-google {
    color: #4ade80; /* green-400 */
}

/* Footer */
.social-footer {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 1s ease-out backwards;
    animation-delay: 1s;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon-link {
    padding: 0.5rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.1);
}

.social-icon-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    text-align: center;
}

/* Animations Keyframes */
@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(0, -20px) rotate(10deg) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    50% { transform: translate(0, 30px) rotate(-15deg) scale(1.2); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -40px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

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

/* Animation Delays */
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
