.custom-notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 5px solid #000;
    box-shadow: 8px 8px 0 #000;
    padding: 20px 30px;
    z-index: 10000;
    transition: top 0.3s ease;
    min-width: 300px;
}

.custom-notification.show {
    top: 30px;
}

.custom-notification.success {
    background: #00ff00;
}

.custom-notification.error {
    background: #ff00ff;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon svg {
    width: 24px;
    height: 24px;
    stroke: #000;
}

#notificationText {
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.tool-page-container {
    min-height: 100vh;
    padding: 40px 20px;
    background: #fff;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffff00;
    border: 4px solid #000;
    box-shadow: 6px 6px 0 #000;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 40px;
}

.back-button:hover {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0 #000;
}

.back-button svg {
    stroke: #000;
}

.tool-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.tool-form-card {
    background: #fff;
    border: 6px solid #000;
    box-shadow: 12px 12px 0 #000;
    padding: 40px;
}

.tool-page-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #000;
    text-shadow: 4px 4px 0 #00ff00;
}

.tool-page-description {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.game-detected-message {
    background: rgba(46, 204, 113, 0.1);
    border: 4px solid #00ff00;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.game-detected-message svg {
    color: #000;
    flex-shrink: 0;
}

.game-detected-message span {
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tool-input {
    padding: 18px 24px;
    font-size: 1.1rem;
    border: 5px solid #000;
    background: #fff;
    font-weight: bold;
    font-family: 'Arial Black', Arial, sans-serif;
}

.tool-input:focus {
    outline: none;
    box-shadow: 6px 6px 0 #00ffff;
}

.tool-submit-btn {
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    text-transform: uppercase;
    background: #ff00ff;
    color: #fff;
    border: 5px solid #000;
    box-shadow: 8px 8px 0 #000;
    cursor: pointer;
    transition: all 0.2s;
}

.tool-submit-btn:hover:not(:disabled) {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 #000;
}

.tool-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.tool-video-card {
    background: #00ffff;
    border: 6px solid #000;
    box-shadow: 12px 12px 0 #000;
    padding: 40px;
    text-align: center;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-title {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

.video-subtitle {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: #ffff00;
    border: 5px solid #000;
    box-shadow: 8px 8px 0 #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.video-play-btn:hover {
    transform: translate(4px, 4px);
    box-shadow: 4px 4px 0 #000;
}

.video-play-btn svg {
    color: #000;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: 1000px;
    z-index: 10001;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: #ffff00;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.video-modal-close:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

.video-modal-close svg {
    color: #000;
}

#tutorialVideo {
    width: 100%;
    height: auto;
    border: 8px solid #000;
    box-shadow: 12px 12px 0 #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .tool-content-wrapper {
        grid-template-columns: 1fr;
    }

    .tool-page-title {
        font-size: 2rem;
    }

    .tool-form-card {
        padding: 25px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -50px;
        right: 5px;
    }
}
