/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #ffffff;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255, 255, 255, 0.2) 2%, transparent 0%),
        radial-gradient(circle at 75px 75px, rgba(255, 255, 255, 0.2) 2%, transparent 0%);
    background-size: 100px 100px;
    pointer-events: none;
}

.container {
    text-align: center;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
}

.main-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .main-title {
        font-size: 3em;
    }
}

/* Desktop (1024px to 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .main-title {
        font-size: 2.5em;
    }
}

/* Tablet Landscape (768px to 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .main-title {
        font-size: 2em;
        padding: 0 20px;
    }
}

/* Tablet Portrait (481px to 767px) */
@media (max-width: 767px) {
    .main-title {
        font-size: 1.8em;
        padding: 0 15px;
    }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    .main-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
}

/* Small Mobile (320px and down) */
@media (max-width: 320px) {
    .main-title {
        font-size: 1.3em;
    }
}

/* Google Button Styles */
.google-button-container {
    margin-top: 40px;
    text-align: center;
}

.google-button {
    display: inline-block;
    padding: 18px 36px;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
    background-size: 300% 300%;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: gradientButtonAnimation 5s ease infinite;
}

.google-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.4);
}

.google-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.google-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.google-button:hover::before {
    opacity: 1;
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        left: -50%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}

@keyframes gradientButtonAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Handle viewport height on mobile */
@media (max-height: 600px) {
    body {
        min-height: auto;
        padding: 20px 0;
    }
    .container {
        padding: 10px;
    }
    .main-title {
        margin-bottom: 20px;
    }
}
