:root {
    --primary: #00f2fe;
    --secondary: #4facfe;
    --accent: #f093fb;
    --bg-dark: #080b12;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-glow: rgba(0, 242, 254, 0.5);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    background: radial-gradient(circle at top right, #1e293b, #080b12);
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -200px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    top: 30%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(150px, 100px) scale(1.1); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--text-glow);
}

header p {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 300;
    margin-top: 10px;
    opacity: 0.8;
}

.glass-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-item {
    text-decoration: none;
    color: #94a3b8;
    padding: 12px 24px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateY(-2px);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.4);
}

.glass-card {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 60px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.display-container {
    text-align: center;
    width: 100%;
    z-index: 1;
}

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 32px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.02);
}

.setup {
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 24px;
    color: #cbd5e1;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin-bottom: 24px;
    opacity: 0.3;
}

.punchline {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dog-img {
    max-width: 100%;
    max-height: 550px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 16px 40px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.4);
}

.age-circle {
    width: 180px;
    height: 180px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    box-shadow: 0 0 40px rgba(0, 242, 254, 0.2);
}

.age-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
}

.modern-form {
    max-width: 550px;
    margin: 40px auto 0;
}

.input-group {
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary);
}

.input-group input {
    background: transparent;
    border: none;
    padding: 15px 25px;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    width: 100%;
    outline: none;
}

.animate-fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@media (max-width: 768px) {
    header h1 { font-size: 3rem; }
    .glass-card { padding: 30px; }
    .nav-item { padding: 10px 15px; font-size: 0.9rem; }
}
