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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    position: relative;
    overflow-x: hidden;
}

.background-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(100px);
    z-index: 0;
    border-radius: 50%;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #7dd3fc; 
    top: -100px;
    left: -150px;
    opacity: 0.6;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: #99f6e4; 
    bottom: -100px;
    right: -100px;
    opacity: 0.5;
}

.login-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    padding: 20px;
    padding-bottom: 140px;
    width: 100%;
    min-height: 100vh;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08), 0 0 15px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
}

.login-box {
    width: 100%;
    max-width: 440px;
    padding: 55px 50px;
    text-align: center;
}

.login-box h2 {
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
}

.login-box p {
    color: #475569;
    font-size: 16px;
    margin-bottom: 45px;
    line-height: 1.5;
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.7) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(220, 252, 231, 0.7) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 1; 
}

.google-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px; 
    background: conic-gradient(from var(--border-angle, 0deg), transparent 60%, #38bdf8 80%, #4ade80 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: -1;
    animation: spin-border-angle 3s linear infinite;
}

@keyframes spin-border-angle {
    0% { --border-angle: 0deg; }
    100% { --border-angle: 360deg; }
}

.google-btn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.9) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(220, 252, 231, 0.9) 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.google-btn:active {
    transform: translateY(0);
}

.google-icon {
    width: 24px;
    height: 24px;
}

/* Footer Styling */
.glass-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 10px 10px;
    text-align: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.footer-brand {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s;
    white-space: nowrap;
}

.footer-links a:hover {
    color: #0f172a;
}

@media (max-width: 900px) {
    .glass-footer {
        padding: 15px 5px;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(3, auto);
        gap: 12px 10px;
        justify-content: center;
    }
    .footer-links a {
        font-size: 11px;
        white-space: normal;
    }
}
