/* General */
body {
    font-family: "Open Sans", sans-serif;
    color: #444444;
}

a {
    color: #00C7B7;
    text-decoration: none;
}

a:hover {
    color: #009f92;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}

/* Header */
#header {
    height: 80px;
    transition: all 0.5s;
    z-index: 997;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
    font-size: 28px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1px;
}

#header .logo h1 a, #header .logo h1 a:hover {
    color: #2c4964;
    text-decoration: none;
}

#header .logo img {
    padding: 0;
    margin: 0;
    max-height: 40px;
}

/* Navbar */
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar li {
    position: relative;
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 10px 30px;
    font-size: 15px;
    font-weight: 500;
    color: #587187;
    white-space: nowrap;
    transition: 0.3s;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: #00C7B7;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    color: #2c4964;
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
    
    .navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        background: rgba(13, 27, 42, 0.9);
        transition: 0.3s;
        z-index: 999;
    }
    
    .navbar-mobile ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 55px;
        right: 15px;
        bottom: 15px;
        left: 15px;
        padding: 10px 0;
        background-color: #fff;
        overflow-y: auto;
        transition: 0.3s;
        border-radius: 10px;
    }
    
    .navbar-mobile a {
        padding: 10px 20px;
        font-size: 15px;
        color: #2c4964;
    }
    
    .navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
        color: #00C7B7;
    }
    
    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
    }
}

/* Hero Section */
#hero {
    width: 100%;
    height: 80vh;
    background: url('../assets/banner.jpg') top center;
    background-size: cover;
    position: relative;
    padding-top: 80px;
}

#hero:before {
    content: "";
    background: rgba(249, 249, 250, 0.75);
    background: rgba(13, 27, 42, 0.85);
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    margin: 0 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: #fff;
}

#hero h2 {
    color: #eee;
    margin-bottom: 50px;
    font-size: 24px;
    font-weight: 400;
}

#hero .btn-get-started {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    transition: 0.5s;
    color: #fff;
    background: #00C7B7;
}

#hero .btn-get-started:hover {
    background: #009f92;
}

#hero .hero-img img {
    width: 100%;
}

@media (max-width: 768px) {
    #hero {
        height: auto;
        padding: 100px 0 60px 0;
    }
    
    #hero h1 {
        font-size: 32px;
        line-height: 42px;
    }
    
    #hero h2 {
        font-size: 20px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

/* Sections General */
section {
    padding: 60px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f9f9fa;
}

.section-title {
    text-align: center;
    padding-bottom: 30px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
    color: #2c4964;
}

.section-title h2::after {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    background: #00C7B7;
    bottom: 0;
    left: calc(50% - 25px);
}

.section-title p {
    margin-bottom: 0;
}

/* About */
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
    color: #2c4964;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-bottom: 10px;
}

.about .content ul i {
    font-size: 20px;
    padding-right: 4px;
    color: #00C7B7;
}

/* Services */
.services .icon-box {
    padding: 30px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 29px 0 rgba(68, 88, 144, 0.12);
    transition: all 0.3s ease-in-out;
    border-radius: 8px;
    z-index: 1;
    height: 100%;
    text-align: center;
}

.services .icon-box:hover {
    transform: translateY(-5px);
}

.services .icon {
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-size: 36px;
    line-height: 1;
    color: #00C7B7;
}

.services .title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 18px;
}

.services .title a {
    color: #111;
}

.services .description {
    font-size: 15px;
    line-height: 28px;
    margin-bottom: 0;
}

/* Portfolio */
.portfolio .portfolio-item {
    margin-bottom: 30px;
}

.portfolio .portfolio-wrap {
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: rgba(44, 73, 100, 0.6);
    border-radius: 8px;
}

.portfolio .portfolio-wrap::before {
    content: "";
    background: rgba(44, 73, 100, 0.6);
    position: absolute;
    left: 30px;
    right: 30px;
    top: 30px;
    bottom: 30px;
    transition: all ease-in-out 0.3s;
    z-index: 2;
    opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    z-index: 3;
    transition: all ease-in-out 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}

.portfolio .portfolio-wrap .portfolio-links a {
    color: #fff;
    margin: 0 2px;
    font-size: 28px;
    display: inline-block;
    transition: 0.3s;
}

.portfolio .portfolio-wrap:hover::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
    opacity: 1;
}

/* Contact */
.contact .info-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
    background: #fff;
    border-radius: 8px;
}

.contact .info-box i {
    font-size: 32px;
    color: #00C7B7;
    border-radius: 50%;
    padding: 8px;
}

.contact .info-box h3 {
    font-size: 20px;
    color: #2c4964;
    font-weight: 700;
    margin: 10px 0;
}

.contact .info-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.contact .php-email-form {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.contact .php-email-form input, .contact .php-email-form textarea {
    border-radius: 4px;
    box-shadow: none;
    font-size: 14px;
    border: 1px solid #ced4da;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
    border-color: #00C7B7;
}

.contact .php-email-form button[type="submit"] {
    background: #00C7B7;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: #009f92;
}

/* Game Section Styles */
.game-section {
    padding: 60px 0;
}

.memory-game {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    perspective: 1000px;
    max-width: 640px;
    margin: 0 auto;
}

.memory-card {
    aspect-ratio: 1 / 1;
    position: relative;
    transform: scale(1);
    transform-style: preserve-3d;
    transition: transform 0.5s;
    cursor: pointer;
}

.memory-card:active {
    transform: scale(0.97);
    transition: transform 0.2s;
}

.memory-card.flip {
    transform: rotateY(180deg);
}

.front-face,
.back-face {
    width: 100%;
    height: 100%;
    padding: 10px;
    position: absolute;
    border-radius: 8px;
    background: #fff;
    border: 2px solid #00C7B7;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.front-face {
    transform: rotateY(180deg);
    font-size: 3rem;
    color: #00C7B7;
}

.back-face {
    background: #2c4964;
    color: #fff;
    font-size: 2rem;
}

/* Footer */
#footer {
    padding: 30px 0;
    color: #fff;
    font-size: 14px;
    background: #0D1B2A; /* Azul Escuro da Marca */
}

#footer .copyright {
    text-align: center;
    float: left;
}

#footer .credits {
    float: right;
    text-align: center;
    font-size: 13px;
    color: #fff;
}

@media (max-width: 768px) {
    #footer .copyright, #footer .credits {
        float: none;
        text-align: center;
        padding: 2px 0;
    }
    
    .memory-game {
        grid-template-columns: repeat(3, 1fr); /* 3 colunas no mobile */
        gap: 10px;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: #00C7B7;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: #00a699;
    color: #fff;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* Process Section */
.process .process-step {
    margin-bottom: 30px;
    position: relative;
}

.process .step-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    color: #00C7B7;
    font-size: 32px;
}

.process .process-step:hover .step-icon {
    background: #00C7B7;
    color: #fff;
    transform: scale(1.1);
}

.process h4 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 18px;
    color: #2c4964;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    left: 20px; /* Esquerda para não conflitar com o Tawk.to ou BackToTop */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
}

/* Owner Section */
.owner .content h3 {
    font-weight: 700;
    font-size: 28px;
    color: #2c4964;
    margin-bottom: 5px;
}

.owner .content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #00C7B7;
    margin-bottom: 20px;
}

.owner .social-links a {
    font-size: 24px;
    display: inline-block;
    background: #fff;
    color: #2c4964;
    line-height: 1;
    margin-right: 15px;
    transition: 0.3s;
}

.owner .social-links a:hover {
    color: #00C7B7;
}

/* FAQ Section */
.faq .accordion-button:not(.collapsed) {
    color: #0D1B2A;
    background-color: rgba(0, 199, 183, 0.1); /* Verde claro transparente */
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
}

.faq .accordion-button:focus {
    border-color: #00C7B7;
    box-shadow: 0 0 0 0.25rem rgba(0, 199, 183, 0.25);
}

.faq .accordion-button {
    font-weight: 600;
    color: #2c4964;
}

/* CTF Terminal Section */
.ctf-section {
    background-color: #f9f9fa;
}

.terminal-window {
    background-color: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    text-align: left;
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.terminal-header .buttons span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.terminal-header .buttons .red { background-color: #ff5f56; }
.terminal-header .buttons .yellow { background-color: #ffbd2e; }
.terminal-header .buttons .green { background-color: #27c93f; }

.terminal-header .title {
    margin-left: 15px;
    color: #999;
    font-size: 14px;
}

.terminal-body {
    padding: 20px;
    color: #00ff00; /* Hacker Green */
}

.terminal-body .output {
    margin-bottom: 10px;
    font-size: 14px;
}

.terminal-body .highlight {
    color: #ffbd2e;
    font-weight: bold;
}

.terminal-body .info {
    color: #00C7B7;
    margin-top: 15px;
    font-style: italic;
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #333;
    padding-top: 15px;
}

.input-line .prompt {
    color: #00ff00;
    margin-right: 10px;
}

.input-line input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: inherit;
    flex-grow: 1;
    outline: none;
}

.input-line button {
    background: #00C7B7;
    border: none;
    color: #000;
    padding: 5px 15px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
}

.input-line button:hover {
    background: #00a699;
}

.feedback {
    margin-top: 15px;
    min-height: 20px;
    font-weight: bold;
}

.cursor {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Konami Code / Party Mode Feedback */
.konami-feedback {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(13, 27, 42, 0.95); /* Azul escuro semi-transparente */
    color: #00C7B7;
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    z-index: 9999;
    box-shadow: 0 0 20px #00C7B7;
    text-align: center;
    border: 2px solid #00C7B7;
}

.party-mode {
    animation: rainbow-bg 0.5s linear infinite;
}

/* --- Blog Page Styles --- */

.breadcrumbs {
    padding: 20px 0;
    background-color: #f9f9fa;
    min-height: 40px;
    margin-bottom: 40px;
}

.breadcrumbs h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumbs ol li + li {
    padding-left: 10px;
}

.breadcrumbs ol li + li::before {
    display: inline-block;
    padding-right: 10px;
    color: #6c757d;
    content: "/";
}

/* Blog Entries */
.blog .entry {
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
}

.blog .entry .entry-img {
    max-height: 440px;
    margin: -30px -30px 20px -30px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.blog .entry .entry-title {
    font-size: 28px;
    font-weight: bold;
    padding: 0;
    margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
    color: #2c4964;
    transition: 0.3s;
}

.blog .entry .entry-title a:hover {
    color: #00C7B7;
}

.blog .entry .entry-meta {
    margin-bottom: 15px;
    color: #919aa1;
}

.blog .entry .entry-meta ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    align-items: center;
    padding: 0;
    margin: 0;
}

.blog .entry .entry-meta ul li {
    padding-right: 20px;
}

.blog .entry .entry-meta i {
    font-size: 16px;
    margin-right: 8px;
    color: #00C7B7;
}

.blog .entry .entry-content p {
    line-height: 24px;
}

.blog .entry .entry-content .read-more {
    text-align: right;
}

.blog .entry .entry-content .read-more a {
    display: inline-block;
    background: #00C7B7;
    color: #fff;
    padding: 6px 20px;
    transition: 0.3s;
    font-size: 14px;
    border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
    background: #009f92;
}

/* Blog Sidebar */
.blog .sidebar {
    padding: 30px;
    margin: 0 0 60px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    background: #fff;
    border-radius: 8px;
}

.blog .sidebar .sidebar-title {
    font-size: 20px;
    font-weight: 700;
    padding: 0 0 0 0;
    margin: 0 0 15px 0;
    color: #2c4964;
    position: relative;
}

.blog .sidebar .sidebar-item {
    margin-bottom: 30px;
}

.blog .sidebar .search-form form {
    background: #fff;
    border: 1px solid #ddd;
    padding: 3px 10px;
    position: relative;
    border-radius: 4px;
}

.blog .sidebar .search-form form input {
    border: 0;
    padding: 4px;
    border-radius: 4px;
    width: calc(100% - 40px);
    outline: none;
}

.blog .sidebar .search-form form button {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    border: 0;
    background: none;
    font-size: 16px;
    padding: 0 15px;
    margin: -1px;
    background: #00C7B7;
    color: #fff;
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
    line-height: 0;
}

.blog .sidebar .categories ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .categories ul li + li {
    padding-top: 10px;
}

.blog .sidebar .categories ul a {
    color: #2c4964;
    transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
    color: #00C7B7;
}

.blog .sidebar .tags ul {
    list-style: none;
    padding: 0;
}

.blog .sidebar .tags ul li {
    display: inline-block;
}

.blog .sidebar .tags ul a {
    color: #444444;
    font-size: 14px;
    padding: 6px 14px;
    margin: 0 6px 8px 0;
    border: 1px solid #eee;
    display: inline-block;
    transition: 0.3s;
    border-radius: 4px;
}

.blog .sidebar .tags ul a:hover {
    color: #fff;
    border: 1px solid #00C7B7;
    background: #00C7B7;
}

.blog .blog-pagination {
    color: #5e5e5e;
}

.blog .blog-pagination ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
}

.blog .blog-pagination li {
    margin: 0 5px;
    transition: 0.3s;
}

.blog .blog-pagination li a {
    color: #2c4964;
    padding: 7px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.blog .blog-pagination li.active a, .blog .blog-pagination li:hover a {
    background: #00C7B7;
    color: #fff;
}

/* AI Builder Section */
.ai-builder {
    background: linear-gradient(135deg, #f9f9fa 0%, #eef2f5 100%);
}

.ai-interface {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 500px;
}

.ai-header {
    background: #0D1B2A;
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.ai-chat-window {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message.bot {
    background: #eef2f9;
    color: #2c4964;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ai-message.user {
    background: #00C7B7;
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-input-area {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.typing-indicator::after { content: '...'; animation: typing 1s infinite; }
@keyframes typing { 0% { content: '.'; } 33% { content: '..'; } 66% { content: '...'; } }

/* --- PROTOCOL GHOST: HARD MODE --- */
.ghost-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #E0E0E0;
    font-family: 'Courier New', monospace;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.ghost-overlay.active {
    opacity: 1;
}

.ghost-title {
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    color: #00C7B7;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    animation: fadeIn 2s ease forwards 0.5s;
    text-shadow: 0 0 15px rgba(0, 199, 183, 0.4);
}

.ghost-hash-container {
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-align: center;
}

.ghost-char {
    display: inline-block;
    transition: all 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ghost-char.noise {
    color: #444;
}

.ghost-char.fade-out {
    opacity: 0;
    transform: translateY(-20px);
}

.ghost-gallery {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
}

.ghost-frame {
    position: relative;
    border: 1px solid #333;
    padding: 15px;
    background: #0f0f0f;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.ghost-frame:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #00C7B7;
    box-shadow: 0 15px 40px rgba(0, 199, 183, 0.15);
}

.ghost-frame img {
    width: 220px;
    height: auto;
    filter: grayscale(100%) contrast(1.2) brightness(0.8);
    transition: all 0.5s ease;
    display: block;
}

.ghost-frame:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
}

.ghost-label {
    margin-top: 15px;
    font-family: 'Times New Roman', serif;
    font-size: 0.9rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: color 0.3s;
}

.ghost-frame:hover .ghost-label {
    color: #00C7B7;
}

.ghost-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    color: #E0E0E0;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    text-align: center;
    width: 80%;
    max-width: 600px;
    outline: none;
    padding: 10px;
    transition: border-color 0.3s;
}

.ghost-input:focus {
    border-bottom-color: #E0E0E0;
}

.ghost-final-message {
    position: absolute;
    font-family: 'Times New Roman', serif;
    font-size: 3rem;
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 3s ease;
}
