/* Unique CSS for Guide & Walkthrough Page */
.guide-hero {
    min-height: 70vh;
    background: url('image/crime.jpeg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    position: relative;
    padding: 2rem;
}

.guide-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.guide-hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.guide-hero h1 {
    font-size: 5rem;
    color: var(--primary-color);
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.icons {
    font-size: 2rem;
    color: var(--primary-color);
}

.img {
    width: 100px;
    border-radius: 50%;
    float: left;
    margin-right: 1rem;
}

.progress-circle-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 900px;
    flex-wrap: wrap;
}

.progress-circle {
    text-align: center;
    position: relative;
    width: 150px;
    height: 150px;
}

.progress-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle circle {
    fill: none;
    stroke: #444;
    stroke-width: 10;
}

.progress-circle .progress {
    stroke: var(--primary-color);
    stroke-dasharray: 377;
    stroke-dashoffset: 377;
    transition: stroke-dashoffset 2s ease;
}

.progress-circle span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.progress-label {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--light-gray);
}

.carousel-container {
    max-width: 800px;
    margin: 3rem auto;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    padding: 2rem;
    background: var(--dark-gray);
    text-align: left;
    box-sizing: border-box;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 103%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.quick-tips {
    text-align: left;
}
.t35l20 {
    top: 35%;
    left: 20%;
}
.t60l45 {
    top: 60%;
    left: 45%;
}
.t45l45 {
    top: 45%;
    left: 45%;
}
.carousel-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-nav button:hover {
    background: var(--primary-color);
}

.flip-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.flip-card {
    perspective: 1000px;
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 200px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.flip-front {
    background: var(--dark-gray);
    color: white;
}

.flip-back {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: rotateY(180deg);
}

.collapsible-section {
    max-width: 800px;
    margin: 3rem auto;
}

.collapsible-header {
    background: #333;
    padding: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.collapsible-header:hover {
    background: var(--primary-color);
    color: var(--dark-color);
}

.collapsible-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    background: var(--dark-gray);
    padding: 0 1.5rem;
    border-radius: 0 0 5px 5px;
}

.collapsible-body.active {
    max-height: 700px;
    padding: 1.5rem;
}

.clue-puzzle {
    max-width: 600px;
    margin: 3rem auto;
    position: relative;
}

.puzzle-image {
    width: 100%;
    border-radius: 10px;
}

.carousels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem auto;
}

.puzzle-point {
    position: absolute;
    width: 25px;
    height: 25px;
    background: rgba(240, 165, 0, 0.5);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s;
}

.puzzle-point:hover {
    transform: translate(-50%, -50%) scale(1.3);
}

.puzzle-tooltip {
    position: absolute;
    background: var(--dark-color);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    border: 1px solid var(--primary-color);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.strategy-card {
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s;
}

.strategy-card:hover {
    transform: translateY(-10px);
}

.footer {
    background: #111;
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: var(--font-header);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-contacts {
    text-align: left;
}

.footer-contacts p {
    margin-bottom: 0.5rem;
    color: var(--light-gray);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    color: #777;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .guide-hero h1 {
        font-size: 3.5rem;
    }

    .progress-circle-container {
        gap: 1.5rem;
    }

    .strategy-grid {
        grid-template-columns: 1fr;
    }
}