/* Reset */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }

/* Base */
html, body {
    font-family: Roboto, sans-serif;
    color: #333;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    background: #333;
}
header .header-inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 1em;
    display: flex;
    align-items: center;
}
header .logo-wrapper a {
    color: #fff;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease-in-out;
    transform-origin: 50% 54%;
}
header .logo-wrapper a:hover {
    transform: rotate(-1deg);
}
h1 {
    font-family: Pacifico, cursive;
    font-weight: 400;
    font-size: 1.365em;
    margin: 0.4em 0;
    color: #fff;
}

/* About section */
.about {
    max-width: 900px;
    margin: 3em auto 0;
    padding: 0 2em;
    text-align: center;
}
.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #333;
    margin-bottom: 0.5em;
}

/* Lead text */
.lead {
    font-size: 20px;
    line-height: 1.6em;
    max-width: 900px;
    margin: 1em auto;
    text-align: left;
}

/* Browser detection section */
.browser-container {
    text-align: center;
    margin: 3em 2em 5em;
}
.browser-container .lead {
    text-align: center;
    font-size: 16px;
    color: #666;
}

/* Browser icon */
.browser-icon-wrapper {
    margin-bottom: 1.5em;
}
.browser-icon {
    width: 96px;
    height: 96px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto;
}
.browser-icon.chrome   { background-image: url('https://cdn.simpleicons.org/googlechrome'); }
.browser-icon.firefox  { background-image: url('https://cdn.simpleicons.org/firefox'); }
.browser-icon.safari   { background-image: url('https://cdn.simpleicons.org/safari'); }
.browser-icon.edge     { background-image: url('https://cdn.simpleicons.org/microsoftedge'); }
.browser-icon.opera    { background-image: url('https://cdn.simpleicons.org/opera'); }
.browser-icon.vivaldi  { background-image: url('https://cdn.simpleicons.org/vivaldi'); }
.browser-icon.samsung  { background-image: url('https://cdn.simpleicons.org/samsung'); }
.browser-icon.mobile   { background-image: url('https://cdn.simpleicons.org/apple'); }

/* Shortcut display */
#shortcut {
    font-family: Roboto, sans-serif;
    font-size: 2em;
    color: #333;
    margin: 0.5em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3em;
}
@media (max-width: 768px) { #shortcut { font-size: 1.4em; } }
@media (max-width: 460px) { #shortcut { font-size: 1.1em; } }

kbd {
    display: inline-block;
    padding: 0.2em 0.55em;
    font-family: Roboto, sans-serif;
    font-size: 0.9em;
    font-weight: 700;
    color: #03b7df;
    background: #fff;
    border: 2px solid #029ec2;
    border-bottom: 4px solid #0280a0;
    border-radius: 6px;
    box-shadow: 0 2px 0 #0280a0;
}

/* Footer */
footer {
    position: fixed;
    bottom: 2em;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    padding: 0.4em 1em;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
footer a {
    color: #333;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

/* Heart animation */
.heart {
    color: #ff4242;
    display: inline-block;
    animation: HeartAnimation 3s infinite;
}
@keyframes HeartAnimation {
    0%   { transform: scale(0.7); }
    50%  { transform: scale(1); }
    100% { transform: scale(0.7); }
}
