:root {
    --color-smash-red: #FF5252;    
    --color-smash-pink: #FF416C;   
    --color-or-pass-gray: #A3AAB2; 
    --gradient-primary: linear-gradient(135deg, var(--color-smash-red) 0%, var(--color-smash-pink) 100%);
    --gradient-light: linear-gradient(135deg, #ff7b7b 0%, #ff6a88 100%);
    --color-white: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-medium: #E9ECEF;
    --color-bg-dark: #DEE2E6;
    --color-text-dark: #2D3436;
    --color-text-muted: #636E72;
    --color-border: var(--color-or-pass-gray);
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 2.5rem;
    --radius-sm: 8px;
    --radius-md: 15px;
    --shadow-sm: 0 4px 15px rgba(255, 82, 82, 0.15);
    --shadow-md: 0 8px 32px rgba(163, 170, 178, 0.2);
    --shadow-lg: 0 12px 40px rgba(255, 82, 82, 0.25);
}

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

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: radial-gradient(circle at top, #ffffff 0%, var(--color-bg-medium) 100%);
    color: var(--color-text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic; 
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

h2 {
    color: var(--color-smash-red);
    margin: 1rem 0;
}

.logo-container {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-1deg);
}

label {
    display: block;
    font-weight: 700;
    color: var(--color-or-pass-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.85rem;
}

input[type="text"],
input[type="password"],
input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: var(--spacing-md);
    border: 2px solid var(--color-bg-medium);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--color-smash-red);
    box-shadow: 0 0 0 4px rgba(255, 82, 82, 0.1);
}

button, .btn, input[type="submit"] {
    cursor: pointer;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#smash, .btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

#pass, .btn-secondary {
    background: var(--color-or-pass-gray);
    color: white;
}

button:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: var(--shadow-lg);
}

button:active {
    transform: translateY(0);
}

a {
    color: var(--color-smash-pink);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

a:hover {
    color: var(--color-smash-red);
}

.actions-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-light); }
::-webkit-scrollbar-thumb { 
    background: var(--color-or-pass-gray); 
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover { background: var(--color-smash-red); }

.actions-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    margin-top: var(--spacing-lg);
    align-items: center;
}

.actions-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
    max-width: 350px;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(255, 82, 82, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 15px 30px rgba(255, 82, 82, 0.4);
    filter: brightness(1.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.7s;
}

.btn-primary:hover::after {
    left: 120%;
}

.btn-secondary {
    background: transparent;
    color: var(--color-or-pass-gray) !important;
    border: 2px solid var(--color-bg-medium);
    font-size: 0.9rem !important;
    padding: 0.8rem 1.5rem !important; 
    opacity: 0.8;
}

.btn-secondary:hover {
    background: #fff;
    border-color: var(--color-smash-red);
    color: var(--color-smash-red) !important;
    opacity: 1;
    transform: translateY(-2px);
}

.actions-links a .material-icons {
    margin-right: 12px;
    font-size: 24px;
}

.btn-secondary .material-icons {
    font-size: 20px; 
}

.card {
    background: var(--color-white);
    border-radius: 24px; 
    padding: 15px;
    width: 100%;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(163, 170, 178, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 82, 82, 0.15);
}

.card img {
    width: 350px;
    height: 350px;
    aspect-ratio: 4 / 5; 
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 15px;
    display: block;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.1);
}

.card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-dark);
    margin: 10px 0 20px 0;
    letter-spacing: -0.5px;
    font-family: 'Segoe UI', sans-serif;
}

.card .buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 10px 10px 10px;
}

.card .buttons button {
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card::before {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(255, 82, 82, 0.85);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 900;
    backdrop-filter: blur(5px);
    z-index: 10;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding: 0 10px;
}

.buttons button {
    flex: 1;
    max-width: 160px;
    height: 60px;
    border: none;
    border-radius: 50px; 
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#smash {
    background: var(--gradient-primary);
    color: white;
}

#smash:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 12px 25px rgba(255, 82, 82, 0.4);
}

#smash .material-icons {
    color: white;
    animation: heartBeat 1.5s infinite;
}

#smash:active {
    transform: scale(0.95);
}

#pass {
    background: white;
    color: var(--color-or-pass-gray);
    border: 2px solid var(--color-bg-medium);
}

#pass:hover {
    transform: scale(1.1) rotate(-2deg);
    background: #f8f9fa;
    border-color: var(--color-or-pass-gray);
    color: var(--color-text-dark);
}

#pass:active {
    transform: scale(0.95);
    background: #e9ecef;
}

.content-box {
    text-align: center;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.9);
    border: 2px dashed var(--color-or-pass-gray); 
    border-radius: var(--radius-md);
    animation: fadeIn 0.8s ease;
}

.content-box p {
    font-size: 1.2rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.check-icon {
    font-size: 60px !important; 
    color: #4CAF50;
    margin-bottom: 10px;
}

.content-box .btn-primary {
    display: inline-flex;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
}

.return-link {
    margin-top: 40px;
    text-align: center;
}

.return-link a {
    color: var(--color-or-pass-gray);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.return-link a:hover {
    opacity: 1;
    color: var(--color-smash-red);
    transform: translateX(-5px);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

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